PurchaseReservedNodesOffering - Amazon MemoryDB
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 (PDF).


Allows you to purchase a reserved node offering. Reserved nodes are not eligible for cancellation and are non-refundable.

Request Syntax

{ "NodeCount": number, "ReservationId": "string", "ReservedNodesOfferingId": "string", "Tags": [ { "Key": "string", "Value": "string" } ] }

Request Parameters

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

The request accepts the following data in JSON format.


The number of node instances to reserve.

Type: Integer

Required: No


A customer-specified identifier to track this reservation.

Type: String

Required: No


The ID of the reserved node offering to purchase.

Type: String

Required: Yes


A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.

Type: Array of Tag objects

Array Members: Maximum number of 200 items.

Required: No

Response Syntax

{ "ReservedNode": { "ARN": "string", "Duration": number, "FixedPrice": number, "NodeCount": number, "NodeType": "string", "OfferingType": "string", "RecurringCharges": [ { "RecurringChargeAmount": number, "RecurringChargeFrequency": "string" } ], "ReservationId": "string", "ReservedNodesOfferingId": "string", "StartTime": number, "State": "string" } }

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.


Represents the output of a PurchaseReservedNodesOffering operation.

Type: ReservedNode object


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


HTTP Status Code: 400


HTTP Status Code: 400


You already have a reservation with the given identifier.

HTTP Status Code: 400


The request cannot be processed because it would exceed the user's node quota.

HTTP Status Code: 400


The requested node offering does not exist.

HTTP Status Code: 400


HTTP Status Code: 400


HTTP Status Code: 400

See Also

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