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 |
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.
DeletePrefetchSchedule' | |
|
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.
DeletePrefetchScheduleResponse' | |
|
Instances
Generic DeletePrefetchScheduleResponse Source # | |
Read DeletePrefetchScheduleResponse Source # | |
Show DeletePrefetchScheduleResponse Source # | |
Defined in Amazonka.MediaTailor.DeletePrefetchSchedule | |
NFData DeletePrefetchScheduleResponse Source # | |
Defined in Amazonka.MediaTailor.DeletePrefetchSchedule rnf :: DeletePrefetchScheduleResponse -> () # | |
Eq DeletePrefetchScheduleResponse Source # | |
type Rep DeletePrefetchScheduleResponse Source # | |
Defined in Amazonka.MediaTailor.DeletePrefetchSchedule type Rep DeletePrefetchScheduleResponse = D1 ('MetaData "DeletePrefetchScheduleResponse" "Amazonka.MediaTailor.DeletePrefetchSchedule" "amazonka-mediatailor-2.0-6mxt6n51Pv3JbuBr2GKiO4" 'False) (C1 ('MetaCons "DeletePrefetchScheduleResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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.