amazonka-mediatailor-2.0: Amazon MediaTailor SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

Creating a Request

data DeletePrefetchSchedule Source #

See: newDeletePrefetchSchedule smart constructor.

Constructors

DeletePrefetchSchedule' 

Fields

  • name :: Text

    The name of the prefetch schedule. If the action is successful, the service sends back an HTTP 204 response with an empty HTTP body.

  • playbackConfigurationName :: Text

    The name of the playback configuration for this prefetch schedule.

Instances

Instances details
ToHeaders DeletePrefetchSchedule Source # 
Instance details

Defined in Amazonka.MediaTailor.DeletePrefetchSchedule

ToPath DeletePrefetchSchedule Source # 
Instance details

Defined in Amazonka.MediaTailor.DeletePrefetchSchedule

ToQuery DeletePrefetchSchedule Source # 
Instance details

Defined in Amazonka.MediaTailor.DeletePrefetchSchedule

AWSRequest DeletePrefetchSchedule Source # 
Instance details

Defined in Amazonka.MediaTailor.DeletePrefetchSchedule

Associated Types

type AWSResponse DeletePrefetchSchedule #

Generic DeletePrefetchSchedule Source # 
Instance details

Defined in Amazonka.MediaTailor.DeletePrefetchSchedule

Associated Types

type Rep DeletePrefetchSchedule :: Type -> Type #

Read DeletePrefetchSchedule Source # 
Instance details

Defined in Amazonka.MediaTailor.DeletePrefetchSchedule

Show DeletePrefetchSchedule Source # 
Instance details

Defined in Amazonka.MediaTailor.DeletePrefetchSchedule

NFData DeletePrefetchSchedule Source # 
Instance details

Defined in Amazonka.MediaTailor.DeletePrefetchSchedule

Methods

rnf :: DeletePrefetchSchedule -> () #

Eq DeletePrefetchSchedule Source # 
Instance details

Defined in Amazonka.MediaTailor.DeletePrefetchSchedule

Hashable DeletePrefetchSchedule Source # 
Instance details

Defined in Amazonka.MediaTailor.DeletePrefetchSchedule

type AWSResponse DeletePrefetchSchedule Source # 
Instance details

Defined in Amazonka.MediaTailor.DeletePrefetchSchedule

type Rep DeletePrefetchSchedule Source # 
Instance details

Defined in Amazonka.MediaTailor.DeletePrefetchSchedule

type Rep DeletePrefetchSchedule = D1 ('MetaData "DeletePrefetchSchedule" "Amazonka.MediaTailor.DeletePrefetchSchedule" "amazonka-mediatailor-2.0-6mxt6n51Pv3JbuBr2GKiO4" 'False) (C1 ('MetaCons "DeletePrefetchSchedule'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "playbackConfigurationName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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

Instances details
Generic DeletePrefetchScheduleResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.DeletePrefetchSchedule

Associated Types

type Rep DeletePrefetchScheduleResponse :: Type -> Type #

Read DeletePrefetchScheduleResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.DeletePrefetchSchedule

Show DeletePrefetchScheduleResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.DeletePrefetchSchedule

NFData DeletePrefetchScheduleResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.DeletePrefetchSchedule

Eq DeletePrefetchScheduleResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.DeletePrefetchSchedule

type Rep DeletePrefetchScheduleResponse Source # 
Instance details

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