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

Description

 
Synopsis

Documentation

data AvailableCapacity Source #

The capacity information for instances that can be launched onto the Dedicated Host.

See: newAvailableCapacity smart constructor.

Constructors

AvailableCapacity' 

Fields

  • availableInstanceCapacity :: Maybe [InstanceCapacity]

    The number of instances that can be launched onto the Dedicated Host depending on the host's available capacity. For Dedicated Hosts that support multiple instance types, this parameter represents the number of instances for each instance size that is supported on the host.

  • availableVCpus :: Maybe Int

    The number of vCPUs available for launching instances onto the Dedicated Host.

Instances

Instances details
FromXML AvailableCapacity Source # 
Instance details

Defined in Amazonka.EC2.Types.AvailableCapacity

Generic AvailableCapacity Source # 
Instance details

Defined in Amazonka.EC2.Types.AvailableCapacity

Associated Types

type Rep AvailableCapacity :: Type -> Type #

Read AvailableCapacity Source # 
Instance details

Defined in Amazonka.EC2.Types.AvailableCapacity

Show AvailableCapacity Source # 
Instance details

Defined in Amazonka.EC2.Types.AvailableCapacity

NFData AvailableCapacity Source # 
Instance details

Defined in Amazonka.EC2.Types.AvailableCapacity

Methods

rnf :: AvailableCapacity -> () #

Eq AvailableCapacity Source # 
Instance details

Defined in Amazonka.EC2.Types.AvailableCapacity

Hashable AvailableCapacity Source # 
Instance details

Defined in Amazonka.EC2.Types.AvailableCapacity

type Rep AvailableCapacity Source # 
Instance details

Defined in Amazonka.EC2.Types.AvailableCapacity

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

newAvailableCapacity :: AvailableCapacity Source #

Create a value of AvailableCapacity 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:availableInstanceCapacity:AvailableCapacity', availableCapacity_availableInstanceCapacity - The number of instances that can be launched onto the Dedicated Host depending on the host's available capacity. For Dedicated Hosts that support multiple instance types, this parameter represents the number of instances for each instance size that is supported on the host.

$sel:availableVCpus:AvailableCapacity', availableCapacity_availableVCpus - The number of vCPUs available for launching instances onto the Dedicated Host.

availableCapacity_availableInstanceCapacity :: Lens' AvailableCapacity (Maybe [InstanceCapacity]) Source #

The number of instances that can be launched onto the Dedicated Host depending on the host's available capacity. For Dedicated Hosts that support multiple instance types, this parameter represents the number of instances for each instance size that is supported on the host.

availableCapacity_availableVCpus :: Lens' AvailableCapacity (Maybe Int) Source #

The number of vCPUs available for launching instances onto the Dedicated Host.