| Copyright | (c) 2013-2021 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
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
- 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_playbackConfigurationName :: Lens' GetPrefetchScheduleResponse (Maybe Text)
- getPrefetchScheduleResponse_retrieval :: Lens' GetPrefetchScheduleResponse (Maybe PrefetchRetrieval)
- getPrefetchScheduleResponse_name :: Lens' GetPrefetchScheduleResponse (Maybe Text)
- getPrefetchScheduleResponse_consumption :: Lens' GetPrefetchScheduleResponse (Maybe PrefetchConsumption)
- getPrefetchScheduleResponse_streamId :: Lens' GetPrefetchScheduleResponse (Maybe Text)
- getPrefetchScheduleResponse_httpStatus :: Lens' GetPrefetchScheduleResponse Int
Creating a Request
data GetPrefetchSchedule Source #
See: newGetPrefetchSchedule smart constructor.
Constructors
| GetPrefetchSchedule' | |
Fields
| |
Instances
newGetPrefetchSchedule Source #
Arguments
| :: Text | |
| -> Text | |
| -> GetPrefetchSchedule |
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.
getPrefetchSchedule_playbackConfigurationName :: Lens' GetPrefetchSchedule Text Source #
The name of the playback configuration.
Destructuring the Response
data GetPrefetchScheduleResponse Source #
See: newGetPrefetchScheduleResponse smart constructor.
Constructors
| GetPrefetchScheduleResponse' | |
Fields
| |
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:
$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.
getPrefetchScheduleResponse_httpStatus :: Lens' GetPrefetchScheduleResponse Int Source #
The response's http status code.