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 PriceScheduleSpecification = PriceScheduleSpecification' {}
- newPriceScheduleSpecification :: PriceScheduleSpecification
- priceScheduleSpecification_currencyCode :: Lens' PriceScheduleSpecification (Maybe CurrencyCodeValues)
- priceScheduleSpecification_price :: Lens' PriceScheduleSpecification (Maybe Double)
- priceScheduleSpecification_term :: Lens' PriceScheduleSpecification (Maybe Integer)
Documentation
data PriceScheduleSpecification Source #
Describes the price for a Reserved Instance.
See: newPriceScheduleSpecification
smart constructor.
PriceScheduleSpecification' | |
|
Instances
newPriceScheduleSpecification :: PriceScheduleSpecification Source #
Create a value of PriceScheduleSpecification
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:PriceScheduleSpecification'
, priceScheduleSpecification_currencyCode
- The currency for transacting the Reserved Instance resale. At this time,
the only supported currency is USD
.
$sel:price:PriceScheduleSpecification'
, priceScheduleSpecification_price
- The fixed price for the term.
$sel:term:PriceScheduleSpecification'
, priceScheduleSpecification_term
- The number of months remaining in the reservation. For example, 2 is the
second to the last month before the capacity reservation expires.
priceScheduleSpecification_currencyCode :: Lens' PriceScheduleSpecification (Maybe CurrencyCodeValues) Source #
The currency for transacting the Reserved Instance resale. At this time,
the only supported currency is USD
.
priceScheduleSpecification_price :: Lens' PriceScheduleSpecification (Maybe Double) Source #
The fixed price for the term.
priceScheduleSpecification_term :: Lens' PriceScheduleSpecification (Maybe Integer) Source #
The number of months remaining in the reservation. For example, 2 is the second to the last month before the capacity reservation expires.