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