42 42 | crate::client::customize::internal::SendResult<
|
43 43 | crate::operation::delete_transit_gateway_route_table_announcement::DeleteTransitGatewayRouteTableAnnouncementOutput,
|
44 44 | crate::operation::delete_transit_gateway_route_table_announcement::DeleteTransitGatewayRouteTableAnnouncementError,
|
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 DeleteTransitGatewayRouteTableAnnouncementFluentBuilder {
|
51 51 | /// Creates a new `DeleteTransitGatewayRouteTableAnnouncementFluentBuilder`.
|
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 DeleteTransitGatewayRouteTableAnnouncement as a reference.
|
60 60 | pub fn as_input(
|
61 61 | &self,
|
62 62 | ) -> &crate::operation::delete_transit_gateway_route_table_announcement::builders::DeleteTransitGatewayRouteTableAnnouncementInputBuilder {
|
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::delete_transit_gateway_route_table_announcement::DeleteTransitGatewayRouteTableAnnouncementOutput,
|
77 78 | ::aws_smithy_runtime_api::client::result::SdkError<
|
78 79 | crate::operation::delete_transit_gateway_route_table_announcement::DeleteTransitGatewayRouteTableAnnouncementError,
|
79 80 | ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
|
80 81 | >,
|
81 82 | > {
|
82 83 | let input = self
|