describe_reserved_instances_listings¶
Operation¶
describe_reserved_instances_listings
¶
describe_reserved_instances_listings(request: DescribeReservedInstancesListingsInput | DescribeReservedInstancesListingsInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[DescribeReservedInstancesListingsInputDict]) -> DescribeReservedInstancesListingsOutput
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.
Note
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.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request
|
DescribeReservedInstancesListingsInput | DescribeReservedInstancesListingsInputDict | None
|
The input as a model or dictionary. Pass this or keyword arguments, not both. |
None
|
plugins
|
list[Plugin] | None
|
A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations. |
None
|
**kwargs
|
Unpack[DescribeReservedInstancesListingsInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
DescribeReservedInstancesListingsOutput
|
An instance of |
describe_reserved_instances_listings
async
¶
describe_reserved_instances_listings(request: DescribeReservedInstancesListingsInput | DescribeReservedInstancesListingsInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[DescribeReservedInstancesListingsInputDict]) -> DescribeReservedInstancesListingsOutput
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.
Note
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.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request
|
DescribeReservedInstancesListingsInput | DescribeReservedInstancesListingsInputDict | None
|
The input as a model or dictionary. Pass this or keyword arguments, not both. |
None
|
plugins
|
list[Plugin] | None
|
A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations. |
None
|
**kwargs
|
Unpack[DescribeReservedInstancesListingsInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
DescribeReservedInstancesListingsOutput
|
An instance of |
Input¶
Pass the input as keyword arguments, a positional dictionary, or a positional model object. Pass plugins separately as a keyword argument.
DescribeReservedInstancesListingsInputDict
¶
Bases: TypedDict
Dictionary form of DescribeReservedInstancesListingsInput.
Attributes¶
filters
instance-attribute
¶
filters: Sequence[Filter | FilterDict] | None
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.
DescribeReservedInstancesListingsInput
dataclass
¶
Bases: _SerdeShape
Contains the parameters for DescribeReservedInstancesListings.
Attributes¶
filters
class-attribute
instance-attribute
¶
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.
Output¶
DescribeReservedInstancesListingsOutput
dataclass
¶
Bases: _SerdeShape
Contains the output of DescribeReservedInstancesListings.
Attributes¶
reserved_instances_listings
class-attribute
instance-attribute
¶
reserved_instances_listings: list[ReservedInstancesListing] | None = ...
Information about the Reserved Instance listing.
response_metadata
class-attribute
instance-attribute
¶
Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.