Class: Aws::MediaTailor::Types::ConfigureLogsForPlaybackConfigurationRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/types.rb

Overview

Note:

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

{
  percent_enabled: 1, # required
  playback_configuration_name: "__string", # required
}

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#percent_enabledInteger

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

Returns:

  • (Integer)


471
472
473
474
475
476
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/types.rb', line 471

class ConfigureLogsForPlaybackConfigurationRequest < Struct.new(
  :percent_enabled,
  :playback_configuration_name)
  SENSITIVE = []
  include Aws::Structure
end

#playback_configuration_nameString

The name of the playback configuration.

Returns:

  • (String)


471
472
473
474
475
476
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/types.rb', line 471

class ConfigureLogsForPlaybackConfigurationRequest < Struct.new(
  :percent_enabled,
  :playback_configuration_name)
  SENSITIVE = []
  include Aws::Structure
end