ConfigureLogs PlaybackConfiguration - AWS Elemental MediaTailor

ConfigureLogs PlaybackConfiguration

Configures Amazon CloudWatch log settings for an existing MediaTailor playback configuration.

URI

/v1/configureLogs/playbackConfiguration

HTTP methods

PUT

Operation ID: ConfigureLogsForPlaybackConfiguration

Configures Amazon CloudWatch log settings for a playback configuration.

Responses
Status code Response model Description
200 ConfigureLogsForPlaybackConfigurationResponse

Success.

Schemas

Request bodies

{ "PercentEnabled": integer, "PlaybackConfigurationName": "string" }

Response bodies

{ "PercentEnabled": integer, "PlaybackConfigurationName": "string" }

Properties

ConfigureLogsForPlaybackConfigurationRequest

Configures Amazon CloudWatch log settings for an existing MediaTailor playback configuration.

Property Type Required Description
PercentEnabled

integer

True

The percentage of session logs that MediaTailor sends to your Cloudwatch Logs account. For example, if your playback configuration has 1000 sessions and percentEnabled is set to 60, MediaTailor sends logs for 600 of the sessions to CloudWatch Logs. MediaTailor decides at random which of the playback configuration sessions to send logs for. If you want to view logs for a specific session, you can use the debug log mode.

Valid values: 0 - 100

PlaybackConfigurationName

string

True

The name of the playback configuration.

ConfigureLogsForPlaybackConfigurationResponse

Amazon CloudWatch log settings for a playback configuration.

Property Type Required Description
PercentEnabled

integer

True

The percentage of session logs that MediaTailor sends to your Cloudwatch Logs account.

PlaybackConfigurationName

string

True

The name of the playback configuration.

See also

For more information about using this API in one of the language-specific AWS SDKs and references, see the following:

ConfigureLogsForPlaybackConfiguration