amazonka-medialive-2.0: Amazon Elemental MediaLive 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.MediaLive.Types.Reservation

Description

 
Synopsis

Documentation

data Reservation Source #

Reserved resources available to use

See: newReservation smart constructor.

Constructors

Reservation' 

Fields

Instances

Instances details
FromJSON 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 #

Read Reservation Source # 
Instance details

Defined in Amazonka.MediaLive.Types.Reservation

Show Reservation Source # 
Instance details

Defined in Amazonka.MediaLive.Types.Reservation

NFData Reservation Source # 
Instance details

Defined in Amazonka.MediaLive.Types.Reservation

Methods

rnf :: Reservation -> () #

Eq Reservation Source # 
Instance details

Defined in Amazonka.MediaLive.Types.Reservation

Hashable 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" "amazonka-medialive-2.0-FK9HUAz0OmeIH2i6eRdod0" 'False) (C1 ('MetaCons "Reservation'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "count") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just "currencyCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "duration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))) :*: ((S1 ('MetaSel ('Just "durationUnits") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OfferingDurationUnits)) :*: S1 ('MetaSel ('Just "end") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "fixedPrice") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "offeringDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))) :*: (((S1 ('MetaSel ('Just "offeringId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "offeringType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OfferingType))) :*: (S1 ('MetaSel ('Just "region") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "renewalSettings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RenewalSettings)) :*: S1 ('MetaSel ('Just "reservationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "resourceSpecification") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ReservationResourceSpecification)) :*: S1 ('MetaSel ('Just "start") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ReservationState)) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "usagePrice") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double))))))))

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:arn:Reservation', reservation_arn - Unique reservation ARN, e.g. 'arn:aws:medialive:us-west-2:123456789012:reservation:1234567'

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

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

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

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

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

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

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

$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:offeringId:Reservation', reservation_offeringId - Unique offering ID, e.g. '87654321'

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

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

$sel:renewalSettings:Reservation', reservation_renewalSettings - Renewal settings for the reservation

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

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

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

$sel:state:Reservation', reservation_state - Current state of reservation, e.g. 'ACTIVE'

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

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

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

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

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

Number of reserved resources

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

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

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

Lease duration, e.g. '12'

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_fixedPrice :: Lens' Reservation (Maybe Double) Source #

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

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

User specified reservation name

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_offeringId :: Lens' Reservation (Maybe Text) Source #

Unique offering ID, e.g. '87654321'

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

Offering type, e.g. 'NO_UPFRONT'

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

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

reservation_renewalSettings :: Lens' Reservation (Maybe RenewalSettings) Source #

Renewal settings for the reservation

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

Unique reservation ID, e.g. '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_state :: Lens' Reservation (Maybe ReservationState) Source #

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

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

A collection of key-value pairs

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

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