Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Retrieves a prefetch schedule for a playback configuration. A prefetch schedule allows you to tell MediaTailor to fetch and prepare certain ads before an ad break happens. For more information about ad prefetching, see Using ad prefetching in the MediaTailor User Guide.
Synopsis
- data GetPrefetchSchedule = GetPrefetchSchedule' {}
- newGetPrefetchSchedule :: Text -> Text -> GetPrefetchSchedule
- getPrefetchSchedule_name :: Lens' GetPrefetchSchedule Text
- getPrefetchSchedule_playbackConfigurationName :: Lens' GetPrefetchSchedule Text
- data GetPrefetchScheduleResponse = GetPrefetchScheduleResponse' {}
- newGetPrefetchScheduleResponse :: Int -> GetPrefetchScheduleResponse
- getPrefetchScheduleResponse_arn :: Lens' GetPrefetchScheduleResponse (Maybe Text)
- getPrefetchScheduleResponse_consumption :: Lens' GetPrefetchScheduleResponse (Maybe PrefetchConsumption)
- getPrefetchScheduleResponse_name :: Lens' GetPrefetchScheduleResponse (Maybe Text)
- getPrefetchScheduleResponse_playbackConfigurationName :: Lens' GetPrefetchScheduleResponse (Maybe Text)
- getPrefetchScheduleResponse_retrieval :: Lens' GetPrefetchScheduleResponse (Maybe PrefetchRetrieval)
- getPrefetchScheduleResponse_streamId :: Lens' GetPrefetchScheduleResponse (Maybe Text)
- getPrefetchScheduleResponse_httpStatus :: Lens' GetPrefetchScheduleResponse Int
Creating a Request
data GetPrefetchSchedule Source #
See: newGetPrefetchSchedule
smart constructor.
GetPrefetchSchedule' | |
|
Instances
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:
GetPrefetchSchedule
, getPrefetchSchedule_name
- The name of the prefetch schedule. The name must be unique among all
prefetch schedules that are associated with the specified playback
configuration.
GetPrefetchSchedule
, getPrefetchSchedule_playbackConfigurationName
- 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.
Request Lenses
getPrefetchSchedule_name :: Lens' GetPrefetchSchedule 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.
getPrefetchSchedule_playbackConfigurationName :: Lens' GetPrefetchSchedule Text Source #
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.
Destructuring the Response
data GetPrefetchScheduleResponse Source #
See: newGetPrefetchScheduleResponse
smart constructor.
GetPrefetchScheduleResponse' | |
|
Instances
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:
GetPrefetchScheduleResponse
, getPrefetchScheduleResponse_arn
- The Amazon Resource Name (ARN) of the prefetch schedule.
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.
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.
GetPrefetchSchedule
, getPrefetchScheduleResponse_playbackConfigurationName
- The name of the playback configuration to create the prefetch schedule
for.
GetPrefetchScheduleResponse
, getPrefetchScheduleResponse_retrieval
- A complex type that contains settings for prefetch retrieval from the ad
decision server (ADS).
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_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_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_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_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.
getPrefetchScheduleResponse_httpStatus :: Lens' GetPrefetchScheduleResponse Int Source #
The response's http status code.