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.Types.Reservation

Description

 
Synopsis

Documentation

data Reservation Source #

Reserved resources available to use

See: newReservation smart constructor.

Constructors

Reservation' 

Fields

Instances

Instances details
Eq Reservation Source # 
Instance details

Defined in Amazonka.MediaLive.Types.Reservation

Read Reservation Source # 
Instance details

Defined in Amazonka.MediaLive.Types.Reservation

Show Reservation Source # 
Instance details

Defined in Amazonka.MediaLive.Types.Reservation

Generic Reservation Source # 
Instance details

Defined in Amazonka.MediaLive.Types.Reservation

Associated Types

type Rep Reservation :: Type -> Type #

NFData Reservation Source # 
Instance details

Defined in Amazonka.MediaLive.Types.Reservation

Methods

rnf :: Reservation -> () #

Hashable Reservation Source # 
Instance details

Defined in Amazonka.MediaLive.Types.Reservation

FromJSON Reservation Source # 
Instance details

Defined in Amazonka.MediaLive.Types.Reservation

type Rep Reservation Source # 
Instance details

Defined in Amazonka.MediaLive.Types.Reservation

type Rep Reservation = D1 ('MetaData "Reservation" "Amazonka.MediaLive.Types.Reservation" "libZSservicesZSamazonka-medialiveZSamazonka-medialive" 'False) (C1 ('MetaCons "Reservation'" '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)))))))))

newReservation :: Reservation Source #

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

$sel:resourceSpecification:Reservation', reservation_resourceSpecification - Resource configuration details

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

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

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

$sel:count:Reservation', reservation_count - Number of reserved resources

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

$sel:name:Reservation', reservation_name - User specified reservation name

$sel:reservationId:Reservation', reservation_reservationId - Unique reservation ID, e.g. '1234567'

$sel:offeringId:Reservation', reservation_offeringId - Unique offering ID, e.g. '87654321'

$sel:region:Reservation', reservation_region - AWS region, e.g. 'us-west-2'

$sel:offeringType:Reservation', reservation_offeringType - Offering type, e.g. 'NO_UPFRONT'

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

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

$sel:durationUnits:Reservation', reservation_durationUnits - Units for duration, e.g. 'MONTHS'

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

$sel:duration:Reservation', reservation_duration - Lease duration, e.g. '12'

$sel:tags:Reservation', reservation_tags - A collection of key-value pairs

reservation_state :: Lens' Reservation (Maybe ReservationState) Source #

Current state of reservation, e.g. 'ACTIVE'

reservation_currencyCode :: Lens' Reservation (Maybe Text) Source #

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

reservation_arn :: Lens' Reservation (Maybe Text) Source #

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

reservation_start :: Lens' Reservation (Maybe Text) Source #

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

reservation_count :: Lens' Reservation (Maybe Int) Source #

Number of reserved resources

reservation_end :: Lens' Reservation (Maybe Text) Source #

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

reservation_name :: Lens' Reservation (Maybe Text) Source #

User specified reservation name

reservation_reservationId :: Lens' Reservation (Maybe Text) Source #

Unique reservation ID, e.g. '1234567'

reservation_offeringId :: Lens' Reservation (Maybe Text) Source #

Unique offering ID, e.g. '87654321'

reservation_region :: Lens' Reservation (Maybe Text) Source #

AWS region, e.g. 'us-west-2'

reservation_offeringType :: Lens' Reservation (Maybe OfferingType) Source #

Offering type, e.g. 'NO_UPFRONT'

reservation_usagePrice :: Lens' Reservation (Maybe Double) Source #

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

reservation_fixedPrice :: Lens' Reservation (Maybe Double) Source #

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

reservation_offeringDescription :: Lens' Reservation (Maybe Text) Source #

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

reservation_duration :: Lens' Reservation (Maybe Int) Source #

Lease duration, e.g. '12'

reservation_tags :: Lens' Reservation (Maybe (HashMap Text Text)) Source #

A collection of key-value pairs