libZSservicesZSamazonka-medialiveZSamazonka-medialive
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.MediaLive.DeleteReservation

Description

Delete an expired reservation.

Synopsis

Creating a Request

data DeleteReservation Source #

Placeholder documentation for DeleteReservationRequest

See: newDeleteReservation smart constructor.

Constructors

DeleteReservation' 

Fields

Instances

Instances details
Eq DeleteReservation Source # 
Instance details

Defined in Amazonka.MediaLive.DeleteReservation

Read DeleteReservation Source # 
Instance details

Defined in Amazonka.MediaLive.DeleteReservation

Show DeleteReservation Source # 
Instance details

Defined in Amazonka.MediaLive.DeleteReservation

Generic DeleteReservation Source # 
Instance details

Defined in Amazonka.MediaLive.DeleteReservation

Associated Types

type Rep DeleteReservation :: Type -> Type #

NFData DeleteReservation Source # 
Instance details

Defined in Amazonka.MediaLive.DeleteReservation

Methods

rnf :: DeleteReservation -> () #

Hashable DeleteReservation Source # 
Instance details

Defined in Amazonka.MediaLive.DeleteReservation

AWSRequest DeleteReservation Source # 
Instance details

Defined in Amazonka.MediaLive.DeleteReservation

Associated Types

type AWSResponse DeleteReservation #

ToHeaders DeleteReservation Source # 
Instance details

Defined in Amazonka.MediaLive.DeleteReservation

ToPath DeleteReservation Source # 
Instance details

Defined in Amazonka.MediaLive.DeleteReservation

ToQuery DeleteReservation Source # 
Instance details

Defined in Amazonka.MediaLive.DeleteReservation

type Rep DeleteReservation Source # 
Instance details

Defined in Amazonka.MediaLive.DeleteReservation

type Rep DeleteReservation = D1 ('MetaData "DeleteReservation" "Amazonka.MediaLive.DeleteReservation" "libZSservicesZSamazonka-medialiveZSamazonka-medialive" 'False) (C1 ('MetaCons "DeleteReservation'" 'PrefixI 'True) (S1 ('MetaSel ('Just "reservationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteReservation Source # 
Instance details

Defined in Amazonka.MediaLive.DeleteReservation

newDeleteReservation Source #

Create a value of DeleteReservation 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:reservationId:DeleteReservation', deleteReservation_reservationId - Unique reservation ID, e.g. '1234567'

Request Lenses

deleteReservation_reservationId :: Lens' DeleteReservation Text Source #

Unique reservation ID, e.g. '1234567'

Destructuring the Response

data DeleteReservationResponse Source #

Placeholder documentation for DeleteReservationResponse

See: newDeleteReservationResponse smart constructor.

Constructors

DeleteReservationResponse' 

Fields

Instances

Instances details
Eq DeleteReservationResponse Source # 
Instance details

Defined in Amazonka.MediaLive.DeleteReservation

Read DeleteReservationResponse Source # 
Instance details

Defined in Amazonka.MediaLive.DeleteReservation

Show DeleteReservationResponse Source # 
Instance details

Defined in Amazonka.MediaLive.DeleteReservation

Generic DeleteReservationResponse Source # 
Instance details

Defined in Amazonka.MediaLive.DeleteReservation

Associated Types

type Rep DeleteReservationResponse :: Type -> Type #

NFData DeleteReservationResponse Source # 
Instance details

Defined in Amazonka.MediaLive.DeleteReservation

type Rep DeleteReservationResponse Source # 
Instance details

Defined in Amazonka.MediaLive.DeleteReservation

type Rep DeleteReservationResponse = D1 ('MetaData "DeleteReservationResponse" "Amazonka.MediaLive.DeleteReservation" "libZSservicesZSamazonka-medialiveZSamazonka-medialive" 'False) (C1 ('MetaCons "DeleteReservationResponse'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ReservationState)) :*: S1 ('MetaSel ('Just "resourceSpecification") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ReservationResourceSpecification))) :*: (S1 ('MetaSel ('Just "currencyCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "start") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "count") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just "end") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "reservationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))) :*: (((S1 ('MetaSel ('Just "offeringId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "region") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "offeringType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OfferingType)) :*: (S1 ('MetaSel ('Just "usagePrice") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "fixedPrice") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double))))) :*: ((S1 ('MetaSel ('Just "durationUnits") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OfferingDurationUnits)) :*: S1 ('MetaSel ('Just "offeringDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "duration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))))

newDeleteReservationResponse Source #

Create a value of DeleteReservationResponse 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:state:DeleteReservationResponse', deleteReservationResponse_state - Current state of reservation, e.g. 'ACTIVE'

$sel:resourceSpecification:DeleteReservationResponse', deleteReservationResponse_resourceSpecification - Resource configuration details

$sel:currencyCode:DeleteReservationResponse', deleteReservationResponse_currencyCode - Currency code for usagePrice and fixedPrice in ISO-4217 format, e.g. 'USD'

$sel:arn:DeleteReservationResponse', deleteReservationResponse_arn - Unique reservation ARN, e.g. 'arn:aws:medialive:us-west-2:123456789012:reservation:1234567'

$sel:start:DeleteReservationResponse', deleteReservationResponse_start - Reservation UTC start date and time in ISO-8601 format, e.g. '2018-03-01T00:00:00'

$sel:count:DeleteReservationResponse', deleteReservationResponse_count - Number of reserved resources

$sel:end:DeleteReservationResponse', deleteReservationResponse_end - Reservation UTC end date and time in ISO-8601 format, e.g. '2019-03-01T00:00:00'

$sel:name:DeleteReservationResponse', deleteReservationResponse_name - User specified reservation name

$sel:reservationId:DeleteReservation', deleteReservationResponse_reservationId - Unique reservation ID, e.g. '1234567'

$sel:offeringId:DeleteReservationResponse', deleteReservationResponse_offeringId - Unique offering ID, e.g. '87654321'

$sel:region:DeleteReservationResponse', deleteReservationResponse_region - AWS region, e.g. 'us-west-2'

$sel:offeringType:DeleteReservationResponse', deleteReservationResponse_offeringType - Offering type, e.g. 'NO_UPFRONT'

$sel:usagePrice:DeleteReservationResponse', deleteReservationResponse_usagePrice - Recurring usage charge for each reserved resource, e.g. '157.0'

$sel:fixedPrice:DeleteReservationResponse', deleteReservationResponse_fixedPrice - One-time charge for each reserved resource, e.g. '0.0' for a NO_UPFRONT offering

$sel:durationUnits:DeleteReservationResponse', deleteReservationResponse_durationUnits - Units for duration, e.g. 'MONTHS'

$sel:offeringDescription:DeleteReservationResponse', deleteReservationResponse_offeringDescription - Offering description, e.g. 'HD AVC output at 10-20 Mbps, 30 fps, and standard VQ in US West (Oregon)'

$sel:duration:DeleteReservationResponse', deleteReservationResponse_duration - Lease duration, e.g. '12'

$sel:tags:DeleteReservationResponse', deleteReservationResponse_tags - A collection of key-value pairs

$sel:httpStatus:DeleteReservationResponse', deleteReservationResponse_httpStatus - The response's http status code.

Response Lenses

deleteReservationResponse_currencyCode :: Lens' DeleteReservationResponse (Maybe Text) Source #

Currency code for usagePrice and fixedPrice in ISO-4217 format, e.g. 'USD'

deleteReservationResponse_arn :: Lens' DeleteReservationResponse (Maybe Text) Source #

Unique reservation ARN, e.g. 'arn:aws:medialive:us-west-2:123456789012:reservation:1234567'

deleteReservationResponse_start :: Lens' DeleteReservationResponse (Maybe Text) Source #

Reservation UTC start date and time in ISO-8601 format, e.g. '2018-03-01T00:00:00'

deleteReservationResponse_end :: Lens' DeleteReservationResponse (Maybe Text) Source #

Reservation UTC end date and time in ISO-8601 format, e.g. '2019-03-01T00:00:00'

deleteReservationResponse_usagePrice :: Lens' DeleteReservationResponse (Maybe Double) Source #

Recurring usage charge for each reserved resource, e.g. '157.0'

deleteReservationResponse_fixedPrice :: Lens' DeleteReservationResponse (Maybe Double) Source #

One-time charge for each reserved resource, e.g. '0.0' for a NO_UPFRONT offering

deleteReservationResponse_offeringDescription :: Lens' DeleteReservationResponse (Maybe Text) Source #

Offering description, e.g. 'HD AVC output at 10-20 Mbps, 30 fps, and standard VQ in US West (Oregon)'