Amazon Elastic Compute Cloud
API Reference (API Version 2016-11-15)


Describes reservations that are associated with Dedicated Hosts in your account.

Request Parameters

The following parameters are for this specific action. For more information about required and optional parameters that are common to all actions, see Common Query Parameters.


One or more filters.

  • instance-family - The instance family (for example, m4).

  • payment-option - The payment option (NoUpfront | PartialUpfront | AllUpfront).

  • state - The state of the reservation (payment-pending | payment-failed | active | retired).

Type: Array of Filter objects

Required: No


One or more host reservation IDs.

Type: Array of strings

Required: No


The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the returned nextToken value. This value can be between 5 and 500. If maxResults is given a larger value than 500, you receive an error.

Type: Integer

Required: No


The token to use to retrieve the next page of results.

Type: String

Required: No

Response Elements

The following elements are returned by the service.


Details about the reservation's configuration.

Type: Array of HostReservation objects


The token to use to retrieve the next page of results. This value is null when there are no more results to return.

Type: String


The ID of the request.

Type: String


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



This example describes the all the Dedicated Host reservations in your account.

Sample Request &AUTHPARAMS

Sample Response

<DescribeHostReservationsResult xmlns=""> <requestId>d4904fd9-84c3-4ea5-gtyk-a9983EXAMPLE</requestId> <hostReservationSet> <item> <upfrontPrice>0.000</upfrontPrice> <count>2</count> <start>2016-08-01T15:43:15Z</start> <instanceFamily>m4</instanceFamily> <offeringId>hro-0875903778903856fg</offeringId> <duration>31536000</duration> <paymentOption>NoUpfront</paymentOption> <end>2017-08-01T15:43:15Z</end> <hostReservationId>hr-0875903778903856fg</hostReservationId> <state>active</state> <hourlyPrice>1.990</hourlyPrice> <hostIdSet> <item>h-0897086hfkttn</item> <item>h-0891346hytrtn</item> </hostIdSet> </item> </hostReservationSet> </DescribeHostReservationsResult>

See Also

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