1 1 | // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
|
2 - | pub use crate::operation::describe_reserved_instances_listings::_describe_reserved_instances_listings_output::DescribeReservedInstancesListingsOutputBuilder;
|
3 - |
|
4 2 | pub use crate::operation::describe_reserved_instances_listings::_describe_reserved_instances_listings_input::DescribeReservedInstancesListingsInputBuilder;
|
5 3 |
|
4 + | pub use crate::operation::describe_reserved_instances_listings::_describe_reserved_instances_listings_output::DescribeReservedInstancesListingsOutputBuilder;
|
5 + |
|
6 6 | impl crate::operation::describe_reserved_instances_listings::builders::DescribeReservedInstancesListingsInputBuilder {
|
7 7 | /// Sends a request with this input using the given client.
|
8 8 | pub async fn send_with(
|
9 9 | self,
|
10 10 | client: &crate::Client,
|
11 11 | ) -> ::std::result::Result<
|
12 12 | crate::operation::describe_reserved_instances_listings::DescribeReservedInstancesListingsOutput,
|
13 13 | ::aws_smithy_runtime_api::client::result::SdkError<
|
14 14 | crate::operation::describe_reserved_instances_listings::DescribeReservedInstancesListingsError,
|
15 15 | ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
|
16 16 | >,
|
17 17 | > {
|
18 18 | let mut fluent_builder = client.describe_reserved_instances_listings();
|
19 19 | fluent_builder.inner = self;
|
20 20 | fluent_builder.send().await
|
21 21 | }
|
22 22 | }
|
23 23 | /// Fluent builder constructing a request to `DescribeReservedInstancesListings`.
|
24 24 | ///
|
25 25 | /// <p>Describes your account's Reserved Instance listings in the Reserved Instance Marketplace.</p>
|
26 26 | /// <p>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.</p>
|
27 27 | /// <p>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.</p>
|
28 28 | /// <p>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.</p>
|
29 29 | /// <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ri-market-general.html">Sell in the Reserved Instance Marketplace</a> in the <i>Amazon EC2 User Guide</i>.</p><note>
|
30 30 | /// <p>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.</p>
|
31 31 | /// </note>
|
32 32 | #[derive(::std::clone::Clone, ::std::fmt::Debug)]
|
33 33 | pub struct DescribeReservedInstancesListingsFluentBuilder {
|
34 34 | handle: ::std::sync::Arc<crate::client::Handle>,
|
35 35 | inner: crate::operation::describe_reserved_instances_listings::builders::DescribeReservedInstancesListingsInputBuilder,
|