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.PricingDetail

Description

 
Synopsis

Documentation

data PricingDetail Source #

Describes a Reserved Instance offering.

See: newPricingDetail smart constructor.

Constructors

PricingDetail' 

Fields

Instances

Instances details
FromXML PricingDetail Source # 
Instance details

Defined in Amazonka.EC2.Types.PricingDetail

Generic PricingDetail Source # 
Instance details

Defined in Amazonka.EC2.Types.PricingDetail

Associated Types

type Rep PricingDetail :: Type -> Type #

Read PricingDetail Source # 
Instance details

Defined in Amazonka.EC2.Types.PricingDetail

Show PricingDetail Source # 
Instance details

Defined in Amazonka.EC2.Types.PricingDetail

NFData PricingDetail Source # 
Instance details

Defined in Amazonka.EC2.Types.PricingDetail

Methods

rnf :: PricingDetail -> () #

Eq PricingDetail Source # 
Instance details

Defined in Amazonka.EC2.Types.PricingDetail

Hashable PricingDetail Source # 
Instance details

Defined in Amazonka.EC2.Types.PricingDetail

type Rep PricingDetail Source # 
Instance details

Defined in Amazonka.EC2.Types.PricingDetail

type Rep PricingDetail = D1 ('MetaData "PricingDetail" "Amazonka.EC2.Types.PricingDetail" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "PricingDetail'" 'PrefixI 'True) (S1 ('MetaSel ('Just "count") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "price") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double))))

newPricingDetail :: PricingDetail Source #

Create a value of PricingDetail 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:count:PricingDetail', pricingDetail_count - The number of reservations available for the price.

$sel:price:PricingDetail', pricingDetail_price - The price per instance.

pricingDetail_count :: Lens' PricingDetail (Maybe Int) Source #

The number of reservations available for the price.