CmdID

CmdID / aws / aws ec2

aws ec2 accept-reserved-instances-exchange-quote

Accepts the Convertible Reserved Instance exchange quote described in the GetReservedInstancesExchangeQuote call. AWS CLI reference

1 example 3 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To perform a Convertible Reserved Instance exchange

The following accept-reserved-instances-exchange-quote example performs an exchange of the specified Convertible Reserved Instances.

aws ec2 accept-reserved-instances-exchange-quote --reserved-instance-ids a1b2c3d4-5678-90ab-cdef-EXAMPLE11111 --target-configurations OfferingId=a1b2c3d4-5678-90ab-cdef-EXAMPLE22222Identify
--reserved-instance-idsThe IDs of the Convertible Reserved Instances to exchange for another Convertible Reserved Instance of the same or higher value.
--target-configurationsThe configuration of the target Convertible Reserved Instance to exchange for your current Convertible Reserved Instances.
Its output
{
    "ExchangeId": "riex-e68ed3c1-8bc8-4c17-af77-811afexample"
}

For more information, see Exchange Convertible Reserved Instances in the Amazon EC2 User Guide.

Options

3 in the AWS CLI reference
--dry-runChecks whether you have the required permissions for the action, without actually making the request, and provides an error response.
--reserved-instance-idsThe IDs of the Convertible Reserved Instances to exchange for another Convertible Reserved Instance of the same or higher value.
--target-configurationsThe configuration of the target Convertible Reserved Instance to exchange for your current Convertible Reserved Instances.