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