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 |
Amazonka.MediaTailor.DeletePrefetchSchedule
Description
Deletes a prefetch schedule for a specific playback configuration. If
you call DeletePrefetchSchedule
on an expired prefetch schedule,
MediaTailor returns an HTTP 404 status code. For more information about
ad prefetching, see
Using ad prefetching
in the MediaTailor User Guide.
Synopsis
- data DeletePrefetchSchedule = DeletePrefetchSchedule' {}
- newDeletePrefetchSchedule :: Text -> Text -> DeletePrefetchSchedule
- deletePrefetchSchedule_name :: Lens' DeletePrefetchSchedule Text
- deletePrefetchSchedule_playbackConfigurationName :: Lens' DeletePrefetchSchedule Text
- data DeletePrefetchScheduleResponse = DeletePrefetchScheduleResponse' {
- httpStatus :: Int
- newDeletePrefetchScheduleResponse :: Int -> DeletePrefetchScheduleResponse
- deletePrefetchScheduleResponse_httpStatus :: Lens' DeletePrefetchScheduleResponse Int
Creating a Request
data DeletePrefetchSchedule Source #
See: newDeletePrefetchSchedule
smart constructor.
Constructors
DeletePrefetchSchedule' | |
Fields
|
Instances
newDeletePrefetchSchedule Source #
Create a value of DeletePrefetchSchedule
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:
DeletePrefetchSchedule
, deletePrefetchSchedule_name
- The name of the prefetch schedule. If the action is successful, the
service sends back an HTTP 204 response with an empty HTTP body.
DeletePrefetchSchedule
, deletePrefetchSchedule_playbackConfigurationName
- The name of the playback configuration for this prefetch schedule.
Request Lenses
deletePrefetchSchedule_name :: Lens' DeletePrefetchSchedule Text Source #
The name of the prefetch schedule. If the action is successful, the service sends back an HTTP 204 response with an empty HTTP body.
deletePrefetchSchedule_playbackConfigurationName :: Lens' DeletePrefetchSchedule Text Source #
The name of the playback configuration for this prefetch schedule.
Destructuring the Response
data DeletePrefetchScheduleResponse Source #
See: newDeletePrefetchScheduleResponse
smart constructor.
Constructors
DeletePrefetchScheduleResponse' | |
Fields
|
Instances
newDeletePrefetchScheduleResponse Source #
Create a value of DeletePrefetchScheduleResponse
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:httpStatus:DeletePrefetchScheduleResponse'
, deletePrefetchScheduleResponse_httpStatus
- The response's http status code.
Response Lenses
deletePrefetchScheduleResponse_httpStatus :: Lens' DeletePrefetchScheduleResponse Int Source #
The response's http status code.