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

Description

 
Synopsis

Documentation

data ReservedInstanceLimitPrice Source #

Describes the limit price of a Reserved Instance offering.

See: newReservedInstanceLimitPrice smart constructor.

Constructors

ReservedInstanceLimitPrice' 

Fields

  • amount :: Maybe Double

    Used for Reserved Instance Marketplace offerings. Specifies the limit price on the total order (instanceCount * price).

  • currencyCode :: Maybe CurrencyCodeValues

    The currency in which the limitPrice amount is specified. At this time, the only supported currency is USD.

Instances

Instances details
ToQuery ReservedInstanceLimitPrice Source # 
Instance details

Defined in Amazonka.EC2.Types.ReservedInstanceLimitPrice

Generic ReservedInstanceLimitPrice Source # 
Instance details

Defined in Amazonka.EC2.Types.ReservedInstanceLimitPrice

Associated Types

type Rep ReservedInstanceLimitPrice :: Type -> Type #

Read ReservedInstanceLimitPrice Source # 
Instance details

Defined in Amazonka.EC2.Types.ReservedInstanceLimitPrice

Show ReservedInstanceLimitPrice Source # 
Instance details

Defined in Amazonka.EC2.Types.ReservedInstanceLimitPrice

NFData ReservedInstanceLimitPrice Source # 
Instance details

Defined in Amazonka.EC2.Types.ReservedInstanceLimitPrice

Eq ReservedInstanceLimitPrice Source # 
Instance details

Defined in Amazonka.EC2.Types.ReservedInstanceLimitPrice

Hashable ReservedInstanceLimitPrice Source # 
Instance details

Defined in Amazonka.EC2.Types.ReservedInstanceLimitPrice

type Rep ReservedInstanceLimitPrice Source # 
Instance details

Defined in Amazonka.EC2.Types.ReservedInstanceLimitPrice

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

newReservedInstanceLimitPrice :: ReservedInstanceLimitPrice Source #

Create a value of ReservedInstanceLimitPrice 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:amount:ReservedInstanceLimitPrice', reservedInstanceLimitPrice_amount - Used for Reserved Instance Marketplace offerings. Specifies the limit price on the total order (instanceCount * price).

$sel:currencyCode:ReservedInstanceLimitPrice', reservedInstanceLimitPrice_currencyCode - The currency in which the limitPrice amount is specified. At this time, the only supported currency is USD.

reservedInstanceLimitPrice_amount :: Lens' ReservedInstanceLimitPrice (Maybe Double) Source #

Used for Reserved Instance Marketplace offerings. Specifies the limit price on the total order (instanceCount * price).

reservedInstanceLimitPrice_currencyCode :: Lens' ReservedInstanceLimitPrice (Maybe CurrencyCodeValues) Source #

The currency in which the limitPrice amount is specified. At this time, the only supported currency is USD.