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

Description

 
Synopsis

Documentation

data FleetCapacityReservation Source #

Information about a Capacity Reservation in a Capacity Reservation Fleet.

See: newFleetCapacityReservation smart constructor.

Constructors

FleetCapacityReservation' 

Fields

Instances

Instances details
FromXML FleetCapacityReservation Source # 
Instance details

Defined in Amazonka.EC2.Types.FleetCapacityReservation

Generic FleetCapacityReservation Source # 
Instance details

Defined in Amazonka.EC2.Types.FleetCapacityReservation

Associated Types

type Rep FleetCapacityReservation :: Type -> Type #

Read FleetCapacityReservation Source # 
Instance details

Defined in Amazonka.EC2.Types.FleetCapacityReservation

Show FleetCapacityReservation Source # 
Instance details

Defined in Amazonka.EC2.Types.FleetCapacityReservation

NFData FleetCapacityReservation Source # 
Instance details

Defined in Amazonka.EC2.Types.FleetCapacityReservation

Eq FleetCapacityReservation Source # 
Instance details

Defined in Amazonka.EC2.Types.FleetCapacityReservation

Hashable FleetCapacityReservation Source # 
Instance details

Defined in Amazonka.EC2.Types.FleetCapacityReservation

type Rep FleetCapacityReservation Source # 
Instance details

Defined in Amazonka.EC2.Types.FleetCapacityReservation

type Rep FleetCapacityReservation = D1 ('MetaData "FleetCapacityReservation" "Amazonka.EC2.Types.FleetCapacityReservation" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "FleetCapacityReservation'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "availabilityZone") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "availabilityZoneId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "capacityReservationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "createDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: S1 ('MetaSel ('Just "ebsOptimized") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))) :*: ((S1 ('MetaSel ('Just "fulfilledCapacity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: (S1 ('MetaSel ('Just "instancePlatform") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CapacityReservationInstancePlatform)) :*: S1 ('MetaSel ('Just "instanceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InstanceType)))) :*: (S1 ('MetaSel ('Just "priority") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "totalInstanceCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "weight") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)))))))

newFleetCapacityReservation :: FleetCapacityReservation Source #

Create a value of FleetCapacityReservation 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:FleetCapacityReservation', fleetCapacityReservation_availabilityZone - The Availability Zone in which the Capacity Reservation reserves capacity.

$sel:availabilityZoneId:FleetCapacityReservation', fleetCapacityReservation_availabilityZoneId - The ID of the Availability Zone in which the Capacity Reservation reserves capacity.

$sel:capacityReservationId:FleetCapacityReservation', fleetCapacityReservation_capacityReservationId - The ID of the Capacity Reservation.

$sel:createDate:FleetCapacityReservation', fleetCapacityReservation_createDate - The date and time at which the Capacity Reservation was created.

$sel:ebsOptimized:FleetCapacityReservation', fleetCapacityReservation_ebsOptimized - Indicates whether the Capacity Reservation reserves capacity for EBS-optimized instance types.

$sel:fulfilledCapacity:FleetCapacityReservation', fleetCapacityReservation_fulfilledCapacity - The number of capacity units fulfilled by the Capacity Reservation. For more information, see Total target capacity in the Amazon EC2 User Guide.

$sel:instancePlatform:FleetCapacityReservation', fleetCapacityReservation_instancePlatform - The type of operating system for which the Capacity Reservation reserves capacity.

$sel:instanceType:FleetCapacityReservation', fleetCapacityReservation_instanceType - The instance type for which the Capacity Reservation reserves capacity.

$sel:priority:FleetCapacityReservation', fleetCapacityReservation_priority - The priority of the instance type in the Capacity Reservation Fleet. For more information, see Instance type priority in the Amazon EC2 User Guide.

$sel:totalInstanceCount:FleetCapacityReservation', fleetCapacityReservation_totalInstanceCount - The total number of instances for which the Capacity Reservation reserves capacity.

$sel:weight:FleetCapacityReservation', fleetCapacityReservation_weight - The weight of the instance type in the Capacity Reservation Fleet. For more information, see Instance type weight in the Amazon EC2 User Guide.

fleetCapacityReservation_availabilityZone :: Lens' FleetCapacityReservation (Maybe Text) Source #

The Availability Zone in which the Capacity Reservation reserves capacity.

fleetCapacityReservation_availabilityZoneId :: Lens' FleetCapacityReservation (Maybe Text) Source #

The ID of the Availability Zone in which the Capacity Reservation reserves capacity.

fleetCapacityReservation_createDate :: Lens' FleetCapacityReservation (Maybe UTCTime) Source #

The date and time at which the Capacity Reservation was created.

fleetCapacityReservation_ebsOptimized :: Lens' FleetCapacityReservation (Maybe Bool) Source #

Indicates whether the Capacity Reservation reserves capacity for EBS-optimized instance types.

fleetCapacityReservation_fulfilledCapacity :: Lens' FleetCapacityReservation (Maybe Double) Source #

The number of capacity units fulfilled by the Capacity Reservation. For more information, see Total target capacity in the Amazon EC2 User Guide.

fleetCapacityReservation_instancePlatform :: Lens' FleetCapacityReservation (Maybe CapacityReservationInstancePlatform) Source #

The type of operating system for which the Capacity Reservation reserves capacity.

fleetCapacityReservation_instanceType :: Lens' FleetCapacityReservation (Maybe InstanceType) Source #

The instance type for which the Capacity Reservation reserves capacity.

fleetCapacityReservation_priority :: Lens' FleetCapacityReservation (Maybe Natural) Source #

The priority of the instance type in the Capacity Reservation Fleet. For more information, see Instance type priority in the Amazon EC2 User Guide.

fleetCapacityReservation_totalInstanceCount :: Lens' FleetCapacityReservation (Maybe Int) Source #

The total number of instances for which the Capacity Reservation reserves capacity.

fleetCapacityReservation_weight :: Lens' FleetCapacityReservation (Maybe Double) Source #

The weight of the instance type in the Capacity Reservation Fleet. For more information, see Instance type weight in the Amazon EC2 User Guide.