Values_2.FleetDataSourceDescribes an EC2 Fleet.
type nonrec t = {activityStatus : Values_1.FleetActivityStatus.t option;The progress of the EC2 Fleet. For fleets of type instant, the status is fulfilled after all requests are placed, regardless of whether target capacity is met (this is the only possible status for instant fleets). For fleets of type request or maintain, the status is pending_fulfillment after all requests are placed, fulfilled when the fleet size meets or exceeds target capacity, pending_termination while instances are terminating when fleet size is decreased, and error if there's an error.
*)createTime : Values_0.DateTime.t option;The creation date and time of the EC2 Fleet.
*)fleetId : Values_1.FleetId.t option;The ID of the EC2 Fleet.
*)fleetState : Values_1.FleetStateCode.t option;The state of the EC2 Fleet.
*)clientToken : Values_0.String_.t option;Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring idempotency. Constraints: Maximum 64 ASCII characters
*)excessCapacityTerminationPolicy : Values_1.FleetExcessCapacityTerminationPolicy.t
option;Indicates whether running instances should be terminated if the target capacity of the EC2 Fleet is decreased below the current size of the EC2 Fleet. Supported only for fleets of type maintain.
*)fulfilledCapacity : Values_0.Double.t option;The number of units fulfilled by this request compared to the set target capacity.
*)fulfilledOnDemandCapacity : Values_0.Double.t option;The number of units fulfilled by this request compared to the set target On-Demand capacity.
*)launchTemplateConfigs : Values_1.FleetLaunchTemplateConfigList.t option;The launch template and overrides.
*)targetCapacitySpecification : Values_1.TargetCapacitySpecification.t option;The number of units to request. You can choose to set the target capacity in terms of instances or a performance characteristic that is important to your application workload, such as vCPUs, memory, or I/O. If the request type is maintain, you can specify a target capacity of 0 and add capacity later.
*)terminateInstancesWithExpiration : Values_0.Boolean.t option;Indicates whether running instances should be terminated when the EC2 Fleet expires.
*)type_ : Values_0.FleetType.t option;The type of request. Indicates whether the EC2 Fleet only requests the target capacity, or also attempts to maintain it. If you request a certain target capacity, EC2 Fleet only places the required requests; it does not attempt to replenish instances if capacity is diminished, and it does not submit requests in alternative capacity pools if capacity is unavailable. To maintain a certain target capacity, EC2 Fleet places the required requests to meet this target capacity. It also automatically replenishes any interrupted Spot Instances. Default: maintain.
*)validFrom : Values_0.DateTime.t option;The start date and time of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). The default is to start fulfilling the request immediately.
*)validUntil : Values_0.DateTime.t option;The end date and time of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). At this point, no new instance requests are placed or able to fulfill the request. The default end date is 7 days from the current date.
*)replaceUnhealthyInstances : Values_0.Boolean.t option;Indicates whether EC2 Fleet should replace unhealthy Spot Instances. Supported only for fleets of type maintain. For more information, see EC2 Fleet health checks in the Amazon EC2 User Guide.
*)spotOptions : Values_1.SpotOptions.t option;The configuration of Spot Instances in an EC2 Fleet.
*)onDemandOptions : Values_1.OnDemandOptions.t option;The allocation strategy of On-Demand Instances in an EC2 Fleet.
*)reservedCapacityOptions : Values_1.ReservedCapacityOptions.t option;Defines EC2 Fleet preferences for utilizing reserved capacity when DefaultTargetCapacityType is set to reserved-capacity.
*)errors : Values_1.DescribeFleetsErrorSet.t option;Information about the instances that could not be launched by the fleet. Valid only when Type is set to instant.
*)instances : Values_1.DescribeFleetsInstancesSet.t option;Information about the instances that were launched by the fleet. Valid only when Type is set to instant.
*)context : Values_0.String_.t option;Reserved.
*)}val make :
?activityStatus:??? ->
?createTime:??? ->
?fleetId:??? ->
?fleetState:??? ->
?clientToken:??? ->
?excessCapacityTerminationPolicy:??? ->
?fulfilledCapacity:??? ->
?fulfilledOnDemandCapacity:??? ->
?launchTemplateConfigs:??? ->
?targetCapacitySpecification:??? ->
?terminateInstancesWithExpiration:??? ->
?type_:??? ->
?validFrom:??? ->
?validUntil:??? ->
?replaceUnhealthyInstances:??? ->
?spotOptions:??? ->
?onDemandOptions:??? ->
?reservedCapacityOptions:??? ->
?tags:??? ->
?errors:??? ->
?instances:??? ->
?context:??? ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Boolean of Values_0.Boolean.t
| `Double of Values_0.Double.t
| `Enum of string
| `List of
[> `Structure of
(string
* [> `Enum of string
| `List of
[> `String of string
| `Structure of
(string
* [> `Double of float
| `Enum of string
| `List of
[> `Structure of
(string
* [> `String of string
| `Structure of
(string
* [> `Boolean of bool
| `Enum of string
| `Integer of int
| `String of string ])
list ])
list ]
list
| `String of string
| `Structure of
(string
* [> `Boolean of bool
| `Enum of string
| `Integer of int
| `List of
[> `Enum of string | `String of string ] list
| `String of string
| `Structure of
(string
* [> `Double of float
| `Integer of int
| `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `String of string ])
list ]
list ])
list ])
list ])
list ])
list ]
list
| `String of string
| `Structure of
(string
* [> `String of string
| `Structure of
(string
* [> `Double of float
| `Enum of string
| `List of
[> `Structure of
(string
* [> `String of string
| `Structure of
(string
* [> `Boolean of bool
| `Enum of string
| `Integer of int
| `String of string ])
list ])
list ]
list
| `String of string
| `Structure of
(string
* [> `Boolean of bool
| `Enum of string
| `Integer of int
| `List of
[> `Enum of string | `String of string ]
list
| `String of string
| `Structure of
(string
* [> `Double of float
| `Integer of int
| `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `String of string ])
list ]
list ])
list ])
list ])
list ])
list ])
list ])
list ]
list
| `String of Values_1.FleetId.t
| `Structure of
(string
* [> `Boolean of Values_0.Boolean.t
| `Enum of string
| `Integer of Values_0.Integer.t
| `List of [> `Enum of string ] list
| `String of Values_0.String_.t
| `Structure of
(string
* [> `Enum of string
| `Structure of
(string * [> `Enum of string | `Integer of int ]) list ])
list ])
list
| `Timestamp of Values_0.DateTime.t ])
list ]