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