Module Values_4.ModifyInstanceCapacityReservationAttributesRequestSource

Modifies the Capacity Reservation settings for a stopped instance. Use this action to configure an instance to target a specific Capacity Reservation, run in any open Capacity Reservation with matching attributes, run in On-Demand Instance capacity, or only run in a Capacity Reservation.

Sourcetype nonrec t = {
  1. instanceId : Values_0.InstanceId.t;
    (*

    The ID of the instance to be modified.

    *)
  2. capacityReservationSpecification : Values_3.CapacityReservationSpecification.t;
    (*

    Information about the Capacity Reservation targeting option.

    *)
  3. dryRun : Values_0.Boolean.t option;
    (*

    Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

    *)
}
Sourceval context_ : string
Sourceval make : ?dryRun:??? -> instanceId:Values_0.InstanceId.t -> capacityReservationSpecification:Values_3.CapacityReservationSpecification.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Values_0.Boolean.t | `String of Values_0.InstanceId.t | `Structure of (string * [> `Enum of string | `Structure of (string * [> `String of Values_0.CapacityReservationId.t ]) list ]) list ]) 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