/AWS1/CL_EC2=>MDFYINSTCAPRESERVATIONATTRS()
¶
About ModifyInstanceCapacityReservationAttributes¶
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.
Method Signature¶
IMPORTING¶
Required arguments:¶
IV_INSTANCEID
TYPE /AWS1/EC2INSTANCEID
/AWS1/EC2INSTANCEID
¶
The ID of the instance to be modified.
IO_CAPACITYRESERVATIONSPEC
TYPE REF TO /AWS1/CL_EC2CAPACITYRSVPEC
/AWS1/CL_EC2CAPACITYRSVPEC
¶
Information about the Capacity Reservation targeting option.
Optional arguments:¶
IV_DRYRUN
TYPE /AWS1/EC2BOOLEAN
/AWS1/EC2BOOLEAN
¶
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 isUnauthorizedOperation
.