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

Description

 
Synopsis

Documentation

data PrefetchConsumption Source #

A complex type that contains settings that determine how and when that MediaTailor places prefetched ads into upcoming ad breaks.

See: newPrefetchConsumption smart constructor.

Constructors

PrefetchConsumption' 

Fields

  • startTime :: Maybe POSIX

    The time when prefetched ads are considered for use in an ad break. If you don't specify StartTime, the prefetched ads are available after MediaTailor retrives them from the ad decision server.

  • availMatchingCriteria :: Maybe [AvailMatchingCriteria]

    If you only want MediaTailor to insert prefetched ads into avails (ad breaks) that match specific dynamic variables, such as scte.event_id, set the avail matching criteria.

  • endTime :: POSIX

    The time when MediaTailor no longer considers the prefetched ads for use in an ad break. MediaTailor automatically deletes prefetch schedules no less than seven days after the end time. If you'd like to manually delete the prefetch schedule, you can call DeletePrefetchSchedule.

Instances

Instances details
Eq PrefetchConsumption Source # 
Instance details

Defined in Amazonka.MediaTailor.Types.PrefetchConsumption

Read PrefetchConsumption Source # 
Instance details

Defined in Amazonka.MediaTailor.Types.PrefetchConsumption

Show PrefetchConsumption Source # 
Instance details

Defined in Amazonka.MediaTailor.Types.PrefetchConsumption

Generic PrefetchConsumption Source # 
Instance details

Defined in Amazonka.MediaTailor.Types.PrefetchConsumption

Associated Types

type Rep PrefetchConsumption :: Type -> Type #

NFData PrefetchConsumption Source # 
Instance details

Defined in Amazonka.MediaTailor.Types.PrefetchConsumption

Methods

rnf :: PrefetchConsumption -> () #

Hashable PrefetchConsumption Source # 
Instance details

Defined in Amazonka.MediaTailor.Types.PrefetchConsumption

ToJSON PrefetchConsumption Source # 
Instance details

Defined in Amazonka.MediaTailor.Types.PrefetchConsumption

FromJSON PrefetchConsumption Source # 
Instance details

Defined in Amazonka.MediaTailor.Types.PrefetchConsumption

type Rep PrefetchConsumption Source # 
Instance details

Defined in Amazonka.MediaTailor.Types.PrefetchConsumption

type Rep PrefetchConsumption = D1 ('MetaData "PrefetchConsumption" "Amazonka.MediaTailor.Types.PrefetchConsumption" "libZSservicesZSamazonka-mediatailorZSamazonka-mediatailor" 'False) (C1 ('MetaCons "PrefetchConsumption'" 'PrefixI 'True) (S1 ('MetaSel ('Just "startTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "availMatchingCriteria") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AvailMatchingCriteria])) :*: S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX))))

newPrefetchConsumption Source #

Create a value of PrefetchConsumption 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:startTime:PrefetchConsumption', prefetchConsumption_startTime - The time when prefetched ads are considered for use in an ad break. If you don't specify StartTime, the prefetched ads are available after MediaTailor retrives them from the ad decision server.

$sel:availMatchingCriteria:PrefetchConsumption', prefetchConsumption_availMatchingCriteria - If you only want MediaTailor to insert prefetched ads into avails (ad breaks) that match specific dynamic variables, such as scte.event_id, set the avail matching criteria.

$sel:endTime:PrefetchConsumption', prefetchConsumption_endTime - The time when MediaTailor no longer considers the prefetched ads for use in an ad break. MediaTailor automatically deletes prefetch schedules no less than seven days after the end time. If you'd like to manually delete the prefetch schedule, you can call DeletePrefetchSchedule.

prefetchConsumption_startTime :: Lens' PrefetchConsumption (Maybe UTCTime) Source #

The time when prefetched ads are considered for use in an ad break. If you don't specify StartTime, the prefetched ads are available after MediaTailor retrives them from the ad decision server.

prefetchConsumption_availMatchingCriteria :: Lens' PrefetchConsumption (Maybe [AvailMatchingCriteria]) Source #

If you only want MediaTailor to insert prefetched ads into avails (ad breaks) that match specific dynamic variables, such as scte.event_id, set the avail matching criteria.

prefetchConsumption_endTime :: Lens' PrefetchConsumption UTCTime Source #

The time when MediaTailor no longer considers the prefetched ads for use in an ad break. MediaTailor automatically deletes prefetch schedules no less than seven days after the end time. If you'd like to manually delete the prefetch schedule, you can call DeletePrefetchSchedule.