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