| « PreviousNext » | |
![]() ![]() | Did this page help you? Yes | No | Tell us about it... |
Describes your account's Reserved Instance listings in the Reserved Instance Marketplace. This call returns information, such as the ID of the Reserved Instance to which a listing is associated.
The Reserved Instance Marketplace matches sellers who want to resell Reserved Instance capacity that they no longer need with buyers who want to purchase additional capacity. Reserved Instances bought and sold through the Reserved Instance Marketplace work like any other Reserved Instances.
As a seller, you choose to list some or all of your Reserved Instances, and you specify the upfront price you want to receive for them. Your Reserved Instances are then listed in the Reserved Instance Marketplace and are available for purchase.
As a buyer, you specify the configuration of the Reserved Instance you want to purchase, and the Marketplace will match what you're searching for with what's available. The Marketplace will first sell the lowest priced Reserved Instances to you, and continue to sell available Reserved Instance listings to you until your demand is met. You will be charged based on the total price of all of the listings that you purchase.
For more information about Reserved Instance Marketplace, go to Reserved Instance Marketplace in the Amazon Elastic Compute Cloud User Guide.
ReservedInstancesListingId.nThe information about the Reserved Instance listing wrapped in an item element.
Type: DescribeReservedInstancesListingSetItemType
Default: None
Required: No
ReservedInstancesId.nThe set of Reserved Instances IDs which are used to see associated listings.
Type: DescribeReservedInstancesSetItemType
Default: None
Required: No
Filter.n.NameThe name of a filter. See the Supported Filters section for a list of supported filter names.
Type: String
Default: None
Required: No
Filter.n.Value.mA value for the filter. See the Supported Filters section for a list of supported values for each filter.
Type: String
Default: None
Required: No
Our policy is to provide filters for all ec2-describe calls so that you can limit the response to your specified criteria. Therefore, you can use filters to limit the response when describing Reserved Instances listings, even though you can use other options instead.
For example, you can use a filter or an option to get the listing of Reserved Instances that are in an active state. You can also specify multiple options or filters (for example, to limit the response to the Reserved Instances listings that are in the closed state with a specific status message). The response includes information for a listing only if it matches all options or filters. If there's no match, no special message is returned, the response is simply empty.
You can use wildcards in a filter value. An asterisk (*) matches zero or more characters, and a question mark (?) matches exactly one character. You can escape special characters using a backslash (\) before the character. For example, a value of \*amazon\?\\ searches for the literal string *amazon?\.
The following are the available filters.
statusStatus of the Reserved Instance listing.
Valid values: pending | active | cancelled | closed
Type: String
status-messageReason for the status.
Type: String
reserved-instances-listing-idThe ID of the Reserved Instances listing.
Type: String
reserved-instances-idThe ID of the Reserved Instances.
Type: String
The following elements are returned in a
DescribeReservedInstancesListingsResponseType element.
requestIdThe ID of the request.
Type: xsd:string
reservedInstancesListingsSetThe Reserved Instance listing information wrapped in an item element.
This example shows all the listings associated with your account.
https://ec2.amazonaws.com/?Action=DescribeReservedInstancesListings &AUTHPARAMS
<DescribeReservedInstancesListingsResponse>
<requestId>cec5c904-8f3a-4de5-8f5a-ff7f9EXAMPLE</requestId>
<reservedInstancesListingsSet>
<item>
<reservedInstancesListingId>253dfbf9-c335-4808-b956-d942c9ef5c83</reservedInstancesListingId>
<reservedInstancesId>af9f760e-64a5-4739-b416-a27540bf4b19</reservedInstancesId>
<createDate>2012-07-06T19:35:29.000Z</createDate>
<updateDate>2012-07-06T19:35:30.000Z</updateDate>
<status>active</status>
<statusMessage>ACTIVE</statusMessage>
<instanceCounts>
<item>
<state>Available</state>
<instanceCount>20</instanceCount>
</item>
<item>
<state>Sold</state>
<instanceCount>0</instanceCount>
</item>
<item>
<state>Cancelled</state>
<instanceCount>0</instanceCount>
</item>
<item>
<state>Pending</state>
<instanceCount>0</instanceCount>
</item>
</instanceCounts>
<priceSchedules>
<item>
<term>8</term>
<price>480.0</price>
<currencyCode>USD</currencyCode>
<active>false</active>
</item>
<item>
<term>7</term>
<price>420.0</price>
<currencyCode>USD</currencyCode>
<active>false</active>
</item>
<item>
<term>6</term>
<price>360.0</price>
<currencyCode>USD</currencyCode>
<active>active</active>
</item>
<item>
<term>5</term>
<price>300.0</price>
<currencyCode>USD</currencyCode>
<active>false</active>
</item>
<item>
<term>4</term>
<price>240.0</price>
<currencyCode>USD</currencyCode>
<active>false</active>
</item>
<item>
<term>3</term>
<price>180.0</price>
<currencyCode>USD</currencyCode>
<active>false</active>
</item>
<item>
<term>2</term>
<price>120.0</price>
<currencyCode>USD</currencyCode>
<active>false</active>
</item>
<item>
<term>1</term>
<price>60.0</price>
<currencyCode>USD</currencyCode>
<active>false</active>
</item>
</priceSchedules>
<tagSet/>
<clientToken>myclienttoken1</clientToken>
</item>
</reservedInstancesListingsSet>
</DescribeReservedInstancesListingsResponse>