Values_3.CapacityReservationSourceDescribes a Capacity Reservation.
type nonrec t = {capacityReservationId : Values_0.String_.t option;The ID of the Capacity Reservation.
*)ownerId : Values_0.String_.t option;The ID of the Amazon Web Services account that owns the Capacity Reservation.
*)capacityReservationArn : Values_0.String_.t option;The Amazon Resource Name (ARN) of the Capacity Reservation.
*)availabilityZoneId : Values_0.String_.t option;The ID of the Availability Zone in which the capacity is reserved.
*)instanceType : Values_0.String_.t option;The type of instance for which the Capacity Reservation reserves capacity.
*)instancePlatform : Values_0.CapacityReservationInstancePlatform.t option;The type of operating system for which the Capacity Reservation reserves capacity.
*)availabilityZone : Values_0.String_.t option;The Availability Zone in which the capacity is reserved.
*)tenancy : Values_1.CapacityReservationTenancy.t option;Indicates the tenancy of the Capacity Reservation. A Capacity Reservation can have one of the following tenancy settings: default - The Capacity Reservation is created on hardware that is shared with other Amazon Web Services accounts. dedicated - The Capacity Reservation is created on single-tenant hardware that is dedicated to a single Amazon Web Services account.
*)totalInstanceCount : Values_0.Integer.t option;The total number of instances for which the Capacity Reservation reserves capacity.
*)availableInstanceCount : Values_0.Integer.t option;The remaining capacity. Indicates the number of instances that can be launched in the Capacity Reservation.
*)ebsOptimized : Values_0.Boolean.t option;Indicates whether the Capacity Reservation supports EBS-optimized instances. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS- optimized instance.
*)ephemeralStorage : Values_0.Boolean.t option;Deprecated.
*)state : Values_1.CapacityReservationState.t option;The current state of the Capacity Reservation. A Capacity Reservation can be in one of the following states: active - The capacity is available for use. expired - The Capacity Reservation expired automatically at the date and time specified in your reservation request. The reserved capacity is no longer available for your use. cancelled - The Capacity Reservation was canceled. The reserved capacity is no longer available for your use. pending - The Capacity Reservation request was successful but the capacity provisioning is still pending. failed - The Capacity Reservation request has failed. A request can fail due to request parameters that are not valid, capacity constraints, or instance limit constraints. You can view a failed request for 60 minutes. scheduled - (Future-dated Capacity Reservations) The future-dated Capacity Reservation request was approved and the Capacity Reservation is scheduled for delivery on the requested start date. payment-pending - (Capacity Blocks) The upfront payment has not been processed yet. payment-failed - (Capacity Blocks) The upfront payment was not processed in the 12-hour time frame. Your Capacity Block was released. assessing - (Future-dated Capacity Reservations) Amazon EC2 is assessing your request for a future-dated Capacity Reservation. delayed - (Future-dated Capacity Reservations) Amazon EC2 encountered a delay in provisioning the requested future-dated Capacity Reservation. Amazon EC2 is unable to deliver the requested capacity by the requested start date and time. unsupported - (Future-dated Capacity Reservations) Amazon EC2 can't support the future-dated Capacity Reservation request due to capacity constraints. You can view unsupported requests for 30 days. The Capacity Reservation will not be delivered.
*)startDate : Values_0.MillisecondDateTime.t option;The date and time the Capacity Reservation was started.
*)endDate : Values_0.DateTime.t option;The date and time the Capacity Reservation expires. When a Capacity Reservation expires, the reserved capacity is released and you can no longer launch instances into it. The Capacity Reservation's state changes to expired when it reaches its end date and time.
*)endDateType : Values_1.EndDateType.t option;Indicates the way in which the Capacity Reservation ends. A Capacity Reservation can have one of the following end types: unlimited - The Capacity Reservation remains active until you explicitly cancel it. limited - The Capacity Reservation expires automatically at a specified date and time.
*)instanceMatchCriteria : Values_1.InstanceMatchCriteria.t option;Indicates the type of instance launches that the Capacity Reservation accepts. The options include: open - The Capacity Reservation accepts all instances that have matching attributes (instance type, platform, and Availability Zone). Instances that have matching attributes launch into the Capacity Reservation automatically without specifying any additional parameters. targeted - The Capacity Reservation only accepts instances that have matching attributes (instance type, platform, and Availability Zone), and explicitly target the Capacity Reservation. This ensures that only permitted instances can use the reserved capacity.
*)createDate : Values_0.DateTime.t option;The date and time the Capacity Reservation was created.
*)outpostArn : Values_1.OutpostArn.t option;The Amazon Resource Name (ARN) of the Outpost on which the Capacity Reservation was created.
*)capacityReservationFleetId : Values_0.String_.t option;The ID of the Capacity Reservation Fleet to which the Capacity Reservation belongs. Only valid for Capacity Reservations that were created by a Capacity Reservation Fleet.
*)placementGroupArn : Values_1.PlacementGroupArn.t option;The Amazon Resource Name (ARN) of the cluster placement group in which the Capacity Reservation was created. For more information, see Capacity Reservations for cluster placement groups in the Amazon EC2 User Guide.
*)capacityAllocations : Values_1.CapacityAllocations.t option;Information about instance capacity usage.
*)reservationType : Values_1.CapacityReservationType.t option;The type of Capacity Reservation.
*)unusedReservationBillingOwnerId : Values_1.AccountID.t option;The ID of the Amazon Web Services account to which billing of the unused capacity of the Capacity Reservation is assigned.
*)commitmentInfo : Values_1.CapacityReservationCommitmentInfo.t option;Information about your commitment for a future-dated Capacity Reservation.
*)deliveryPreference : Values_1.CapacityReservationDeliveryPreference.t option;The delivery method for a future-dated Capacity Reservation. incremental indicates that the requested capacity is delivered in addition to any running instances and reserved capacity that you have in your account at the requested date and time.
*)capacityBlockId : Values_1.CapacityBlockId.t option;The ID of the Capacity Block.
*)interruptible : Values_1.BoxedBoolean.t option;Indicates whether this Capacity Reservation is interruptible, meaning instances may be terminated when the owner reclaims capacity.
*)interruptibleCapacityAllocation : Values_1.InterruptibleCapacityAllocation.t
option;Contains allocation details for interruptible reservations, including current allocated instances and target instance counts within the interruptibleCapacityAllocation object.
*)interruptionInfo : Values_1.InterruptionInfo.t option;Information about the interruption configuration and association with the source reservation for interruptible Capacity Reservations.
*)}val make :
?capacityReservationId:??? ->
?ownerId:??? ->
?capacityReservationArn:??? ->
?availabilityZoneId:??? ->
?instanceType:??? ->
?instancePlatform:??? ->
?availabilityZone:??? ->
?tenancy:??? ->
?totalInstanceCount:??? ->
?availableInstanceCount:??? ->
?ebsOptimized:??? ->
?ephemeralStorage:??? ->
?state:??? ->
?startDate:??? ->
?endDate:??? ->
?endDateType:??? ->
?instanceMatchCriteria:??? ->
?createDate:??? ->
?tags:??? ->
?outpostArn:??? ->
?capacityReservationFleetId:??? ->
?placementGroupArn:??? ->
?capacityAllocations:??? ->
?reservationType:??? ->
?unusedReservationBillingOwnerId:??? ->
?commitmentInfo:??? ->
?deliveryPreference:??? ->
?capacityBlockId:??? ->
?interruptible:??? ->
?interruptibleCapacityAllocation:??? ->
?interruptionInfo:??? ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Boolean of Values_0.Boolean.t
| `Enum of string
| `Integer of Values_0.Integer.t
| `List of
[> `Structure of
(string
* [> `Enum of string
| `Integer of Values_0.Integer.t
| `List of
[> `Structure of (string * [> `String of string ]) list ]
list
| `String of string ])
list ]
list
| `String of Values_0.String_.t
| `Structure of
(string
* [> `Enum of string
| `Integer of Values_0.Integer.t
| `String of Values_0.String_.t
| `Timestamp of Values_0.MillisecondDateTime.t ])
list
| `Timestamp of Values_0.MillisecondDateTime.t ])
list ]