pub struct DescribeReservedInstancesListings<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to DescribeReservedInstancesListings
.
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 Reserved Instance Marketplace in the Amazon EC2 User Guide.
Implementations
impl<C, M, R> DescribeReservedInstancesListings<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> DescribeReservedInstancesListings<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<DescribeReservedInstancesListingsOutput, SdkError<DescribeReservedInstancesListingsError>> where
R::Policy: SmithyRetryPolicy<DescribeReservedInstancesListingsInputOperationOutputAlias, DescribeReservedInstancesListingsOutput, DescribeReservedInstancesListingsError, DescribeReservedInstancesListingsInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<DescribeReservedInstancesListingsOutput, SdkError<DescribeReservedInstancesListingsError>> where
R::Policy: SmithyRetryPolicy<DescribeReservedInstancesListingsInputOperationOutputAlias, DescribeReservedInstancesListingsOutput, DescribeReservedInstancesListingsError, DescribeReservedInstancesListingsInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
Appends an item to Filters
.
To override the contents of this collection use set_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.
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.
One or more Reserved Instance IDs.
One or more Reserved Instance IDs.
One or more Reserved Instance listing IDs.
One or more Reserved Instance listing IDs.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for DescribeReservedInstancesListings<C, M, R>
impl<C, M, R> Send for DescribeReservedInstancesListings<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for DescribeReservedInstancesListings<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for DescribeReservedInstancesListings<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for DescribeReservedInstancesListings<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more