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

Description

 
Synopsis

Documentation

data InstanceCount Source #

Describes a Reserved Instance listing state.

See: newInstanceCount smart constructor.

Constructors

InstanceCount' 

Fields

Instances

Instances details
FromXML InstanceCount Source # 
Instance details

Defined in Amazonka.EC2.Types.InstanceCount

Generic InstanceCount Source # 
Instance details

Defined in Amazonka.EC2.Types.InstanceCount

Associated Types

type Rep InstanceCount :: Type -> Type #

Read InstanceCount Source # 
Instance details

Defined in Amazonka.EC2.Types.InstanceCount

Show InstanceCount Source # 
Instance details

Defined in Amazonka.EC2.Types.InstanceCount

NFData InstanceCount Source # 
Instance details

Defined in Amazonka.EC2.Types.InstanceCount

Methods

rnf :: InstanceCount -> () #

Eq InstanceCount Source # 
Instance details

Defined in Amazonka.EC2.Types.InstanceCount

Hashable InstanceCount Source # 
Instance details

Defined in Amazonka.EC2.Types.InstanceCount

type Rep InstanceCount Source # 
Instance details

Defined in Amazonka.EC2.Types.InstanceCount

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

newInstanceCount :: InstanceCount Source #

Create a value of InstanceCount 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:instanceCount:InstanceCount', instanceCount_instanceCount - The number of listed Reserved Instances in the state specified by the state.

$sel:state:InstanceCount', instanceCount_state - The states of the listed Reserved Instances.

instanceCount_instanceCount :: Lens' InstanceCount (Maybe Int) Source #

The number of listed Reserved Instances in the state specified by the state.

instanceCount_state :: Lens' InstanceCount (Maybe ListingState) Source #

The states of the listed Reserved Instances.