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.Types.LogConfiguration

Description

 
Synopsis

Documentation

data LogConfiguration Source #

Returns Amazon CloudWatch log settings for a playback configuration.

See: newLogConfiguration smart constructor.

Constructors

LogConfiguration' 

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

Instances

Instances details
Eq LogConfiguration Source # 
Instance details

Defined in Amazonka.MediaTailor.Types.LogConfiguration

Read LogConfiguration Source # 
Instance details

Defined in Amazonka.MediaTailor.Types.LogConfiguration

Show LogConfiguration Source # 
Instance details

Defined in Amazonka.MediaTailor.Types.LogConfiguration

Generic LogConfiguration Source # 
Instance details

Defined in Amazonka.MediaTailor.Types.LogConfiguration

Associated Types

type Rep LogConfiguration :: Type -> Type #

NFData LogConfiguration Source # 
Instance details

Defined in Amazonka.MediaTailor.Types.LogConfiguration

Methods

rnf :: LogConfiguration -> () #

Hashable LogConfiguration Source # 
Instance details

Defined in Amazonka.MediaTailor.Types.LogConfiguration

FromJSON LogConfiguration Source # 
Instance details

Defined in Amazonka.MediaTailor.Types.LogConfiguration

type Rep LogConfiguration Source # 
Instance details

Defined in Amazonka.MediaTailor.Types.LogConfiguration

type Rep LogConfiguration = D1 ('MetaData "LogConfiguration" "Amazonka.MediaTailor.Types.LogConfiguration" "libZSservicesZSamazonka-mediatailorZSamazonka-mediatailor" 'False) (C1 ('MetaCons "LogConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "percentEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newLogConfiguration Source #

Create a value of LogConfiguration 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:LogConfiguration', logConfiguration_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

logConfiguration_percentEnabled :: Lens' LogConfiguration 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