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

Description

Returns information about the prefetch schedule for a specific playback configuration. If you call GetPrefetchSchedule on an expired prefetch schedule, MediaTailor returns an HTTP 404 status code.

Synopsis

Creating a Request

data GetPrefetchSchedule Source #

See: newGetPrefetchSchedule smart constructor.

Constructors

GetPrefetchSchedule' 

Fields

Instances

Instances details
Eq GetPrefetchSchedule Source # 
Instance details

Defined in Amazonka.MediaTailor.GetPrefetchSchedule

Read GetPrefetchSchedule Source # 
Instance details

Defined in Amazonka.MediaTailor.GetPrefetchSchedule

Show GetPrefetchSchedule Source # 
Instance details

Defined in Amazonka.MediaTailor.GetPrefetchSchedule

Generic GetPrefetchSchedule Source # 
Instance details

Defined in Amazonka.MediaTailor.GetPrefetchSchedule

Associated Types

type Rep GetPrefetchSchedule :: Type -> Type #

NFData GetPrefetchSchedule Source # 
Instance details

Defined in Amazonka.MediaTailor.GetPrefetchSchedule

Methods

rnf :: GetPrefetchSchedule -> () #

Hashable GetPrefetchSchedule Source # 
Instance details

Defined in Amazonka.MediaTailor.GetPrefetchSchedule

AWSRequest GetPrefetchSchedule Source # 
Instance details

Defined in Amazonka.MediaTailor.GetPrefetchSchedule

Associated Types

type AWSResponse GetPrefetchSchedule #

ToHeaders GetPrefetchSchedule Source # 
Instance details

Defined in Amazonka.MediaTailor.GetPrefetchSchedule

ToPath GetPrefetchSchedule Source # 
Instance details

Defined in Amazonka.MediaTailor.GetPrefetchSchedule

ToQuery GetPrefetchSchedule Source # 
Instance details

Defined in Amazonka.MediaTailor.GetPrefetchSchedule

type Rep GetPrefetchSchedule Source # 
Instance details

Defined in Amazonka.MediaTailor.GetPrefetchSchedule

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

Defined in Amazonka.MediaTailor.GetPrefetchSchedule

newGetPrefetchSchedule Source #

Create a value of GetPrefetchSchedule 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:name:GetPrefetchSchedule', getPrefetchSchedule_name - The identifier for the playback configuration.

$sel:playbackConfigurationName:GetPrefetchSchedule', getPrefetchSchedule_playbackConfigurationName - The name of the playback configuration.

Request Lenses

getPrefetchSchedule_name :: Lens' GetPrefetchSchedule Text Source #

The identifier for the playback configuration.

Destructuring the Response

data GetPrefetchScheduleResponse Source #

See: newGetPrefetchScheduleResponse smart constructor.

Constructors

GetPrefetchScheduleResponse' 

Fields

  • arn :: Maybe Text

    The Amazon Resource Name (ARN) of the prefetch schedule.

  • playbackConfigurationName :: Maybe Text

    The name of the playback configuration to create the prefetch schedule for.

  • retrieval :: Maybe PrefetchRetrieval

    A complex type that contains settings for prefetch retrieval from the ad decision server (ADS).

  • name :: Maybe Text

    The name of the prefetch schedule. The name must be unique among all prefetch schedules that are associated with the specified playback configuration.

  • consumption :: Maybe PrefetchConsumption

    Consumption settings determine how, and when, MediaTailor places the prefetched ads into ad breaks. Ad consumption occurs within a span of time that you define, called a consumption window. You can designate which ad breaks that MediaTailor fills with prefetch ads by setting avail matching criteria.

  • streamId :: Maybe Text

    An optional stream identifier that you can specify in order to prefetch for multiple streams that use the same playback configuration.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq GetPrefetchScheduleResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.GetPrefetchSchedule

Read GetPrefetchScheduleResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.GetPrefetchSchedule

Show GetPrefetchScheduleResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.GetPrefetchSchedule

Generic GetPrefetchScheduleResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.GetPrefetchSchedule

Associated Types

type Rep GetPrefetchScheduleResponse :: Type -> Type #

NFData GetPrefetchScheduleResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.GetPrefetchSchedule

type Rep GetPrefetchScheduleResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.GetPrefetchSchedule

type Rep GetPrefetchScheduleResponse = D1 ('MetaData "GetPrefetchScheduleResponse" "Amazonka.MediaTailor.GetPrefetchSchedule" "libZSservicesZSamazonka-mediatailorZSamazonka-mediatailor" 'False) (C1 ('MetaCons "GetPrefetchScheduleResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "playbackConfigurationName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "retrieval") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PrefetchRetrieval)))) :*: ((S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "consumption") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PrefetchConsumption))) :*: (S1 ('MetaSel ('Just "streamId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newGetPrefetchScheduleResponse Source #

Create a value of GetPrefetchScheduleResponse 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:arn:GetPrefetchScheduleResponse', getPrefetchScheduleResponse_arn - The Amazon Resource Name (ARN) of the prefetch schedule.

$sel:playbackConfigurationName:GetPrefetchSchedule', getPrefetchScheduleResponse_playbackConfigurationName - The name of the playback configuration to create the prefetch schedule for.

$sel:retrieval:GetPrefetchScheduleResponse', getPrefetchScheduleResponse_retrieval - A complex type that contains settings for prefetch retrieval from the ad decision server (ADS).

$sel:name:GetPrefetchSchedule', getPrefetchScheduleResponse_name - The name of the prefetch schedule. The name must be unique among all prefetch schedules that are associated with the specified playback configuration.

$sel:consumption:GetPrefetchScheduleResponse', getPrefetchScheduleResponse_consumption - Consumption settings determine how, and when, MediaTailor places the prefetched ads into ad breaks. Ad consumption occurs within a span of time that you define, called a consumption window. You can designate which ad breaks that MediaTailor fills with prefetch ads by setting avail matching criteria.

$sel:streamId:GetPrefetchScheduleResponse', getPrefetchScheduleResponse_streamId - An optional stream identifier that you can specify in order to prefetch for multiple streams that use the same playback configuration.

$sel:httpStatus:GetPrefetchScheduleResponse', getPrefetchScheduleResponse_httpStatus - The response's http status code.

Response Lenses

getPrefetchScheduleResponse_arn :: Lens' GetPrefetchScheduleResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the prefetch schedule.

getPrefetchScheduleResponse_playbackConfigurationName :: Lens' GetPrefetchScheduleResponse (Maybe Text) Source #

The name of the playback configuration to create the prefetch schedule for.

getPrefetchScheduleResponse_retrieval :: Lens' GetPrefetchScheduleResponse (Maybe PrefetchRetrieval) Source #

A complex type that contains settings for prefetch retrieval from the ad decision server (ADS).

getPrefetchScheduleResponse_name :: Lens' GetPrefetchScheduleResponse (Maybe Text) Source #

The name of the prefetch schedule. The name must be unique among all prefetch schedules that are associated with the specified playback configuration.

getPrefetchScheduleResponse_consumption :: Lens' GetPrefetchScheduleResponse (Maybe PrefetchConsumption) Source #

Consumption settings determine how, and when, MediaTailor places the prefetched ads into ad breaks. Ad consumption occurs within a span of time that you define, called a consumption window. You can designate which ad breaks that MediaTailor fills with prefetch ads by setting avail matching criteria.

getPrefetchScheduleResponse_streamId :: Lens' GetPrefetchScheduleResponse (Maybe Text) Source #

An optional stream identifier that you can specify in order to prefetch for multiple streams that use the same playback configuration.