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

Description

 
Synopsis

Documentation

data InstanceCapacity Source #

Information about the number of instances that can be launched onto the Dedicated Host.

See: newInstanceCapacity smart constructor.

Constructors

InstanceCapacity' 

Fields

  • availableCapacity :: Maybe Int

    The number of instances that can be launched onto the Dedicated Host based on the host's available capacity.

  • instanceType :: Maybe Text

    The instance type supported by the Dedicated Host.

  • totalCapacity :: Maybe Int

    The total number of instances that can be launched onto the Dedicated Host if there are no instances running on it.

Instances

Instances details
FromXML InstanceCapacity Source # 
Instance details

Defined in Amazonka.EC2.Types.InstanceCapacity

Generic InstanceCapacity Source # 
Instance details

Defined in Amazonka.EC2.Types.InstanceCapacity

Associated Types

type Rep InstanceCapacity :: Type -> Type #

Read InstanceCapacity Source # 
Instance details

Defined in Amazonka.EC2.Types.InstanceCapacity

Show InstanceCapacity Source # 
Instance details

Defined in Amazonka.EC2.Types.InstanceCapacity

NFData InstanceCapacity Source # 
Instance details

Defined in Amazonka.EC2.Types.InstanceCapacity

Methods

rnf :: InstanceCapacity -> () #

Eq InstanceCapacity Source # 
Instance details

Defined in Amazonka.EC2.Types.InstanceCapacity

Hashable InstanceCapacity Source # 
Instance details

Defined in Amazonka.EC2.Types.InstanceCapacity

type Rep InstanceCapacity Source # 
Instance details

Defined in Amazonka.EC2.Types.InstanceCapacity

type Rep InstanceCapacity = D1 ('MetaData "InstanceCapacity" "Amazonka.EC2.Types.InstanceCapacity" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "InstanceCapacity'" 'PrefixI 'True) (S1 ('MetaSel ('Just "availableCapacity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "instanceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "totalCapacity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))))

newInstanceCapacity :: InstanceCapacity Source #

Create a value of InstanceCapacity 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:availableCapacity:InstanceCapacity', instanceCapacity_availableCapacity - The number of instances that can be launched onto the Dedicated Host based on the host's available capacity.

$sel:instanceType:InstanceCapacity', instanceCapacity_instanceType - The instance type supported by the Dedicated Host.

$sel:totalCapacity:InstanceCapacity', instanceCapacity_totalCapacity - The total number of instances that can be launched onto the Dedicated Host if there are no instances running on it.

instanceCapacity_availableCapacity :: Lens' InstanceCapacity (Maybe Int) Source #

The number of instances that can be launched onto the Dedicated Host based on the host's available capacity.

instanceCapacity_instanceType :: Lens' InstanceCapacity (Maybe Text) Source #

The instance type supported by the Dedicated Host.

instanceCapacity_totalCapacity :: Lens' InstanceCapacity (Maybe Int) Source #

The total number of instances that can be launched onto the Dedicated Host if there are no instances running on it.