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 ReservationValue = ReservationValue' {}
- newReservationValue :: ReservationValue
- reservationValue_hourlyPrice :: Lens' ReservationValue (Maybe Text)
- reservationValue_remainingTotalValue :: Lens' ReservationValue (Maybe Text)
- reservationValue_remainingUpfrontValue :: Lens' ReservationValue (Maybe Text)
Documentation
data ReservationValue Source #
The cost associated with the Reserved Instance.
See: newReservationValue
smart constructor.
ReservationValue' | |
|
Instances
newReservationValue :: ReservationValue Source #
Create a value of ReservationValue
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:hourlyPrice:ReservationValue'
, reservationValue_hourlyPrice
- The hourly rate of the reservation.
$sel:remainingTotalValue:ReservationValue'
, reservationValue_remainingTotalValue
- The balance of the total value (the sum of remainingUpfrontValue +
hourlyPrice * number of hours remaining).
$sel:remainingUpfrontValue:ReservationValue'
, reservationValue_remainingUpfrontValue
- The remaining upfront cost of the reservation.
reservationValue_hourlyPrice :: Lens' ReservationValue (Maybe Text) Source #
The hourly rate of the reservation.
reservationValue_remainingTotalValue :: Lens' ReservationValue (Maybe Text) Source #
The balance of the total value (the sum of remainingUpfrontValue + hourlyPrice * number of hours remaining).
reservationValue_remainingUpfrontValue :: Lens' ReservationValue (Maybe Text) Source #
The remaining upfront cost of the reservation.