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