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