Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data FleetCapacityReservation = FleetCapacityReservation' {
- availabilityZone :: Maybe Text
- availabilityZoneId :: Maybe Text
- capacityReservationId :: Maybe Text
- createDate :: Maybe ISO8601
- ebsOptimized :: Maybe Bool
- fulfilledCapacity :: Maybe Double
- instancePlatform :: Maybe CapacityReservationInstancePlatform
- instanceType :: Maybe InstanceType
- priority :: Maybe Natural
- totalInstanceCount :: Maybe Int
- weight :: Maybe Double
- newFleetCapacityReservation :: FleetCapacityReservation
- fleetCapacityReservation_availabilityZone :: Lens' FleetCapacityReservation (Maybe Text)
- fleetCapacityReservation_availabilityZoneId :: Lens' FleetCapacityReservation (Maybe Text)
- fleetCapacityReservation_capacityReservationId :: Lens' FleetCapacityReservation (Maybe Text)
- fleetCapacityReservation_createDate :: Lens' FleetCapacityReservation (Maybe UTCTime)
- fleetCapacityReservation_ebsOptimized :: Lens' FleetCapacityReservation (Maybe Bool)
- fleetCapacityReservation_fulfilledCapacity :: Lens' FleetCapacityReservation (Maybe Double)
- fleetCapacityReservation_instancePlatform :: Lens' FleetCapacityReservation (Maybe CapacityReservationInstancePlatform)
- fleetCapacityReservation_instanceType :: Lens' FleetCapacityReservation (Maybe InstanceType)
- fleetCapacityReservation_priority :: Lens' FleetCapacityReservation (Maybe Natural)
- fleetCapacityReservation_totalInstanceCount :: Lens' FleetCapacityReservation (Maybe Int)
- fleetCapacityReservation_weight :: Lens' FleetCapacityReservation (Maybe Double)
Documentation
data FleetCapacityReservation Source #
Information about a Capacity Reservation in a Capacity Reservation Fleet.
See: newFleetCapacityReservation
smart constructor.
FleetCapacityReservation' | |
|
Instances
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_capacityReservationId :: Lens' FleetCapacityReservation (Maybe Text) Source #
The ID of the Capacity Reservation.
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.