AcceptReservedNodeExchange - Amazon Redshift
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China.


Exchanges a DC1 Reserved Node for a DC2 Reserved Node with no changes to the configuration (term, payment type, or number of nodes) and no additional costs.

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.


A string representing the node identifier of the DC1 Reserved Node to be exchanged.

Type: String

Length Constraints: Maximum length of 2147483647.

Required: Yes


The unique identifier of the DC2 Reserved Node offering to be used for the exchange. You can obtain the value for the parameter by calling GetReservedNodeExchangeOfferings

Type: String

Length Constraints: Maximum length of 2147483647.

Required: Yes

Response Elements

The following element is returned by the service.


Type: ReservedNode object


For information about the errors that are common to all actions, see Common Errors.


Your request cannot be completed because a dependent internal service is temporarily unavailable. Wait 30 to 60 seconds and try again.

HTTP Status Code: 400


Indicates that the Reserved Node being exchanged is not in an active state.

HTTP Status Code: 400


User already has a reservation with the given identifier.

HTTP Status Code: 404


Indicates that the reserved node has already been exchanged.

HTTP Status Code: 400


The specified reserved compute node not found.

HTTP Status Code: 404


Specified offering does not exist.

HTTP Status Code: 404


The requested operation isn't supported.

HTTP Status Code: 400



This example illustrates one usage of AcceptReservedNodeExchange.

Sample Request ?Action=AcceptReservedNodeExchange &ReservedNodeId=12345678-12ab-12a1-1a2a-12ab-12a12aEXAMPLE &TargetReservedNodeOfferingId=12345678-12ab-12a1-1a2a-12ab-12a12bEXAMPLE &SignatureMethod=HmacSHA256&SignatureVersion=4 &Version=2012-12-01 &X-Amz-Algorithm=AWS4-HMAC-SHA256 &X-Amz-Credential=AKIAIOSFODNN7EXAMPLE/20190817/us-east-2/redshift/aws4_request &X-Amz-Date=20190825T160000Z &X-Amz-SignedHeaders=content-type;host;user-agent;x-amz-content-sha256;x-amz-date &X-Amz-Signature=0aa1234bb5cc678ddddd901ee2ff3aa45678b90c12d345e6ff789012345a6b7b

Sample Response

<AcceptReservedNodeExchangeResponse xmlns=""> <AcceptReservedNodeExchangeResult> <ExchangedReservedNode> <ReservedNodeId>12345678-12ab-12a1-1a2a-12ab-12a12aEXAMPLE</ReservedNodeId> <OfferingType>All Upfront</OfferingType> <ReservedNodeOfferingType>Regular</ReservedNodeOfferingType> <RecurringCharges> <RecurringCharge> <RecurringChargeAmount>0.0</RecurringChargeAmount> <RecurringChargeFrequency>Hourly</RecurringChargeFrequency> </RecurringCharge> </RecurringCharges> <NodeType>dc2.large</NodeType> <FixedPrice>0.0</FixedPrice> <Duration>31536000</Duration> <UsagePrice>0.0</UsagePrice> <ReservedNodeOfferingId>12345678-12ab-12a1-1a2a-12ab-12a12bEXAMPLE</ReservedNodeOfferingId> <StartTime>2019-12-26T22:27:56Z</StartTime> <NodeCount>1</NodeCount> <State>exchanging</State> <CurrencyCode>USD</CurrencyCode> </ExchangedReservedNode> </AcceptReservedNodeExchangeResult> <ResponseMetadata> <RequestId>0b899aa4-2830-11ea-8a28-2fd1719d0e86</RequestId> </ResponseMetadata> </AcceptReservedNodeExchangeResponse>

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: