Skip to content

/AWS1/CL_FNT=>UPDATEREALTIMELOGCONFIG()

About UpdateRealtimeLogConfig

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:

  1. Call GetRealtimeLogConfig to get the current real-time log configuration.

  2. Locally modify the parameters in the real-time log configuration that you want to update.

  3. Call this API (UpdateRealtimeLogConfig) by providing the entire real-time log configuration, including the parameters that you modified and those that you didn't.

You cannot update a real-time log configuration's Name or ARN.

Method Signature

IMPORTING

Optional arguments:

IT_ENDPOINTS TYPE /AWS1/CL_FNTENDPOINT=>TT_ENDPOINTLIST TT_ENDPOINTLIST

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

IT_FIELDS TYPE /AWS1/CL_FNTFIELDLIST_W=>TT_FIELDLIST TT_FIELDLIST

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.

IV_NAME TYPE /AWS1/FNTSTRING /AWS1/FNTSTRING

The name for this real-time log configuration.

IV_ARN TYPE /AWS1/FNTSTRING /AWS1/FNTSTRING

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

IV_SAMPLINGRATE TYPE /AWS1/FNTLONG /AWS1/FNTLONG

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.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_FNTUPREALTIMELOGCFGRS /AWS1/CL_FNTUPREALTIMELOGCFGRS