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 <code>open</code> Capacity Reservation with matching attributes, or run On-Demand Instance capacity.
get/#Action=ModifyInstanceCapacityReservationAttributes
Query parameters
InstanceIdstring required
The ID of the instance to be modified.
Information about the Capacity Reservation targeting option.
DryRunboolean
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 <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.
Action'ModifyInstanceCapacityReservationAttributes' required
Version'2016-11-15' required
Response
Success