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