| 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 |
Amazonka.EC2.Types.ReservedInstances
Description
Synopsis
- data ReservedInstances = ReservedInstances' {
- availabilityZone :: Maybe Text
- currencyCode :: Maybe CurrencyCodeValues
- duration :: Maybe Integer
- end :: Maybe ISO8601
- fixedPrice :: Maybe Double
- instanceCount :: Maybe Int
- instanceTenancy :: Maybe Tenancy
- instanceType :: Maybe InstanceType
- offeringClass :: Maybe OfferingClassType
- offeringType :: Maybe OfferingTypeValues
- productDescription :: Maybe RIProductDescription
- recurringCharges :: Maybe [RecurringCharge]
- reservedInstancesId :: Maybe Text
- scope :: Maybe Scope
- start :: Maybe ISO8601
- state :: Maybe ReservedInstanceState
- tags :: Maybe [Tag]
- usagePrice :: Maybe Double
- newReservedInstances :: ReservedInstances
- reservedInstances_availabilityZone :: Lens' ReservedInstances (Maybe Text)
- reservedInstances_currencyCode :: Lens' ReservedInstances (Maybe CurrencyCodeValues)
- reservedInstances_duration :: Lens' ReservedInstances (Maybe Integer)
- reservedInstances_end :: Lens' ReservedInstances (Maybe UTCTime)
- reservedInstances_fixedPrice :: Lens' ReservedInstances (Maybe Double)
- reservedInstances_instanceCount :: Lens' ReservedInstances (Maybe Int)
- reservedInstances_instanceTenancy :: Lens' ReservedInstances (Maybe Tenancy)
- reservedInstances_instanceType :: Lens' ReservedInstances (Maybe InstanceType)
- reservedInstances_offeringClass :: Lens' ReservedInstances (Maybe OfferingClassType)
- reservedInstances_offeringType :: Lens' ReservedInstances (Maybe OfferingTypeValues)
- reservedInstances_productDescription :: Lens' ReservedInstances (Maybe RIProductDescription)
- reservedInstances_recurringCharges :: Lens' ReservedInstances (Maybe [RecurringCharge])
- reservedInstances_reservedInstancesId :: Lens' ReservedInstances (Maybe Text)
- reservedInstances_scope :: Lens' ReservedInstances (Maybe Scope)
- reservedInstances_start :: Lens' ReservedInstances (Maybe UTCTime)
- reservedInstances_state :: Lens' ReservedInstances (Maybe ReservedInstanceState)
- reservedInstances_tags :: Lens' ReservedInstances (Maybe [Tag])
- reservedInstances_usagePrice :: Lens' ReservedInstances (Maybe Double)
Documentation
data ReservedInstances Source #
Describes a Reserved Instance.
See: newReservedInstances smart constructor.
Constructors
| ReservedInstances' | |
Fields
| |
Instances
newReservedInstances :: ReservedInstances Source #
Create a value of ReservedInstances 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:ReservedInstances', reservedInstances_availabilityZone - The Availability Zone in which the Reserved Instance can be used.
$sel:currencyCode:ReservedInstances', reservedInstances_currencyCode - The currency of the Reserved Instance. It's specified using ISO 4217
standard currency codes. At this time, the only supported currency is
USD.
$sel:duration:ReservedInstances', reservedInstances_duration - The duration of the Reserved Instance, in seconds.
$sel:end:ReservedInstances', reservedInstances_end - The time when the Reserved Instance expires.
$sel:fixedPrice:ReservedInstances', reservedInstances_fixedPrice - The purchase price of the Reserved Instance.
$sel:instanceCount:ReservedInstances', reservedInstances_instanceCount - The number of reservations purchased.
$sel:instanceTenancy:ReservedInstances', reservedInstances_instanceTenancy - The tenancy of the instance.
$sel:instanceType:ReservedInstances', reservedInstances_instanceType - The instance type on which the Reserved Instance can be used.
$sel:offeringClass:ReservedInstances', reservedInstances_offeringClass - The offering class of the Reserved Instance.
$sel:offeringType:ReservedInstances', reservedInstances_offeringType - The Reserved Instance offering type.
$sel:productDescription:ReservedInstances', reservedInstances_productDescription - The Reserved Instance product platform description.
$sel:recurringCharges:ReservedInstances', reservedInstances_recurringCharges - The recurring charge tag assigned to the resource.
$sel:reservedInstancesId:ReservedInstances', reservedInstances_reservedInstancesId - The ID of the Reserved Instance.
$sel:scope:ReservedInstances', reservedInstances_scope - The scope of the Reserved Instance.
$sel:start:ReservedInstances', reservedInstances_start - The date and time the Reserved Instance started.
$sel:state:ReservedInstances', reservedInstances_state - The state of the Reserved Instance purchase.
$sel:tags:ReservedInstances', reservedInstances_tags - Any tags assigned to the resource.
$sel:usagePrice:ReservedInstances', reservedInstances_usagePrice - The usage price of the Reserved Instance, per hour.
reservedInstances_availabilityZone :: Lens' ReservedInstances (Maybe Text) Source #
The Availability Zone in which the Reserved Instance can be used.
reservedInstances_currencyCode :: Lens' ReservedInstances (Maybe CurrencyCodeValues) Source #
The currency of the Reserved Instance. It's specified using ISO 4217
standard currency codes. At this time, the only supported currency is
USD.
reservedInstances_duration :: Lens' ReservedInstances (Maybe Integer) Source #
The duration of the Reserved Instance, in seconds.
reservedInstances_end :: Lens' ReservedInstances (Maybe UTCTime) Source #
The time when the Reserved Instance expires.
reservedInstances_fixedPrice :: Lens' ReservedInstances (Maybe Double) Source #
The purchase price of the Reserved Instance.
reservedInstances_instanceCount :: Lens' ReservedInstances (Maybe Int) Source #
The number of reservations purchased.
reservedInstances_instanceTenancy :: Lens' ReservedInstances (Maybe Tenancy) Source #
The tenancy of the instance.
reservedInstances_instanceType :: Lens' ReservedInstances (Maybe InstanceType) Source #
The instance type on which the Reserved Instance can be used.
reservedInstances_offeringClass :: Lens' ReservedInstances (Maybe OfferingClassType) Source #
The offering class of the Reserved Instance.
reservedInstances_offeringType :: Lens' ReservedInstances (Maybe OfferingTypeValues) Source #
The Reserved Instance offering type.
reservedInstances_productDescription :: Lens' ReservedInstances (Maybe RIProductDescription) Source #
The Reserved Instance product platform description.
reservedInstances_recurringCharges :: Lens' ReservedInstances (Maybe [RecurringCharge]) Source #
The recurring charge tag assigned to the resource.
reservedInstances_reservedInstancesId :: Lens' ReservedInstances (Maybe Text) Source #
The ID of the Reserved Instance.
reservedInstances_scope :: Lens' ReservedInstances (Maybe Scope) Source #
The scope of the Reserved Instance.
reservedInstances_start :: Lens' ReservedInstances (Maybe UTCTime) Source #
The date and time the Reserved Instance started.
reservedInstances_state :: Lens' ReservedInstances (Maybe ReservedInstanceState) Source #
The state of the Reserved Instance purchase.
reservedInstances_tags :: Lens' ReservedInstances (Maybe [Tag]) Source #
Any tags assigned to the resource.
reservedInstances_usagePrice :: Lens' ReservedInstances (Maybe Double) Source #
The usage price of the Reserved Instance, per hour.