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