52 52 | crate::client::customize::internal::SendResult<
|
53 53 | crate::operation::put_access_point_configuration_for_object_lambda::PutAccessPointConfigurationForObjectLambdaOutput,
|
54 54 | crate::operation::put_access_point_configuration_for_object_lambda::PutAccessPointConfigurationForObjectLambdaError,
|
55 55 | >,
|
56 56 | > {
|
57 57 | ::std::boxed::Box::pin(async move { self.config_override(config_override).send().await })
|
58 58 | }
|
59 59 | }
|
60 60 | impl PutAccessPointConfigurationForObjectLambdaFluentBuilder {
|
61 61 | /// Creates a new `PutAccessPointConfigurationForObjectLambdaFluentBuilder`.
|
62 62 | pub(crate) fn new(handle: ::std::sync::Arc<crate::client::Handle>) -> Self {
|
63 63 | Self {
|
64 64 | handle,
|
65 65 | inner: ::std::default::Default::default(),
|
66 66 | config_override: ::std::option::Option::None,
|
67 67 | }
|
68 68 | }
|
69 69 | /// Access the PutAccessPointConfigurationForObjectLambda as a reference.
|
70 70 | pub fn as_input(
|
71 71 | &self,
|
72 72 | ) -> &crate::operation::put_access_point_configuration_for_object_lambda::builders::PutAccessPointConfigurationForObjectLambdaInputBuilder {
|
73 73 | &self.inner
|
74 74 | }
|
75 75 | /// Sends the request and returns the response.
|
76 76 | ///
|
77 77 | /// If an error occurs, an `SdkError` will be returned with additional details that
|
78 78 | /// can be matched against.
|
79 79 | ///
|
80 80 | /// By default, any retryable failures will be retried twice. Retry behavior
|
81 81 | /// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
|
82 - | /// set when configuring the client.
|
82 + | /// set when configuring the client. Note: retries are enabled by default when using
|
83 + | /// `aws_config::load_from_env()` or when using `BehaviorVersion::v2025_01_17()` or later.
|
83 84 | pub async fn send(
|
84 85 | self,
|
85 86 | ) -> ::std::result::Result<
|
86 87 | crate::operation::put_access_point_configuration_for_object_lambda::PutAccessPointConfigurationForObjectLambdaOutput,
|
87 88 | ::aws_smithy_runtime_api::client::result::SdkError<
|
88 89 | crate::operation::put_access_point_configuration_for_object_lambda::PutAccessPointConfigurationForObjectLambdaError,
|
89 90 | ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
|
90 91 | >,
|
91 92 | > {
|
92 93 | let input = self
|