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