amazonka-mediatailor-2.0: Amazon MediaTailor SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.MediaTailor.Types.ScheduleAdBreak

Description

 
Synopsis

Documentation

data ScheduleAdBreak Source #

The schedule's ad break properties.

See: newScheduleAdBreak smart constructor.

Constructors

ScheduleAdBreak' 

Fields

Instances

Instances details
FromJSON ScheduleAdBreak Source # 
Instance details

Defined in Amazonka.MediaTailor.Types.ScheduleAdBreak

Generic ScheduleAdBreak Source # 
Instance details

Defined in Amazonka.MediaTailor.Types.ScheduleAdBreak

Associated Types

type Rep ScheduleAdBreak :: Type -> Type #

Read ScheduleAdBreak Source # 
Instance details

Defined in Amazonka.MediaTailor.Types.ScheduleAdBreak

Show ScheduleAdBreak Source # 
Instance details

Defined in Amazonka.MediaTailor.Types.ScheduleAdBreak

NFData ScheduleAdBreak Source # 
Instance details

Defined in Amazonka.MediaTailor.Types.ScheduleAdBreak

Methods

rnf :: ScheduleAdBreak -> () #

Eq ScheduleAdBreak Source # 
Instance details

Defined in Amazonka.MediaTailor.Types.ScheduleAdBreak

Hashable ScheduleAdBreak Source # 
Instance details

Defined in Amazonka.MediaTailor.Types.ScheduleAdBreak

type Rep ScheduleAdBreak Source # 
Instance details

Defined in Amazonka.MediaTailor.Types.ScheduleAdBreak

type Rep ScheduleAdBreak = D1 ('MetaData "ScheduleAdBreak" "Amazonka.MediaTailor.Types.ScheduleAdBreak" "amazonka-mediatailor-2.0-6mxt6n51Pv3JbuBr2GKiO4" 'False) (C1 ('MetaCons "ScheduleAdBreak'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "approximateDurationSeconds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "approximateStartTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "sourceLocationName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "vodSourceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newScheduleAdBreak :: ScheduleAdBreak Source #

Create a value of ScheduleAdBreak 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:approximateDurationSeconds:ScheduleAdBreak', scheduleAdBreak_approximateDurationSeconds - The approximate duration of the ad break, in seconds.

$sel:approximateStartTime:ScheduleAdBreak', scheduleAdBreak_approximateStartTime - The approximate time that the ad will start playing.

$sel:sourceLocationName:ScheduleAdBreak', scheduleAdBreak_sourceLocationName - The name of the source location containing the VOD source used for the ad break.

$sel:vodSourceName:ScheduleAdBreak', scheduleAdBreak_vodSourceName - The name of the VOD source used for the ad break.

scheduleAdBreak_approximateDurationSeconds :: Lens' ScheduleAdBreak (Maybe Integer) Source #

The approximate duration of the ad break, in seconds.

scheduleAdBreak_approximateStartTime :: Lens' ScheduleAdBreak (Maybe UTCTime) Source #

The approximate time that the ad will start playing.

scheduleAdBreak_sourceLocationName :: Lens' ScheduleAdBreak (Maybe Text) Source #

The name of the source location containing the VOD source used for the ad break.

scheduleAdBreak_vodSourceName :: Lens' ScheduleAdBreak (Maybe Text) Source #

The name of the VOD source used for the ad break.