EC2.Client.
accept_reserved_instances_exchange_quote
(**kwargs)¶Accepts the Convertible Reserved Instance exchange quote described in the GetReservedInstancesExchangeQuote call.
See also: AWS API Documentation
Request Syntax
response = client.accept_reserved_instances_exchange_quote(
DryRun=True|False,
ReservedInstanceIds=[
'string',
],
TargetConfigurations=[
{
'InstanceCount': 123,
'OfferingId': 'string'
},
]
)
DryRunOperation
. Otherwise, it is UnauthorizedOperation
.[REQUIRED]
The IDs of the Convertible Reserved Instances to exchange for another Convertible Reserved Instance of the same or higher value.
The configuration of the target Convertible Reserved Instance to exchange for your current Convertible Reserved Instances.
Details about the target configuration.
The number of instances the Convertible Reserved Instance offering can be applied to. This parameter is reserved and cannot be specified in a request
The Convertible Reserved Instance offering ID.
dict
Response Syntax
{
'ExchangeId': 'string'
}
Response Structure
(dict) --
The result of the exchange and whether it was successful
.
ExchangeId (string) --
The ID of the successful exchange.