Skip to main content

aws_sdk_networkfirewall/
error_meta.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2/// All possible error types for this service.
3#[non_exhaustive]
4#[derive(::std::fmt::Debug)]
5pub enum Error {
6    /// <p>Amazon Web Services doesn't currently have enough available capacity to fulfill your request. Try your request later.</p>
7    InsufficientCapacityException(crate::types::error::InsufficientCapacityException),
8    /// <p>Your request is valid, but Network Firewall couldn't perform the operation because of a system problem. Retry your request.</p>
9    InternalServerError(crate::types::error::InternalServerError),
10    /// <p>The operation failed because it's not valid. For example, you might have tried to delete a rule group or firewall policy that's in use.</p>
11    InvalidOperationException(crate::types::error::InvalidOperationException),
12    /// <p>The operation failed because of a problem with your request. Examples include:</p>
13    /// <ul>
14    /// <li>
15    /// <p>You specified an unsupported parameter name or value.</p></li>
16    /// <li>
17    /// <p>You tried to update a property with a value that isn't among the available types.</p></li>
18    /// <li>
19    /// <p>Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the context of the request.</p></li>
20    /// </ul>
21    InvalidRequestException(crate::types::error::InvalidRequestException),
22    /// <p>The policy statement failed validation.</p>
23    InvalidResourcePolicyException(crate::types::error::InvalidResourcePolicyException),
24    /// <p>The token you provided is stale or isn't valid for the operation.</p>
25    InvalidTokenException(crate::types::error::InvalidTokenException),
26    /// <p>Unable to perform the operation because doing so would violate a limit setting.</p>
27    LimitExceededException(crate::types::error::LimitExceededException),
28    /// <p>Unable to send logs to a configured logging destination.</p>
29    LogDestinationPermissionException(crate::types::error::LogDestinationPermissionException),
30    /// <p>Unable to locate a resource using the parameters that you provided.</p>
31    ResourceNotFoundException(crate::types::error::ResourceNotFoundException),
32    /// <p>Unable to change the resource because your account doesn't own it.</p>
33    ResourceOwnerCheckException(crate::types::error::ResourceOwnerCheckException),
34    /// <p>Unable to process the request due to throttling limitations.</p>
35    ThrottlingException(crate::types::error::ThrottlingException),
36    /// <p>The operation you requested isn't supported by Network Firewall.</p>
37    UnsupportedOperationException(crate::types::error::UnsupportedOperationException),
38    /// An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
39    #[deprecated(note = "Matching `Unhandled` directly is not forwards compatible. Instead, match using a \
40    variable wildcard pattern and check `.code()`:
41     \
42    &nbsp;&nbsp;&nbsp;`err if err.code() == Some(\"SpecificExceptionCode\") => { /* handle the error */ }`
43     \
44    See [`ProvideErrorMetadata`](#impl-ProvideErrorMetadata-for-Error) for what information is available for the error.")]
45    Unhandled(crate::error::sealed_unhandled::Unhandled),
46}
47impl ::std::fmt::Display for Error {
48    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
49        match self {
50            Error::InsufficientCapacityException(inner) => inner.fmt(f),
51            Error::InternalServerError(inner) => inner.fmt(f),
52            Error::InvalidOperationException(inner) => inner.fmt(f),
53            Error::InvalidRequestException(inner) => inner.fmt(f),
54            Error::InvalidResourcePolicyException(inner) => inner.fmt(f),
55            Error::InvalidTokenException(inner) => inner.fmt(f),
56            Error::LimitExceededException(inner) => inner.fmt(f),
57            Error::LogDestinationPermissionException(inner) => inner.fmt(f),
58            Error::ResourceNotFoundException(inner) => inner.fmt(f),
59            Error::ResourceOwnerCheckException(inner) => inner.fmt(f),
60            Error::ThrottlingException(inner) => inner.fmt(f),
61            Error::UnsupportedOperationException(inner) => inner.fmt(f),
62            Error::Unhandled(_) => {
63                if let ::std::option::Option::Some(code) = ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self) {
64                    write!(f, "unhandled error ({code})")
65                } else {
66                    f.write_str("unhandled error")
67                }
68            }
69        }
70    }
71}
72impl From<::aws_smithy_types::error::operation::BuildError> for Error {
73    fn from(value: ::aws_smithy_types::error::operation::BuildError) -> Self {
74        Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
75            source: value.into(),
76            meta: ::std::default::Default::default(),
77        })
78    }
79}
80impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for Error {
81    fn meta(&self) -> &::aws_smithy_types::error::metadata::ErrorMetadata {
82        match self {
83            Self::InsufficientCapacityException(inner) => inner.meta(),
84            Self::InternalServerError(inner) => inner.meta(),
85            Self::InvalidOperationException(inner) => inner.meta(),
86            Self::InvalidRequestException(inner) => inner.meta(),
87            Self::InvalidResourcePolicyException(inner) => inner.meta(),
88            Self::InvalidTokenException(inner) => inner.meta(),
89            Self::LimitExceededException(inner) => inner.meta(),
90            Self::LogDestinationPermissionException(inner) => inner.meta(),
91            Self::ResourceNotFoundException(inner) => inner.meta(),
92            Self::ResourceOwnerCheckException(inner) => inner.meta(),
93            Self::ThrottlingException(inner) => inner.meta(),
94            Self::UnsupportedOperationException(inner) => inner.meta(),
95            Self::Unhandled(inner) => &inner.meta,
96        }
97    }
98}
99impl<R>
100    From<
101        ::aws_smithy_runtime_api::client::result::SdkError<
102            crate::operation::accept_network_firewall_transit_gateway_attachment::AcceptNetworkFirewallTransitGatewayAttachmentError,
103            R,
104        >,
105    > for Error
106where
107    R: Send + Sync + std::fmt::Debug + 'static,
108{
109    fn from(
110        err: ::aws_smithy_runtime_api::client::result::SdkError<
111            crate::operation::accept_network_firewall_transit_gateway_attachment::AcceptNetworkFirewallTransitGatewayAttachmentError,
112            R,
113        >,
114    ) -> Self {
115        match err {
116            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
117            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
118                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
119                source: err.into(),
120            }),
121        }
122    }
123}
124impl From<crate::operation::accept_network_firewall_transit_gateway_attachment::AcceptNetworkFirewallTransitGatewayAttachmentError> for Error {
125    fn from(err: crate::operation::accept_network_firewall_transit_gateway_attachment::AcceptNetworkFirewallTransitGatewayAttachmentError) -> Self {
126        match err {
127            crate::operation::accept_network_firewall_transit_gateway_attachment::AcceptNetworkFirewallTransitGatewayAttachmentError::InternalServerError(inner) => Error::InternalServerError(inner),
128            crate::operation::accept_network_firewall_transit_gateway_attachment::AcceptNetworkFirewallTransitGatewayAttachmentError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
129            crate::operation::accept_network_firewall_transit_gateway_attachment::AcceptNetworkFirewallTransitGatewayAttachmentError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
130            crate::operation::accept_network_firewall_transit_gateway_attachment::AcceptNetworkFirewallTransitGatewayAttachmentError::ThrottlingException(inner) => Error::ThrottlingException(inner),
131            crate::operation::accept_network_firewall_transit_gateway_attachment::AcceptNetworkFirewallTransitGatewayAttachmentError::Unhandled(inner) => Error::Unhandled(inner),
132        }
133    }
134}
135impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_availability_zones::AssociateAvailabilityZonesError, R>>
136    for Error
137where
138    R: Send + Sync + std::fmt::Debug + 'static,
139{
140    fn from(
141        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_availability_zones::AssociateAvailabilityZonesError, R>,
142    ) -> Self {
143        match err {
144            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
145            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
146                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
147                source: err.into(),
148            }),
149        }
150    }
151}
152impl From<crate::operation::associate_availability_zones::AssociateAvailabilityZonesError> for Error {
153    fn from(err: crate::operation::associate_availability_zones::AssociateAvailabilityZonesError) -> Self {
154        match err {
155            crate::operation::associate_availability_zones::AssociateAvailabilityZonesError::InsufficientCapacityException(inner) => {
156                Error::InsufficientCapacityException(inner)
157            }
158            crate::operation::associate_availability_zones::AssociateAvailabilityZonesError::InternalServerError(inner) => {
159                Error::InternalServerError(inner)
160            }
161            crate::operation::associate_availability_zones::AssociateAvailabilityZonesError::InvalidOperationException(inner) => {
162                Error::InvalidOperationException(inner)
163            }
164            crate::operation::associate_availability_zones::AssociateAvailabilityZonesError::InvalidRequestException(inner) => {
165                Error::InvalidRequestException(inner)
166            }
167            crate::operation::associate_availability_zones::AssociateAvailabilityZonesError::InvalidTokenException(inner) => {
168                Error::InvalidTokenException(inner)
169            }
170            crate::operation::associate_availability_zones::AssociateAvailabilityZonesError::ResourceNotFoundException(inner) => {
171                Error::ResourceNotFoundException(inner)
172            }
173            crate::operation::associate_availability_zones::AssociateAvailabilityZonesError::ThrottlingException(inner) => {
174                Error::ThrottlingException(inner)
175            }
176            crate::operation::associate_availability_zones::AssociateAvailabilityZonesError::Unhandled(inner) => Error::Unhandled(inner),
177        }
178    }
179}
180impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_firewall_policy::AssociateFirewallPolicyError, R>>
181    for Error
182where
183    R: Send + Sync + std::fmt::Debug + 'static,
184{
185    fn from(
186        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_firewall_policy::AssociateFirewallPolicyError, R>,
187    ) -> Self {
188        match err {
189            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
190            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
191                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
192                source: err.into(),
193            }),
194        }
195    }
196}
197impl From<crate::operation::associate_firewall_policy::AssociateFirewallPolicyError> for Error {
198    fn from(err: crate::operation::associate_firewall_policy::AssociateFirewallPolicyError) -> Self {
199        match err {
200            crate::operation::associate_firewall_policy::AssociateFirewallPolicyError::InternalServerError(inner) => {
201                Error::InternalServerError(inner)
202            }
203            crate::operation::associate_firewall_policy::AssociateFirewallPolicyError::InvalidOperationException(inner) => {
204                Error::InvalidOperationException(inner)
205            }
206            crate::operation::associate_firewall_policy::AssociateFirewallPolicyError::InvalidRequestException(inner) => {
207                Error::InvalidRequestException(inner)
208            }
209            crate::operation::associate_firewall_policy::AssociateFirewallPolicyError::InvalidTokenException(inner) => {
210                Error::InvalidTokenException(inner)
211            }
212            crate::operation::associate_firewall_policy::AssociateFirewallPolicyError::ResourceNotFoundException(inner) => {
213                Error::ResourceNotFoundException(inner)
214            }
215            crate::operation::associate_firewall_policy::AssociateFirewallPolicyError::ThrottlingException(inner) => {
216                Error::ThrottlingException(inner)
217            }
218            crate::operation::associate_firewall_policy::AssociateFirewallPolicyError::Unhandled(inner) => Error::Unhandled(inner),
219        }
220    }
221}
222impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_subnets::AssociateSubnetsError, R>> for Error
223where
224    R: Send + Sync + std::fmt::Debug + 'static,
225{
226    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_subnets::AssociateSubnetsError, R>) -> Self {
227        match err {
228            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
229            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
230                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
231                source: err.into(),
232            }),
233        }
234    }
235}
236impl From<crate::operation::associate_subnets::AssociateSubnetsError> for Error {
237    fn from(err: crate::operation::associate_subnets::AssociateSubnetsError) -> Self {
238        match err {
239            crate::operation::associate_subnets::AssociateSubnetsError::InsufficientCapacityException(inner) => {
240                Error::InsufficientCapacityException(inner)
241            }
242            crate::operation::associate_subnets::AssociateSubnetsError::InternalServerError(inner) => Error::InternalServerError(inner),
243            crate::operation::associate_subnets::AssociateSubnetsError::InvalidOperationException(inner) => Error::InvalidOperationException(inner),
244            crate::operation::associate_subnets::AssociateSubnetsError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
245            crate::operation::associate_subnets::AssociateSubnetsError::InvalidTokenException(inner) => Error::InvalidTokenException(inner),
246            crate::operation::associate_subnets::AssociateSubnetsError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
247            crate::operation::associate_subnets::AssociateSubnetsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
248            crate::operation::associate_subnets::AssociateSubnetsError::Unhandled(inner) => Error::Unhandled(inner),
249        }
250    }
251}
252impl<R>
253    From<
254        ::aws_smithy_runtime_api::client::result::SdkError<
255            crate::operation::attach_rule_groups_to_proxy_configuration::AttachRuleGroupsToProxyConfigurationError,
256            R,
257        >,
258    > for Error
259where
260    R: Send + Sync + std::fmt::Debug + 'static,
261{
262    fn from(
263        err: ::aws_smithy_runtime_api::client::result::SdkError<
264            crate::operation::attach_rule_groups_to_proxy_configuration::AttachRuleGroupsToProxyConfigurationError,
265            R,
266        >,
267    ) -> Self {
268        match err {
269            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
270            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
271                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
272                source: err.into(),
273            }),
274        }
275    }
276}
277impl From<crate::operation::attach_rule_groups_to_proxy_configuration::AttachRuleGroupsToProxyConfigurationError> for Error {
278    fn from(err: crate::operation::attach_rule_groups_to_proxy_configuration::AttachRuleGroupsToProxyConfigurationError) -> Self {
279        match err {
280            crate::operation::attach_rule_groups_to_proxy_configuration::AttachRuleGroupsToProxyConfigurationError::InternalServerError(inner) => {
281                Error::InternalServerError(inner)
282            }
283            crate::operation::attach_rule_groups_to_proxy_configuration::AttachRuleGroupsToProxyConfigurationError::InvalidRequestException(
284                inner,
285            ) => Error::InvalidRequestException(inner),
286            crate::operation::attach_rule_groups_to_proxy_configuration::AttachRuleGroupsToProxyConfigurationError::ResourceNotFoundException(
287                inner,
288            ) => Error::ResourceNotFoundException(inner),
289            crate::operation::attach_rule_groups_to_proxy_configuration::AttachRuleGroupsToProxyConfigurationError::ThrottlingException(inner) => {
290                Error::ThrottlingException(inner)
291            }
292            crate::operation::attach_rule_groups_to_proxy_configuration::AttachRuleGroupsToProxyConfigurationError::Unhandled(inner) => {
293                Error::Unhandled(inner)
294            }
295        }
296    }
297}
298impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_container_association::CreateContainerAssociationError, R>>
299    for Error
300where
301    R: Send + Sync + std::fmt::Debug + 'static,
302{
303    fn from(
304        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_container_association::CreateContainerAssociationError, R>,
305    ) -> Self {
306        match err {
307            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
308            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
309                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
310                source: err.into(),
311            }),
312        }
313    }
314}
315impl From<crate::operation::create_container_association::CreateContainerAssociationError> for Error {
316    fn from(err: crate::operation::create_container_association::CreateContainerAssociationError) -> Self {
317        match err {
318            crate::operation::create_container_association::CreateContainerAssociationError::InsufficientCapacityException(inner) => {
319                Error::InsufficientCapacityException(inner)
320            }
321            crate::operation::create_container_association::CreateContainerAssociationError::InternalServerError(inner) => {
322                Error::InternalServerError(inner)
323            }
324            crate::operation::create_container_association::CreateContainerAssociationError::InvalidRequestException(inner) => {
325                Error::InvalidRequestException(inner)
326            }
327            crate::operation::create_container_association::CreateContainerAssociationError::LimitExceededException(inner) => {
328                Error::LimitExceededException(inner)
329            }
330            crate::operation::create_container_association::CreateContainerAssociationError::ThrottlingException(inner) => {
331                Error::ThrottlingException(inner)
332            }
333            crate::operation::create_container_association::CreateContainerAssociationError::Unhandled(inner) => Error::Unhandled(inner),
334        }
335    }
336}
337impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_firewall::CreateFirewallError, R>> for Error
338where
339    R: Send + Sync + std::fmt::Debug + 'static,
340{
341    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_firewall::CreateFirewallError, R>) -> Self {
342        match err {
343            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
344            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
345                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
346                source: err.into(),
347            }),
348        }
349    }
350}
351impl From<crate::operation::create_firewall::CreateFirewallError> for Error {
352    fn from(err: crate::operation::create_firewall::CreateFirewallError) -> Self {
353        match err {
354            crate::operation::create_firewall::CreateFirewallError::InsufficientCapacityException(inner) => {
355                Error::InsufficientCapacityException(inner)
356            }
357            crate::operation::create_firewall::CreateFirewallError::InternalServerError(inner) => Error::InternalServerError(inner),
358            crate::operation::create_firewall::CreateFirewallError::InvalidOperationException(inner) => Error::InvalidOperationException(inner),
359            crate::operation::create_firewall::CreateFirewallError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
360            crate::operation::create_firewall::CreateFirewallError::LimitExceededException(inner) => Error::LimitExceededException(inner),
361            crate::operation::create_firewall::CreateFirewallError::ThrottlingException(inner) => Error::ThrottlingException(inner),
362            crate::operation::create_firewall::CreateFirewallError::Unhandled(inner) => Error::Unhandled(inner),
363        }
364    }
365}
366impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_firewall_policy::CreateFirewallPolicyError, R>> for Error
367where
368    R: Send + Sync + std::fmt::Debug + 'static,
369{
370    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_firewall_policy::CreateFirewallPolicyError, R>) -> Self {
371        match err {
372            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
373            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
374                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
375                source: err.into(),
376            }),
377        }
378    }
379}
380impl From<crate::operation::create_firewall_policy::CreateFirewallPolicyError> for Error {
381    fn from(err: crate::operation::create_firewall_policy::CreateFirewallPolicyError) -> Self {
382        match err {
383            crate::operation::create_firewall_policy::CreateFirewallPolicyError::InsufficientCapacityException(inner) => {
384                Error::InsufficientCapacityException(inner)
385            }
386            crate::operation::create_firewall_policy::CreateFirewallPolicyError::InternalServerError(inner) => Error::InternalServerError(inner),
387            crate::operation::create_firewall_policy::CreateFirewallPolicyError::InvalidRequestException(inner) => {
388                Error::InvalidRequestException(inner)
389            }
390            crate::operation::create_firewall_policy::CreateFirewallPolicyError::LimitExceededException(inner) => {
391                Error::LimitExceededException(inner)
392            }
393            crate::operation::create_firewall_policy::CreateFirewallPolicyError::ThrottlingException(inner) => Error::ThrottlingException(inner),
394            crate::operation::create_firewall_policy::CreateFirewallPolicyError::Unhandled(inner) => Error::Unhandled(inner),
395        }
396    }
397}
398impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_proxy::CreateProxyError, R>> for Error
399where
400    R: Send + Sync + std::fmt::Debug + 'static,
401{
402    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_proxy::CreateProxyError, R>) -> Self {
403        match err {
404            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
405            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
406                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
407                source: err.into(),
408            }),
409        }
410    }
411}
412impl From<crate::operation::create_proxy::CreateProxyError> for Error {
413    fn from(err: crate::operation::create_proxy::CreateProxyError) -> Self {
414        match err {
415            crate::operation::create_proxy::CreateProxyError::InternalServerError(inner) => Error::InternalServerError(inner),
416            crate::operation::create_proxy::CreateProxyError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
417            crate::operation::create_proxy::CreateProxyError::LimitExceededException(inner) => Error::LimitExceededException(inner),
418            crate::operation::create_proxy::CreateProxyError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
419            crate::operation::create_proxy::CreateProxyError::ThrottlingException(inner) => Error::ThrottlingException(inner),
420            crate::operation::create_proxy::CreateProxyError::UnsupportedOperationException(inner) => Error::UnsupportedOperationException(inner),
421            crate::operation::create_proxy::CreateProxyError::Unhandled(inner) => Error::Unhandled(inner),
422        }
423    }
424}
425impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_proxy_configuration::CreateProxyConfigurationError, R>>
426    for Error
427where
428    R: Send + Sync + std::fmt::Debug + 'static,
429{
430    fn from(
431        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_proxy_configuration::CreateProxyConfigurationError, R>,
432    ) -> Self {
433        match err {
434            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
435            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
436                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
437                source: err.into(),
438            }),
439        }
440    }
441}
442impl From<crate::operation::create_proxy_configuration::CreateProxyConfigurationError> for Error {
443    fn from(err: crate::operation::create_proxy_configuration::CreateProxyConfigurationError) -> Self {
444        match err {
445            crate::operation::create_proxy_configuration::CreateProxyConfigurationError::InternalServerError(inner) => {
446                Error::InternalServerError(inner)
447            }
448            crate::operation::create_proxy_configuration::CreateProxyConfigurationError::InvalidRequestException(inner) => {
449                Error::InvalidRequestException(inner)
450            }
451            crate::operation::create_proxy_configuration::CreateProxyConfigurationError::LimitExceededException(inner) => {
452                Error::LimitExceededException(inner)
453            }
454            crate::operation::create_proxy_configuration::CreateProxyConfigurationError::ResourceNotFoundException(inner) => {
455                Error::ResourceNotFoundException(inner)
456            }
457            crate::operation::create_proxy_configuration::CreateProxyConfigurationError::ThrottlingException(inner) => {
458                Error::ThrottlingException(inner)
459            }
460            crate::operation::create_proxy_configuration::CreateProxyConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
461        }
462    }
463}
464impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_proxy_rule_group::CreateProxyRuleGroupError, R>> for Error
465where
466    R: Send + Sync + std::fmt::Debug + 'static,
467{
468    fn from(
469        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_proxy_rule_group::CreateProxyRuleGroupError, R>,
470    ) -> Self {
471        match err {
472            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
473            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
474                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
475                source: err.into(),
476            }),
477        }
478    }
479}
480impl From<crate::operation::create_proxy_rule_group::CreateProxyRuleGroupError> for Error {
481    fn from(err: crate::operation::create_proxy_rule_group::CreateProxyRuleGroupError) -> Self {
482        match err {
483            crate::operation::create_proxy_rule_group::CreateProxyRuleGroupError::InternalServerError(inner) => Error::InternalServerError(inner),
484            crate::operation::create_proxy_rule_group::CreateProxyRuleGroupError::InvalidRequestException(inner) => {
485                Error::InvalidRequestException(inner)
486            }
487            crate::operation::create_proxy_rule_group::CreateProxyRuleGroupError::LimitExceededException(inner) => {
488                Error::LimitExceededException(inner)
489            }
490            crate::operation::create_proxy_rule_group::CreateProxyRuleGroupError::ThrottlingException(inner) => Error::ThrottlingException(inner),
491            crate::operation::create_proxy_rule_group::CreateProxyRuleGroupError::Unhandled(inner) => Error::Unhandled(inner),
492        }
493    }
494}
495impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_proxy_rules::CreateProxyRulesError, R>> for Error
496where
497    R: Send + Sync + std::fmt::Debug + 'static,
498{
499    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_proxy_rules::CreateProxyRulesError, R>) -> Self {
500        match err {
501            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
502            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
503                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
504                source: err.into(),
505            }),
506        }
507    }
508}
509impl From<crate::operation::create_proxy_rules::CreateProxyRulesError> for Error {
510    fn from(err: crate::operation::create_proxy_rules::CreateProxyRulesError) -> Self {
511        match err {
512            crate::operation::create_proxy_rules::CreateProxyRulesError::InternalServerError(inner) => Error::InternalServerError(inner),
513            crate::operation::create_proxy_rules::CreateProxyRulesError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
514            crate::operation::create_proxy_rules::CreateProxyRulesError::ThrottlingException(inner) => Error::ThrottlingException(inner),
515            crate::operation::create_proxy_rules::CreateProxyRulesError::Unhandled(inner) => Error::Unhandled(inner),
516        }
517    }
518}
519impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_rule_group::CreateRuleGroupError, R>> for Error
520where
521    R: Send + Sync + std::fmt::Debug + 'static,
522{
523    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_rule_group::CreateRuleGroupError, R>) -> Self {
524        match err {
525            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
526            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
527                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
528                source: err.into(),
529            }),
530        }
531    }
532}
533impl From<crate::operation::create_rule_group::CreateRuleGroupError> for Error {
534    fn from(err: crate::operation::create_rule_group::CreateRuleGroupError) -> Self {
535        match err {
536            crate::operation::create_rule_group::CreateRuleGroupError::InsufficientCapacityException(inner) => {
537                Error::InsufficientCapacityException(inner)
538            }
539            crate::operation::create_rule_group::CreateRuleGroupError::InternalServerError(inner) => Error::InternalServerError(inner),
540            crate::operation::create_rule_group::CreateRuleGroupError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
541            crate::operation::create_rule_group::CreateRuleGroupError::LimitExceededException(inner) => Error::LimitExceededException(inner),
542            crate::operation::create_rule_group::CreateRuleGroupError::ThrottlingException(inner) => Error::ThrottlingException(inner),
543            crate::operation::create_rule_group::CreateRuleGroupError::Unhandled(inner) => Error::Unhandled(inner),
544        }
545    }
546}
547impl<R>
548    From<
549        ::aws_smithy_runtime_api::client::result::SdkError<
550            crate::operation::create_tls_inspection_configuration::CreateTLSInspectionConfigurationError,
551            R,
552        >,
553    > for Error
554where
555    R: Send + Sync + std::fmt::Debug + 'static,
556{
557    fn from(
558        err: ::aws_smithy_runtime_api::client::result::SdkError<
559            crate::operation::create_tls_inspection_configuration::CreateTLSInspectionConfigurationError,
560            R,
561        >,
562    ) -> Self {
563        match err {
564            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
565            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
566                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
567                source: err.into(),
568            }),
569        }
570    }
571}
572impl From<crate::operation::create_tls_inspection_configuration::CreateTLSInspectionConfigurationError> for Error {
573    fn from(err: crate::operation::create_tls_inspection_configuration::CreateTLSInspectionConfigurationError) -> Self {
574        match err {
575            crate::operation::create_tls_inspection_configuration::CreateTLSInspectionConfigurationError::InsufficientCapacityException(inner) => {
576                Error::InsufficientCapacityException(inner)
577            }
578            crate::operation::create_tls_inspection_configuration::CreateTLSInspectionConfigurationError::InternalServerError(inner) => {
579                Error::InternalServerError(inner)
580            }
581            crate::operation::create_tls_inspection_configuration::CreateTLSInspectionConfigurationError::InvalidRequestException(inner) => {
582                Error::InvalidRequestException(inner)
583            }
584            crate::operation::create_tls_inspection_configuration::CreateTLSInspectionConfigurationError::LimitExceededException(inner) => {
585                Error::LimitExceededException(inner)
586            }
587            crate::operation::create_tls_inspection_configuration::CreateTLSInspectionConfigurationError::ThrottlingException(inner) => {
588                Error::ThrottlingException(inner)
589            }
590            crate::operation::create_tls_inspection_configuration::CreateTLSInspectionConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
591        }
592    }
593}
594impl<R>
595    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpc_endpoint_association::CreateVpcEndpointAssociationError, R>>
596    for Error
597where
598    R: Send + Sync + std::fmt::Debug + 'static,
599{
600    fn from(
601        err: ::aws_smithy_runtime_api::client::result::SdkError<
602            crate::operation::create_vpc_endpoint_association::CreateVpcEndpointAssociationError,
603            R,
604        >,
605    ) -> Self {
606        match err {
607            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
608            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
609                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
610                source: err.into(),
611            }),
612        }
613    }
614}
615impl From<crate::operation::create_vpc_endpoint_association::CreateVpcEndpointAssociationError> for Error {
616    fn from(err: crate::operation::create_vpc_endpoint_association::CreateVpcEndpointAssociationError) -> Self {
617        match err {
618            crate::operation::create_vpc_endpoint_association::CreateVpcEndpointAssociationError::InsufficientCapacityException(inner) => {
619                Error::InsufficientCapacityException(inner)
620            }
621            crate::operation::create_vpc_endpoint_association::CreateVpcEndpointAssociationError::InternalServerError(inner) => {
622                Error::InternalServerError(inner)
623            }
624            crate::operation::create_vpc_endpoint_association::CreateVpcEndpointAssociationError::InvalidOperationException(inner) => {
625                Error::InvalidOperationException(inner)
626            }
627            crate::operation::create_vpc_endpoint_association::CreateVpcEndpointAssociationError::InvalidRequestException(inner) => {
628                Error::InvalidRequestException(inner)
629            }
630            crate::operation::create_vpc_endpoint_association::CreateVpcEndpointAssociationError::LimitExceededException(inner) => {
631                Error::LimitExceededException(inner)
632            }
633            crate::operation::create_vpc_endpoint_association::CreateVpcEndpointAssociationError::ResourceNotFoundException(inner) => {
634                Error::ResourceNotFoundException(inner)
635            }
636            crate::operation::create_vpc_endpoint_association::CreateVpcEndpointAssociationError::ThrottlingException(inner) => {
637                Error::ThrottlingException(inner)
638            }
639            crate::operation::create_vpc_endpoint_association::CreateVpcEndpointAssociationError::Unhandled(inner) => Error::Unhandled(inner),
640        }
641    }
642}
643impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_container_association::DeleteContainerAssociationError, R>>
644    for Error
645where
646    R: Send + Sync + std::fmt::Debug + 'static,
647{
648    fn from(
649        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_container_association::DeleteContainerAssociationError, R>,
650    ) -> Self {
651        match err {
652            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
653            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
654                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
655                source: err.into(),
656            }),
657        }
658    }
659}
660impl From<crate::operation::delete_container_association::DeleteContainerAssociationError> for Error {
661    fn from(err: crate::operation::delete_container_association::DeleteContainerAssociationError) -> Self {
662        match err {
663            crate::operation::delete_container_association::DeleteContainerAssociationError::InternalServerError(inner) => {
664                Error::InternalServerError(inner)
665            }
666            crate::operation::delete_container_association::DeleteContainerAssociationError::InvalidOperationException(inner) => {
667                Error::InvalidOperationException(inner)
668            }
669            crate::operation::delete_container_association::DeleteContainerAssociationError::InvalidRequestException(inner) => {
670                Error::InvalidRequestException(inner)
671            }
672            crate::operation::delete_container_association::DeleteContainerAssociationError::ResourceNotFoundException(inner) => {
673                Error::ResourceNotFoundException(inner)
674            }
675            crate::operation::delete_container_association::DeleteContainerAssociationError::ThrottlingException(inner) => {
676                Error::ThrottlingException(inner)
677            }
678            crate::operation::delete_container_association::DeleteContainerAssociationError::Unhandled(inner) => Error::Unhandled(inner),
679        }
680    }
681}
682impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_firewall::DeleteFirewallError, R>> for Error
683where
684    R: Send + Sync + std::fmt::Debug + 'static,
685{
686    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_firewall::DeleteFirewallError, R>) -> Self {
687        match err {
688            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
689            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
690                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
691                source: err.into(),
692            }),
693        }
694    }
695}
696impl From<crate::operation::delete_firewall::DeleteFirewallError> for Error {
697    fn from(err: crate::operation::delete_firewall::DeleteFirewallError) -> Self {
698        match err {
699            crate::operation::delete_firewall::DeleteFirewallError::InternalServerError(inner) => Error::InternalServerError(inner),
700            crate::operation::delete_firewall::DeleteFirewallError::InvalidOperationException(inner) => Error::InvalidOperationException(inner),
701            crate::operation::delete_firewall::DeleteFirewallError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
702            crate::operation::delete_firewall::DeleteFirewallError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
703            crate::operation::delete_firewall::DeleteFirewallError::ThrottlingException(inner) => Error::ThrottlingException(inner),
704            crate::operation::delete_firewall::DeleteFirewallError::UnsupportedOperationException(inner) => {
705                Error::UnsupportedOperationException(inner)
706            }
707            crate::operation::delete_firewall::DeleteFirewallError::Unhandled(inner) => Error::Unhandled(inner),
708        }
709    }
710}
711impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_firewall_policy::DeleteFirewallPolicyError, R>> for Error
712where
713    R: Send + Sync + std::fmt::Debug + 'static,
714{
715    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_firewall_policy::DeleteFirewallPolicyError, R>) -> Self {
716        match err {
717            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
718            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
719                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
720                source: err.into(),
721            }),
722        }
723    }
724}
725impl From<crate::operation::delete_firewall_policy::DeleteFirewallPolicyError> for Error {
726    fn from(err: crate::operation::delete_firewall_policy::DeleteFirewallPolicyError) -> Self {
727        match err {
728            crate::operation::delete_firewall_policy::DeleteFirewallPolicyError::InternalServerError(inner) => Error::InternalServerError(inner),
729            crate::operation::delete_firewall_policy::DeleteFirewallPolicyError::InvalidOperationException(inner) => {
730                Error::InvalidOperationException(inner)
731            }
732            crate::operation::delete_firewall_policy::DeleteFirewallPolicyError::InvalidRequestException(inner) => {
733                Error::InvalidRequestException(inner)
734            }
735            crate::operation::delete_firewall_policy::DeleteFirewallPolicyError::ResourceNotFoundException(inner) => {
736                Error::ResourceNotFoundException(inner)
737            }
738            crate::operation::delete_firewall_policy::DeleteFirewallPolicyError::ThrottlingException(inner) => Error::ThrottlingException(inner),
739            crate::operation::delete_firewall_policy::DeleteFirewallPolicyError::UnsupportedOperationException(inner) => {
740                Error::UnsupportedOperationException(inner)
741            }
742            crate::operation::delete_firewall_policy::DeleteFirewallPolicyError::Unhandled(inner) => Error::Unhandled(inner),
743        }
744    }
745}
746impl<R>
747    From<
748        ::aws_smithy_runtime_api::client::result::SdkError<
749            crate::operation::delete_network_firewall_transit_gateway_attachment::DeleteNetworkFirewallTransitGatewayAttachmentError,
750            R,
751        >,
752    > for Error
753where
754    R: Send + Sync + std::fmt::Debug + 'static,
755{
756    fn from(
757        err: ::aws_smithy_runtime_api::client::result::SdkError<
758            crate::operation::delete_network_firewall_transit_gateway_attachment::DeleteNetworkFirewallTransitGatewayAttachmentError,
759            R,
760        >,
761    ) -> Self {
762        match err {
763            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
764            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
765                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
766                source: err.into(),
767            }),
768        }
769    }
770}
771impl From<crate::operation::delete_network_firewall_transit_gateway_attachment::DeleteNetworkFirewallTransitGatewayAttachmentError> for Error {
772    fn from(err: crate::operation::delete_network_firewall_transit_gateway_attachment::DeleteNetworkFirewallTransitGatewayAttachmentError) -> Self {
773        match err {
774            crate::operation::delete_network_firewall_transit_gateway_attachment::DeleteNetworkFirewallTransitGatewayAttachmentError::InternalServerError(inner) => Error::InternalServerError(inner),
775            crate::operation::delete_network_firewall_transit_gateway_attachment::DeleteNetworkFirewallTransitGatewayAttachmentError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
776            crate::operation::delete_network_firewall_transit_gateway_attachment::DeleteNetworkFirewallTransitGatewayAttachmentError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
777            crate::operation::delete_network_firewall_transit_gateway_attachment::DeleteNetworkFirewallTransitGatewayAttachmentError::ThrottlingException(inner) => Error::ThrottlingException(inner),
778            crate::operation::delete_network_firewall_transit_gateway_attachment::DeleteNetworkFirewallTransitGatewayAttachmentError::Unhandled(inner) => Error::Unhandled(inner),
779        }
780    }
781}
782impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_proxy::DeleteProxyError, R>> for Error
783where
784    R: Send + Sync + std::fmt::Debug + 'static,
785{
786    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_proxy::DeleteProxyError, R>) -> Self {
787        match err {
788            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
789            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
790                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
791                source: err.into(),
792            }),
793        }
794    }
795}
796impl From<crate::operation::delete_proxy::DeleteProxyError> for Error {
797    fn from(err: crate::operation::delete_proxy::DeleteProxyError) -> Self {
798        match err {
799            crate::operation::delete_proxy::DeleteProxyError::InternalServerError(inner) => Error::InternalServerError(inner),
800            crate::operation::delete_proxy::DeleteProxyError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
801            crate::operation::delete_proxy::DeleteProxyError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
802            crate::operation::delete_proxy::DeleteProxyError::ThrottlingException(inner) => Error::ThrottlingException(inner),
803            crate::operation::delete_proxy::DeleteProxyError::UnsupportedOperationException(inner) => Error::UnsupportedOperationException(inner),
804            crate::operation::delete_proxy::DeleteProxyError::Unhandled(inner) => Error::Unhandled(inner),
805        }
806    }
807}
808impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_proxy_configuration::DeleteProxyConfigurationError, R>>
809    for Error
810where
811    R: Send + Sync + std::fmt::Debug + 'static,
812{
813    fn from(
814        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_proxy_configuration::DeleteProxyConfigurationError, R>,
815    ) -> Self {
816        match err {
817            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
818            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
819                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
820                source: err.into(),
821            }),
822        }
823    }
824}
825impl From<crate::operation::delete_proxy_configuration::DeleteProxyConfigurationError> for Error {
826    fn from(err: crate::operation::delete_proxy_configuration::DeleteProxyConfigurationError) -> Self {
827        match err {
828            crate::operation::delete_proxy_configuration::DeleteProxyConfigurationError::InternalServerError(inner) => {
829                Error::InternalServerError(inner)
830            }
831            crate::operation::delete_proxy_configuration::DeleteProxyConfigurationError::InvalidRequestException(inner) => {
832                Error::InvalidRequestException(inner)
833            }
834            crate::operation::delete_proxy_configuration::DeleteProxyConfigurationError::ResourceNotFoundException(inner) => {
835                Error::ResourceNotFoundException(inner)
836            }
837            crate::operation::delete_proxy_configuration::DeleteProxyConfigurationError::ThrottlingException(inner) => {
838                Error::ThrottlingException(inner)
839            }
840            crate::operation::delete_proxy_configuration::DeleteProxyConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
841        }
842    }
843}
844impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_proxy_rule_group::DeleteProxyRuleGroupError, R>> for Error
845where
846    R: Send + Sync + std::fmt::Debug + 'static,
847{
848    fn from(
849        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_proxy_rule_group::DeleteProxyRuleGroupError, R>,
850    ) -> Self {
851        match err {
852            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
853            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
854                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
855                source: err.into(),
856            }),
857        }
858    }
859}
860impl From<crate::operation::delete_proxy_rule_group::DeleteProxyRuleGroupError> for Error {
861    fn from(err: crate::operation::delete_proxy_rule_group::DeleteProxyRuleGroupError) -> Self {
862        match err {
863            crate::operation::delete_proxy_rule_group::DeleteProxyRuleGroupError::InternalServerError(inner) => Error::InternalServerError(inner),
864            crate::operation::delete_proxy_rule_group::DeleteProxyRuleGroupError::InvalidRequestException(inner) => {
865                Error::InvalidRequestException(inner)
866            }
867            crate::operation::delete_proxy_rule_group::DeleteProxyRuleGroupError::ResourceNotFoundException(inner) => {
868                Error::ResourceNotFoundException(inner)
869            }
870            crate::operation::delete_proxy_rule_group::DeleteProxyRuleGroupError::ThrottlingException(inner) => Error::ThrottlingException(inner),
871            crate::operation::delete_proxy_rule_group::DeleteProxyRuleGroupError::Unhandled(inner) => Error::Unhandled(inner),
872        }
873    }
874}
875impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_proxy_rules::DeleteProxyRulesError, R>> for Error
876where
877    R: Send + Sync + std::fmt::Debug + 'static,
878{
879    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_proxy_rules::DeleteProxyRulesError, R>) -> Self {
880        match err {
881            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
882            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
883                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
884                source: err.into(),
885            }),
886        }
887    }
888}
889impl From<crate::operation::delete_proxy_rules::DeleteProxyRulesError> for Error {
890    fn from(err: crate::operation::delete_proxy_rules::DeleteProxyRulesError) -> Self {
891        match err {
892            crate::operation::delete_proxy_rules::DeleteProxyRulesError::InternalServerError(inner) => Error::InternalServerError(inner),
893            crate::operation::delete_proxy_rules::DeleteProxyRulesError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
894            crate::operation::delete_proxy_rules::DeleteProxyRulesError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
895            crate::operation::delete_proxy_rules::DeleteProxyRulesError::ThrottlingException(inner) => Error::ThrottlingException(inner),
896            crate::operation::delete_proxy_rules::DeleteProxyRulesError::Unhandled(inner) => Error::Unhandled(inner),
897        }
898    }
899}
900impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_resource_policy::DeleteResourcePolicyError, R>> for Error
901where
902    R: Send + Sync + std::fmt::Debug + 'static,
903{
904    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_resource_policy::DeleteResourcePolicyError, R>) -> Self {
905        match err {
906            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
907            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
908                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
909                source: err.into(),
910            }),
911        }
912    }
913}
914impl From<crate::operation::delete_resource_policy::DeleteResourcePolicyError> for Error {
915    fn from(err: crate::operation::delete_resource_policy::DeleteResourcePolicyError) -> Self {
916        match err {
917            crate::operation::delete_resource_policy::DeleteResourcePolicyError::InternalServerError(inner) => Error::InternalServerError(inner),
918            crate::operation::delete_resource_policy::DeleteResourcePolicyError::InvalidRequestException(inner) => {
919                Error::InvalidRequestException(inner)
920            }
921            crate::operation::delete_resource_policy::DeleteResourcePolicyError::InvalidResourcePolicyException(inner) => {
922                Error::InvalidResourcePolicyException(inner)
923            }
924            crate::operation::delete_resource_policy::DeleteResourcePolicyError::ResourceNotFoundException(inner) => {
925                Error::ResourceNotFoundException(inner)
926            }
927            crate::operation::delete_resource_policy::DeleteResourcePolicyError::ThrottlingException(inner) => Error::ThrottlingException(inner),
928            crate::operation::delete_resource_policy::DeleteResourcePolicyError::Unhandled(inner) => Error::Unhandled(inner),
929        }
930    }
931}
932impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_rule_group::DeleteRuleGroupError, R>> for Error
933where
934    R: Send + Sync + std::fmt::Debug + 'static,
935{
936    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_rule_group::DeleteRuleGroupError, R>) -> Self {
937        match err {
938            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
939            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
940                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
941                source: err.into(),
942            }),
943        }
944    }
945}
946impl From<crate::operation::delete_rule_group::DeleteRuleGroupError> for Error {
947    fn from(err: crate::operation::delete_rule_group::DeleteRuleGroupError) -> Self {
948        match err {
949            crate::operation::delete_rule_group::DeleteRuleGroupError::InternalServerError(inner) => Error::InternalServerError(inner),
950            crate::operation::delete_rule_group::DeleteRuleGroupError::InvalidOperationException(inner) => Error::InvalidOperationException(inner),
951            crate::operation::delete_rule_group::DeleteRuleGroupError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
952            crate::operation::delete_rule_group::DeleteRuleGroupError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
953            crate::operation::delete_rule_group::DeleteRuleGroupError::ThrottlingException(inner) => Error::ThrottlingException(inner),
954            crate::operation::delete_rule_group::DeleteRuleGroupError::UnsupportedOperationException(inner) => {
955                Error::UnsupportedOperationException(inner)
956            }
957            crate::operation::delete_rule_group::DeleteRuleGroupError::Unhandled(inner) => Error::Unhandled(inner),
958        }
959    }
960}
961impl<R>
962    From<
963        ::aws_smithy_runtime_api::client::result::SdkError<
964            crate::operation::delete_tls_inspection_configuration::DeleteTLSInspectionConfigurationError,
965            R,
966        >,
967    > for Error
968where
969    R: Send + Sync + std::fmt::Debug + 'static,
970{
971    fn from(
972        err: ::aws_smithy_runtime_api::client::result::SdkError<
973            crate::operation::delete_tls_inspection_configuration::DeleteTLSInspectionConfigurationError,
974            R,
975        >,
976    ) -> Self {
977        match err {
978            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
979            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
980                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
981                source: err.into(),
982            }),
983        }
984    }
985}
986impl From<crate::operation::delete_tls_inspection_configuration::DeleteTLSInspectionConfigurationError> for Error {
987    fn from(err: crate::operation::delete_tls_inspection_configuration::DeleteTLSInspectionConfigurationError) -> Self {
988        match err {
989            crate::operation::delete_tls_inspection_configuration::DeleteTLSInspectionConfigurationError::InternalServerError(inner) => {
990                Error::InternalServerError(inner)
991            }
992            crate::operation::delete_tls_inspection_configuration::DeleteTLSInspectionConfigurationError::InvalidOperationException(inner) => {
993                Error::InvalidOperationException(inner)
994            }
995            crate::operation::delete_tls_inspection_configuration::DeleteTLSInspectionConfigurationError::InvalidRequestException(inner) => {
996                Error::InvalidRequestException(inner)
997            }
998            crate::operation::delete_tls_inspection_configuration::DeleteTLSInspectionConfigurationError::ResourceNotFoundException(inner) => {
999                Error::ResourceNotFoundException(inner)
1000            }
1001            crate::operation::delete_tls_inspection_configuration::DeleteTLSInspectionConfigurationError::ThrottlingException(inner) => {
1002                Error::ThrottlingException(inner)
1003            }
1004            crate::operation::delete_tls_inspection_configuration::DeleteTLSInspectionConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
1005        }
1006    }
1007}
1008impl<R>
1009    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpc_endpoint_association::DeleteVpcEndpointAssociationError, R>>
1010    for Error
1011where
1012    R: Send + Sync + std::fmt::Debug + 'static,
1013{
1014    fn from(
1015        err: ::aws_smithy_runtime_api::client::result::SdkError<
1016            crate::operation::delete_vpc_endpoint_association::DeleteVpcEndpointAssociationError,
1017            R,
1018        >,
1019    ) -> Self {
1020        match err {
1021            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1022            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1023                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1024                source: err.into(),
1025            }),
1026        }
1027    }
1028}
1029impl From<crate::operation::delete_vpc_endpoint_association::DeleteVpcEndpointAssociationError> for Error {
1030    fn from(err: crate::operation::delete_vpc_endpoint_association::DeleteVpcEndpointAssociationError) -> Self {
1031        match err {
1032            crate::operation::delete_vpc_endpoint_association::DeleteVpcEndpointAssociationError::InternalServerError(inner) => {
1033                Error::InternalServerError(inner)
1034            }
1035            crate::operation::delete_vpc_endpoint_association::DeleteVpcEndpointAssociationError::InvalidOperationException(inner) => {
1036                Error::InvalidOperationException(inner)
1037            }
1038            crate::operation::delete_vpc_endpoint_association::DeleteVpcEndpointAssociationError::InvalidRequestException(inner) => {
1039                Error::InvalidRequestException(inner)
1040            }
1041            crate::operation::delete_vpc_endpoint_association::DeleteVpcEndpointAssociationError::ResourceNotFoundException(inner) => {
1042                Error::ResourceNotFoundException(inner)
1043            }
1044            crate::operation::delete_vpc_endpoint_association::DeleteVpcEndpointAssociationError::ThrottlingException(inner) => {
1045                Error::ThrottlingException(inner)
1046            }
1047            crate::operation::delete_vpc_endpoint_association::DeleteVpcEndpointAssociationError::Unhandled(inner) => Error::Unhandled(inner),
1048        }
1049    }
1050}
1051impl<R>
1052    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_container_association::DescribeContainerAssociationError, R>>
1053    for Error
1054where
1055    R: Send + Sync + std::fmt::Debug + 'static,
1056{
1057    fn from(
1058        err: ::aws_smithy_runtime_api::client::result::SdkError<
1059            crate::operation::describe_container_association::DescribeContainerAssociationError,
1060            R,
1061        >,
1062    ) -> Self {
1063        match err {
1064            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1065            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1066                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1067                source: err.into(),
1068            }),
1069        }
1070    }
1071}
1072impl From<crate::operation::describe_container_association::DescribeContainerAssociationError> for Error {
1073    fn from(err: crate::operation::describe_container_association::DescribeContainerAssociationError) -> Self {
1074        match err {
1075            crate::operation::describe_container_association::DescribeContainerAssociationError::InternalServerError(inner) => {
1076                Error::InternalServerError(inner)
1077            }
1078            crate::operation::describe_container_association::DescribeContainerAssociationError::InvalidRequestException(inner) => {
1079                Error::InvalidRequestException(inner)
1080            }
1081            crate::operation::describe_container_association::DescribeContainerAssociationError::ResourceNotFoundException(inner) => {
1082                Error::ResourceNotFoundException(inner)
1083            }
1084            crate::operation::describe_container_association::DescribeContainerAssociationError::ThrottlingException(inner) => {
1085                Error::ThrottlingException(inner)
1086            }
1087            crate::operation::describe_container_association::DescribeContainerAssociationError::Unhandled(inner) => Error::Unhandled(inner),
1088        }
1089    }
1090}
1091impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_firewall::DescribeFirewallError, R>> for Error
1092where
1093    R: Send + Sync + std::fmt::Debug + 'static,
1094{
1095    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_firewall::DescribeFirewallError, R>) -> Self {
1096        match err {
1097            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1098            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1099                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1100                source: err.into(),
1101            }),
1102        }
1103    }
1104}
1105impl From<crate::operation::describe_firewall::DescribeFirewallError> for Error {
1106    fn from(err: crate::operation::describe_firewall::DescribeFirewallError) -> Self {
1107        match err {
1108            crate::operation::describe_firewall::DescribeFirewallError::InternalServerError(inner) => Error::InternalServerError(inner),
1109            crate::operation::describe_firewall::DescribeFirewallError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
1110            crate::operation::describe_firewall::DescribeFirewallError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1111            crate::operation::describe_firewall::DescribeFirewallError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1112            crate::operation::describe_firewall::DescribeFirewallError::Unhandled(inner) => Error::Unhandled(inner),
1113        }
1114    }
1115}
1116impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_firewall_metadata::DescribeFirewallMetadataError, R>>
1117    for Error
1118where
1119    R: Send + Sync + std::fmt::Debug + 'static,
1120{
1121    fn from(
1122        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_firewall_metadata::DescribeFirewallMetadataError, R>,
1123    ) -> Self {
1124        match err {
1125            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1126            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1127                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1128                source: err.into(),
1129            }),
1130        }
1131    }
1132}
1133impl From<crate::operation::describe_firewall_metadata::DescribeFirewallMetadataError> for Error {
1134    fn from(err: crate::operation::describe_firewall_metadata::DescribeFirewallMetadataError) -> Self {
1135        match err {
1136            crate::operation::describe_firewall_metadata::DescribeFirewallMetadataError::InternalServerError(inner) => {
1137                Error::InternalServerError(inner)
1138            }
1139            crate::operation::describe_firewall_metadata::DescribeFirewallMetadataError::InvalidRequestException(inner) => {
1140                Error::InvalidRequestException(inner)
1141            }
1142            crate::operation::describe_firewall_metadata::DescribeFirewallMetadataError::ResourceNotFoundException(inner) => {
1143                Error::ResourceNotFoundException(inner)
1144            }
1145            crate::operation::describe_firewall_metadata::DescribeFirewallMetadataError::ThrottlingException(inner) => {
1146                Error::ThrottlingException(inner)
1147            }
1148            crate::operation::describe_firewall_metadata::DescribeFirewallMetadataError::Unhandled(inner) => Error::Unhandled(inner),
1149        }
1150    }
1151}
1152impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_firewall_policy::DescribeFirewallPolicyError, R>> for Error
1153where
1154    R: Send + Sync + std::fmt::Debug + 'static,
1155{
1156    fn from(
1157        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_firewall_policy::DescribeFirewallPolicyError, R>,
1158    ) -> Self {
1159        match err {
1160            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1161            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1162                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1163                source: err.into(),
1164            }),
1165        }
1166    }
1167}
1168impl From<crate::operation::describe_firewall_policy::DescribeFirewallPolicyError> for Error {
1169    fn from(err: crate::operation::describe_firewall_policy::DescribeFirewallPolicyError) -> Self {
1170        match err {
1171            crate::operation::describe_firewall_policy::DescribeFirewallPolicyError::InternalServerError(inner) => Error::InternalServerError(inner),
1172            crate::operation::describe_firewall_policy::DescribeFirewallPolicyError::InvalidRequestException(inner) => {
1173                Error::InvalidRequestException(inner)
1174            }
1175            crate::operation::describe_firewall_policy::DescribeFirewallPolicyError::ResourceNotFoundException(inner) => {
1176                Error::ResourceNotFoundException(inner)
1177            }
1178            crate::operation::describe_firewall_policy::DescribeFirewallPolicyError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1179            crate::operation::describe_firewall_policy::DescribeFirewallPolicyError::Unhandled(inner) => Error::Unhandled(inner),
1180        }
1181    }
1182}
1183impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_flow_operation::DescribeFlowOperationError, R>> for Error
1184where
1185    R: Send + Sync + std::fmt::Debug + 'static,
1186{
1187    fn from(
1188        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_flow_operation::DescribeFlowOperationError, R>,
1189    ) -> Self {
1190        match err {
1191            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1192            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1193                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1194                source: err.into(),
1195            }),
1196        }
1197    }
1198}
1199impl From<crate::operation::describe_flow_operation::DescribeFlowOperationError> for Error {
1200    fn from(err: crate::operation::describe_flow_operation::DescribeFlowOperationError) -> Self {
1201        match err {
1202            crate::operation::describe_flow_operation::DescribeFlowOperationError::InternalServerError(inner) => Error::InternalServerError(inner),
1203            crate::operation::describe_flow_operation::DescribeFlowOperationError::InvalidRequestException(inner) => {
1204                Error::InvalidRequestException(inner)
1205            }
1206            crate::operation::describe_flow_operation::DescribeFlowOperationError::ResourceNotFoundException(inner) => {
1207                Error::ResourceNotFoundException(inner)
1208            }
1209            crate::operation::describe_flow_operation::DescribeFlowOperationError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1210            crate::operation::describe_flow_operation::DescribeFlowOperationError::Unhandled(inner) => Error::Unhandled(inner),
1211        }
1212    }
1213}
1214impl<R>
1215    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_logging_configuration::DescribeLoggingConfigurationError, R>>
1216    for Error
1217where
1218    R: Send + Sync + std::fmt::Debug + 'static,
1219{
1220    fn from(
1221        err: ::aws_smithy_runtime_api::client::result::SdkError<
1222            crate::operation::describe_logging_configuration::DescribeLoggingConfigurationError,
1223            R,
1224        >,
1225    ) -> Self {
1226        match err {
1227            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1228            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1229                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1230                source: err.into(),
1231            }),
1232        }
1233    }
1234}
1235impl From<crate::operation::describe_logging_configuration::DescribeLoggingConfigurationError> for Error {
1236    fn from(err: crate::operation::describe_logging_configuration::DescribeLoggingConfigurationError) -> Self {
1237        match err {
1238            crate::operation::describe_logging_configuration::DescribeLoggingConfigurationError::InternalServerError(inner) => {
1239                Error::InternalServerError(inner)
1240            }
1241            crate::operation::describe_logging_configuration::DescribeLoggingConfigurationError::InvalidRequestException(inner) => {
1242                Error::InvalidRequestException(inner)
1243            }
1244            crate::operation::describe_logging_configuration::DescribeLoggingConfigurationError::ResourceNotFoundException(inner) => {
1245                Error::ResourceNotFoundException(inner)
1246            }
1247            crate::operation::describe_logging_configuration::DescribeLoggingConfigurationError::ThrottlingException(inner) => {
1248                Error::ThrottlingException(inner)
1249            }
1250            crate::operation::describe_logging_configuration::DescribeLoggingConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
1251        }
1252    }
1253}
1254impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_proxy::DescribeProxyError, R>> for Error
1255where
1256    R: Send + Sync + std::fmt::Debug + 'static,
1257{
1258    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_proxy::DescribeProxyError, R>) -> Self {
1259        match err {
1260            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1261            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1262                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1263                source: err.into(),
1264            }),
1265        }
1266    }
1267}
1268impl From<crate::operation::describe_proxy::DescribeProxyError> for Error {
1269    fn from(err: crate::operation::describe_proxy::DescribeProxyError) -> Self {
1270        match err {
1271            crate::operation::describe_proxy::DescribeProxyError::InternalServerError(inner) => Error::InternalServerError(inner),
1272            crate::operation::describe_proxy::DescribeProxyError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
1273            crate::operation::describe_proxy::DescribeProxyError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1274            crate::operation::describe_proxy::DescribeProxyError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1275            crate::operation::describe_proxy::DescribeProxyError::Unhandled(inner) => Error::Unhandled(inner),
1276        }
1277    }
1278}
1279impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_proxy_configuration::DescribeProxyConfigurationError, R>>
1280    for Error
1281where
1282    R: Send + Sync + std::fmt::Debug + 'static,
1283{
1284    fn from(
1285        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_proxy_configuration::DescribeProxyConfigurationError, R>,
1286    ) -> Self {
1287        match err {
1288            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1289            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1290                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1291                source: err.into(),
1292            }),
1293        }
1294    }
1295}
1296impl From<crate::operation::describe_proxy_configuration::DescribeProxyConfigurationError> for Error {
1297    fn from(err: crate::operation::describe_proxy_configuration::DescribeProxyConfigurationError) -> Self {
1298        match err {
1299            crate::operation::describe_proxy_configuration::DescribeProxyConfigurationError::InternalServerError(inner) => {
1300                Error::InternalServerError(inner)
1301            }
1302            crate::operation::describe_proxy_configuration::DescribeProxyConfigurationError::InvalidRequestException(inner) => {
1303                Error::InvalidRequestException(inner)
1304            }
1305            crate::operation::describe_proxy_configuration::DescribeProxyConfigurationError::ResourceNotFoundException(inner) => {
1306                Error::ResourceNotFoundException(inner)
1307            }
1308            crate::operation::describe_proxy_configuration::DescribeProxyConfigurationError::ThrottlingException(inner) => {
1309                Error::ThrottlingException(inner)
1310            }
1311            crate::operation::describe_proxy_configuration::DescribeProxyConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
1312        }
1313    }
1314}
1315impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_proxy_rule::DescribeProxyRuleError, R>> for Error
1316where
1317    R: Send + Sync + std::fmt::Debug + 'static,
1318{
1319    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_proxy_rule::DescribeProxyRuleError, R>) -> Self {
1320        match err {
1321            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1322            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1323                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1324                source: err.into(),
1325            }),
1326        }
1327    }
1328}
1329impl From<crate::operation::describe_proxy_rule::DescribeProxyRuleError> for Error {
1330    fn from(err: crate::operation::describe_proxy_rule::DescribeProxyRuleError) -> Self {
1331        match err {
1332            crate::operation::describe_proxy_rule::DescribeProxyRuleError::InternalServerError(inner) => Error::InternalServerError(inner),
1333            crate::operation::describe_proxy_rule::DescribeProxyRuleError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
1334            crate::operation::describe_proxy_rule::DescribeProxyRuleError::ResourceNotFoundException(inner) => {
1335                Error::ResourceNotFoundException(inner)
1336            }
1337            crate::operation::describe_proxy_rule::DescribeProxyRuleError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1338            crate::operation::describe_proxy_rule::DescribeProxyRuleError::Unhandled(inner) => Error::Unhandled(inner),
1339        }
1340    }
1341}
1342impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_proxy_rule_group::DescribeProxyRuleGroupError, R>>
1343    for Error
1344where
1345    R: Send + Sync + std::fmt::Debug + 'static,
1346{
1347    fn from(
1348        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_proxy_rule_group::DescribeProxyRuleGroupError, R>,
1349    ) -> Self {
1350        match err {
1351            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1352            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1353                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1354                source: err.into(),
1355            }),
1356        }
1357    }
1358}
1359impl From<crate::operation::describe_proxy_rule_group::DescribeProxyRuleGroupError> for Error {
1360    fn from(err: crate::operation::describe_proxy_rule_group::DescribeProxyRuleGroupError) -> Self {
1361        match err {
1362            crate::operation::describe_proxy_rule_group::DescribeProxyRuleGroupError::InternalServerError(inner) => Error::InternalServerError(inner),
1363            crate::operation::describe_proxy_rule_group::DescribeProxyRuleGroupError::InvalidRequestException(inner) => {
1364                Error::InvalidRequestException(inner)
1365            }
1366            crate::operation::describe_proxy_rule_group::DescribeProxyRuleGroupError::ResourceNotFoundException(inner) => {
1367                Error::ResourceNotFoundException(inner)
1368            }
1369            crate::operation::describe_proxy_rule_group::DescribeProxyRuleGroupError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1370            crate::operation::describe_proxy_rule_group::DescribeProxyRuleGroupError::Unhandled(inner) => Error::Unhandled(inner),
1371        }
1372    }
1373}
1374impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_resource_policy::DescribeResourcePolicyError, R>> for Error
1375where
1376    R: Send + Sync + std::fmt::Debug + 'static,
1377{
1378    fn from(
1379        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_resource_policy::DescribeResourcePolicyError, R>,
1380    ) -> Self {
1381        match err {
1382            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1383            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1384                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1385                source: err.into(),
1386            }),
1387        }
1388    }
1389}
1390impl From<crate::operation::describe_resource_policy::DescribeResourcePolicyError> for Error {
1391    fn from(err: crate::operation::describe_resource_policy::DescribeResourcePolicyError) -> Self {
1392        match err {
1393            crate::operation::describe_resource_policy::DescribeResourcePolicyError::InternalServerError(inner) => Error::InternalServerError(inner),
1394            crate::operation::describe_resource_policy::DescribeResourcePolicyError::InvalidRequestException(inner) => {
1395                Error::InvalidRequestException(inner)
1396            }
1397            crate::operation::describe_resource_policy::DescribeResourcePolicyError::ResourceNotFoundException(inner) => {
1398                Error::ResourceNotFoundException(inner)
1399            }
1400            crate::operation::describe_resource_policy::DescribeResourcePolicyError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1401            crate::operation::describe_resource_policy::DescribeResourcePolicyError::Unhandled(inner) => Error::Unhandled(inner),
1402        }
1403    }
1404}
1405impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_rule_group::DescribeRuleGroupError, R>> for Error
1406where
1407    R: Send + Sync + std::fmt::Debug + 'static,
1408{
1409    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_rule_group::DescribeRuleGroupError, R>) -> Self {
1410        match err {
1411            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1412            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1413                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1414                source: err.into(),
1415            }),
1416        }
1417    }
1418}
1419impl From<crate::operation::describe_rule_group::DescribeRuleGroupError> for Error {
1420    fn from(err: crate::operation::describe_rule_group::DescribeRuleGroupError) -> Self {
1421        match err {
1422            crate::operation::describe_rule_group::DescribeRuleGroupError::InternalServerError(inner) => Error::InternalServerError(inner),
1423            crate::operation::describe_rule_group::DescribeRuleGroupError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
1424            crate::operation::describe_rule_group::DescribeRuleGroupError::ResourceNotFoundException(inner) => {
1425                Error::ResourceNotFoundException(inner)
1426            }
1427            crate::operation::describe_rule_group::DescribeRuleGroupError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1428            crate::operation::describe_rule_group::DescribeRuleGroupError::Unhandled(inner) => Error::Unhandled(inner),
1429        }
1430    }
1431}
1432impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_rule_group_metadata::DescribeRuleGroupMetadataError, R>>
1433    for Error
1434where
1435    R: Send + Sync + std::fmt::Debug + 'static,
1436{
1437    fn from(
1438        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_rule_group_metadata::DescribeRuleGroupMetadataError, R>,
1439    ) -> Self {
1440        match err {
1441            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1442            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1443                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1444                source: err.into(),
1445            }),
1446        }
1447    }
1448}
1449impl From<crate::operation::describe_rule_group_metadata::DescribeRuleGroupMetadataError> for Error {
1450    fn from(err: crate::operation::describe_rule_group_metadata::DescribeRuleGroupMetadataError) -> Self {
1451        match err {
1452            crate::operation::describe_rule_group_metadata::DescribeRuleGroupMetadataError::InternalServerError(inner) => {
1453                Error::InternalServerError(inner)
1454            }
1455            crate::operation::describe_rule_group_metadata::DescribeRuleGroupMetadataError::InvalidRequestException(inner) => {
1456                Error::InvalidRequestException(inner)
1457            }
1458            crate::operation::describe_rule_group_metadata::DescribeRuleGroupMetadataError::ResourceNotFoundException(inner) => {
1459                Error::ResourceNotFoundException(inner)
1460            }
1461            crate::operation::describe_rule_group_metadata::DescribeRuleGroupMetadataError::ThrottlingException(inner) => {
1462                Error::ThrottlingException(inner)
1463            }
1464            crate::operation::describe_rule_group_metadata::DescribeRuleGroupMetadataError::Unhandled(inner) => Error::Unhandled(inner),
1465        }
1466    }
1467}
1468impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_rule_group_summary::DescribeRuleGroupSummaryError, R>>
1469    for Error
1470where
1471    R: Send + Sync + std::fmt::Debug + 'static,
1472{
1473    fn from(
1474        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_rule_group_summary::DescribeRuleGroupSummaryError, R>,
1475    ) -> Self {
1476        match err {
1477            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1478            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1479                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1480                source: err.into(),
1481            }),
1482        }
1483    }
1484}
1485impl From<crate::operation::describe_rule_group_summary::DescribeRuleGroupSummaryError> for Error {
1486    fn from(err: crate::operation::describe_rule_group_summary::DescribeRuleGroupSummaryError) -> Self {
1487        match err {
1488            crate::operation::describe_rule_group_summary::DescribeRuleGroupSummaryError::InternalServerError(inner) => {
1489                Error::InternalServerError(inner)
1490            }
1491            crate::operation::describe_rule_group_summary::DescribeRuleGroupSummaryError::InvalidRequestException(inner) => {
1492                Error::InvalidRequestException(inner)
1493            }
1494            crate::operation::describe_rule_group_summary::DescribeRuleGroupSummaryError::ResourceNotFoundException(inner) => {
1495                Error::ResourceNotFoundException(inner)
1496            }
1497            crate::operation::describe_rule_group_summary::DescribeRuleGroupSummaryError::ThrottlingException(inner) => {
1498                Error::ThrottlingException(inner)
1499            }
1500            crate::operation::describe_rule_group_summary::DescribeRuleGroupSummaryError::Unhandled(inner) => Error::Unhandled(inner),
1501        }
1502    }
1503}
1504impl<R>
1505    From<
1506        ::aws_smithy_runtime_api::client::result::SdkError<
1507            crate::operation::describe_tls_inspection_configuration::DescribeTLSInspectionConfigurationError,
1508            R,
1509        >,
1510    > for Error
1511where
1512    R: Send + Sync + std::fmt::Debug + 'static,
1513{
1514    fn from(
1515        err: ::aws_smithy_runtime_api::client::result::SdkError<
1516            crate::operation::describe_tls_inspection_configuration::DescribeTLSInspectionConfigurationError,
1517            R,
1518        >,
1519    ) -> Self {
1520        match err {
1521            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1522            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1523                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1524                source: err.into(),
1525            }),
1526        }
1527    }
1528}
1529impl From<crate::operation::describe_tls_inspection_configuration::DescribeTLSInspectionConfigurationError> for Error {
1530    fn from(err: crate::operation::describe_tls_inspection_configuration::DescribeTLSInspectionConfigurationError) -> Self {
1531        match err {
1532            crate::operation::describe_tls_inspection_configuration::DescribeTLSInspectionConfigurationError::InternalServerError(inner) => {
1533                Error::InternalServerError(inner)
1534            }
1535            crate::operation::describe_tls_inspection_configuration::DescribeTLSInspectionConfigurationError::InvalidRequestException(inner) => {
1536                Error::InvalidRequestException(inner)
1537            }
1538            crate::operation::describe_tls_inspection_configuration::DescribeTLSInspectionConfigurationError::ResourceNotFoundException(inner) => {
1539                Error::ResourceNotFoundException(inner)
1540            }
1541            crate::operation::describe_tls_inspection_configuration::DescribeTLSInspectionConfigurationError::ThrottlingException(inner) => {
1542                Error::ThrottlingException(inner)
1543            }
1544            crate::operation::describe_tls_inspection_configuration::DescribeTLSInspectionConfigurationError::Unhandled(inner) => {
1545                Error::Unhandled(inner)
1546            }
1547        }
1548    }
1549}
1550impl<R>
1551    From<
1552        ::aws_smithy_runtime_api::client::result::SdkError<
1553            crate::operation::describe_vpc_endpoint_association::DescribeVpcEndpointAssociationError,
1554            R,
1555        >,
1556    > for Error
1557where
1558    R: Send + Sync + std::fmt::Debug + 'static,
1559{
1560    fn from(
1561        err: ::aws_smithy_runtime_api::client::result::SdkError<
1562            crate::operation::describe_vpc_endpoint_association::DescribeVpcEndpointAssociationError,
1563            R,
1564        >,
1565    ) -> Self {
1566        match err {
1567            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1568            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1569                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1570                source: err.into(),
1571            }),
1572        }
1573    }
1574}
1575impl From<crate::operation::describe_vpc_endpoint_association::DescribeVpcEndpointAssociationError> for Error {
1576    fn from(err: crate::operation::describe_vpc_endpoint_association::DescribeVpcEndpointAssociationError) -> Self {
1577        match err {
1578            crate::operation::describe_vpc_endpoint_association::DescribeVpcEndpointAssociationError::InternalServerError(inner) => {
1579                Error::InternalServerError(inner)
1580            }
1581            crate::operation::describe_vpc_endpoint_association::DescribeVpcEndpointAssociationError::InvalidRequestException(inner) => {
1582                Error::InvalidRequestException(inner)
1583            }
1584            crate::operation::describe_vpc_endpoint_association::DescribeVpcEndpointAssociationError::ResourceNotFoundException(inner) => {
1585                Error::ResourceNotFoundException(inner)
1586            }
1587            crate::operation::describe_vpc_endpoint_association::DescribeVpcEndpointAssociationError::ThrottlingException(inner) => {
1588                Error::ThrottlingException(inner)
1589            }
1590            crate::operation::describe_vpc_endpoint_association::DescribeVpcEndpointAssociationError::Unhandled(inner) => Error::Unhandled(inner),
1591        }
1592    }
1593}
1594impl<R>
1595    From<
1596        ::aws_smithy_runtime_api::client::result::SdkError<
1597            crate::operation::detach_rule_groups_from_proxy_configuration::DetachRuleGroupsFromProxyConfigurationError,
1598            R,
1599        >,
1600    > for Error
1601where
1602    R: Send + Sync + std::fmt::Debug + 'static,
1603{
1604    fn from(
1605        err: ::aws_smithy_runtime_api::client::result::SdkError<
1606            crate::operation::detach_rule_groups_from_proxy_configuration::DetachRuleGroupsFromProxyConfigurationError,
1607            R,
1608        >,
1609    ) -> Self {
1610        match err {
1611            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1612            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1613                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1614                source: err.into(),
1615            }),
1616        }
1617    }
1618}
1619impl From<crate::operation::detach_rule_groups_from_proxy_configuration::DetachRuleGroupsFromProxyConfigurationError> for Error {
1620    fn from(err: crate::operation::detach_rule_groups_from_proxy_configuration::DetachRuleGroupsFromProxyConfigurationError) -> Self {
1621        match err {
1622            crate::operation::detach_rule_groups_from_proxy_configuration::DetachRuleGroupsFromProxyConfigurationError::InternalServerError(
1623                inner,
1624            ) => Error::InternalServerError(inner),
1625            crate::operation::detach_rule_groups_from_proxy_configuration::DetachRuleGroupsFromProxyConfigurationError::InvalidRequestException(
1626                inner,
1627            ) => Error::InvalidRequestException(inner),
1628            crate::operation::detach_rule_groups_from_proxy_configuration::DetachRuleGroupsFromProxyConfigurationError::ResourceNotFoundException(
1629                inner,
1630            ) => Error::ResourceNotFoundException(inner),
1631            crate::operation::detach_rule_groups_from_proxy_configuration::DetachRuleGroupsFromProxyConfigurationError::ThrottlingException(
1632                inner,
1633            ) => Error::ThrottlingException(inner),
1634            crate::operation::detach_rule_groups_from_proxy_configuration::DetachRuleGroupsFromProxyConfigurationError::Unhandled(inner) => {
1635                Error::Unhandled(inner)
1636            }
1637        }
1638    }
1639}
1640impl<R>
1641    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_availability_zones::DisassociateAvailabilityZonesError, R>>
1642    for Error
1643where
1644    R: Send + Sync + std::fmt::Debug + 'static,
1645{
1646    fn from(
1647        err: ::aws_smithy_runtime_api::client::result::SdkError<
1648            crate::operation::disassociate_availability_zones::DisassociateAvailabilityZonesError,
1649            R,
1650        >,
1651    ) -> Self {
1652        match err {
1653            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1654            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1655                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1656                source: err.into(),
1657            }),
1658        }
1659    }
1660}
1661impl From<crate::operation::disassociate_availability_zones::DisassociateAvailabilityZonesError> for Error {
1662    fn from(err: crate::operation::disassociate_availability_zones::DisassociateAvailabilityZonesError) -> Self {
1663        match err {
1664            crate::operation::disassociate_availability_zones::DisassociateAvailabilityZonesError::InternalServerError(inner) => {
1665                Error::InternalServerError(inner)
1666            }
1667            crate::operation::disassociate_availability_zones::DisassociateAvailabilityZonesError::InvalidOperationException(inner) => {
1668                Error::InvalidOperationException(inner)
1669            }
1670            crate::operation::disassociate_availability_zones::DisassociateAvailabilityZonesError::InvalidRequestException(inner) => {
1671                Error::InvalidRequestException(inner)
1672            }
1673            crate::operation::disassociate_availability_zones::DisassociateAvailabilityZonesError::InvalidTokenException(inner) => {
1674                Error::InvalidTokenException(inner)
1675            }
1676            crate::operation::disassociate_availability_zones::DisassociateAvailabilityZonesError::ResourceNotFoundException(inner) => {
1677                Error::ResourceNotFoundException(inner)
1678            }
1679            crate::operation::disassociate_availability_zones::DisassociateAvailabilityZonesError::ThrottlingException(inner) => {
1680                Error::ThrottlingException(inner)
1681            }
1682            crate::operation::disassociate_availability_zones::DisassociateAvailabilityZonesError::Unhandled(inner) => Error::Unhandled(inner),
1683        }
1684    }
1685}
1686impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_subnets::DisassociateSubnetsError, R>> for Error
1687where
1688    R: Send + Sync + std::fmt::Debug + 'static,
1689{
1690    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_subnets::DisassociateSubnetsError, R>) -> Self {
1691        match err {
1692            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1693            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1694                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1695                source: err.into(),
1696            }),
1697        }
1698    }
1699}
1700impl From<crate::operation::disassociate_subnets::DisassociateSubnetsError> for Error {
1701    fn from(err: crate::operation::disassociate_subnets::DisassociateSubnetsError) -> Self {
1702        match err {
1703            crate::operation::disassociate_subnets::DisassociateSubnetsError::InternalServerError(inner) => Error::InternalServerError(inner),
1704            crate::operation::disassociate_subnets::DisassociateSubnetsError::InvalidOperationException(inner) => {
1705                Error::InvalidOperationException(inner)
1706            }
1707            crate::operation::disassociate_subnets::DisassociateSubnetsError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
1708            crate::operation::disassociate_subnets::DisassociateSubnetsError::InvalidTokenException(inner) => Error::InvalidTokenException(inner),
1709            crate::operation::disassociate_subnets::DisassociateSubnetsError::ResourceNotFoundException(inner) => {
1710                Error::ResourceNotFoundException(inner)
1711            }
1712            crate::operation::disassociate_subnets::DisassociateSubnetsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1713            crate::operation::disassociate_subnets::DisassociateSubnetsError::Unhandled(inner) => Error::Unhandled(inner),
1714        }
1715    }
1716}
1717impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_analysis_report_results::GetAnalysisReportResultsError, R>>
1718    for Error
1719where
1720    R: Send + Sync + std::fmt::Debug + 'static,
1721{
1722    fn from(
1723        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_analysis_report_results::GetAnalysisReportResultsError, R>,
1724    ) -> Self {
1725        match err {
1726            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1727            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1728                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1729                source: err.into(),
1730            }),
1731        }
1732    }
1733}
1734impl From<crate::operation::get_analysis_report_results::GetAnalysisReportResultsError> for Error {
1735    fn from(err: crate::operation::get_analysis_report_results::GetAnalysisReportResultsError) -> Self {
1736        match err {
1737            crate::operation::get_analysis_report_results::GetAnalysisReportResultsError::InternalServerError(inner) => {
1738                Error::InternalServerError(inner)
1739            }
1740            crate::operation::get_analysis_report_results::GetAnalysisReportResultsError::InvalidRequestException(inner) => {
1741                Error::InvalidRequestException(inner)
1742            }
1743            crate::operation::get_analysis_report_results::GetAnalysisReportResultsError::ResourceNotFoundException(inner) => {
1744                Error::ResourceNotFoundException(inner)
1745            }
1746            crate::operation::get_analysis_report_results::GetAnalysisReportResultsError::ThrottlingException(inner) => {
1747                Error::ThrottlingException(inner)
1748            }
1749            crate::operation::get_analysis_report_results::GetAnalysisReportResultsError::Unhandled(inner) => Error::Unhandled(inner),
1750        }
1751    }
1752}
1753impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_analysis_reports::ListAnalysisReportsError, R>> for Error
1754where
1755    R: Send + Sync + std::fmt::Debug + 'static,
1756{
1757    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_analysis_reports::ListAnalysisReportsError, R>) -> Self {
1758        match err {
1759            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1760            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1761                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1762                source: err.into(),
1763            }),
1764        }
1765    }
1766}
1767impl From<crate::operation::list_analysis_reports::ListAnalysisReportsError> for Error {
1768    fn from(err: crate::operation::list_analysis_reports::ListAnalysisReportsError) -> Self {
1769        match err {
1770            crate::operation::list_analysis_reports::ListAnalysisReportsError::InternalServerError(inner) => Error::InternalServerError(inner),
1771            crate::operation::list_analysis_reports::ListAnalysisReportsError::InvalidRequestException(inner) => {
1772                Error::InvalidRequestException(inner)
1773            }
1774            crate::operation::list_analysis_reports::ListAnalysisReportsError::ResourceNotFoundException(inner) => {
1775                Error::ResourceNotFoundException(inner)
1776            }
1777            crate::operation::list_analysis_reports::ListAnalysisReportsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1778            crate::operation::list_analysis_reports::ListAnalysisReportsError::Unhandled(inner) => Error::Unhandled(inner),
1779        }
1780    }
1781}
1782impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_container_associations::ListContainerAssociationsError, R>>
1783    for Error
1784where
1785    R: Send + Sync + std::fmt::Debug + 'static,
1786{
1787    fn from(
1788        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_container_associations::ListContainerAssociationsError, R>,
1789    ) -> Self {
1790        match err {
1791            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1792            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1793                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1794                source: err.into(),
1795            }),
1796        }
1797    }
1798}
1799impl From<crate::operation::list_container_associations::ListContainerAssociationsError> for Error {
1800    fn from(err: crate::operation::list_container_associations::ListContainerAssociationsError) -> Self {
1801        match err {
1802            crate::operation::list_container_associations::ListContainerAssociationsError::InternalServerError(inner) => {
1803                Error::InternalServerError(inner)
1804            }
1805            crate::operation::list_container_associations::ListContainerAssociationsError::InvalidRequestException(inner) => {
1806                Error::InvalidRequestException(inner)
1807            }
1808            crate::operation::list_container_associations::ListContainerAssociationsError::ThrottlingException(inner) => {
1809                Error::ThrottlingException(inner)
1810            }
1811            crate::operation::list_container_associations::ListContainerAssociationsError::Unhandled(inner) => Error::Unhandled(inner),
1812        }
1813    }
1814}
1815impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_firewall_policies::ListFirewallPoliciesError, R>> for Error
1816where
1817    R: Send + Sync + std::fmt::Debug + 'static,
1818{
1819    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_firewall_policies::ListFirewallPoliciesError, R>) -> Self {
1820        match err {
1821            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1822            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1823                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1824                source: err.into(),
1825            }),
1826        }
1827    }
1828}
1829impl From<crate::operation::list_firewall_policies::ListFirewallPoliciesError> for Error {
1830    fn from(err: crate::operation::list_firewall_policies::ListFirewallPoliciesError) -> Self {
1831        match err {
1832            crate::operation::list_firewall_policies::ListFirewallPoliciesError::InternalServerError(inner) => Error::InternalServerError(inner),
1833            crate::operation::list_firewall_policies::ListFirewallPoliciesError::InvalidRequestException(inner) => {
1834                Error::InvalidRequestException(inner)
1835            }
1836            crate::operation::list_firewall_policies::ListFirewallPoliciesError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1837            crate::operation::list_firewall_policies::ListFirewallPoliciesError::Unhandled(inner) => Error::Unhandled(inner),
1838        }
1839    }
1840}
1841impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_firewalls::ListFirewallsError, R>> for Error
1842where
1843    R: Send + Sync + std::fmt::Debug + 'static,
1844{
1845    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_firewalls::ListFirewallsError, R>) -> Self {
1846        match err {
1847            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1848            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1849                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1850                source: err.into(),
1851            }),
1852        }
1853    }
1854}
1855impl From<crate::operation::list_firewalls::ListFirewallsError> for Error {
1856    fn from(err: crate::operation::list_firewalls::ListFirewallsError) -> Self {
1857        match err {
1858            crate::operation::list_firewalls::ListFirewallsError::InternalServerError(inner) => Error::InternalServerError(inner),
1859            crate::operation::list_firewalls::ListFirewallsError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
1860            crate::operation::list_firewalls::ListFirewallsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1861            crate::operation::list_firewalls::ListFirewallsError::Unhandled(inner) => Error::Unhandled(inner),
1862        }
1863    }
1864}
1865impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_flow_operation_results::ListFlowOperationResultsError, R>>
1866    for Error
1867where
1868    R: Send + Sync + std::fmt::Debug + 'static,
1869{
1870    fn from(
1871        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_flow_operation_results::ListFlowOperationResultsError, R>,
1872    ) -> Self {
1873        match err {
1874            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1875            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1876                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1877                source: err.into(),
1878            }),
1879        }
1880    }
1881}
1882impl From<crate::operation::list_flow_operation_results::ListFlowOperationResultsError> for Error {
1883    fn from(err: crate::operation::list_flow_operation_results::ListFlowOperationResultsError) -> Self {
1884        match err {
1885            crate::operation::list_flow_operation_results::ListFlowOperationResultsError::InternalServerError(inner) => {
1886                Error::InternalServerError(inner)
1887            }
1888            crate::operation::list_flow_operation_results::ListFlowOperationResultsError::InvalidRequestException(inner) => {
1889                Error::InvalidRequestException(inner)
1890            }
1891            crate::operation::list_flow_operation_results::ListFlowOperationResultsError::ResourceNotFoundException(inner) => {
1892                Error::ResourceNotFoundException(inner)
1893            }
1894            crate::operation::list_flow_operation_results::ListFlowOperationResultsError::ThrottlingException(inner) => {
1895                Error::ThrottlingException(inner)
1896            }
1897            crate::operation::list_flow_operation_results::ListFlowOperationResultsError::Unhandled(inner) => Error::Unhandled(inner),
1898        }
1899    }
1900}
1901impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_flow_operations::ListFlowOperationsError, R>> for Error
1902where
1903    R: Send + Sync + std::fmt::Debug + 'static,
1904{
1905    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_flow_operations::ListFlowOperationsError, R>) -> Self {
1906        match err {
1907            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1908            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1909                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1910                source: err.into(),
1911            }),
1912        }
1913    }
1914}
1915impl From<crate::operation::list_flow_operations::ListFlowOperationsError> for Error {
1916    fn from(err: crate::operation::list_flow_operations::ListFlowOperationsError) -> Self {
1917        match err {
1918            crate::operation::list_flow_operations::ListFlowOperationsError::InternalServerError(inner) => Error::InternalServerError(inner),
1919            crate::operation::list_flow_operations::ListFlowOperationsError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
1920            crate::operation::list_flow_operations::ListFlowOperationsError::ResourceNotFoundException(inner) => {
1921                Error::ResourceNotFoundException(inner)
1922            }
1923            crate::operation::list_flow_operations::ListFlowOperationsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1924            crate::operation::list_flow_operations::ListFlowOperationsError::Unhandled(inner) => Error::Unhandled(inner),
1925        }
1926    }
1927}
1928impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_proxies::ListProxiesError, R>> for Error
1929where
1930    R: Send + Sync + std::fmt::Debug + 'static,
1931{
1932    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_proxies::ListProxiesError, R>) -> Self {
1933        match err {
1934            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1935            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1936                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1937                source: err.into(),
1938            }),
1939        }
1940    }
1941}
1942impl From<crate::operation::list_proxies::ListProxiesError> for Error {
1943    fn from(err: crate::operation::list_proxies::ListProxiesError) -> Self {
1944        match err {
1945            crate::operation::list_proxies::ListProxiesError::InternalServerError(inner) => Error::InternalServerError(inner),
1946            crate::operation::list_proxies::ListProxiesError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
1947            crate::operation::list_proxies::ListProxiesError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1948            crate::operation::list_proxies::ListProxiesError::Unhandled(inner) => Error::Unhandled(inner),
1949        }
1950    }
1951}
1952impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_proxy_configurations::ListProxyConfigurationsError, R>>
1953    for Error
1954where
1955    R: Send + Sync + std::fmt::Debug + 'static,
1956{
1957    fn from(
1958        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_proxy_configurations::ListProxyConfigurationsError, R>,
1959    ) -> Self {
1960        match err {
1961            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1962            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1963                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1964                source: err.into(),
1965            }),
1966        }
1967    }
1968}
1969impl From<crate::operation::list_proxy_configurations::ListProxyConfigurationsError> for Error {
1970    fn from(err: crate::operation::list_proxy_configurations::ListProxyConfigurationsError) -> Self {
1971        match err {
1972            crate::operation::list_proxy_configurations::ListProxyConfigurationsError::InternalServerError(inner) => {
1973                Error::InternalServerError(inner)
1974            }
1975            crate::operation::list_proxy_configurations::ListProxyConfigurationsError::InvalidRequestException(inner) => {
1976                Error::InvalidRequestException(inner)
1977            }
1978            crate::operation::list_proxy_configurations::ListProxyConfigurationsError::ResourceNotFoundException(inner) => {
1979                Error::ResourceNotFoundException(inner)
1980            }
1981            crate::operation::list_proxy_configurations::ListProxyConfigurationsError::ThrottlingException(inner) => {
1982                Error::ThrottlingException(inner)
1983            }
1984            crate::operation::list_proxy_configurations::ListProxyConfigurationsError::Unhandled(inner) => Error::Unhandled(inner),
1985        }
1986    }
1987}
1988impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_proxy_rule_groups::ListProxyRuleGroupsError, R>> for Error
1989where
1990    R: Send + Sync + std::fmt::Debug + 'static,
1991{
1992    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_proxy_rule_groups::ListProxyRuleGroupsError, R>) -> Self {
1993        match err {
1994            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1995            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1996                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1997                source: err.into(),
1998            }),
1999        }
2000    }
2001}
2002impl From<crate::operation::list_proxy_rule_groups::ListProxyRuleGroupsError> for Error {
2003    fn from(err: crate::operation::list_proxy_rule_groups::ListProxyRuleGroupsError) -> Self {
2004        match err {
2005            crate::operation::list_proxy_rule_groups::ListProxyRuleGroupsError::InternalServerError(inner) => Error::InternalServerError(inner),
2006            crate::operation::list_proxy_rule_groups::ListProxyRuleGroupsError::InvalidRequestException(inner) => {
2007                Error::InvalidRequestException(inner)
2008            }
2009            crate::operation::list_proxy_rule_groups::ListProxyRuleGroupsError::ResourceNotFoundException(inner) => {
2010                Error::ResourceNotFoundException(inner)
2011            }
2012            crate::operation::list_proxy_rule_groups::ListProxyRuleGroupsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2013            crate::operation::list_proxy_rule_groups::ListProxyRuleGroupsError::Unhandled(inner) => Error::Unhandled(inner),
2014        }
2015    }
2016}
2017impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_rule_groups::ListRuleGroupsError, R>> for Error
2018where
2019    R: Send + Sync + std::fmt::Debug + 'static,
2020{
2021    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_rule_groups::ListRuleGroupsError, R>) -> Self {
2022        match err {
2023            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2024            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2025                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2026                source: err.into(),
2027            }),
2028        }
2029    }
2030}
2031impl From<crate::operation::list_rule_groups::ListRuleGroupsError> for Error {
2032    fn from(err: crate::operation::list_rule_groups::ListRuleGroupsError) -> Self {
2033        match err {
2034            crate::operation::list_rule_groups::ListRuleGroupsError::InternalServerError(inner) => Error::InternalServerError(inner),
2035            crate::operation::list_rule_groups::ListRuleGroupsError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
2036            crate::operation::list_rule_groups::ListRuleGroupsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2037            crate::operation::list_rule_groups::ListRuleGroupsError::Unhandled(inner) => Error::Unhandled(inner),
2038        }
2039    }
2040}
2041impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_tags_for_resource::ListTagsForResourceError, R>> for Error
2042where
2043    R: Send + Sync + std::fmt::Debug + 'static,
2044{
2045    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_tags_for_resource::ListTagsForResourceError, R>) -> Self {
2046        match err {
2047            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2048            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2049                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2050                source: err.into(),
2051            }),
2052        }
2053    }
2054}
2055impl From<crate::operation::list_tags_for_resource::ListTagsForResourceError> for Error {
2056    fn from(err: crate::operation::list_tags_for_resource::ListTagsForResourceError) -> Self {
2057        match err {
2058            crate::operation::list_tags_for_resource::ListTagsForResourceError::InternalServerError(inner) => Error::InternalServerError(inner),
2059            crate::operation::list_tags_for_resource::ListTagsForResourceError::InvalidRequestException(inner) => {
2060                Error::InvalidRequestException(inner)
2061            }
2062            crate::operation::list_tags_for_resource::ListTagsForResourceError::ResourceNotFoundException(inner) => {
2063                Error::ResourceNotFoundException(inner)
2064            }
2065            crate::operation::list_tags_for_resource::ListTagsForResourceError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2066            crate::operation::list_tags_for_resource::ListTagsForResourceError::Unhandled(inner) => Error::Unhandled(inner),
2067        }
2068    }
2069}
2070impl<R>
2071    From<
2072        ::aws_smithy_runtime_api::client::result::SdkError<
2073            crate::operation::list_tls_inspection_configurations::ListTLSInspectionConfigurationsError,
2074            R,
2075        >,
2076    > for Error
2077where
2078    R: Send + Sync + std::fmt::Debug + 'static,
2079{
2080    fn from(
2081        err: ::aws_smithy_runtime_api::client::result::SdkError<
2082            crate::operation::list_tls_inspection_configurations::ListTLSInspectionConfigurationsError,
2083            R,
2084        >,
2085    ) -> Self {
2086        match err {
2087            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2088            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2089                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2090                source: err.into(),
2091            }),
2092        }
2093    }
2094}
2095impl From<crate::operation::list_tls_inspection_configurations::ListTLSInspectionConfigurationsError> for Error {
2096    fn from(err: crate::operation::list_tls_inspection_configurations::ListTLSInspectionConfigurationsError) -> Self {
2097        match err {
2098            crate::operation::list_tls_inspection_configurations::ListTLSInspectionConfigurationsError::InternalServerError(inner) => {
2099                Error::InternalServerError(inner)
2100            }
2101            crate::operation::list_tls_inspection_configurations::ListTLSInspectionConfigurationsError::InvalidRequestException(inner) => {
2102                Error::InvalidRequestException(inner)
2103            }
2104            crate::operation::list_tls_inspection_configurations::ListTLSInspectionConfigurationsError::ThrottlingException(inner) => {
2105                Error::ThrottlingException(inner)
2106            }
2107            crate::operation::list_tls_inspection_configurations::ListTLSInspectionConfigurationsError::Unhandled(inner) => Error::Unhandled(inner),
2108        }
2109    }
2110}
2111impl<R>
2112    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_vpc_endpoint_associations::ListVpcEndpointAssociationsError, R>>
2113    for Error
2114where
2115    R: Send + Sync + std::fmt::Debug + 'static,
2116{
2117    fn from(
2118        err: ::aws_smithy_runtime_api::client::result::SdkError<
2119            crate::operation::list_vpc_endpoint_associations::ListVpcEndpointAssociationsError,
2120            R,
2121        >,
2122    ) -> Self {
2123        match err {
2124            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2125            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2126                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2127                source: err.into(),
2128            }),
2129        }
2130    }
2131}
2132impl From<crate::operation::list_vpc_endpoint_associations::ListVpcEndpointAssociationsError> for Error {
2133    fn from(err: crate::operation::list_vpc_endpoint_associations::ListVpcEndpointAssociationsError) -> Self {
2134        match err {
2135            crate::operation::list_vpc_endpoint_associations::ListVpcEndpointAssociationsError::InternalServerError(inner) => {
2136                Error::InternalServerError(inner)
2137            }
2138            crate::operation::list_vpc_endpoint_associations::ListVpcEndpointAssociationsError::InvalidRequestException(inner) => {
2139                Error::InvalidRequestException(inner)
2140            }
2141            crate::operation::list_vpc_endpoint_associations::ListVpcEndpointAssociationsError::ThrottlingException(inner) => {
2142                Error::ThrottlingException(inner)
2143            }
2144            crate::operation::list_vpc_endpoint_associations::ListVpcEndpointAssociationsError::Unhandled(inner) => Error::Unhandled(inner),
2145        }
2146    }
2147}
2148impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_resource_policy::PutResourcePolicyError, R>> for Error
2149where
2150    R: Send + Sync + std::fmt::Debug + 'static,
2151{
2152    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_resource_policy::PutResourcePolicyError, R>) -> Self {
2153        match err {
2154            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2155            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2156                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2157                source: err.into(),
2158            }),
2159        }
2160    }
2161}
2162impl From<crate::operation::put_resource_policy::PutResourcePolicyError> for Error {
2163    fn from(err: crate::operation::put_resource_policy::PutResourcePolicyError) -> Self {
2164        match err {
2165            crate::operation::put_resource_policy::PutResourcePolicyError::InternalServerError(inner) => Error::InternalServerError(inner),
2166            crate::operation::put_resource_policy::PutResourcePolicyError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
2167            crate::operation::put_resource_policy::PutResourcePolicyError::InvalidResourcePolicyException(inner) => {
2168                Error::InvalidResourcePolicyException(inner)
2169            }
2170            crate::operation::put_resource_policy::PutResourcePolicyError::ResourceNotFoundException(inner) => {
2171                Error::ResourceNotFoundException(inner)
2172            }
2173            crate::operation::put_resource_policy::PutResourcePolicyError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2174            crate::operation::put_resource_policy::PutResourcePolicyError::Unhandled(inner) => Error::Unhandled(inner),
2175        }
2176    }
2177}
2178impl<R>
2179    From<
2180        ::aws_smithy_runtime_api::client::result::SdkError<
2181            crate::operation::reject_network_firewall_transit_gateway_attachment::RejectNetworkFirewallTransitGatewayAttachmentError,
2182            R,
2183        >,
2184    > for Error
2185where
2186    R: Send + Sync + std::fmt::Debug + 'static,
2187{
2188    fn from(
2189        err: ::aws_smithy_runtime_api::client::result::SdkError<
2190            crate::operation::reject_network_firewall_transit_gateway_attachment::RejectNetworkFirewallTransitGatewayAttachmentError,
2191            R,
2192        >,
2193    ) -> Self {
2194        match err {
2195            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2196            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2197                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2198                source: err.into(),
2199            }),
2200        }
2201    }
2202}
2203impl From<crate::operation::reject_network_firewall_transit_gateway_attachment::RejectNetworkFirewallTransitGatewayAttachmentError> for Error {
2204    fn from(err: crate::operation::reject_network_firewall_transit_gateway_attachment::RejectNetworkFirewallTransitGatewayAttachmentError) -> Self {
2205        match err {
2206            crate::operation::reject_network_firewall_transit_gateway_attachment::RejectNetworkFirewallTransitGatewayAttachmentError::InternalServerError(inner) => Error::InternalServerError(inner),
2207            crate::operation::reject_network_firewall_transit_gateway_attachment::RejectNetworkFirewallTransitGatewayAttachmentError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
2208            crate::operation::reject_network_firewall_transit_gateway_attachment::RejectNetworkFirewallTransitGatewayAttachmentError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
2209            crate::operation::reject_network_firewall_transit_gateway_attachment::RejectNetworkFirewallTransitGatewayAttachmentError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2210            crate::operation::reject_network_firewall_transit_gateway_attachment::RejectNetworkFirewallTransitGatewayAttachmentError::Unhandled(inner) => Error::Unhandled(inner),
2211        }
2212    }
2213}
2214impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_analysis_report::StartAnalysisReportError, R>> for Error
2215where
2216    R: Send + Sync + std::fmt::Debug + 'static,
2217{
2218    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_analysis_report::StartAnalysisReportError, R>) -> Self {
2219        match err {
2220            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2221            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2222                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2223                source: err.into(),
2224            }),
2225        }
2226    }
2227}
2228impl From<crate::operation::start_analysis_report::StartAnalysisReportError> for Error {
2229    fn from(err: crate::operation::start_analysis_report::StartAnalysisReportError) -> Self {
2230        match err {
2231            crate::operation::start_analysis_report::StartAnalysisReportError::InternalServerError(inner) => Error::InternalServerError(inner),
2232            crate::operation::start_analysis_report::StartAnalysisReportError::InvalidRequestException(inner) => {
2233                Error::InvalidRequestException(inner)
2234            }
2235            crate::operation::start_analysis_report::StartAnalysisReportError::ResourceNotFoundException(inner) => {
2236                Error::ResourceNotFoundException(inner)
2237            }
2238            crate::operation::start_analysis_report::StartAnalysisReportError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2239            crate::operation::start_analysis_report::StartAnalysisReportError::Unhandled(inner) => Error::Unhandled(inner),
2240        }
2241    }
2242}
2243impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_flow_capture::StartFlowCaptureError, R>> for Error
2244where
2245    R: Send + Sync + std::fmt::Debug + 'static,
2246{
2247    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_flow_capture::StartFlowCaptureError, R>) -> Self {
2248        match err {
2249            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2250            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2251                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2252                source: err.into(),
2253            }),
2254        }
2255    }
2256}
2257impl From<crate::operation::start_flow_capture::StartFlowCaptureError> for Error {
2258    fn from(err: crate::operation::start_flow_capture::StartFlowCaptureError) -> Self {
2259        match err {
2260            crate::operation::start_flow_capture::StartFlowCaptureError::InternalServerError(inner) => Error::InternalServerError(inner),
2261            crate::operation::start_flow_capture::StartFlowCaptureError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
2262            crate::operation::start_flow_capture::StartFlowCaptureError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
2263            crate::operation::start_flow_capture::StartFlowCaptureError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2264            crate::operation::start_flow_capture::StartFlowCaptureError::Unhandled(inner) => Error::Unhandled(inner),
2265        }
2266    }
2267}
2268impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_flow_flush::StartFlowFlushError, R>> for Error
2269where
2270    R: Send + Sync + std::fmt::Debug + 'static,
2271{
2272    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_flow_flush::StartFlowFlushError, R>) -> Self {
2273        match err {
2274            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2275            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2276                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2277                source: err.into(),
2278            }),
2279        }
2280    }
2281}
2282impl From<crate::operation::start_flow_flush::StartFlowFlushError> for Error {
2283    fn from(err: crate::operation::start_flow_flush::StartFlowFlushError) -> Self {
2284        match err {
2285            crate::operation::start_flow_flush::StartFlowFlushError::InternalServerError(inner) => Error::InternalServerError(inner),
2286            crate::operation::start_flow_flush::StartFlowFlushError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
2287            crate::operation::start_flow_flush::StartFlowFlushError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
2288            crate::operation::start_flow_flush::StartFlowFlushError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2289            crate::operation::start_flow_flush::StartFlowFlushError::Unhandled(inner) => Error::Unhandled(inner),
2290        }
2291    }
2292}
2293impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::tag_resource::TagResourceError, R>> for Error
2294where
2295    R: Send + Sync + std::fmt::Debug + 'static,
2296{
2297    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::tag_resource::TagResourceError, R>) -> Self {
2298        match err {
2299            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2300            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2301                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2302                source: err.into(),
2303            }),
2304        }
2305    }
2306}
2307impl From<crate::operation::tag_resource::TagResourceError> for Error {
2308    fn from(err: crate::operation::tag_resource::TagResourceError) -> Self {
2309        match err {
2310            crate::operation::tag_resource::TagResourceError::InternalServerError(inner) => Error::InternalServerError(inner),
2311            crate::operation::tag_resource::TagResourceError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
2312            crate::operation::tag_resource::TagResourceError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
2313            crate::operation::tag_resource::TagResourceError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2314            crate::operation::tag_resource::TagResourceError::Unhandled(inner) => Error::Unhandled(inner),
2315        }
2316    }
2317}
2318impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::untag_resource::UntagResourceError, R>> for Error
2319where
2320    R: Send + Sync + std::fmt::Debug + 'static,
2321{
2322    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::untag_resource::UntagResourceError, R>) -> Self {
2323        match err {
2324            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2325            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2326                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2327                source: err.into(),
2328            }),
2329        }
2330    }
2331}
2332impl From<crate::operation::untag_resource::UntagResourceError> for Error {
2333    fn from(err: crate::operation::untag_resource::UntagResourceError) -> Self {
2334        match err {
2335            crate::operation::untag_resource::UntagResourceError::InternalServerError(inner) => Error::InternalServerError(inner),
2336            crate::operation::untag_resource::UntagResourceError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
2337            crate::operation::untag_resource::UntagResourceError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
2338            crate::operation::untag_resource::UntagResourceError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2339            crate::operation::untag_resource::UntagResourceError::Unhandled(inner) => Error::Unhandled(inner),
2340        }
2341    }
2342}
2343impl<R>
2344    From<
2345        ::aws_smithy_runtime_api::client::result::SdkError<
2346            crate::operation::update_availability_zone_change_protection::UpdateAvailabilityZoneChangeProtectionError,
2347            R,
2348        >,
2349    > for Error
2350where
2351    R: Send + Sync + std::fmt::Debug + 'static,
2352{
2353    fn from(
2354        err: ::aws_smithy_runtime_api::client::result::SdkError<
2355            crate::operation::update_availability_zone_change_protection::UpdateAvailabilityZoneChangeProtectionError,
2356            R,
2357        >,
2358    ) -> Self {
2359        match err {
2360            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2361            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2362                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2363                source: err.into(),
2364            }),
2365        }
2366    }
2367}
2368impl From<crate::operation::update_availability_zone_change_protection::UpdateAvailabilityZoneChangeProtectionError> for Error {
2369    fn from(err: crate::operation::update_availability_zone_change_protection::UpdateAvailabilityZoneChangeProtectionError) -> Self {
2370        match err {
2371            crate::operation::update_availability_zone_change_protection::UpdateAvailabilityZoneChangeProtectionError::InternalServerError(inner) => Error::InternalServerError(inner),
2372            crate::operation::update_availability_zone_change_protection::UpdateAvailabilityZoneChangeProtectionError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
2373            crate::operation::update_availability_zone_change_protection::UpdateAvailabilityZoneChangeProtectionError::InvalidTokenException(inner) => Error::InvalidTokenException(inner),
2374            crate::operation::update_availability_zone_change_protection::UpdateAvailabilityZoneChangeProtectionError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
2375            crate::operation::update_availability_zone_change_protection::UpdateAvailabilityZoneChangeProtectionError::ResourceOwnerCheckException(inner) => Error::ResourceOwnerCheckException(inner),
2376            crate::operation::update_availability_zone_change_protection::UpdateAvailabilityZoneChangeProtectionError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2377            crate::operation::update_availability_zone_change_protection::UpdateAvailabilityZoneChangeProtectionError::Unhandled(inner) => Error::Unhandled(inner),
2378        }
2379    }
2380}
2381impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_container_association::UpdateContainerAssociationError, R>>
2382    for Error
2383where
2384    R: Send + Sync + std::fmt::Debug + 'static,
2385{
2386    fn from(
2387        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_container_association::UpdateContainerAssociationError, R>,
2388    ) -> Self {
2389        match err {
2390            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2391            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2392                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2393                source: err.into(),
2394            }),
2395        }
2396    }
2397}
2398impl From<crate::operation::update_container_association::UpdateContainerAssociationError> for Error {
2399    fn from(err: crate::operation::update_container_association::UpdateContainerAssociationError) -> Self {
2400        match err {
2401            crate::operation::update_container_association::UpdateContainerAssociationError::InternalServerError(inner) => {
2402                Error::InternalServerError(inner)
2403            }
2404            crate::operation::update_container_association::UpdateContainerAssociationError::InvalidRequestException(inner) => {
2405                Error::InvalidRequestException(inner)
2406            }
2407            crate::operation::update_container_association::UpdateContainerAssociationError::InvalidTokenException(inner) => {
2408                Error::InvalidTokenException(inner)
2409            }
2410            crate::operation::update_container_association::UpdateContainerAssociationError::ResourceNotFoundException(inner) => {
2411                Error::ResourceNotFoundException(inner)
2412            }
2413            crate::operation::update_container_association::UpdateContainerAssociationError::ThrottlingException(inner) => {
2414                Error::ThrottlingException(inner)
2415            }
2416            crate::operation::update_container_association::UpdateContainerAssociationError::Unhandled(inner) => Error::Unhandled(inner),
2417        }
2418    }
2419}
2420impl<R>
2421    From<
2422        ::aws_smithy_runtime_api::client::result::SdkError<
2423            crate::operation::update_firewall_analysis_settings::UpdateFirewallAnalysisSettingsError,
2424            R,
2425        >,
2426    > for Error
2427where
2428    R: Send + Sync + std::fmt::Debug + 'static,
2429{
2430    fn from(
2431        err: ::aws_smithy_runtime_api::client::result::SdkError<
2432            crate::operation::update_firewall_analysis_settings::UpdateFirewallAnalysisSettingsError,
2433            R,
2434        >,
2435    ) -> Self {
2436        match err {
2437            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2438            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2439                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2440                source: err.into(),
2441            }),
2442        }
2443    }
2444}
2445impl From<crate::operation::update_firewall_analysis_settings::UpdateFirewallAnalysisSettingsError> for Error {
2446    fn from(err: crate::operation::update_firewall_analysis_settings::UpdateFirewallAnalysisSettingsError) -> Self {
2447        match err {
2448            crate::operation::update_firewall_analysis_settings::UpdateFirewallAnalysisSettingsError::InternalServerError(inner) => {
2449                Error::InternalServerError(inner)
2450            }
2451            crate::operation::update_firewall_analysis_settings::UpdateFirewallAnalysisSettingsError::InvalidRequestException(inner) => {
2452                Error::InvalidRequestException(inner)
2453            }
2454            crate::operation::update_firewall_analysis_settings::UpdateFirewallAnalysisSettingsError::InvalidTokenException(inner) => {
2455                Error::InvalidTokenException(inner)
2456            }
2457            crate::operation::update_firewall_analysis_settings::UpdateFirewallAnalysisSettingsError::ResourceNotFoundException(inner) => {
2458                Error::ResourceNotFoundException(inner)
2459            }
2460            crate::operation::update_firewall_analysis_settings::UpdateFirewallAnalysisSettingsError::ThrottlingException(inner) => {
2461                Error::ThrottlingException(inner)
2462            }
2463            crate::operation::update_firewall_analysis_settings::UpdateFirewallAnalysisSettingsError::Unhandled(inner) => Error::Unhandled(inner),
2464        }
2465    }
2466}
2467impl<R>
2468    From<
2469        ::aws_smithy_runtime_api::client::result::SdkError<
2470            crate::operation::update_firewall_delete_protection::UpdateFirewallDeleteProtectionError,
2471            R,
2472        >,
2473    > for Error
2474where
2475    R: Send + Sync + std::fmt::Debug + 'static,
2476{
2477    fn from(
2478        err: ::aws_smithy_runtime_api::client::result::SdkError<
2479            crate::operation::update_firewall_delete_protection::UpdateFirewallDeleteProtectionError,
2480            R,
2481        >,
2482    ) -> Self {
2483        match err {
2484            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2485            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2486                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2487                source: err.into(),
2488            }),
2489        }
2490    }
2491}
2492impl From<crate::operation::update_firewall_delete_protection::UpdateFirewallDeleteProtectionError> for Error {
2493    fn from(err: crate::operation::update_firewall_delete_protection::UpdateFirewallDeleteProtectionError) -> Self {
2494        match err {
2495            crate::operation::update_firewall_delete_protection::UpdateFirewallDeleteProtectionError::InternalServerError(inner) => {
2496                Error::InternalServerError(inner)
2497            }
2498            crate::operation::update_firewall_delete_protection::UpdateFirewallDeleteProtectionError::InvalidRequestException(inner) => {
2499                Error::InvalidRequestException(inner)
2500            }
2501            crate::operation::update_firewall_delete_protection::UpdateFirewallDeleteProtectionError::InvalidTokenException(inner) => {
2502                Error::InvalidTokenException(inner)
2503            }
2504            crate::operation::update_firewall_delete_protection::UpdateFirewallDeleteProtectionError::ResourceNotFoundException(inner) => {
2505                Error::ResourceNotFoundException(inner)
2506            }
2507            crate::operation::update_firewall_delete_protection::UpdateFirewallDeleteProtectionError::ResourceOwnerCheckException(inner) => {
2508                Error::ResourceOwnerCheckException(inner)
2509            }
2510            crate::operation::update_firewall_delete_protection::UpdateFirewallDeleteProtectionError::ThrottlingException(inner) => {
2511                Error::ThrottlingException(inner)
2512            }
2513            crate::operation::update_firewall_delete_protection::UpdateFirewallDeleteProtectionError::Unhandled(inner) => Error::Unhandled(inner),
2514        }
2515    }
2516}
2517impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_firewall_description::UpdateFirewallDescriptionError, R>>
2518    for Error
2519where
2520    R: Send + Sync + std::fmt::Debug + 'static,
2521{
2522    fn from(
2523        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_firewall_description::UpdateFirewallDescriptionError, R>,
2524    ) -> Self {
2525        match err {
2526            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2527            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2528                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2529                source: err.into(),
2530            }),
2531        }
2532    }
2533}
2534impl From<crate::operation::update_firewall_description::UpdateFirewallDescriptionError> for Error {
2535    fn from(err: crate::operation::update_firewall_description::UpdateFirewallDescriptionError) -> Self {
2536        match err {
2537            crate::operation::update_firewall_description::UpdateFirewallDescriptionError::InternalServerError(inner) => {
2538                Error::InternalServerError(inner)
2539            }
2540            crate::operation::update_firewall_description::UpdateFirewallDescriptionError::InvalidRequestException(inner) => {
2541                Error::InvalidRequestException(inner)
2542            }
2543            crate::operation::update_firewall_description::UpdateFirewallDescriptionError::InvalidTokenException(inner) => {
2544                Error::InvalidTokenException(inner)
2545            }
2546            crate::operation::update_firewall_description::UpdateFirewallDescriptionError::ResourceNotFoundException(inner) => {
2547                Error::ResourceNotFoundException(inner)
2548            }
2549            crate::operation::update_firewall_description::UpdateFirewallDescriptionError::ThrottlingException(inner) => {
2550                Error::ThrottlingException(inner)
2551            }
2552            crate::operation::update_firewall_description::UpdateFirewallDescriptionError::Unhandled(inner) => Error::Unhandled(inner),
2553        }
2554    }
2555}
2556impl<R>
2557    From<
2558        ::aws_smithy_runtime_api::client::result::SdkError<
2559            crate::operation::update_firewall_encryption_configuration::UpdateFirewallEncryptionConfigurationError,
2560            R,
2561        >,
2562    > for Error
2563where
2564    R: Send + Sync + std::fmt::Debug + 'static,
2565{
2566    fn from(
2567        err: ::aws_smithy_runtime_api::client::result::SdkError<
2568            crate::operation::update_firewall_encryption_configuration::UpdateFirewallEncryptionConfigurationError,
2569            R,
2570        >,
2571    ) -> Self {
2572        match err {
2573            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2574            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2575                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2576                source: err.into(),
2577            }),
2578        }
2579    }
2580}
2581impl From<crate::operation::update_firewall_encryption_configuration::UpdateFirewallEncryptionConfigurationError> for Error {
2582    fn from(err: crate::operation::update_firewall_encryption_configuration::UpdateFirewallEncryptionConfigurationError) -> Self {
2583        match err {
2584            crate::operation::update_firewall_encryption_configuration::UpdateFirewallEncryptionConfigurationError::InternalServerError(inner) => {
2585                Error::InternalServerError(inner)
2586            }
2587            crate::operation::update_firewall_encryption_configuration::UpdateFirewallEncryptionConfigurationError::InvalidRequestException(
2588                inner,
2589            ) => Error::InvalidRequestException(inner),
2590            crate::operation::update_firewall_encryption_configuration::UpdateFirewallEncryptionConfigurationError::InvalidTokenException(inner) => {
2591                Error::InvalidTokenException(inner)
2592            }
2593            crate::operation::update_firewall_encryption_configuration::UpdateFirewallEncryptionConfigurationError::ResourceNotFoundException(
2594                inner,
2595            ) => Error::ResourceNotFoundException(inner),
2596            crate::operation::update_firewall_encryption_configuration::UpdateFirewallEncryptionConfigurationError::ResourceOwnerCheckException(
2597                inner,
2598            ) => Error::ResourceOwnerCheckException(inner),
2599            crate::operation::update_firewall_encryption_configuration::UpdateFirewallEncryptionConfigurationError::ThrottlingException(inner) => {
2600                Error::ThrottlingException(inner)
2601            }
2602            crate::operation::update_firewall_encryption_configuration::UpdateFirewallEncryptionConfigurationError::Unhandled(inner) => {
2603                Error::Unhandled(inner)
2604            }
2605        }
2606    }
2607}
2608impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_firewall_policy::UpdateFirewallPolicyError, R>> for Error
2609where
2610    R: Send + Sync + std::fmt::Debug + 'static,
2611{
2612    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_firewall_policy::UpdateFirewallPolicyError, R>) -> Self {
2613        match err {
2614            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2615            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2616                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2617                source: err.into(),
2618            }),
2619        }
2620    }
2621}
2622impl From<crate::operation::update_firewall_policy::UpdateFirewallPolicyError> for Error {
2623    fn from(err: crate::operation::update_firewall_policy::UpdateFirewallPolicyError) -> Self {
2624        match err {
2625            crate::operation::update_firewall_policy::UpdateFirewallPolicyError::InternalServerError(inner) => Error::InternalServerError(inner),
2626            crate::operation::update_firewall_policy::UpdateFirewallPolicyError::InvalidRequestException(inner) => {
2627                Error::InvalidRequestException(inner)
2628            }
2629            crate::operation::update_firewall_policy::UpdateFirewallPolicyError::InvalidTokenException(inner) => Error::InvalidTokenException(inner),
2630            crate::operation::update_firewall_policy::UpdateFirewallPolicyError::ResourceNotFoundException(inner) => {
2631                Error::ResourceNotFoundException(inner)
2632            }
2633            crate::operation::update_firewall_policy::UpdateFirewallPolicyError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2634            crate::operation::update_firewall_policy::UpdateFirewallPolicyError::Unhandled(inner) => Error::Unhandled(inner),
2635        }
2636    }
2637}
2638impl<R>
2639    From<
2640        ::aws_smithy_runtime_api::client::result::SdkError<
2641            crate::operation::update_firewall_policy_change_protection::UpdateFirewallPolicyChangeProtectionError,
2642            R,
2643        >,
2644    > for Error
2645where
2646    R: Send + Sync + std::fmt::Debug + 'static,
2647{
2648    fn from(
2649        err: ::aws_smithy_runtime_api::client::result::SdkError<
2650            crate::operation::update_firewall_policy_change_protection::UpdateFirewallPolicyChangeProtectionError,
2651            R,
2652        >,
2653    ) -> Self {
2654        match err {
2655            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2656            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2657                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2658                source: err.into(),
2659            }),
2660        }
2661    }
2662}
2663impl From<crate::operation::update_firewall_policy_change_protection::UpdateFirewallPolicyChangeProtectionError> for Error {
2664    fn from(err: crate::operation::update_firewall_policy_change_protection::UpdateFirewallPolicyChangeProtectionError) -> Self {
2665        match err {
2666            crate::operation::update_firewall_policy_change_protection::UpdateFirewallPolicyChangeProtectionError::InternalServerError(inner) => {
2667                Error::InternalServerError(inner)
2668            }
2669            crate::operation::update_firewall_policy_change_protection::UpdateFirewallPolicyChangeProtectionError::InvalidRequestException(inner) => {
2670                Error::InvalidRequestException(inner)
2671            }
2672            crate::operation::update_firewall_policy_change_protection::UpdateFirewallPolicyChangeProtectionError::InvalidTokenException(inner) => {
2673                Error::InvalidTokenException(inner)
2674            }
2675            crate::operation::update_firewall_policy_change_protection::UpdateFirewallPolicyChangeProtectionError::ResourceNotFoundException(
2676                inner,
2677            ) => Error::ResourceNotFoundException(inner),
2678            crate::operation::update_firewall_policy_change_protection::UpdateFirewallPolicyChangeProtectionError::ResourceOwnerCheckException(
2679                inner,
2680            ) => Error::ResourceOwnerCheckException(inner),
2681            crate::operation::update_firewall_policy_change_protection::UpdateFirewallPolicyChangeProtectionError::ThrottlingException(inner) => {
2682                Error::ThrottlingException(inner)
2683            }
2684            crate::operation::update_firewall_policy_change_protection::UpdateFirewallPolicyChangeProtectionError::Unhandled(inner) => {
2685                Error::Unhandled(inner)
2686            }
2687        }
2688    }
2689}
2690impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_logging_configuration::UpdateLoggingConfigurationError, R>>
2691    for Error
2692where
2693    R: Send + Sync + std::fmt::Debug + 'static,
2694{
2695    fn from(
2696        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_logging_configuration::UpdateLoggingConfigurationError, R>,
2697    ) -> Self {
2698        match err {
2699            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2700            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2701                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2702                source: err.into(),
2703            }),
2704        }
2705    }
2706}
2707impl From<crate::operation::update_logging_configuration::UpdateLoggingConfigurationError> for Error {
2708    fn from(err: crate::operation::update_logging_configuration::UpdateLoggingConfigurationError) -> Self {
2709        match err {
2710            crate::operation::update_logging_configuration::UpdateLoggingConfigurationError::InternalServerError(inner) => {
2711                Error::InternalServerError(inner)
2712            }
2713            crate::operation::update_logging_configuration::UpdateLoggingConfigurationError::InvalidRequestException(inner) => {
2714                Error::InvalidRequestException(inner)
2715            }
2716            crate::operation::update_logging_configuration::UpdateLoggingConfigurationError::InvalidTokenException(inner) => {
2717                Error::InvalidTokenException(inner)
2718            }
2719            crate::operation::update_logging_configuration::UpdateLoggingConfigurationError::LogDestinationPermissionException(inner) => {
2720                Error::LogDestinationPermissionException(inner)
2721            }
2722            crate::operation::update_logging_configuration::UpdateLoggingConfigurationError::ResourceNotFoundException(inner) => {
2723                Error::ResourceNotFoundException(inner)
2724            }
2725            crate::operation::update_logging_configuration::UpdateLoggingConfigurationError::ThrottlingException(inner) => {
2726                Error::ThrottlingException(inner)
2727            }
2728            crate::operation::update_logging_configuration::UpdateLoggingConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
2729        }
2730    }
2731}
2732impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_proxy::UpdateProxyError, R>> for Error
2733where
2734    R: Send + Sync + std::fmt::Debug + 'static,
2735{
2736    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_proxy::UpdateProxyError, R>) -> Self {
2737        match err {
2738            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2739            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2740                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2741                source: err.into(),
2742            }),
2743        }
2744    }
2745}
2746impl From<crate::operation::update_proxy::UpdateProxyError> for Error {
2747    fn from(err: crate::operation::update_proxy::UpdateProxyError) -> Self {
2748        match err {
2749            crate::operation::update_proxy::UpdateProxyError::InternalServerError(inner) => Error::InternalServerError(inner),
2750            crate::operation::update_proxy::UpdateProxyError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
2751            crate::operation::update_proxy::UpdateProxyError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
2752            crate::operation::update_proxy::UpdateProxyError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2753            crate::operation::update_proxy::UpdateProxyError::UnsupportedOperationException(inner) => Error::UnsupportedOperationException(inner),
2754            crate::operation::update_proxy::UpdateProxyError::Unhandled(inner) => Error::Unhandled(inner),
2755        }
2756    }
2757}
2758impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_proxy_configuration::UpdateProxyConfigurationError, R>>
2759    for Error
2760where
2761    R: Send + Sync + std::fmt::Debug + 'static,
2762{
2763    fn from(
2764        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_proxy_configuration::UpdateProxyConfigurationError, R>,
2765    ) -> Self {
2766        match err {
2767            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2768            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2769                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2770                source: err.into(),
2771            }),
2772        }
2773    }
2774}
2775impl From<crate::operation::update_proxy_configuration::UpdateProxyConfigurationError> for Error {
2776    fn from(err: crate::operation::update_proxy_configuration::UpdateProxyConfigurationError) -> Self {
2777        match err {
2778            crate::operation::update_proxy_configuration::UpdateProxyConfigurationError::InternalServerError(inner) => {
2779                Error::InternalServerError(inner)
2780            }
2781            crate::operation::update_proxy_configuration::UpdateProxyConfigurationError::InvalidRequestException(inner) => {
2782                Error::InvalidRequestException(inner)
2783            }
2784            crate::operation::update_proxy_configuration::UpdateProxyConfigurationError::ResourceNotFoundException(inner) => {
2785                Error::ResourceNotFoundException(inner)
2786            }
2787            crate::operation::update_proxy_configuration::UpdateProxyConfigurationError::ThrottlingException(inner) => {
2788                Error::ThrottlingException(inner)
2789            }
2790            crate::operation::update_proxy_configuration::UpdateProxyConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
2791        }
2792    }
2793}
2794impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_proxy_rule::UpdateProxyRuleError, R>> for Error
2795where
2796    R: Send + Sync + std::fmt::Debug + 'static,
2797{
2798    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_proxy_rule::UpdateProxyRuleError, R>) -> Self {
2799        match err {
2800            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2801            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2802                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2803                source: err.into(),
2804            }),
2805        }
2806    }
2807}
2808impl From<crate::operation::update_proxy_rule::UpdateProxyRuleError> for Error {
2809    fn from(err: crate::operation::update_proxy_rule::UpdateProxyRuleError) -> Self {
2810        match err {
2811            crate::operation::update_proxy_rule::UpdateProxyRuleError::InternalServerError(inner) => Error::InternalServerError(inner),
2812            crate::operation::update_proxy_rule::UpdateProxyRuleError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
2813            crate::operation::update_proxy_rule::UpdateProxyRuleError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
2814            crate::operation::update_proxy_rule::UpdateProxyRuleError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2815            crate::operation::update_proxy_rule::UpdateProxyRuleError::Unhandled(inner) => Error::Unhandled(inner),
2816        }
2817    }
2818}
2819impl<R>
2820    From<
2821        ::aws_smithy_runtime_api::client::result::SdkError<
2822            crate::operation::update_proxy_rule_group_priorities::UpdateProxyRuleGroupPrioritiesError,
2823            R,
2824        >,
2825    > for Error
2826where
2827    R: Send + Sync + std::fmt::Debug + 'static,
2828{
2829    fn from(
2830        err: ::aws_smithy_runtime_api::client::result::SdkError<
2831            crate::operation::update_proxy_rule_group_priorities::UpdateProxyRuleGroupPrioritiesError,
2832            R,
2833        >,
2834    ) -> Self {
2835        match err {
2836            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2837            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2838                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2839                source: err.into(),
2840            }),
2841        }
2842    }
2843}
2844impl From<crate::operation::update_proxy_rule_group_priorities::UpdateProxyRuleGroupPrioritiesError> for Error {
2845    fn from(err: crate::operation::update_proxy_rule_group_priorities::UpdateProxyRuleGroupPrioritiesError) -> Self {
2846        match err {
2847            crate::operation::update_proxy_rule_group_priorities::UpdateProxyRuleGroupPrioritiesError::InternalServerError(inner) => {
2848                Error::InternalServerError(inner)
2849            }
2850            crate::operation::update_proxy_rule_group_priorities::UpdateProxyRuleGroupPrioritiesError::InvalidRequestException(inner) => {
2851                Error::InvalidRequestException(inner)
2852            }
2853            crate::operation::update_proxy_rule_group_priorities::UpdateProxyRuleGroupPrioritiesError::ResourceNotFoundException(inner) => {
2854                Error::ResourceNotFoundException(inner)
2855            }
2856            crate::operation::update_proxy_rule_group_priorities::UpdateProxyRuleGroupPrioritiesError::ThrottlingException(inner) => {
2857                Error::ThrottlingException(inner)
2858            }
2859            crate::operation::update_proxy_rule_group_priorities::UpdateProxyRuleGroupPrioritiesError::Unhandled(inner) => Error::Unhandled(inner),
2860        }
2861    }
2862}
2863impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_proxy_rule_priorities::UpdateProxyRulePrioritiesError, R>>
2864    for Error
2865where
2866    R: Send + Sync + std::fmt::Debug + 'static,
2867{
2868    fn from(
2869        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_proxy_rule_priorities::UpdateProxyRulePrioritiesError, R>,
2870    ) -> Self {
2871        match err {
2872            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2873            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2874                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2875                source: err.into(),
2876            }),
2877        }
2878    }
2879}
2880impl From<crate::operation::update_proxy_rule_priorities::UpdateProxyRulePrioritiesError> for Error {
2881    fn from(err: crate::operation::update_proxy_rule_priorities::UpdateProxyRulePrioritiesError) -> Self {
2882        match err {
2883            crate::operation::update_proxy_rule_priorities::UpdateProxyRulePrioritiesError::InternalServerError(inner) => {
2884                Error::InternalServerError(inner)
2885            }
2886            crate::operation::update_proxy_rule_priorities::UpdateProxyRulePrioritiesError::InvalidRequestException(inner) => {
2887                Error::InvalidRequestException(inner)
2888            }
2889            crate::operation::update_proxy_rule_priorities::UpdateProxyRulePrioritiesError::ResourceNotFoundException(inner) => {
2890                Error::ResourceNotFoundException(inner)
2891            }
2892            crate::operation::update_proxy_rule_priorities::UpdateProxyRulePrioritiesError::ThrottlingException(inner) => {
2893                Error::ThrottlingException(inner)
2894            }
2895            crate::operation::update_proxy_rule_priorities::UpdateProxyRulePrioritiesError::Unhandled(inner) => Error::Unhandled(inner),
2896        }
2897    }
2898}
2899impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_rule_group::UpdateRuleGroupError, R>> for Error
2900where
2901    R: Send + Sync + std::fmt::Debug + 'static,
2902{
2903    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_rule_group::UpdateRuleGroupError, R>) -> Self {
2904        match err {
2905            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2906            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2907                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2908                source: err.into(),
2909            }),
2910        }
2911    }
2912}
2913impl From<crate::operation::update_rule_group::UpdateRuleGroupError> for Error {
2914    fn from(err: crate::operation::update_rule_group::UpdateRuleGroupError) -> Self {
2915        match err {
2916            crate::operation::update_rule_group::UpdateRuleGroupError::InternalServerError(inner) => Error::InternalServerError(inner),
2917            crate::operation::update_rule_group::UpdateRuleGroupError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
2918            crate::operation::update_rule_group::UpdateRuleGroupError::InvalidTokenException(inner) => Error::InvalidTokenException(inner),
2919            crate::operation::update_rule_group::UpdateRuleGroupError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
2920            crate::operation::update_rule_group::UpdateRuleGroupError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2921            crate::operation::update_rule_group::UpdateRuleGroupError::Unhandled(inner) => Error::Unhandled(inner),
2922        }
2923    }
2924}
2925impl<R>
2926    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_subnet_change_protection::UpdateSubnetChangeProtectionError, R>>
2927    for Error
2928where
2929    R: Send + Sync + std::fmt::Debug + 'static,
2930{
2931    fn from(
2932        err: ::aws_smithy_runtime_api::client::result::SdkError<
2933            crate::operation::update_subnet_change_protection::UpdateSubnetChangeProtectionError,
2934            R,
2935        >,
2936    ) -> Self {
2937        match err {
2938            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2939            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2940                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2941                source: err.into(),
2942            }),
2943        }
2944    }
2945}
2946impl From<crate::operation::update_subnet_change_protection::UpdateSubnetChangeProtectionError> for Error {
2947    fn from(err: crate::operation::update_subnet_change_protection::UpdateSubnetChangeProtectionError) -> Self {
2948        match err {
2949            crate::operation::update_subnet_change_protection::UpdateSubnetChangeProtectionError::InternalServerError(inner) => {
2950                Error::InternalServerError(inner)
2951            }
2952            crate::operation::update_subnet_change_protection::UpdateSubnetChangeProtectionError::InvalidRequestException(inner) => {
2953                Error::InvalidRequestException(inner)
2954            }
2955            crate::operation::update_subnet_change_protection::UpdateSubnetChangeProtectionError::InvalidTokenException(inner) => {
2956                Error::InvalidTokenException(inner)
2957            }
2958            crate::operation::update_subnet_change_protection::UpdateSubnetChangeProtectionError::ResourceNotFoundException(inner) => {
2959                Error::ResourceNotFoundException(inner)
2960            }
2961            crate::operation::update_subnet_change_protection::UpdateSubnetChangeProtectionError::ResourceOwnerCheckException(inner) => {
2962                Error::ResourceOwnerCheckException(inner)
2963            }
2964            crate::operation::update_subnet_change_protection::UpdateSubnetChangeProtectionError::ThrottlingException(inner) => {
2965                Error::ThrottlingException(inner)
2966            }
2967            crate::operation::update_subnet_change_protection::UpdateSubnetChangeProtectionError::Unhandled(inner) => Error::Unhandled(inner),
2968        }
2969    }
2970}
2971impl<R>
2972    From<
2973        ::aws_smithy_runtime_api::client::result::SdkError<
2974            crate::operation::update_tls_inspection_configuration::UpdateTLSInspectionConfigurationError,
2975            R,
2976        >,
2977    > for Error
2978where
2979    R: Send + Sync + std::fmt::Debug + 'static,
2980{
2981    fn from(
2982        err: ::aws_smithy_runtime_api::client::result::SdkError<
2983            crate::operation::update_tls_inspection_configuration::UpdateTLSInspectionConfigurationError,
2984            R,
2985        >,
2986    ) -> Self {
2987        match err {
2988            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2989            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2990                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2991                source: err.into(),
2992            }),
2993        }
2994    }
2995}
2996impl From<crate::operation::update_tls_inspection_configuration::UpdateTLSInspectionConfigurationError> for Error {
2997    fn from(err: crate::operation::update_tls_inspection_configuration::UpdateTLSInspectionConfigurationError) -> Self {
2998        match err {
2999            crate::operation::update_tls_inspection_configuration::UpdateTLSInspectionConfigurationError::InternalServerError(inner) => {
3000                Error::InternalServerError(inner)
3001            }
3002            crate::operation::update_tls_inspection_configuration::UpdateTLSInspectionConfigurationError::InvalidRequestException(inner) => {
3003                Error::InvalidRequestException(inner)
3004            }
3005            crate::operation::update_tls_inspection_configuration::UpdateTLSInspectionConfigurationError::InvalidTokenException(inner) => {
3006                Error::InvalidTokenException(inner)
3007            }
3008            crate::operation::update_tls_inspection_configuration::UpdateTLSInspectionConfigurationError::ResourceNotFoundException(inner) => {
3009                Error::ResourceNotFoundException(inner)
3010            }
3011            crate::operation::update_tls_inspection_configuration::UpdateTLSInspectionConfigurationError::ThrottlingException(inner) => {
3012                Error::ThrottlingException(inner)
3013            }
3014            crate::operation::update_tls_inspection_configuration::UpdateTLSInspectionConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
3015        }
3016    }
3017}
3018impl ::std::error::Error for Error {
3019    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
3020        match self {
3021            Error::InsufficientCapacityException(inner) => inner.source(),
3022            Error::InternalServerError(inner) => inner.source(),
3023            Error::InvalidOperationException(inner) => inner.source(),
3024            Error::InvalidRequestException(inner) => inner.source(),
3025            Error::InvalidResourcePolicyException(inner) => inner.source(),
3026            Error::InvalidTokenException(inner) => inner.source(),
3027            Error::LimitExceededException(inner) => inner.source(),
3028            Error::LogDestinationPermissionException(inner) => inner.source(),
3029            Error::ResourceNotFoundException(inner) => inner.source(),
3030            Error::ResourceOwnerCheckException(inner) => inner.source(),
3031            Error::ThrottlingException(inner) => inner.source(),
3032            Error::UnsupportedOperationException(inner) => inner.source(),
3033            Error::Unhandled(inner) => ::std::option::Option::Some(&*inner.source),
3034        }
3035    }
3036}
3037impl ::aws_types::request_id::RequestId for Error {
3038    fn request_id(&self) -> Option<&str> {
3039        match self {
3040            Self::InsufficientCapacityException(e) => e.request_id(),
3041            Self::InternalServerError(e) => e.request_id(),
3042            Self::InvalidOperationException(e) => e.request_id(),
3043            Self::InvalidRequestException(e) => e.request_id(),
3044            Self::InvalidResourcePolicyException(e) => e.request_id(),
3045            Self::InvalidTokenException(e) => e.request_id(),
3046            Self::LimitExceededException(e) => e.request_id(),
3047            Self::LogDestinationPermissionException(e) => e.request_id(),
3048            Self::ResourceNotFoundException(e) => e.request_id(),
3049            Self::ResourceOwnerCheckException(e) => e.request_id(),
3050            Self::ThrottlingException(e) => e.request_id(),
3051            Self::UnsupportedOperationException(e) => e.request_id(),
3052            Self::Unhandled(e) => e.meta.request_id(),
3053        }
3054    }
3055}