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 |
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.
DeletePrefetchSchedule' | |
|
Instances
newDeletePrefetchSchedule Source #
:: 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.
DeletePrefetchScheduleResponse' | |
|
Instances
Eq DeletePrefetchScheduleResponse Source # | |
Read DeletePrefetchScheduleResponse Source # | |
Show DeletePrefetchScheduleResponse Source # | |
Defined in Amazonka.MediaTailor.DeletePrefetchSchedule | |
Generic DeletePrefetchScheduleResponse Source # | |
NFData DeletePrefetchScheduleResponse Source # | |
Defined in Amazonka.MediaTailor.DeletePrefetchSchedule rnf :: DeletePrefetchScheduleResponse -> () # | |
type Rep DeletePrefetchScheduleResponse Source # | |
Defined in Amazonka.MediaTailor.DeletePrefetchSchedule type Rep DeletePrefetchScheduleResponse = D1 ('MetaData "DeletePrefetchScheduleResponse" "Amazonka.MediaTailor.DeletePrefetchSchedule" "libZSservicesZSamazonka-mediatailorZSamazonka-mediatailor" '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.