Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data Reservation = Reservation' {
- currencyCode :: Text
- reservationState :: ReservationState
- offeringArn :: Text
- reservationArn :: Text
- start :: Text
- offeringDescription :: Text
- reservationName :: Text
- end :: Text
- duration :: Int
- durationUnits :: DurationUnits
- pricePerUnit :: Text
- resourceSpecification :: ResourceSpecification
- priceUnits :: PriceUnits
- newReservation :: Text -> ReservationState -> Text -> Text -> Text -> Text -> Text -> Text -> Int -> DurationUnits -> Text -> ResourceSpecification -> PriceUnits -> Reservation
- reservation_currencyCode :: Lens' Reservation Text
- reservation_reservationState :: Lens' Reservation ReservationState
- reservation_offeringArn :: Lens' Reservation Text
- reservation_reservationArn :: Lens' Reservation Text
- reservation_start :: Lens' Reservation Text
- reservation_offeringDescription :: Lens' Reservation Text
- reservation_reservationName :: Lens' Reservation Text
- reservation_end :: Lens' Reservation Text
- reservation_duration :: Lens' Reservation Int
- reservation_durationUnits :: Lens' Reservation DurationUnits
- reservation_pricePerUnit :: Lens' Reservation Text
- reservation_resourceSpecification :: Lens' Reservation ResourceSpecification
- reservation_priceUnits :: Lens' Reservation PriceUnits
Documentation
data Reservation Source #
A pricing agreement for a discounted rate for a specific outbound bandwidth that your MediaConnect account will use each month over a specific time period. The discounted rate in the reservation applies to outbound bandwidth for all flows from your account until your account reaches the amount of bandwidth in your reservation. If you use more outbound bandwidth than the agreed upon amount in a single month, the overage is charged at the on-demand rate.
See: newReservation
smart constructor.
Reservation' | |
|
Instances
:: Text | |
-> ReservationState | |
-> Text | |
-> Text | |
-> Text | |
-> Text | |
-> Text | |
-> Text | |
-> Int | |
-> DurationUnits | |
-> Text | |
-> ResourceSpecification | |
-> PriceUnits | |
-> Reservation |
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:currencyCode:Reservation'
, reservation_currencyCode
- The type of currency that is used for billing. The currencyCode used for
your reservation is US dollars.
$sel:reservationState:Reservation'
, reservation_reservationState
- The status of your reservation.
$sel:offeringArn:Reservation'
, reservation_offeringArn
- The Amazon Resource Name (ARN) that MediaConnect assigns to the
offering.
$sel:reservationArn:Reservation'
, reservation_reservationArn
- The Amazon Resource Name (ARN) that MediaConnect assigns to the
reservation when you purchase an offering.
$sel:start:Reservation'
, reservation_start
- The day and time that the reservation becomes active. You set this value
when you purchase the offering.
$sel:offeringDescription:Reservation'
, reservation_offeringDescription
- A description of the offering. MediaConnect defines this value in the
offering.
$sel:reservationName:Reservation'
, reservation_reservationName
- The name that you assigned to the reservation when you purchased the
offering.
$sel:end:Reservation'
, reservation_end
- The day and time that this reservation expires. This value is calculated
based on the start date and time that you set and the offering's
duration.
$sel:duration:Reservation'
, reservation_duration
- The length of time that this reservation is active. MediaConnect defines
this value in the offering.
$sel:durationUnits:Reservation'
, reservation_durationUnits
- The unit of measurement for the duration of the reservation.
MediaConnect defines this value in the offering.
$sel:pricePerUnit:Reservation'
, reservation_pricePerUnit
- The cost of a single unit. This value, in combination with priceUnits,
makes up the rate. MediaConnect defines this value in the offering.
$sel:resourceSpecification:Reservation'
, reservation_resourceSpecification
- A definition of the amount of outbound bandwidth that you would be
reserving if you purchase the offering. MediaConnect defines the values
that make up the resourceSpecification in the offering.
$sel:priceUnits:Reservation'
, reservation_priceUnits
- The unit of measurement that is used for billing. This value, in
combination with pricePerUnit, makes up the rate. MediaConnect defines
this value in the offering.
reservation_currencyCode :: Lens' Reservation Text Source #
The type of currency that is used for billing. The currencyCode used for your reservation is US dollars.
reservation_reservationState :: Lens' Reservation ReservationState Source #
The status of your reservation.
reservation_offeringArn :: Lens' Reservation Text Source #
The Amazon Resource Name (ARN) that MediaConnect assigns to the offering.
reservation_reservationArn :: Lens' Reservation Text Source #
The Amazon Resource Name (ARN) that MediaConnect assigns to the reservation when you purchase an offering.
reservation_start :: Lens' Reservation Text Source #
The day and time that the reservation becomes active. You set this value when you purchase the offering.
reservation_offeringDescription :: Lens' Reservation Text Source #
A description of the offering. MediaConnect defines this value in the offering.
reservation_reservationName :: Lens' Reservation Text Source #
The name that you assigned to the reservation when you purchased the offering.
reservation_end :: Lens' Reservation Text Source #
The day and time that this reservation expires. This value is calculated based on the start date and time that you set and the offering's duration.
reservation_duration :: Lens' Reservation Int Source #
The length of time that this reservation is active. MediaConnect defines this value in the offering.
reservation_durationUnits :: Lens' Reservation DurationUnits Source #
The unit of measurement for the duration of the reservation. MediaConnect defines this value in the offering.
reservation_pricePerUnit :: Lens' Reservation Text Source #
The cost of a single unit. This value, in combination with priceUnits, makes up the rate. MediaConnect defines this value in the offering.
reservation_resourceSpecification :: Lens' Reservation ResourceSpecification Source #
A definition of the amount of outbound bandwidth that you would be reserving if you purchase the offering. MediaConnect defines the values that make up the resourceSpecification in the offering.
reservation_priceUnits :: Lens' Reservation PriceUnits Source #
The unit of measurement that is used for billing. This value, in combination with pricePerUnit, makes up the rate. MediaConnect defines this value in the offering.