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

Description

 
Synopsis

Documentation

data TargetReservationValue Source #

The total value of the new Convertible Reserved Instances.

See: newTargetReservationValue smart constructor.

Constructors

TargetReservationValue' 

Fields

Instances

Instances details
FromXML TargetReservationValue Source # 
Instance details

Defined in Amazonka.EC2.Types.TargetReservationValue

Generic TargetReservationValue Source # 
Instance details

Defined in Amazonka.EC2.Types.TargetReservationValue

Associated Types

type Rep TargetReservationValue :: Type -> Type #

Read TargetReservationValue Source # 
Instance details

Defined in Amazonka.EC2.Types.TargetReservationValue

Show TargetReservationValue Source # 
Instance details

Defined in Amazonka.EC2.Types.TargetReservationValue

NFData TargetReservationValue Source # 
Instance details

Defined in Amazonka.EC2.Types.TargetReservationValue

Methods

rnf :: TargetReservationValue -> () #

Eq TargetReservationValue Source # 
Instance details

Defined in Amazonka.EC2.Types.TargetReservationValue

Hashable TargetReservationValue Source # 
Instance details

Defined in Amazonka.EC2.Types.TargetReservationValue

type Rep TargetReservationValue Source # 
Instance details

Defined in Amazonka.EC2.Types.TargetReservationValue

type Rep TargetReservationValue = D1 ('MetaData "TargetReservationValue" "Amazonka.EC2.Types.TargetReservationValue" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "TargetReservationValue'" 'PrefixI 'True) (S1 ('MetaSel ('Just "reservationValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ReservationValue)) :*: S1 ('MetaSel ('Just "targetConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TargetConfiguration))))

newTargetReservationValue :: TargetReservationValue Source #

Create a value of TargetReservationValue 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:reservationValue:TargetReservationValue', targetReservationValue_reservationValue - The total value of the Convertible Reserved Instances that make up the exchange. This is the sum of the list value, remaining upfront price, and additional upfront cost of the exchange.

$sel:targetConfiguration:TargetReservationValue', targetReservationValue_targetConfiguration - The configuration of the Convertible Reserved Instances that make up the exchange.

targetReservationValue_reservationValue :: Lens' TargetReservationValue (Maybe ReservationValue) Source #

The total value of the Convertible Reserved Instances that make up the exchange. This is the sum of the list value, remaining upfront price, and additional upfront cost of the exchange.

targetReservationValue_targetConfiguration :: Lens' TargetReservationValue (Maybe TargetConfiguration) Source #

The configuration of the Convertible Reserved Instances that make up the exchange.