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

Description

 
Synopsis

Documentation

data ReservedInstancesConfiguration Source #

Describes the configuration settings for the modified Reserved Instances.

See: newReservedInstancesConfiguration smart constructor.

Constructors

ReservedInstancesConfiguration' 

Fields

Instances

Instances details
ToQuery ReservedInstancesConfiguration Source # 
Instance details

Defined in Amazonka.EC2.Types.ReservedInstancesConfiguration

FromXML ReservedInstancesConfiguration Source # 
Instance details

Defined in Amazonka.EC2.Types.ReservedInstancesConfiguration

Generic ReservedInstancesConfiguration Source # 
Instance details

Defined in Amazonka.EC2.Types.ReservedInstancesConfiguration

Associated Types

type Rep ReservedInstancesConfiguration :: Type -> Type #

Read ReservedInstancesConfiguration Source # 
Instance details

Defined in Amazonka.EC2.Types.ReservedInstancesConfiguration

Show ReservedInstancesConfiguration Source # 
Instance details

Defined in Amazonka.EC2.Types.ReservedInstancesConfiguration

NFData ReservedInstancesConfiguration Source # 
Instance details

Defined in Amazonka.EC2.Types.ReservedInstancesConfiguration

Eq ReservedInstancesConfiguration Source # 
Instance details

Defined in Amazonka.EC2.Types.ReservedInstancesConfiguration

Hashable ReservedInstancesConfiguration Source # 
Instance details

Defined in Amazonka.EC2.Types.ReservedInstancesConfiguration

type Rep ReservedInstancesConfiguration Source # 
Instance details

Defined in Amazonka.EC2.Types.ReservedInstancesConfiguration

type Rep ReservedInstancesConfiguration = D1 ('MetaData "ReservedInstancesConfiguration" "Amazonka.EC2.Types.ReservedInstancesConfiguration" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "ReservedInstancesConfiguration'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "availabilityZone") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "instanceCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just "instanceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InstanceType)) :*: (S1 ('MetaSel ('Just "platform") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "scope") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Scope))))))

newReservedInstancesConfiguration :: ReservedInstancesConfiguration Source #

Create a value of ReservedInstancesConfiguration 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:ReservedInstancesConfiguration', reservedInstancesConfiguration_availabilityZone - The Availability Zone for the modified Reserved Instances.

$sel:instanceCount:ReservedInstancesConfiguration', reservedInstancesConfiguration_instanceCount - The number of modified Reserved Instances.

This is a required field for a request.

$sel:instanceType:ReservedInstancesConfiguration', reservedInstancesConfiguration_instanceType - The instance type for the modified Reserved Instances.

$sel:platform:ReservedInstancesConfiguration', reservedInstancesConfiguration_platform - The network platform of the modified Reserved Instances, which is either EC2-Classic or EC2-VPC.

$sel:scope:ReservedInstancesConfiguration', reservedInstancesConfiguration_scope - Whether the Reserved Instance is applied to instances in a Region or instances in a specific Availability Zone.

reservedInstancesConfiguration_availabilityZone :: Lens' ReservedInstancesConfiguration (Maybe Text) Source #

The Availability Zone for the modified Reserved Instances.

reservedInstancesConfiguration_instanceCount :: Lens' ReservedInstancesConfiguration (Maybe Int) Source #

The number of modified Reserved Instances.

This is a required field for a request.

reservedInstancesConfiguration_platform :: Lens' ReservedInstancesConfiguration (Maybe Text) Source #

The network platform of the modified Reserved Instances, which is either EC2-Classic or EC2-VPC.

reservedInstancesConfiguration_scope :: Lens' ReservedInstancesConfiguration (Maybe Scope) Source #

Whether the Reserved Instance is applied to instances in a Region or instances in a specific Availability Zone.