Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data Reservation = Reservation' {
- arn :: Maybe Text
- count :: Maybe Int
- currencyCode :: Maybe Text
- duration :: Maybe Int
- durationUnits :: Maybe OfferingDurationUnits
- end :: Maybe Text
- fixedPrice :: Maybe Double
- name :: Maybe Text
- offeringDescription :: Maybe Text
- offeringId :: Maybe Text
- offeringType :: Maybe OfferingType
- region :: Maybe Text
- renewalSettings :: Maybe RenewalSettings
- reservationId :: Maybe Text
- resourceSpecification :: Maybe ReservationResourceSpecification
- start :: Maybe Text
- state :: Maybe ReservationState
- tags :: Maybe (HashMap Text Text)
- usagePrice :: Maybe Double
- newReservation :: Reservation
- reservation_arn :: Lens' Reservation (Maybe Text)
- reservation_count :: Lens' Reservation (Maybe Int)
- reservation_currencyCode :: Lens' Reservation (Maybe Text)
- reservation_duration :: Lens' Reservation (Maybe Int)
- reservation_durationUnits :: Lens' Reservation (Maybe OfferingDurationUnits)
- reservation_end :: Lens' Reservation (Maybe Text)
- reservation_fixedPrice :: Lens' Reservation (Maybe Double)
- reservation_name :: Lens' Reservation (Maybe Text)
- reservation_offeringDescription :: Lens' Reservation (Maybe Text)
- reservation_offeringId :: Lens' Reservation (Maybe Text)
- reservation_offeringType :: Lens' Reservation (Maybe OfferingType)
- reservation_region :: Lens' Reservation (Maybe Text)
- reservation_renewalSettings :: Lens' Reservation (Maybe RenewalSettings)
- reservation_reservationId :: Lens' Reservation (Maybe Text)
- reservation_resourceSpecification :: Lens' Reservation (Maybe ReservationResourceSpecification)
- reservation_start :: Lens' Reservation (Maybe Text)
- reservation_state :: Lens' Reservation (Maybe ReservationState)
- reservation_tags :: Lens' Reservation (Maybe (HashMap Text Text))
- reservation_usagePrice :: Lens' Reservation (Maybe Double)
Documentation
data Reservation Source #
Reserved resources available to use
See: newReservation
smart constructor.
Reservation' | |
|
Instances
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_durationUnits :: Lens' Reservation (Maybe OfferingDurationUnits) Source #
Units for duration, e.g. 'MONTHS'
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_resourceSpecification :: Lens' Reservation (Maybe ReservationResourceSpecification) Source #
Resource configuration details
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'