72 72 | config_override: crate::config::Builder,
|
73 73 | ) -> crate::client::customize::internal::BoxFuture<
|
74 74 | crate::client::customize::internal::SendResult<
|
75 75 | crate::operation::get_parameters_for_import::GetParametersForImportOutput,
|
76 76 | crate::operation::get_parameters_for_import::GetParametersForImportError,
|
77 77 | >,
|
78 78 | > {
|
79 79 | ::std::boxed::Box::pin(async move { self.config_override(config_override).send().await })
|
80 80 | }
|
81 81 | }
|
82 82 | impl GetParametersForImportFluentBuilder {
|
83 83 | /// Creates a new `GetParametersForImportFluentBuilder`.
|
84 84 | pub(crate) fn new(handle: ::std::sync::Arc<crate::client::Handle>) -> Self {
|
85 85 | Self {
|
86 86 | handle,
|
87 87 | inner: ::std::default::Default::default(),
|
88 88 | config_override: ::std::option::Option::None,
|
89 89 | }
|
90 90 | }
|
91 91 | /// Access the GetParametersForImport as a reference.
|
92 92 | pub fn as_input(&self) -> &crate::operation::get_parameters_for_import::builders::GetParametersForImportInputBuilder {
|
93 93 | &self.inner
|
94 94 | }
|
95 95 | /// Sends the request and returns the response.
|
96 96 | ///
|
97 97 | /// If an error occurs, an `SdkError` will be returned with additional details that
|
98 98 | /// can be matched against.
|
99 99 | ///
|
100 100 | /// By default, any retryable failures will be retried twice. Retry behavior
|
101 101 | /// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
|
102 - | /// set when configuring the client.
|
102 + | /// set when configuring the client. Note: retries are enabled by default when using
|
103 + | /// `aws_config::load_from_env()` or when using `BehaviorVersion::v2025_01_17()` or later.
|
103 104 | pub async fn send(
|
104 105 | self,
|
105 106 | ) -> ::std::result::Result<
|
106 107 | crate::operation::get_parameters_for_import::GetParametersForImportOutput,
|
107 108 | ::aws_smithy_runtime_api::client::result::SdkError<
|
108 109 | crate::operation::get_parameters_for_import::GetParametersForImportError,
|
109 110 | ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
|
110 111 | >,
|
111 112 | > {
|
112 113 | let input = self
|
113 114 | .inner
|
114 115 | .build()
|
115 116 | .map_err(::aws_smithy_runtime_api::client::result::SdkError::construction_failure)?;
|
116 117 | let runtime_plugins = crate::operation::get_parameters_for_import::GetParametersForImport::operation_runtime_plugins(
|
117 118 | self.handle.runtime_plugins.clone(),
|
118 119 | &self.handle.conf,
|
119 120 | self.config_override,
|
120 121 | );
|
121 122 | crate::operation::get_parameters_for_import::GetParametersForImport::orchestrate(&runtime_plugins, input).await
|
122 123 | }
|
123 124 |
|
124 125 | /// Consumes this builder, creating a customizable operation that can be modified before being sent.
|
125 126 | pub fn customize(
|
126 127 | self,
|
127 128 | ) -> crate::client::customize::CustomizableOperation<
|
128 129 | crate::operation::get_parameters_for_import::GetParametersForImportOutput,
|
129 130 | crate::operation::get_parameters_for_import::GetParametersForImportError,
|
130 131 | Self,
|
131 132 | > {
|
132 133 | crate::client::customize::CustomizableOperation::new(self)
|