libZSservicesZSamazonka-mediatailorZSamazonka-mediatailor
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.MediaTailor.ConfigureLogsForPlaybackConfiguration

Description

Configures Amazon CloudWatch log settings for a playback configuration.

Synopsis

Creating a Request

data ConfigureLogsForPlaybackConfiguration Source #

Configures Amazon CloudWatch log settings for a playback configuration.

See: newConfigureLogsForPlaybackConfiguration smart constructor.

Constructors

ConfigureLogsForPlaybackConfiguration' 

Fields

  • percentEnabled :: Int

    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 :: Text

    The name of the playback configuration.

Instances

Instances details
Eq ConfigureLogsForPlaybackConfiguration Source # 
Instance details

Defined in Amazonka.MediaTailor.ConfigureLogsForPlaybackConfiguration

Read ConfigureLogsForPlaybackConfiguration Source # 
Instance details

Defined in Amazonka.MediaTailor.ConfigureLogsForPlaybackConfiguration

Show ConfigureLogsForPlaybackConfiguration Source # 
Instance details

Defined in Amazonka.MediaTailor.ConfigureLogsForPlaybackConfiguration

Generic ConfigureLogsForPlaybackConfiguration Source # 
Instance details

Defined in Amazonka.MediaTailor.ConfigureLogsForPlaybackConfiguration

NFData ConfigureLogsForPlaybackConfiguration Source # 
Instance details

Defined in Amazonka.MediaTailor.ConfigureLogsForPlaybackConfiguration

Hashable ConfigureLogsForPlaybackConfiguration Source # 
Instance details

Defined in Amazonka.MediaTailor.ConfigureLogsForPlaybackConfiguration

ToJSON ConfigureLogsForPlaybackConfiguration Source # 
Instance details

Defined in Amazonka.MediaTailor.ConfigureLogsForPlaybackConfiguration

AWSRequest ConfigureLogsForPlaybackConfiguration Source # 
Instance details

Defined in Amazonka.MediaTailor.ConfigureLogsForPlaybackConfiguration

ToHeaders ConfigureLogsForPlaybackConfiguration Source # 
Instance details

Defined in Amazonka.MediaTailor.ConfigureLogsForPlaybackConfiguration

ToPath ConfigureLogsForPlaybackConfiguration Source # 
Instance details

Defined in Amazonka.MediaTailor.ConfigureLogsForPlaybackConfiguration

ToQuery ConfigureLogsForPlaybackConfiguration Source # 
Instance details

Defined in Amazonka.MediaTailor.ConfigureLogsForPlaybackConfiguration

type Rep ConfigureLogsForPlaybackConfiguration Source # 
Instance details

Defined in Amazonka.MediaTailor.ConfigureLogsForPlaybackConfiguration

type Rep ConfigureLogsForPlaybackConfiguration = D1 ('MetaData "ConfigureLogsForPlaybackConfiguration" "Amazonka.MediaTailor.ConfigureLogsForPlaybackConfiguration" "libZSservicesZSamazonka-mediatailorZSamazonka-mediatailor" 'False) (C1 ('MetaCons "ConfigureLogsForPlaybackConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "percentEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "playbackConfigurationName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse ConfigureLogsForPlaybackConfiguration Source # 
Instance details

Defined in Amazonka.MediaTailor.ConfigureLogsForPlaybackConfiguration

newConfigureLogsForPlaybackConfiguration Source #

Create a value of ConfigureLogsForPlaybackConfiguration with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:percentEnabled:ConfigureLogsForPlaybackConfiguration', configureLogsForPlaybackConfiguration_percentEnabled - 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

$sel:playbackConfigurationName:ConfigureLogsForPlaybackConfiguration', configureLogsForPlaybackConfiguration_playbackConfigurationName - The name of the playback configuration.

Request Lenses

configureLogsForPlaybackConfiguration_percentEnabled :: Lens' ConfigureLogsForPlaybackConfiguration Int Source #

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

Destructuring the Response

data ConfigureLogsForPlaybackConfigurationResponse Source #

Constructors

ConfigureLogsForPlaybackConfigurationResponse' 

Fields

Instances

Instances details
Eq ConfigureLogsForPlaybackConfigurationResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.ConfigureLogsForPlaybackConfiguration

Read ConfigureLogsForPlaybackConfigurationResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.ConfigureLogsForPlaybackConfiguration

Show ConfigureLogsForPlaybackConfigurationResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.ConfigureLogsForPlaybackConfiguration

Generic ConfigureLogsForPlaybackConfigurationResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.ConfigureLogsForPlaybackConfiguration

NFData ConfigureLogsForPlaybackConfigurationResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.ConfigureLogsForPlaybackConfiguration

type Rep ConfigureLogsForPlaybackConfigurationResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.ConfigureLogsForPlaybackConfiguration

type Rep ConfigureLogsForPlaybackConfigurationResponse = D1 ('MetaData "ConfigureLogsForPlaybackConfigurationResponse" "Amazonka.MediaTailor.ConfigureLogsForPlaybackConfiguration" "libZSservicesZSamazonka-mediatailorZSamazonka-mediatailor" 'False) (C1 ('MetaCons "ConfigureLogsForPlaybackConfigurationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "playbackConfigurationName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "percentEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

Response Lenses

configureLogsForPlaybackConfigurationResponse_percentEnabled :: Lens' ConfigureLogsForPlaybackConfigurationResponse (Maybe Int) Source #

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