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

Description

 
Synopsis

Documentation

data ReservedInstancesModification Source #

Describes a Reserved Instance modification.

See: newReservedInstancesModification smart constructor.

Constructors

ReservedInstancesModification' 

Fields

Instances

Instances details
FromXML ReservedInstancesModification Source # 
Instance details

Defined in Amazonka.EC2.Types.ReservedInstancesModification

Generic ReservedInstancesModification Source # 
Instance details

Defined in Amazonka.EC2.Types.ReservedInstancesModification

Associated Types

type Rep ReservedInstancesModification :: Type -> Type #

Read ReservedInstancesModification Source # 
Instance details

Defined in Amazonka.EC2.Types.ReservedInstancesModification

Show ReservedInstancesModification Source # 
Instance details

Defined in Amazonka.EC2.Types.ReservedInstancesModification

NFData ReservedInstancesModification Source # 
Instance details

Defined in Amazonka.EC2.Types.ReservedInstancesModification

Eq ReservedInstancesModification Source # 
Instance details

Defined in Amazonka.EC2.Types.ReservedInstancesModification

Hashable ReservedInstancesModification Source # 
Instance details

Defined in Amazonka.EC2.Types.ReservedInstancesModification

type Rep ReservedInstancesModification Source # 
Instance details

Defined in Amazonka.EC2.Types.ReservedInstancesModification

type Rep ReservedInstancesModification = D1 ('MetaData "ReservedInstancesModification" "Amazonka.EC2.Types.ReservedInstancesModification" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "ReservedInstancesModification'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "clientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "createDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601))) :*: (S1 ('MetaSel ('Just "effectiveDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: S1 ('MetaSel ('Just "modificationResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ReservedInstancesModificationResult])))) :*: ((S1 ('MetaSel ('Just "reservedInstancesIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ReservedInstancesId])) :*: S1 ('MetaSel ('Just "reservedInstancesModificationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "statusMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "updateDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)))))))

newReservedInstancesModification :: ReservedInstancesModification Source #

Create a value of ReservedInstancesModification 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:clientToken:ReservedInstancesModification', reservedInstancesModification_clientToken - A unique, case-sensitive key supplied by the client to ensure that the request is idempotent. For more information, see Ensuring Idempotency.

$sel:createDate:ReservedInstancesModification', reservedInstancesModification_createDate - The time when the modification request was created.

$sel:effectiveDate:ReservedInstancesModification', reservedInstancesModification_effectiveDate - The time for the modification to become effective.

$sel:modificationResults:ReservedInstancesModification', reservedInstancesModification_modificationResults - Contains target configurations along with their corresponding new Reserved Instance IDs.

$sel:reservedInstancesIds:ReservedInstancesModification', reservedInstancesModification_reservedInstancesIds - The IDs of one or more Reserved Instances.

$sel:reservedInstancesModificationId:ReservedInstancesModification', reservedInstancesModification_reservedInstancesModificationId - A unique ID for the Reserved Instance modification.

$sel:status:ReservedInstancesModification', reservedInstancesModification_status - The status of the Reserved Instances modification request.

$sel:statusMessage:ReservedInstancesModification', reservedInstancesModification_statusMessage - The reason for the status.

$sel:updateDate:ReservedInstancesModification', reservedInstancesModification_updateDate - The time when the modification request was last updated.

reservedInstancesModification_clientToken :: Lens' ReservedInstancesModification (Maybe Text) Source #

A unique, case-sensitive key supplied by the client to ensure that the request is idempotent. For more information, see Ensuring Idempotency.

reservedInstancesModification_createDate :: Lens' ReservedInstancesModification (Maybe UTCTime) Source #

The time when the modification request was created.

reservedInstancesModification_modificationResults :: Lens' ReservedInstancesModification (Maybe [ReservedInstancesModificationResult]) Source #

Contains target configurations along with their corresponding new Reserved Instance IDs.

reservedInstancesModification_status :: Lens' ReservedInstancesModification (Maybe Text) Source #

The status of the Reserved Instances modification request.

reservedInstancesModification_updateDate :: Lens' ReservedInstancesModification (Maybe UTCTime) Source #

The time when the modification request was last updated.