Module Types.CapacityReservation

type t = {
capacity_reservation_id : Aws.BaseTypes.String.t option;
owner_id : Aws.BaseTypes.String.t option;
capacity_reservation_arn : Aws.BaseTypes.String.t option;
availability_zone_id : Aws.BaseTypes.String.t option;
instance_type : Aws.BaseTypes.String.t option;
instance_platform : CapacityReservationInstancePlatform.t option;
availability_zone : Aws.BaseTypes.String.t option;
tenancy : CapacityReservationTenancy.t option;
total_instance_count : Aws.BaseTypes.Integer.t option;
available_instance_count : Aws.BaseTypes.Integer.t option;
ebs_optimized : Aws.BaseTypes.Boolean.t option;
ephemeral_storage : Aws.BaseTypes.Boolean.t option;
state : CapacityReservationState.t option;
end_date : Aws.BaseTypes.DateTime.t option;
end_date_type : EndDateType.t option;
instance_match_criteria : InstanceMatchCriteria.t option;
create_date : Aws.BaseTypes.DateTime.t option;
tags : TagList.t;
}
val make : ?⁠capacity_reservation_id:Aws.BaseTypes.String.t -> ?⁠owner_id:Aws.BaseTypes.String.t -> ?⁠capacity_reservation_arn:Aws.BaseTypes.String.t -> ?⁠availability_zone_id:Aws.BaseTypes.String.t -> ?⁠instance_type:Aws.BaseTypes.String.t -> ?⁠instance_platform:CapacityReservationInstancePlatform.t -> ?⁠availability_zone:Aws.BaseTypes.String.t -> ?⁠tenancy:CapacityReservationTenancy.t -> ?⁠total_instance_count:Aws.BaseTypes.Integer.t -> ?⁠available_instance_count:Aws.BaseTypes.Integer.t -> ?⁠ebs_optimized:Aws.BaseTypes.Boolean.t -> ?⁠ephemeral_storage:Aws.BaseTypes.Boolean.t -> ?⁠state:CapacityReservationState.t -> ?⁠end_date:Aws.BaseTypes.DateTime.t -> ?⁠end_date_type:EndDateType.t -> ?⁠instance_match_criteria:InstanceMatchCriteria.t -> ?⁠create_date:Aws.BaseTypes.DateTime.t -> ?⁠tags:TagList.t -> unit -> t
val parse : Ezxmlm.nodes -> t option
val to_query : t -> Aws.Query.t
val to_json : t -> [> `Assoc of (string * Aws.Json.t) list ]
val of_json : Aws.Json.t -> t