Module Types.SpotInstanceRequest

type t = {
actual_block_hourly_price : Aws.BaseTypes.String.t option;
availability_zone_group : Aws.BaseTypes.String.t option;
block_duration_minutes : Aws.BaseTypes.Integer.t option;
create_time : Aws.BaseTypes.DateTime.t option;
fault : SpotInstanceStateFault.t option;
instance_id : Aws.BaseTypes.String.t option;
launch_group : Aws.BaseTypes.String.t option;
launch_specification : LaunchSpecification.t option;
launched_availability_zone : Aws.BaseTypes.String.t option;
product_description : RIProductDescription.t option;
spot_instance_request_id : Aws.BaseTypes.String.t option;
spot_price : Aws.BaseTypes.String.t option;
state : SpotInstanceState.t option;
status : SpotInstanceStatus.t option;
tags : TagList.t;
type_ : SpotInstanceType.t option;
valid_from : Aws.BaseTypes.DateTime.t option;
valid_until : Aws.BaseTypes.DateTime.t option;
instance_interruption_behavior : InstanceInterruptionBehavior.t option;
}
val make : ?⁠actual_block_hourly_price:Aws.BaseTypes.String.t -> ?⁠availability_zone_group:Aws.BaseTypes.String.t -> ?⁠block_duration_minutes:Aws.BaseTypes.Integer.t -> ?⁠create_time:Aws.BaseTypes.DateTime.t -> ?⁠fault:SpotInstanceStateFault.t -> ?⁠instance_id:Aws.BaseTypes.String.t -> ?⁠launch_group:Aws.BaseTypes.String.t -> ?⁠launch_specification:LaunchSpecification.t -> ?⁠launched_availability_zone:Aws.BaseTypes.String.t -> ?⁠product_description:RIProductDescription.t -> ?⁠spot_instance_request_id:Aws.BaseTypes.String.t -> ?⁠spot_price:Aws.BaseTypes.String.t -> ?⁠state:SpotInstanceState.t -> ?⁠status:SpotInstanceStatus.t -> ?⁠tags:TagList.t -> ?⁠type_:SpotInstanceType.t -> ?⁠valid_from:Aws.BaseTypes.DateTime.t -> ?⁠valid_until:Aws.BaseTypes.DateTime.t -> ?⁠instance_interruption_behavior:InstanceInterruptionBehavior.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