Module Values_1.FleetCapacityReservationSource

Information about a Capacity Reservation in a Capacity Reservation Fleet.

Sourcetype nonrec t = {
  1. capacityReservationId : Values_0.CapacityReservationId.t option;
    (*

    The ID of the Capacity Reservation.

    *)
  2. availabilityZoneId : Values_0.String_.t option;
    (*

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

    *)
  3. instanceType : Values_0.InstanceType.t option;
    (*

    The instance type for which the Capacity Reservation reserves capacity.

    *)
  4. instancePlatform : Values_0.CapacityReservationInstancePlatform.t option;
    (*

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

    *)
  5. availabilityZone : Values_0.String_.t option;
    (*

    The Availability Zone in which the Capacity Reservation reserves capacity.

    *)
  6. totalInstanceCount : Values_0.Integer.t option;
    (*

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

    *)
  7. fulfilledCapacity : Values_0.Double.t option;
    (*

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

    *)
  8. ebsOptimized : Values_0.Boolean.t option;
    (*

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

    *)
  9. createDate : Values_0.MillisecondDateTime.t option;
    (*

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

    *)
  10. weight : Values_0.DoubleWithConstraints.t option;
    (*

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

    *)
  11. priority : Values_0.IntegerWithConstraints.t option;
    (*

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

    *)
}
Sourceval make : ?capacityReservationId:??? -> ?availabilityZoneId:??? -> ?instanceType:??? -> ?instancePlatform:??? -> ?availabilityZone:??? -> ?totalInstanceCount:??? -> ?fulfilledCapacity:??? -> ?ebsOptimized:??? -> ?createDate:??? -> ?weight:??? -> ?priority:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Values_0.Boolean.t | `Double of Values_0.Double.t | `Enum of string | `Integer of Values_0.Integer.t | `String of Values_0.CapacityReservationId.t | `Timestamp of Values_0.MillisecondDateTime.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t