Class: Aws::CloudFront::Types::UpdateRealtimeLogConfigRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-cloudfront/types.rb

Overview

Note:

When making an API call, you may pass UpdateRealtimeLogConfigRequest data as a hash:

{
  end_points: [
    {
      stream_type: "string", # required
      kinesis_stream_config: {
        role_arn: "string", # required
        stream_arn: "string", # required
      },
    },
  ],
  fields: ["string"],
  name: "string",
  arn: "string",
  sampling_rate: 1,
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

The Amazon Resource Name (ARN) for this real-time log configuration.

Returns:

  • (String)

15082
15083
15084
15085
15086
15087
15088
15089
15090
# File 'lib/aws-sdk-cloudfront/types.rb', line 15082

class UpdateRealtimeLogConfigRequest < Struct.new(
  :end_points,
  :fields,
  :name,
  :arn,
  :sampling_rate)
  SENSITIVE = []
  include Aws::Structure
end

#end_pointsArray<Types::EndPoint>

Contains information about the Amazon Kinesis data stream where you are sending real-time log data.

Returns:


15082
15083
15084
15085
15086
15087
15088
15089
15090
# File 'lib/aws-sdk-cloudfront/types.rb', line 15082

class UpdateRealtimeLogConfigRequest < Struct.new(
  :end_points,
  :fields,
  :name,
  :arn,
  :sampling_rate)
  SENSITIVE = []
  include Aws::Structure
end

#fieldsArray<String>

A list of fields to include in each real-time log record.

For more information about fields, see [Real-time log configuration fields] in the *Amazon CloudFront Developer Guide*.

[1]: docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/real-time-logs.html#understand-real-time-log-config-fields

Returns:

  • (Array<String>)

15082
15083
15084
15085
15086
15087
15088
15089
15090
# File 'lib/aws-sdk-cloudfront/types.rb', line 15082

class UpdateRealtimeLogConfigRequest < Struct.new(
  :end_points,
  :fields,
  :name,
  :arn,
  :sampling_rate)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name for this real-time log configuration.

Returns:

  • (String)

15082
15083
15084
15085
15086
15087
15088
15089
15090
# File 'lib/aws-sdk-cloudfront/types.rb', line 15082

class UpdateRealtimeLogConfigRequest < Struct.new(
  :end_points,
  :fields,
  :name,
  :arn,
  :sampling_rate)
  SENSITIVE = []
  include Aws::Structure
end

#sampling_rateInteger

The sampling rate for this real-time log configuration. The sampling rate determines the percentage of viewer requests that are represented in the real-time log data. You must provide an integer between 1 and 100, inclusive.

Returns:

  • (Integer)

15082
15083
15084
15085
15086
15087
15088
15089
15090
# File 'lib/aws-sdk-cloudfront/types.rb', line 15082

class UpdateRealtimeLogConfigRequest < Struct.new(
  :end_points,
  :fields,
  :name,
  :arn,
  :sampling_rate)
  SENSITIVE = []
  include Aws::Structure
end