Updates a real-time log configuration.
When you update a real-time log configuration, all the parameters are updated with the values provided in the request. You cannot update some parameters independent of others. To update a real-time log configuration:
Call get_realtime_log_config
to get the current real-time log configuration.
Locally modify the parameters in the real-time log configuration that you want to update.
Call this API
(update_realtime_log_config
)
by providing the entire real-time log configuration, including the
parameters that you modified and those that you didn<U+2019>t.
You cannot update a real-time log configuration<U+2019>s Name
or ARN
.
cloudfront_update_realtime_log_config(EndPoints, Fields, Name, ARN,
SamplingRate)
Contains information about the Amazon Kinesis data stream where you are sending real-time log data.
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.
The name for this real-time log configuration.
The Amazon Resource Name (ARN) for this real-time log configuration.
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.
A list with the following syntax:
list( RealtimeLogConfig = list( ARN = "string", Name = "string", SamplingRate = 123, EndPoints = list( list( StreamType = "string", KinesisStreamConfig = list( RoleARN = "string", StreamARN = "string" ) ) ), Fields = list( "string" ) ) )
svc$update_realtime_log_config( EndPoints = list( list( StreamType = "string", KinesisStreamConfig = list( RoleARN = "string", StreamARN = "string" ) ) ), Fields = list( "string" ), Name = "string", ARN = "string", SamplingRate = 123 )