1 1 | // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
|
2 - | pub use crate::operation::describe_host_reservation_offerings::_describe_host_reservation_offerings_output::DescribeHostReservationOfferingsOutputBuilder;
|
3 - |
|
4 2 | pub use crate::operation::describe_host_reservation_offerings::_describe_host_reservation_offerings_input::DescribeHostReservationOfferingsInputBuilder;
|
5 3 |
|
4 + | pub use crate::operation::describe_host_reservation_offerings::_describe_host_reservation_offerings_output::DescribeHostReservationOfferingsOutputBuilder;
|
5 + |
|
6 6 | impl crate::operation::describe_host_reservation_offerings::builders::DescribeHostReservationOfferingsInputBuilder {
|
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_host_reservation_offerings::DescribeHostReservationOfferingsOutput,
|
13 13 | ::aws_smithy_runtime_api::client::result::SdkError<
|
14 14 | crate::operation::describe_host_reservation_offerings::DescribeHostReservationOfferingsError,
|
15 15 | ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
|
16 16 | >,
|
17 17 | > {
|
18 18 | let mut fluent_builder = client.describe_host_reservation_offerings();
|
19 19 | fluent_builder.inner = self;
|
20 20 | fluent_builder.send().await
|
21 21 | }
|
22 22 | }
|
23 23 | /// Fluent builder constructing a request to `DescribeHostReservationOfferings`.
|
24 24 | ///
|
25 25 | /// <p>Describes the Dedicated Host reservations that are available to purchase.</p>
|
26 26 | /// <p>The results describe all of the Dedicated Host reservation offerings, including offerings that might not match the instance family and Region of your Dedicated Hosts. When purchasing an offering, ensure that the instance family and Region of the offering matches that of the Dedicated Hosts with which it is to be associated. For more information about supported instance types, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/dedicated-hosts-overview.html">Dedicated Hosts</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
27 27 | #[derive(::std::clone::Clone, ::std::fmt::Debug)]
|
28 28 | pub struct DescribeHostReservationOfferingsFluentBuilder {
|
29 29 | handle: ::std::sync::Arc<crate::client::Handle>,
|
30 30 | inner: crate::operation::describe_host_reservation_offerings::builders::DescribeHostReservationOfferingsInputBuilder,
|
31 31 | config_override: ::std::option::Option<crate::config::Builder>,
|
32 32 | }
|
33 33 | impl
|
34 34 | crate::client::customize::internal::CustomizableSend<
|
35 35 | crate::operation::describe_host_reservation_offerings::DescribeHostReservationOfferingsOutput,
|