Describe Reserved Instances Listings
ec2_describe_reserved_instances_listings | R Documentation |
Describes your account's Reserved Instance listings in the Reserved Instance Marketplace¶
Description¶
Describes your account's Reserved Instance listings in the Reserved Instance Marketplace.
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 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 to purchase, and the Marketplace matches what you're searching for with what's available. The Marketplace first sells the lowest priced Reserved Instances to you, and continues to sell available Reserved Instance listings to you until your demand is met. You are charged based on the total price of all of the listings that you purchase.
For more information, see Sell in the Reserved Instance Marketplace in the Amazon EC2 User Guide.
The order of the elements in the response, including those within nested structures, might vary. Applications should not assume the elements appear in a particular order.
Usage¶
Arguments¶
Filters
One or more filters.
reserved-instances-id
- The ID of the Reserved Instances.reserved-instances-listing-id
- The ID of the Reserved Instances listing.status
- The status of the Reserved Instance listing (pending
|active
|cancelled
|closed
).status-message
- The reason for the status.
ReservedInstancesId
One or more Reserved Instance IDs.
ReservedInstancesListingId
One or more Reserved Instance listing IDs.
Value¶
A list with the following syntax:
list(
ReservedInstancesListings = list(
list(
ClientToken = "string",
CreateDate = as.POSIXct(
"2015-01-01"
),
InstanceCounts = list(
list(
InstanceCount = 123,
State = "available"|"sold"|"cancelled"|"pending"
)
),
PriceSchedules = list(
list(
Active = TRUE|FALSE,
CurrencyCode = "USD",
Price = 123.0,
Term = 123
)
),
ReservedInstancesId = "string",
ReservedInstancesListingId = "string",
Status = "active"|"pending"|"cancelled"|"closed",
StatusMessage = "string",
Tags = list(
list(
Key = "string",
Value = "string"
)
),
UpdateDate = as.POSIXct(
"2015-01-01"
)
)
)
)