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