| 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.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.
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 #
Arguments
| :: Text | |
| -> Text | |
| -> DeletePrefetchSchedule |
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:
$sel:name:DeletePrefetchSchedule', deletePrefetchSchedule_name - The identifier for the playback configuration.
$sel:playbackConfigurationName:DeletePrefetchSchedule', deletePrefetchSchedule_playbackConfigurationName - The name of the playback configuration.
Request Lenses
deletePrefetchSchedule_name :: Lens' DeletePrefetchSchedule Text Source #
The identifier for the playback configuration.
deletePrefetchSchedule_playbackConfigurationName :: Lens' DeletePrefetchSchedule Text Source #
The name of the playback configuration.
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.