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 ReservedInstancesOffering = ReservedInstancesOffering' {
- availabilityZone :: Maybe Text
- currencyCode :: Maybe CurrencyCodeValues
- duration :: Maybe Integer
- fixedPrice :: Maybe Double
- instanceTenancy :: Maybe Tenancy
- instanceType :: Maybe InstanceType
- marketplace :: Maybe Bool
- offeringClass :: Maybe OfferingClassType
- offeringType :: Maybe OfferingTypeValues
- pricingDetails :: Maybe [PricingDetail]
- productDescription :: Maybe RIProductDescription
- recurringCharges :: Maybe [RecurringCharge]
- reservedInstancesOfferingId :: Maybe Text
- scope :: Maybe Scope
- usagePrice :: Maybe Double
- newReservedInstancesOffering :: ReservedInstancesOffering
- reservedInstancesOffering_availabilityZone :: Lens' ReservedInstancesOffering (Maybe Text)
- reservedInstancesOffering_currencyCode :: Lens' ReservedInstancesOffering (Maybe CurrencyCodeValues)
- reservedInstancesOffering_duration :: Lens' ReservedInstancesOffering (Maybe Integer)
- reservedInstancesOffering_fixedPrice :: Lens' ReservedInstancesOffering (Maybe Double)
- reservedInstancesOffering_instanceTenancy :: Lens' ReservedInstancesOffering (Maybe Tenancy)
- reservedInstancesOffering_instanceType :: Lens' ReservedInstancesOffering (Maybe InstanceType)
- reservedInstancesOffering_marketplace :: Lens' ReservedInstancesOffering (Maybe Bool)
- reservedInstancesOffering_offeringClass :: Lens' ReservedInstancesOffering (Maybe OfferingClassType)
- reservedInstancesOffering_offeringType :: Lens' ReservedInstancesOffering (Maybe OfferingTypeValues)
- reservedInstancesOffering_pricingDetails :: Lens' ReservedInstancesOffering (Maybe [PricingDetail])
- reservedInstancesOffering_productDescription :: Lens' ReservedInstancesOffering (Maybe RIProductDescription)
- reservedInstancesOffering_recurringCharges :: Lens' ReservedInstancesOffering (Maybe [RecurringCharge])
- reservedInstancesOffering_reservedInstancesOfferingId :: Lens' ReservedInstancesOffering (Maybe Text)
- reservedInstancesOffering_scope :: Lens' ReservedInstancesOffering (Maybe Scope)
- reservedInstancesOffering_usagePrice :: Lens' ReservedInstancesOffering (Maybe Double)
Documentation
data ReservedInstancesOffering Source #
Describes a Reserved Instance offering.
See: newReservedInstancesOffering
smart constructor.
ReservedInstancesOffering' | |
|
Instances
newReservedInstancesOffering :: ReservedInstancesOffering Source #
Create a value of ReservedInstancesOffering
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:availabilityZone:ReservedInstancesOffering'
, reservedInstancesOffering_availabilityZone
- The Availability Zone in which the Reserved Instance can be used.
$sel:currencyCode:ReservedInstancesOffering'
, reservedInstancesOffering_currencyCode
- The currency of the Reserved Instance offering you are purchasing. It's
specified using ISO 4217 standard currency codes. At this time, the only
supported currency is USD
.
$sel:duration:ReservedInstancesOffering'
, reservedInstancesOffering_duration
- The duration of the Reserved Instance, in seconds.
$sel:fixedPrice:ReservedInstancesOffering'
, reservedInstancesOffering_fixedPrice
- The purchase price of the Reserved Instance.
$sel:instanceTenancy:ReservedInstancesOffering'
, reservedInstancesOffering_instanceTenancy
- The tenancy of the instance.
$sel:instanceType:ReservedInstancesOffering'
, reservedInstancesOffering_instanceType
- The instance type on which the Reserved Instance can be used.
$sel:marketplace:ReservedInstancesOffering'
, reservedInstancesOffering_marketplace
- Indicates whether the offering is available through the Reserved
Instance Marketplace (resale) or Amazon Web Services. If it's a
Reserved Instance Marketplace offering, this is true
.
$sel:offeringClass:ReservedInstancesOffering'
, reservedInstancesOffering_offeringClass
- If convertible
it can be exchanged for Reserved Instances of the same
or higher monetary value, with different configurations. If standard
,
it is not possible to perform an exchange.
$sel:offeringType:ReservedInstancesOffering'
, reservedInstancesOffering_offeringType
- The Reserved Instance offering type.
$sel:pricingDetails:ReservedInstancesOffering'
, reservedInstancesOffering_pricingDetails
- The pricing details of the Reserved Instance offering.
$sel:productDescription:ReservedInstancesOffering'
, reservedInstancesOffering_productDescription
- The Reserved Instance product platform description.
$sel:recurringCharges:ReservedInstancesOffering'
, reservedInstancesOffering_recurringCharges
- The recurring charge tag assigned to the resource.
$sel:reservedInstancesOfferingId:ReservedInstancesOffering'
, reservedInstancesOffering_reservedInstancesOfferingId
- The ID of the Reserved Instance offering. This is the offering ID used
in GetReservedInstancesExchangeQuote to confirm that an exchange can be
made.
$sel:scope:ReservedInstancesOffering'
, reservedInstancesOffering_scope
- Whether the Reserved Instance is applied to instances in a Region or an
Availability Zone.
$sel:usagePrice:ReservedInstancesOffering'
, reservedInstancesOffering_usagePrice
- The usage price of the Reserved Instance, per hour.
reservedInstancesOffering_availabilityZone :: Lens' ReservedInstancesOffering (Maybe Text) Source #
The Availability Zone in which the Reserved Instance can be used.
reservedInstancesOffering_currencyCode :: Lens' ReservedInstancesOffering (Maybe CurrencyCodeValues) Source #
The currency of the Reserved Instance offering you are purchasing. It's
specified using ISO 4217 standard currency codes. At this time, the only
supported currency is USD
.
reservedInstancesOffering_duration :: Lens' ReservedInstancesOffering (Maybe Integer) Source #
The duration of the Reserved Instance, in seconds.
reservedInstancesOffering_fixedPrice :: Lens' ReservedInstancesOffering (Maybe Double) Source #
The purchase price of the Reserved Instance.
reservedInstancesOffering_instanceTenancy :: Lens' ReservedInstancesOffering (Maybe Tenancy) Source #
The tenancy of the instance.
reservedInstancesOffering_instanceType :: Lens' ReservedInstancesOffering (Maybe InstanceType) Source #
The instance type on which the Reserved Instance can be used.
reservedInstancesOffering_marketplace :: Lens' ReservedInstancesOffering (Maybe Bool) Source #
Indicates whether the offering is available through the Reserved
Instance Marketplace (resale) or Amazon Web Services. If it's a
Reserved Instance Marketplace offering, this is true
.
reservedInstancesOffering_offeringClass :: Lens' ReservedInstancesOffering (Maybe OfferingClassType) Source #
If convertible
it can be exchanged for Reserved Instances of the same
or higher monetary value, with different configurations. If standard
,
it is not possible to perform an exchange.
reservedInstancesOffering_offeringType :: Lens' ReservedInstancesOffering (Maybe OfferingTypeValues) Source #
The Reserved Instance offering type.
reservedInstancesOffering_pricingDetails :: Lens' ReservedInstancesOffering (Maybe [PricingDetail]) Source #
The pricing details of the Reserved Instance offering.
reservedInstancesOffering_productDescription :: Lens' ReservedInstancesOffering (Maybe RIProductDescription) Source #
The Reserved Instance product platform description.
reservedInstancesOffering_recurringCharges :: Lens' ReservedInstancesOffering (Maybe [RecurringCharge]) Source #
The recurring charge tag assigned to the resource.
reservedInstancesOffering_reservedInstancesOfferingId :: Lens' ReservedInstancesOffering (Maybe Text) Source #
The ID of the Reserved Instance offering. This is the offering ID used in GetReservedInstancesExchangeQuote to confirm that an exchange can be made.
reservedInstancesOffering_scope :: Lens' ReservedInstancesOffering (Maybe Scope) Source #
Whether the Reserved Instance is applied to instances in a Region or an Availability Zone.
reservedInstancesOffering_usagePrice :: Lens' ReservedInstancesOffering (Maybe Double) Source #
The usage price of the Reserved Instance, per hour.