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