amazonka-ec2-2.0: Amazon Elastic Compute Cloud SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.EC2.Types.ReservedInstancesOffering

Description

 
Synopsis

Documentation

data ReservedInstancesOffering Source #

Describes a Reserved Instance offering.

See: newReservedInstancesOffering smart constructor.

Constructors

ReservedInstancesOffering' 

Fields

Instances

Instances details
FromXML ReservedInstancesOffering Source # 
Instance details

Defined in Amazonka.EC2.Types.ReservedInstancesOffering

Generic ReservedInstancesOffering Source # 
Instance details

Defined in Amazonka.EC2.Types.ReservedInstancesOffering

Associated Types

type Rep ReservedInstancesOffering :: Type -> Type #

Read ReservedInstancesOffering Source # 
Instance details

Defined in Amazonka.EC2.Types.ReservedInstancesOffering

Show ReservedInstancesOffering Source # 
Instance details

Defined in Amazonka.EC2.Types.ReservedInstancesOffering

NFData ReservedInstancesOffering Source # 
Instance details

Defined in Amazonka.EC2.Types.ReservedInstancesOffering

Eq ReservedInstancesOffering Source # 
Instance details

Defined in Amazonka.EC2.Types.ReservedInstancesOffering

Hashable ReservedInstancesOffering Source # 
Instance details

Defined in Amazonka.EC2.Types.ReservedInstancesOffering

type Rep ReservedInstancesOffering Source # 
Instance details

Defined in Amazonka.EC2.Types.ReservedInstancesOffering

type Rep ReservedInstancesOffering = D1 ('MetaData "ReservedInstancesOffering" "Amazonka.EC2.Types.ReservedInstancesOffering" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "ReservedInstancesOffering'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "availabilityZone") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "currencyCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CurrencyCodeValues)) :*: S1 ('MetaSel ('Just "duration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)))) :*: ((S1 ('MetaSel ('Just "fixedPrice") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "instanceTenancy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Tenancy))) :*: (S1 ('MetaSel ('Just "instanceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InstanceType)) :*: S1 ('MetaSel ('Just "marketplace") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))) :*: (((S1 ('MetaSel ('Just "offeringClass") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OfferingClassType)) :*: S1 ('MetaSel ('Just "offeringType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OfferingTypeValues))) :*: (S1 ('MetaSel ('Just "pricingDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PricingDetail])) :*: S1 ('MetaSel ('Just "productDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RIProductDescription)))) :*: ((S1 ('MetaSel ('Just "recurringCharges") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [RecurringCharge])) :*: S1 ('MetaSel ('Just "reservedInstancesOfferingId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "scope") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Scope)) :*: S1 ('MetaSel ('Just "usagePrice") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)))))))

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_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_pricingDetails :: Lens' ReservedInstancesOffering (Maybe [PricingDetail]) Source #

The pricing details of the Reserved Instance offering.

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.