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