49 49 | crate::client::customize::internal::SendResult<
|
50 50 | crate::operation::enable_organizations_root_credentials_management::EnableOrganizationsRootCredentialsManagementOutput,
|
51 51 | crate::operation::enable_organizations_root_credentials_management::EnableOrganizationsRootCredentialsManagementError,
|
52 52 | >,
|
53 53 | > {
|
54 54 | ::std::boxed::Box::pin(async move { self.config_override(config_override).send().await })
|
55 55 | }
|
56 56 | }
|
57 57 | impl EnableOrganizationsRootCredentialsManagementFluentBuilder {
|
58 58 | /// Creates a new `EnableOrganizationsRootCredentialsManagementFluentBuilder`.
|
59 59 | pub(crate) fn new(handle: ::std::sync::Arc<crate::client::Handle>) -> Self {
|
60 60 | Self {
|
61 61 | handle,
|
62 62 | inner: ::std::default::Default::default(),
|
63 63 | config_override: ::std::option::Option::None,
|
64 64 | }
|
65 65 | }
|
66 66 | /// Access the EnableOrganizationsRootCredentialsManagement as a reference.
|
67 67 | pub fn as_input(
|
68 68 | &self,
|
69 69 | ) -> &crate::operation::enable_organizations_root_credentials_management::builders::EnableOrganizationsRootCredentialsManagementInputBuilder {
|
70 70 | &self.inner
|
71 71 | }
|
72 72 | /// Sends the request and returns the response.
|
73 73 | ///
|
74 74 | /// If an error occurs, an `SdkError` will be returned with additional details that
|
75 75 | /// can be matched against.
|
76 76 | ///
|
77 77 | /// By default, any retryable failures will be retried twice. Retry behavior
|
78 78 | /// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
|
79 - | /// set when configuring the client.
|
79 + | /// set when configuring the client. Note: retries are enabled by default when using
|
80 + | /// `aws_config::load_from_env()` or when using `BehaviorVersion::v2025_01_17()` or later.
|
80 81 | pub async fn send(
|
81 82 | self,
|
82 83 | ) -> ::std::result::Result<
|
83 84 | crate::operation::enable_organizations_root_credentials_management::EnableOrganizationsRootCredentialsManagementOutput,
|
84 85 | ::aws_smithy_runtime_api::client::result::SdkError<
|
85 86 | crate::operation::enable_organizations_root_credentials_management::EnableOrganizationsRootCredentialsManagementError,
|
86 87 | ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
|
87 88 | >,
|
88 89 | > {
|
89 90 | let input = self
|
90 91 | .inner
|
91 92 | .build()
|
92 93 | .map_err(::aws_smithy_runtime_api::client::result::SdkError::construction_failure)?;
|
93 94 | let runtime_plugins = crate::operation::enable_organizations_root_credentials_management::EnableOrganizationsRootCredentialsManagement::operation_runtime_plugins(
|
94 95 | self.handle.runtime_plugins.clone(),
|
95 96 | &self.handle.conf,
|
96 97 | self.config_override,
|
97 98 | );
|
98 99 | crate::operation::enable_organizations_root_credentials_management::EnableOrganizationsRootCredentialsManagement::orchestrate(
|
99 100 | &runtime_plugins,
|
100 101 | input,
|
101 102 | )
|
102 103 | .await
|
103 104 | }
|
104 105 |
|
105 106 | /// Consumes this builder, creating a customizable operation that can be modified before being sent.
|
106 107 | pub fn customize(
|
107 108 | self,
|
108 109 | ) -> crate::client::customize::CustomizableOperation<
|
109 110 | crate::operation::enable_organizations_root_credentials_management::EnableOrganizationsRootCredentialsManagementOutput,
|