Values_4.ModifyInstanceCapacityReservationAttributesRequestSourceModifies 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.
type nonrec t = {instanceId : Values_0.InstanceId.t;The ID of the instance to be modified.
*)capacityReservationSpecification : Values_3.CapacityReservationSpecification.t;Information about the Capacity Reservation targeting option.
*)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.
*)}val make :
?dryRun:??? ->
instanceId:Values_0.InstanceId.t ->
capacityReservationSpecification:Values_3.CapacityReservationSpecification.t ->
unit ->
tval 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 ]