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.LivePreRollConfiguration

Description

 
Synopsis

Documentation

data LivePreRollConfiguration Source #

The configuration for pre-roll ad insertion.

See: newLivePreRollConfiguration smart constructor.

Constructors

LivePreRollConfiguration' 

Fields

  • adDecisionServerUrl :: Maybe Text

    The URL for the ad decision server (ADS) for pre-roll ads. This includes the specification of static parameters and placeholders for dynamic parameters. AWS Elemental MediaTailor substitutes player-specific and session-specific parameters as needed when calling the ADS. Alternately, for testing, you can provide a static VAST URL. The maximum length is 25,000 characters.

  • maxDurationSeconds :: Maybe Int

    The maximum allowed duration for the pre-roll ad avail. AWS Elemental MediaTailor won't play pre-roll ads to exceed this duration, regardless of the total duration of ads that the ADS returns.

Instances

Instances details
Eq LivePreRollConfiguration Source # 
Instance details

Defined in Amazonka.MediaTailor.Types.LivePreRollConfiguration

Read LivePreRollConfiguration Source # 
Instance details

Defined in Amazonka.MediaTailor.Types.LivePreRollConfiguration

Show LivePreRollConfiguration Source # 
Instance details

Defined in Amazonka.MediaTailor.Types.LivePreRollConfiguration

Generic LivePreRollConfiguration Source # 
Instance details

Defined in Amazonka.MediaTailor.Types.LivePreRollConfiguration

Associated Types

type Rep LivePreRollConfiguration :: Type -> Type #

NFData LivePreRollConfiguration Source # 
Instance details

Defined in Amazonka.MediaTailor.Types.LivePreRollConfiguration

Hashable LivePreRollConfiguration Source # 
Instance details

Defined in Amazonka.MediaTailor.Types.LivePreRollConfiguration

ToJSON LivePreRollConfiguration Source # 
Instance details

Defined in Amazonka.MediaTailor.Types.LivePreRollConfiguration

FromJSON LivePreRollConfiguration Source # 
Instance details

Defined in Amazonka.MediaTailor.Types.LivePreRollConfiguration

type Rep LivePreRollConfiguration Source # 
Instance details

Defined in Amazonka.MediaTailor.Types.LivePreRollConfiguration

type Rep LivePreRollConfiguration = D1 ('MetaData "LivePreRollConfiguration" "Amazonka.MediaTailor.Types.LivePreRollConfiguration" "libZSservicesZSamazonka-mediatailorZSamazonka-mediatailor" 'False) (C1 ('MetaCons "LivePreRollConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "adDecisionServerUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxDurationSeconds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))

newLivePreRollConfiguration :: LivePreRollConfiguration Source #

Create a value of LivePreRollConfiguration 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:adDecisionServerUrl:LivePreRollConfiguration', livePreRollConfiguration_adDecisionServerUrl - The URL for the ad decision server (ADS) for pre-roll ads. This includes the specification of static parameters and placeholders for dynamic parameters. AWS Elemental MediaTailor substitutes player-specific and session-specific parameters as needed when calling the ADS. Alternately, for testing, you can provide a static VAST URL. The maximum length is 25,000 characters.

$sel:maxDurationSeconds:LivePreRollConfiguration', livePreRollConfiguration_maxDurationSeconds - The maximum allowed duration for the pre-roll ad avail. AWS Elemental MediaTailor won't play pre-roll ads to exceed this duration, regardless of the total duration of ads that the ADS returns.

livePreRollConfiguration_adDecisionServerUrl :: Lens' LivePreRollConfiguration (Maybe Text) Source #

The URL for the ad decision server (ADS) for pre-roll ads. This includes the specification of static parameters and placeholders for dynamic parameters. AWS Elemental MediaTailor substitutes player-specific and session-specific parameters as needed when calling the ADS. Alternately, for testing, you can provide a static VAST URL. The maximum length is 25,000 characters.

livePreRollConfiguration_maxDurationSeconds :: Lens' LivePreRollConfiguration (Maybe Int) Source #

The maximum allowed duration for the pre-roll ad avail. AWS Elemental MediaTailor won't play pre-roll ads to exceed this duration, regardless of the total duration of ads that the ADS returns.