Skip to main content

aws_sdk_rtbfabric/
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 request could not be completed because you do not have sufficient access to perform this action.</p>
7    AccessDeniedException(crate::types::error::AccessDeniedException),
8    /// <p>The request could not be completed because of a conflict in the current state of the resource.</p>
9    ConflictException(crate::types::error::ConflictException),
10    /// <p>The request could not be completed because of an internal server error. Try your call again.</p>
11    InternalServerException(crate::types::error::InternalServerException),
12    /// <p>The request could not be completed because the resource does not exist.</p>
13    ResourceNotFoundException(crate::types::error::ResourceNotFoundException),
14    /// <p>The request could not be completed because you exceeded a service quota.</p>
15    ServiceQuotaExceededException(crate::types::error::ServiceQuotaExceededException),
16    /// <p>The request was denied due to request throttling.</p>
17    ThrottlingException(crate::types::error::ThrottlingException),
18    /// <p>The request could not be completed because it fails satisfy the constraints specified by the service.</p>
19    ValidationException(crate::types::error::ValidationException),
20    /// An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
21    #[deprecated(note = "Matching `Unhandled` directly is not forwards compatible. Instead, match using a \
22    variable wildcard pattern and check `.code()`:
23     \
24    &nbsp;&nbsp;&nbsp;`err if err.code() == Some(\"SpecificExceptionCode\") => { /* handle the error */ }`
25     \
26    See [`ProvideErrorMetadata`](#impl-ProvideErrorMetadata-for-Error) for what information is available for the error.")]
27    Unhandled(crate::error::sealed_unhandled::Unhandled),
28}
29impl ::std::fmt::Display for Error {
30    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
31        match self {
32            Error::AccessDeniedException(inner) => inner.fmt(f),
33            Error::ConflictException(inner) => inner.fmt(f),
34            Error::InternalServerException(inner) => inner.fmt(f),
35            Error::ResourceNotFoundException(inner) => inner.fmt(f),
36            Error::ServiceQuotaExceededException(inner) => inner.fmt(f),
37            Error::ThrottlingException(inner) => inner.fmt(f),
38            Error::ValidationException(inner) => inner.fmt(f),
39            Error::Unhandled(_) => {
40                if let ::std::option::Option::Some(code) = ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self) {
41                    write!(f, "unhandled error ({code})")
42                } else {
43                    f.write_str("unhandled error")
44                }
45            }
46        }
47    }
48}
49impl From<::aws_smithy_types::error::operation::BuildError> for Error {
50    fn from(value: ::aws_smithy_types::error::operation::BuildError) -> Self {
51        Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
52            source: value.into(),
53            meta: ::std::default::Default::default(),
54        })
55    }
56}
57impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for Error {
58    fn meta(&self) -> &::aws_smithy_types::error::metadata::ErrorMetadata {
59        match self {
60            Self::AccessDeniedException(inner) => inner.meta(),
61            Self::ConflictException(inner) => inner.meta(),
62            Self::InternalServerException(inner) => inner.meta(),
63            Self::ResourceNotFoundException(inner) => inner.meta(),
64            Self::ServiceQuotaExceededException(inner) => inner.meta(),
65            Self::ThrottlingException(inner) => inner.meta(),
66            Self::ValidationException(inner) => inner.meta(),
67            Self::Unhandled(inner) => &inner.meta,
68        }
69    }
70}
71impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::accept_link::AcceptLinkError, R>> for Error
72where
73    R: Send + Sync + std::fmt::Debug + 'static,
74{
75    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::accept_link::AcceptLinkError, R>) -> Self {
76        match err {
77            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
78            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
79                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
80                source: err.into(),
81            }),
82        }
83    }
84}
85impl From<crate::operation::accept_link::AcceptLinkError> for Error {
86    fn from(err: crate::operation::accept_link::AcceptLinkError) -> Self {
87        match err {
88            crate::operation::accept_link::AcceptLinkError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
89            crate::operation::accept_link::AcceptLinkError::ConflictException(inner) => Error::ConflictException(inner),
90            crate::operation::accept_link::AcceptLinkError::InternalServerException(inner) => Error::InternalServerException(inner),
91            crate::operation::accept_link::AcceptLinkError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
92            crate::operation::accept_link::AcceptLinkError::ThrottlingException(inner) => Error::ThrottlingException(inner),
93            crate::operation::accept_link::AcceptLinkError::ValidationException(inner) => Error::ValidationException(inner),
94            crate::operation::accept_link::AcceptLinkError::Unhandled(inner) => Error::Unhandled(inner),
95        }
96    }
97}
98impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_certificate::AssociateCertificateError, R>> for Error
99where
100    R: Send + Sync + std::fmt::Debug + 'static,
101{
102    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_certificate::AssociateCertificateError, R>) -> Self {
103        match err {
104            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
105            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
106                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
107                source: err.into(),
108            }),
109        }
110    }
111}
112impl From<crate::operation::associate_certificate::AssociateCertificateError> for Error {
113    fn from(err: crate::operation::associate_certificate::AssociateCertificateError) -> Self {
114        match err {
115            crate::operation::associate_certificate::AssociateCertificateError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
116            crate::operation::associate_certificate::AssociateCertificateError::ConflictException(inner) => Error::ConflictException(inner),
117            crate::operation::associate_certificate::AssociateCertificateError::InternalServerException(inner) => {
118                Error::InternalServerException(inner)
119            }
120            crate::operation::associate_certificate::AssociateCertificateError::ResourceNotFoundException(inner) => {
121                Error::ResourceNotFoundException(inner)
122            }
123            crate::operation::associate_certificate::AssociateCertificateError::ServiceQuotaExceededException(inner) => {
124                Error::ServiceQuotaExceededException(inner)
125            }
126            crate::operation::associate_certificate::AssociateCertificateError::ThrottlingException(inner) => Error::ThrottlingException(inner),
127            crate::operation::associate_certificate::AssociateCertificateError::ValidationException(inner) => Error::ValidationException(inner),
128            crate::operation::associate_certificate::AssociateCertificateError::Unhandled(inner) => Error::Unhandled(inner),
129        }
130    }
131}
132impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_inbound_external_link::CreateInboundExternalLinkError, R>>
133    for Error
134where
135    R: Send + Sync + std::fmt::Debug + 'static,
136{
137    fn from(
138        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_inbound_external_link::CreateInboundExternalLinkError, R>,
139    ) -> Self {
140        match err {
141            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
142            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
143                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
144                source: err.into(),
145            }),
146        }
147    }
148}
149impl From<crate::operation::create_inbound_external_link::CreateInboundExternalLinkError> for Error {
150    fn from(err: crate::operation::create_inbound_external_link::CreateInboundExternalLinkError) -> Self {
151        match err {
152            crate::operation::create_inbound_external_link::CreateInboundExternalLinkError::AccessDeniedException(inner) => {
153                Error::AccessDeniedException(inner)
154            }
155            crate::operation::create_inbound_external_link::CreateInboundExternalLinkError::ConflictException(inner) => {
156                Error::ConflictException(inner)
157            }
158            crate::operation::create_inbound_external_link::CreateInboundExternalLinkError::InternalServerException(inner) => {
159                Error::InternalServerException(inner)
160            }
161            crate::operation::create_inbound_external_link::CreateInboundExternalLinkError::ResourceNotFoundException(inner) => {
162                Error::ResourceNotFoundException(inner)
163            }
164            crate::operation::create_inbound_external_link::CreateInboundExternalLinkError::ServiceQuotaExceededException(inner) => {
165                Error::ServiceQuotaExceededException(inner)
166            }
167            crate::operation::create_inbound_external_link::CreateInboundExternalLinkError::ThrottlingException(inner) => {
168                Error::ThrottlingException(inner)
169            }
170            crate::operation::create_inbound_external_link::CreateInboundExternalLinkError::ValidationException(inner) => {
171                Error::ValidationException(inner)
172            }
173            crate::operation::create_inbound_external_link::CreateInboundExternalLinkError::Unhandled(inner) => Error::Unhandled(inner),
174        }
175    }
176}
177impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_link::CreateLinkError, R>> for Error
178where
179    R: Send + Sync + std::fmt::Debug + 'static,
180{
181    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_link::CreateLinkError, R>) -> Self {
182        match err {
183            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
184            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
185                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
186                source: err.into(),
187            }),
188        }
189    }
190}
191impl From<crate::operation::create_link::CreateLinkError> for Error {
192    fn from(err: crate::operation::create_link::CreateLinkError) -> Self {
193        match err {
194            crate::operation::create_link::CreateLinkError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
195            crate::operation::create_link::CreateLinkError::ConflictException(inner) => Error::ConflictException(inner),
196            crate::operation::create_link::CreateLinkError::InternalServerException(inner) => Error::InternalServerException(inner),
197            crate::operation::create_link::CreateLinkError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
198            crate::operation::create_link::CreateLinkError::ServiceQuotaExceededException(inner) => Error::ServiceQuotaExceededException(inner),
199            crate::operation::create_link::CreateLinkError::ThrottlingException(inner) => Error::ThrottlingException(inner),
200            crate::operation::create_link::CreateLinkError::ValidationException(inner) => Error::ValidationException(inner),
201            crate::operation::create_link::CreateLinkError::Unhandled(inner) => Error::Unhandled(inner),
202        }
203    }
204}
205impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_link_routing_rule::CreateLinkRoutingRuleError, R>> for Error
206where
207    R: Send + Sync + std::fmt::Debug + 'static,
208{
209    fn from(
210        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_link_routing_rule::CreateLinkRoutingRuleError, R>,
211    ) -> Self {
212        match err {
213            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
214            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
215                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
216                source: err.into(),
217            }),
218        }
219    }
220}
221impl From<crate::operation::create_link_routing_rule::CreateLinkRoutingRuleError> for Error {
222    fn from(err: crate::operation::create_link_routing_rule::CreateLinkRoutingRuleError) -> Self {
223        match err {
224            crate::operation::create_link_routing_rule::CreateLinkRoutingRuleError::AccessDeniedException(inner) => {
225                Error::AccessDeniedException(inner)
226            }
227            crate::operation::create_link_routing_rule::CreateLinkRoutingRuleError::ConflictException(inner) => Error::ConflictException(inner),
228            crate::operation::create_link_routing_rule::CreateLinkRoutingRuleError::InternalServerException(inner) => {
229                Error::InternalServerException(inner)
230            }
231            crate::operation::create_link_routing_rule::CreateLinkRoutingRuleError::ResourceNotFoundException(inner) => {
232                Error::ResourceNotFoundException(inner)
233            }
234            crate::operation::create_link_routing_rule::CreateLinkRoutingRuleError::ServiceQuotaExceededException(inner) => {
235                Error::ServiceQuotaExceededException(inner)
236            }
237            crate::operation::create_link_routing_rule::CreateLinkRoutingRuleError::ThrottlingException(inner) => Error::ThrottlingException(inner),
238            crate::operation::create_link_routing_rule::CreateLinkRoutingRuleError::ValidationException(inner) => Error::ValidationException(inner),
239            crate::operation::create_link_routing_rule::CreateLinkRoutingRuleError::Unhandled(inner) => Error::Unhandled(inner),
240        }
241    }
242}
243impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_outbound_external_link::CreateOutboundExternalLinkError, R>>
244    for Error
245where
246    R: Send + Sync + std::fmt::Debug + 'static,
247{
248    fn from(
249        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_outbound_external_link::CreateOutboundExternalLinkError, R>,
250    ) -> Self {
251        match err {
252            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
253            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
254                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
255                source: err.into(),
256            }),
257        }
258    }
259}
260impl From<crate::operation::create_outbound_external_link::CreateOutboundExternalLinkError> for Error {
261    fn from(err: crate::operation::create_outbound_external_link::CreateOutboundExternalLinkError) -> Self {
262        match err {
263            crate::operation::create_outbound_external_link::CreateOutboundExternalLinkError::AccessDeniedException(inner) => {
264                Error::AccessDeniedException(inner)
265            }
266            crate::operation::create_outbound_external_link::CreateOutboundExternalLinkError::ConflictException(inner) => {
267                Error::ConflictException(inner)
268            }
269            crate::operation::create_outbound_external_link::CreateOutboundExternalLinkError::InternalServerException(inner) => {
270                Error::InternalServerException(inner)
271            }
272            crate::operation::create_outbound_external_link::CreateOutboundExternalLinkError::ResourceNotFoundException(inner) => {
273                Error::ResourceNotFoundException(inner)
274            }
275            crate::operation::create_outbound_external_link::CreateOutboundExternalLinkError::ServiceQuotaExceededException(inner) => {
276                Error::ServiceQuotaExceededException(inner)
277            }
278            crate::operation::create_outbound_external_link::CreateOutboundExternalLinkError::ThrottlingException(inner) => {
279                Error::ThrottlingException(inner)
280            }
281            crate::operation::create_outbound_external_link::CreateOutboundExternalLinkError::ValidationException(inner) => {
282                Error::ValidationException(inner)
283            }
284            crate::operation::create_outbound_external_link::CreateOutboundExternalLinkError::Unhandled(inner) => Error::Unhandled(inner),
285        }
286    }
287}
288impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_requester_gateway::CreateRequesterGatewayError, R>> for Error
289where
290    R: Send + Sync + std::fmt::Debug + 'static,
291{
292    fn from(
293        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_requester_gateway::CreateRequesterGatewayError, R>,
294    ) -> Self {
295        match err {
296            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
297            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
298                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
299                source: err.into(),
300            }),
301        }
302    }
303}
304impl From<crate::operation::create_requester_gateway::CreateRequesterGatewayError> for Error {
305    fn from(err: crate::operation::create_requester_gateway::CreateRequesterGatewayError) -> Self {
306        match err {
307            crate::operation::create_requester_gateway::CreateRequesterGatewayError::AccessDeniedException(inner) => {
308                Error::AccessDeniedException(inner)
309            }
310            crate::operation::create_requester_gateway::CreateRequesterGatewayError::InternalServerException(inner) => {
311                Error::InternalServerException(inner)
312            }
313            crate::operation::create_requester_gateway::CreateRequesterGatewayError::ResourceNotFoundException(inner) => {
314                Error::ResourceNotFoundException(inner)
315            }
316            crate::operation::create_requester_gateway::CreateRequesterGatewayError::ServiceQuotaExceededException(inner) => {
317                Error::ServiceQuotaExceededException(inner)
318            }
319            crate::operation::create_requester_gateway::CreateRequesterGatewayError::ThrottlingException(inner) => Error::ThrottlingException(inner),
320            crate::operation::create_requester_gateway::CreateRequesterGatewayError::ValidationException(inner) => Error::ValidationException(inner),
321            crate::operation::create_requester_gateway::CreateRequesterGatewayError::Unhandled(inner) => Error::Unhandled(inner),
322        }
323    }
324}
325impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_responder_gateway::CreateResponderGatewayError, R>> for Error
326where
327    R: Send + Sync + std::fmt::Debug + 'static,
328{
329    fn from(
330        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_responder_gateway::CreateResponderGatewayError, R>,
331    ) -> Self {
332        match err {
333            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
334            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
335                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
336                source: err.into(),
337            }),
338        }
339    }
340}
341impl From<crate::operation::create_responder_gateway::CreateResponderGatewayError> for Error {
342    fn from(err: crate::operation::create_responder_gateway::CreateResponderGatewayError) -> Self {
343        match err {
344            crate::operation::create_responder_gateway::CreateResponderGatewayError::AccessDeniedException(inner) => {
345                Error::AccessDeniedException(inner)
346            }
347            crate::operation::create_responder_gateway::CreateResponderGatewayError::InternalServerException(inner) => {
348                Error::InternalServerException(inner)
349            }
350            crate::operation::create_responder_gateway::CreateResponderGatewayError::ResourceNotFoundException(inner) => {
351                Error::ResourceNotFoundException(inner)
352            }
353            crate::operation::create_responder_gateway::CreateResponderGatewayError::ServiceQuotaExceededException(inner) => {
354                Error::ServiceQuotaExceededException(inner)
355            }
356            crate::operation::create_responder_gateway::CreateResponderGatewayError::ThrottlingException(inner) => Error::ThrottlingException(inner),
357            crate::operation::create_responder_gateway::CreateResponderGatewayError::ValidationException(inner) => Error::ValidationException(inner),
358            crate::operation::create_responder_gateway::CreateResponderGatewayError::Unhandled(inner) => Error::Unhandled(inner),
359        }
360    }
361}
362impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_inbound_external_link::DeleteInboundExternalLinkError, R>>
363    for Error
364where
365    R: Send + Sync + std::fmt::Debug + 'static,
366{
367    fn from(
368        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_inbound_external_link::DeleteInboundExternalLinkError, R>,
369    ) -> Self {
370        match err {
371            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
372            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
373                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
374                source: err.into(),
375            }),
376        }
377    }
378}
379impl From<crate::operation::delete_inbound_external_link::DeleteInboundExternalLinkError> for Error {
380    fn from(err: crate::operation::delete_inbound_external_link::DeleteInboundExternalLinkError) -> Self {
381        match err {
382            crate::operation::delete_inbound_external_link::DeleteInboundExternalLinkError::AccessDeniedException(inner) => {
383                Error::AccessDeniedException(inner)
384            }
385            crate::operation::delete_inbound_external_link::DeleteInboundExternalLinkError::ConflictException(inner) => {
386                Error::ConflictException(inner)
387            }
388            crate::operation::delete_inbound_external_link::DeleteInboundExternalLinkError::InternalServerException(inner) => {
389                Error::InternalServerException(inner)
390            }
391            crate::operation::delete_inbound_external_link::DeleteInboundExternalLinkError::ResourceNotFoundException(inner) => {
392                Error::ResourceNotFoundException(inner)
393            }
394            crate::operation::delete_inbound_external_link::DeleteInboundExternalLinkError::ThrottlingException(inner) => {
395                Error::ThrottlingException(inner)
396            }
397            crate::operation::delete_inbound_external_link::DeleteInboundExternalLinkError::ValidationException(inner) => {
398                Error::ValidationException(inner)
399            }
400            crate::operation::delete_inbound_external_link::DeleteInboundExternalLinkError::Unhandled(inner) => Error::Unhandled(inner),
401        }
402    }
403}
404impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_link::DeleteLinkError, R>> for Error
405where
406    R: Send + Sync + std::fmt::Debug + 'static,
407{
408    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_link::DeleteLinkError, R>) -> Self {
409        match err {
410            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
411            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
412                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
413                source: err.into(),
414            }),
415        }
416    }
417}
418impl From<crate::operation::delete_link::DeleteLinkError> for Error {
419    fn from(err: crate::operation::delete_link::DeleteLinkError) -> Self {
420        match err {
421            crate::operation::delete_link::DeleteLinkError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
422            crate::operation::delete_link::DeleteLinkError::ConflictException(inner) => Error::ConflictException(inner),
423            crate::operation::delete_link::DeleteLinkError::InternalServerException(inner) => Error::InternalServerException(inner),
424            crate::operation::delete_link::DeleteLinkError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
425            crate::operation::delete_link::DeleteLinkError::ThrottlingException(inner) => Error::ThrottlingException(inner),
426            crate::operation::delete_link::DeleteLinkError::ValidationException(inner) => Error::ValidationException(inner),
427            crate::operation::delete_link::DeleteLinkError::Unhandled(inner) => Error::Unhandled(inner),
428        }
429    }
430}
431impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_link_routing_rule::DeleteLinkRoutingRuleError, R>> for Error
432where
433    R: Send + Sync + std::fmt::Debug + 'static,
434{
435    fn from(
436        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_link_routing_rule::DeleteLinkRoutingRuleError, R>,
437    ) -> Self {
438        match err {
439            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
440            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
441                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
442                source: err.into(),
443            }),
444        }
445    }
446}
447impl From<crate::operation::delete_link_routing_rule::DeleteLinkRoutingRuleError> for Error {
448    fn from(err: crate::operation::delete_link_routing_rule::DeleteLinkRoutingRuleError) -> Self {
449        match err {
450            crate::operation::delete_link_routing_rule::DeleteLinkRoutingRuleError::AccessDeniedException(inner) => {
451                Error::AccessDeniedException(inner)
452            }
453            crate::operation::delete_link_routing_rule::DeleteLinkRoutingRuleError::ConflictException(inner) => Error::ConflictException(inner),
454            crate::operation::delete_link_routing_rule::DeleteLinkRoutingRuleError::InternalServerException(inner) => {
455                Error::InternalServerException(inner)
456            }
457            crate::operation::delete_link_routing_rule::DeleteLinkRoutingRuleError::ResourceNotFoundException(inner) => {
458                Error::ResourceNotFoundException(inner)
459            }
460            crate::operation::delete_link_routing_rule::DeleteLinkRoutingRuleError::ThrottlingException(inner) => Error::ThrottlingException(inner),
461            crate::operation::delete_link_routing_rule::DeleteLinkRoutingRuleError::ValidationException(inner) => Error::ValidationException(inner),
462            crate::operation::delete_link_routing_rule::DeleteLinkRoutingRuleError::Unhandled(inner) => Error::Unhandled(inner),
463        }
464    }
465}
466impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_outbound_external_link::DeleteOutboundExternalLinkError, R>>
467    for Error
468where
469    R: Send + Sync + std::fmt::Debug + 'static,
470{
471    fn from(
472        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_outbound_external_link::DeleteOutboundExternalLinkError, R>,
473    ) -> Self {
474        match err {
475            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
476            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
477                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
478                source: err.into(),
479            }),
480        }
481    }
482}
483impl From<crate::operation::delete_outbound_external_link::DeleteOutboundExternalLinkError> for Error {
484    fn from(err: crate::operation::delete_outbound_external_link::DeleteOutboundExternalLinkError) -> Self {
485        match err {
486            crate::operation::delete_outbound_external_link::DeleteOutboundExternalLinkError::AccessDeniedException(inner) => {
487                Error::AccessDeniedException(inner)
488            }
489            crate::operation::delete_outbound_external_link::DeleteOutboundExternalLinkError::ConflictException(inner) => {
490                Error::ConflictException(inner)
491            }
492            crate::operation::delete_outbound_external_link::DeleteOutboundExternalLinkError::InternalServerException(inner) => {
493                Error::InternalServerException(inner)
494            }
495            crate::operation::delete_outbound_external_link::DeleteOutboundExternalLinkError::ResourceNotFoundException(inner) => {
496                Error::ResourceNotFoundException(inner)
497            }
498            crate::operation::delete_outbound_external_link::DeleteOutboundExternalLinkError::ThrottlingException(inner) => {
499                Error::ThrottlingException(inner)
500            }
501            crate::operation::delete_outbound_external_link::DeleteOutboundExternalLinkError::ValidationException(inner) => {
502                Error::ValidationException(inner)
503            }
504            crate::operation::delete_outbound_external_link::DeleteOutboundExternalLinkError::Unhandled(inner) => Error::Unhandled(inner),
505        }
506    }
507}
508impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_requester_gateway::DeleteRequesterGatewayError, R>> for Error
509where
510    R: Send + Sync + std::fmt::Debug + 'static,
511{
512    fn from(
513        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_requester_gateway::DeleteRequesterGatewayError, R>,
514    ) -> Self {
515        match err {
516            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
517            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
518                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
519                source: err.into(),
520            }),
521        }
522    }
523}
524impl From<crate::operation::delete_requester_gateway::DeleteRequesterGatewayError> for Error {
525    fn from(err: crate::operation::delete_requester_gateway::DeleteRequesterGatewayError) -> Self {
526        match err {
527            crate::operation::delete_requester_gateway::DeleteRequesterGatewayError::AccessDeniedException(inner) => {
528                Error::AccessDeniedException(inner)
529            }
530            crate::operation::delete_requester_gateway::DeleteRequesterGatewayError::ConflictException(inner) => Error::ConflictException(inner),
531            crate::operation::delete_requester_gateway::DeleteRequesterGatewayError::InternalServerException(inner) => {
532                Error::InternalServerException(inner)
533            }
534            crate::operation::delete_requester_gateway::DeleteRequesterGatewayError::ResourceNotFoundException(inner) => {
535                Error::ResourceNotFoundException(inner)
536            }
537            crate::operation::delete_requester_gateway::DeleteRequesterGatewayError::ThrottlingException(inner) => Error::ThrottlingException(inner),
538            crate::operation::delete_requester_gateway::DeleteRequesterGatewayError::ValidationException(inner) => Error::ValidationException(inner),
539            crate::operation::delete_requester_gateway::DeleteRequesterGatewayError::Unhandled(inner) => Error::Unhandled(inner),
540        }
541    }
542}
543impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_responder_gateway::DeleteResponderGatewayError, R>> for Error
544where
545    R: Send + Sync + std::fmt::Debug + 'static,
546{
547    fn from(
548        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_responder_gateway::DeleteResponderGatewayError, R>,
549    ) -> Self {
550        match err {
551            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
552            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
553                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
554                source: err.into(),
555            }),
556        }
557    }
558}
559impl From<crate::operation::delete_responder_gateway::DeleteResponderGatewayError> for Error {
560    fn from(err: crate::operation::delete_responder_gateway::DeleteResponderGatewayError) -> Self {
561        match err {
562            crate::operation::delete_responder_gateway::DeleteResponderGatewayError::AccessDeniedException(inner) => {
563                Error::AccessDeniedException(inner)
564            }
565            crate::operation::delete_responder_gateway::DeleteResponderGatewayError::ConflictException(inner) => Error::ConflictException(inner),
566            crate::operation::delete_responder_gateway::DeleteResponderGatewayError::InternalServerException(inner) => {
567                Error::InternalServerException(inner)
568            }
569            crate::operation::delete_responder_gateway::DeleteResponderGatewayError::ResourceNotFoundException(inner) => {
570                Error::ResourceNotFoundException(inner)
571            }
572            crate::operation::delete_responder_gateway::DeleteResponderGatewayError::ThrottlingException(inner) => Error::ThrottlingException(inner),
573            crate::operation::delete_responder_gateway::DeleteResponderGatewayError::ValidationException(inner) => Error::ValidationException(inner),
574            crate::operation::delete_responder_gateway::DeleteResponderGatewayError::Unhandled(inner) => Error::Unhandled(inner),
575        }
576    }
577}
578impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_certificate::DisassociateCertificateError, R>>
579    for Error
580where
581    R: Send + Sync + std::fmt::Debug + 'static,
582{
583    fn from(
584        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_certificate::DisassociateCertificateError, R>,
585    ) -> Self {
586        match err {
587            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
588            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
589                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
590                source: err.into(),
591            }),
592        }
593    }
594}
595impl From<crate::operation::disassociate_certificate::DisassociateCertificateError> for Error {
596    fn from(err: crate::operation::disassociate_certificate::DisassociateCertificateError) -> Self {
597        match err {
598            crate::operation::disassociate_certificate::DisassociateCertificateError::AccessDeniedException(inner) => {
599                Error::AccessDeniedException(inner)
600            }
601            crate::operation::disassociate_certificate::DisassociateCertificateError::ConflictException(inner) => Error::ConflictException(inner),
602            crate::operation::disassociate_certificate::DisassociateCertificateError::InternalServerException(inner) => {
603                Error::InternalServerException(inner)
604            }
605            crate::operation::disassociate_certificate::DisassociateCertificateError::ResourceNotFoundException(inner) => {
606                Error::ResourceNotFoundException(inner)
607            }
608            crate::operation::disassociate_certificate::DisassociateCertificateError::ServiceQuotaExceededException(inner) => {
609                Error::ServiceQuotaExceededException(inner)
610            }
611            crate::operation::disassociate_certificate::DisassociateCertificateError::ThrottlingException(inner) => Error::ThrottlingException(inner),
612            crate::operation::disassociate_certificate::DisassociateCertificateError::ValidationException(inner) => Error::ValidationException(inner),
613            crate::operation::disassociate_certificate::DisassociateCertificateError::Unhandled(inner) => Error::Unhandled(inner),
614        }
615    }
616}
617impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_certificate_association::GetCertificateAssociationError, R>>
618    for Error
619where
620    R: Send + Sync + std::fmt::Debug + 'static,
621{
622    fn from(
623        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_certificate_association::GetCertificateAssociationError, R>,
624    ) -> Self {
625        match err {
626            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
627            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
628                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
629                source: err.into(),
630            }),
631        }
632    }
633}
634impl From<crate::operation::get_certificate_association::GetCertificateAssociationError> for Error {
635    fn from(err: crate::operation::get_certificate_association::GetCertificateAssociationError) -> Self {
636        match err {
637            crate::operation::get_certificate_association::GetCertificateAssociationError::AccessDeniedException(inner) => {
638                Error::AccessDeniedException(inner)
639            }
640            crate::operation::get_certificate_association::GetCertificateAssociationError::InternalServerException(inner) => {
641                Error::InternalServerException(inner)
642            }
643            crate::operation::get_certificate_association::GetCertificateAssociationError::ResourceNotFoundException(inner) => {
644                Error::ResourceNotFoundException(inner)
645            }
646            crate::operation::get_certificate_association::GetCertificateAssociationError::ThrottlingException(inner) => {
647                Error::ThrottlingException(inner)
648            }
649            crate::operation::get_certificate_association::GetCertificateAssociationError::ValidationException(inner) => {
650                Error::ValidationException(inner)
651            }
652            crate::operation::get_certificate_association::GetCertificateAssociationError::Unhandled(inner) => Error::Unhandled(inner),
653        }
654    }
655}
656impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_inbound_external_link::GetInboundExternalLinkError, R>>
657    for Error
658where
659    R: Send + Sync + std::fmt::Debug + 'static,
660{
661    fn from(
662        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_inbound_external_link::GetInboundExternalLinkError, R>,
663    ) -> Self {
664        match err {
665            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
666            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
667                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
668                source: err.into(),
669            }),
670        }
671    }
672}
673impl From<crate::operation::get_inbound_external_link::GetInboundExternalLinkError> for Error {
674    fn from(err: crate::operation::get_inbound_external_link::GetInboundExternalLinkError) -> Self {
675        match err {
676            crate::operation::get_inbound_external_link::GetInboundExternalLinkError::AccessDeniedException(inner) => {
677                Error::AccessDeniedException(inner)
678            }
679            crate::operation::get_inbound_external_link::GetInboundExternalLinkError::InternalServerException(inner) => {
680                Error::InternalServerException(inner)
681            }
682            crate::operation::get_inbound_external_link::GetInboundExternalLinkError::ResourceNotFoundException(inner) => {
683                Error::ResourceNotFoundException(inner)
684            }
685            crate::operation::get_inbound_external_link::GetInboundExternalLinkError::ThrottlingException(inner) => Error::ThrottlingException(inner),
686            crate::operation::get_inbound_external_link::GetInboundExternalLinkError::ValidationException(inner) => Error::ValidationException(inner),
687            crate::operation::get_inbound_external_link::GetInboundExternalLinkError::Unhandled(inner) => Error::Unhandled(inner),
688        }
689    }
690}
691impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_link::GetLinkError, R>> for Error
692where
693    R: Send + Sync + std::fmt::Debug + 'static,
694{
695    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_link::GetLinkError, R>) -> Self {
696        match err {
697            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
698            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
699                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
700                source: err.into(),
701            }),
702        }
703    }
704}
705impl From<crate::operation::get_link::GetLinkError> for Error {
706    fn from(err: crate::operation::get_link::GetLinkError) -> Self {
707        match err {
708            crate::operation::get_link::GetLinkError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
709            crate::operation::get_link::GetLinkError::ConflictException(inner) => Error::ConflictException(inner),
710            crate::operation::get_link::GetLinkError::InternalServerException(inner) => Error::InternalServerException(inner),
711            crate::operation::get_link::GetLinkError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
712            crate::operation::get_link::GetLinkError::ThrottlingException(inner) => Error::ThrottlingException(inner),
713            crate::operation::get_link::GetLinkError::ValidationException(inner) => Error::ValidationException(inner),
714            crate::operation::get_link::GetLinkError::Unhandled(inner) => Error::Unhandled(inner),
715        }
716    }
717}
718impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_link_routing_rule::GetLinkRoutingRuleError, R>> for Error
719where
720    R: Send + Sync + std::fmt::Debug + 'static,
721{
722    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_link_routing_rule::GetLinkRoutingRuleError, R>) -> Self {
723        match err {
724            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
725            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
726                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
727                source: err.into(),
728            }),
729        }
730    }
731}
732impl From<crate::operation::get_link_routing_rule::GetLinkRoutingRuleError> for Error {
733    fn from(err: crate::operation::get_link_routing_rule::GetLinkRoutingRuleError) -> Self {
734        match err {
735            crate::operation::get_link_routing_rule::GetLinkRoutingRuleError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
736            crate::operation::get_link_routing_rule::GetLinkRoutingRuleError::InternalServerException(inner) => Error::InternalServerException(inner),
737            crate::operation::get_link_routing_rule::GetLinkRoutingRuleError::ResourceNotFoundException(inner) => {
738                Error::ResourceNotFoundException(inner)
739            }
740            crate::operation::get_link_routing_rule::GetLinkRoutingRuleError::ThrottlingException(inner) => Error::ThrottlingException(inner),
741            crate::operation::get_link_routing_rule::GetLinkRoutingRuleError::ValidationException(inner) => Error::ValidationException(inner),
742            crate::operation::get_link_routing_rule::GetLinkRoutingRuleError::Unhandled(inner) => Error::Unhandled(inner),
743        }
744    }
745}
746impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_outbound_external_link::GetOutboundExternalLinkError, R>>
747    for Error
748where
749    R: Send + Sync + std::fmt::Debug + 'static,
750{
751    fn from(
752        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_outbound_external_link::GetOutboundExternalLinkError, R>,
753    ) -> Self {
754        match err {
755            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
756            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
757                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
758                source: err.into(),
759            }),
760        }
761    }
762}
763impl From<crate::operation::get_outbound_external_link::GetOutboundExternalLinkError> for Error {
764    fn from(err: crate::operation::get_outbound_external_link::GetOutboundExternalLinkError) -> Self {
765        match err {
766            crate::operation::get_outbound_external_link::GetOutboundExternalLinkError::AccessDeniedException(inner) => {
767                Error::AccessDeniedException(inner)
768            }
769            crate::operation::get_outbound_external_link::GetOutboundExternalLinkError::InternalServerException(inner) => {
770                Error::InternalServerException(inner)
771            }
772            crate::operation::get_outbound_external_link::GetOutboundExternalLinkError::ResourceNotFoundException(inner) => {
773                Error::ResourceNotFoundException(inner)
774            }
775            crate::operation::get_outbound_external_link::GetOutboundExternalLinkError::ThrottlingException(inner) => {
776                Error::ThrottlingException(inner)
777            }
778            crate::operation::get_outbound_external_link::GetOutboundExternalLinkError::ValidationException(inner) => {
779                Error::ValidationException(inner)
780            }
781            crate::operation::get_outbound_external_link::GetOutboundExternalLinkError::Unhandled(inner) => Error::Unhandled(inner),
782        }
783    }
784}
785impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_requester_gateway::GetRequesterGatewayError, R>> for Error
786where
787    R: Send + Sync + std::fmt::Debug + 'static,
788{
789    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_requester_gateway::GetRequesterGatewayError, R>) -> Self {
790        match err {
791            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
792            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
793                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
794                source: err.into(),
795            }),
796        }
797    }
798}
799impl From<crate::operation::get_requester_gateway::GetRequesterGatewayError> for Error {
800    fn from(err: crate::operation::get_requester_gateway::GetRequesterGatewayError) -> Self {
801        match err {
802            crate::operation::get_requester_gateway::GetRequesterGatewayError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
803            crate::operation::get_requester_gateway::GetRequesterGatewayError::InternalServerException(inner) => {
804                Error::InternalServerException(inner)
805            }
806            crate::operation::get_requester_gateway::GetRequesterGatewayError::ResourceNotFoundException(inner) => {
807                Error::ResourceNotFoundException(inner)
808            }
809            crate::operation::get_requester_gateway::GetRequesterGatewayError::ThrottlingException(inner) => Error::ThrottlingException(inner),
810            crate::operation::get_requester_gateway::GetRequesterGatewayError::ValidationException(inner) => Error::ValidationException(inner),
811            crate::operation::get_requester_gateway::GetRequesterGatewayError::Unhandled(inner) => Error::Unhandled(inner),
812        }
813    }
814}
815impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_responder_gateway::GetResponderGatewayError, R>> for Error
816where
817    R: Send + Sync + std::fmt::Debug + 'static,
818{
819    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_responder_gateway::GetResponderGatewayError, R>) -> Self {
820        match err {
821            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
822            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
823                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
824                source: err.into(),
825            }),
826        }
827    }
828}
829impl From<crate::operation::get_responder_gateway::GetResponderGatewayError> for Error {
830    fn from(err: crate::operation::get_responder_gateway::GetResponderGatewayError) -> Self {
831        match err {
832            crate::operation::get_responder_gateway::GetResponderGatewayError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
833            crate::operation::get_responder_gateway::GetResponderGatewayError::InternalServerException(inner) => {
834                Error::InternalServerException(inner)
835            }
836            crate::operation::get_responder_gateway::GetResponderGatewayError::ResourceNotFoundException(inner) => {
837                Error::ResourceNotFoundException(inner)
838            }
839            crate::operation::get_responder_gateway::GetResponderGatewayError::ThrottlingException(inner) => Error::ThrottlingException(inner),
840            crate::operation::get_responder_gateway::GetResponderGatewayError::ValidationException(inner) => Error::ValidationException(inner),
841            crate::operation::get_responder_gateway::GetResponderGatewayError::Unhandled(inner) => Error::Unhandled(inner),
842        }
843    }
844}
845impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_certificate_associations::ListCertificateAssociationsError, R>>
846    for Error
847where
848    R: Send + Sync + std::fmt::Debug + 'static,
849{
850    fn from(
851        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_certificate_associations::ListCertificateAssociationsError, R>,
852    ) -> Self {
853        match err {
854            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
855            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
856                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
857                source: err.into(),
858            }),
859        }
860    }
861}
862impl From<crate::operation::list_certificate_associations::ListCertificateAssociationsError> for Error {
863    fn from(err: crate::operation::list_certificate_associations::ListCertificateAssociationsError) -> Self {
864        match err {
865            crate::operation::list_certificate_associations::ListCertificateAssociationsError::AccessDeniedException(inner) => {
866                Error::AccessDeniedException(inner)
867            }
868            crate::operation::list_certificate_associations::ListCertificateAssociationsError::InternalServerException(inner) => {
869                Error::InternalServerException(inner)
870            }
871            crate::operation::list_certificate_associations::ListCertificateAssociationsError::ResourceNotFoundException(inner) => {
872                Error::ResourceNotFoundException(inner)
873            }
874            crate::operation::list_certificate_associations::ListCertificateAssociationsError::ThrottlingException(inner) => {
875                Error::ThrottlingException(inner)
876            }
877            crate::operation::list_certificate_associations::ListCertificateAssociationsError::ValidationException(inner) => {
878                Error::ValidationException(inner)
879            }
880            crate::operation::list_certificate_associations::ListCertificateAssociationsError::Unhandled(inner) => Error::Unhandled(inner),
881        }
882    }
883}
884impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_link_routing_rules::ListLinkRoutingRulesError, R>> for Error
885where
886    R: Send + Sync + std::fmt::Debug + 'static,
887{
888    fn from(
889        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_link_routing_rules::ListLinkRoutingRulesError, R>,
890    ) -> Self {
891        match err {
892            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
893            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
894                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
895                source: err.into(),
896            }),
897        }
898    }
899}
900impl From<crate::operation::list_link_routing_rules::ListLinkRoutingRulesError> for Error {
901    fn from(err: crate::operation::list_link_routing_rules::ListLinkRoutingRulesError) -> Self {
902        match err {
903            crate::operation::list_link_routing_rules::ListLinkRoutingRulesError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
904            crate::operation::list_link_routing_rules::ListLinkRoutingRulesError::InternalServerException(inner) => {
905                Error::InternalServerException(inner)
906            }
907            crate::operation::list_link_routing_rules::ListLinkRoutingRulesError::ResourceNotFoundException(inner) => {
908                Error::ResourceNotFoundException(inner)
909            }
910            crate::operation::list_link_routing_rules::ListLinkRoutingRulesError::ThrottlingException(inner) => Error::ThrottlingException(inner),
911            crate::operation::list_link_routing_rules::ListLinkRoutingRulesError::ValidationException(inner) => Error::ValidationException(inner),
912            crate::operation::list_link_routing_rules::ListLinkRoutingRulesError::Unhandled(inner) => Error::Unhandled(inner),
913        }
914    }
915}
916impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_links::ListLinksError, R>> for Error
917where
918    R: Send + Sync + std::fmt::Debug + 'static,
919{
920    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_links::ListLinksError, R>) -> Self {
921        match err {
922            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
923            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
924                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
925                source: err.into(),
926            }),
927        }
928    }
929}
930impl From<crate::operation::list_links::ListLinksError> for Error {
931    fn from(err: crate::operation::list_links::ListLinksError) -> Self {
932        match err {
933            crate::operation::list_links::ListLinksError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
934            crate::operation::list_links::ListLinksError::InternalServerException(inner) => Error::InternalServerException(inner),
935            crate::operation::list_links::ListLinksError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
936            crate::operation::list_links::ListLinksError::ThrottlingException(inner) => Error::ThrottlingException(inner),
937            crate::operation::list_links::ListLinksError::ValidationException(inner) => Error::ValidationException(inner),
938            crate::operation::list_links::ListLinksError::Unhandled(inner) => Error::Unhandled(inner),
939        }
940    }
941}
942impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_requester_gateways::ListRequesterGatewaysError, R>> for Error
943where
944    R: Send + Sync + std::fmt::Debug + 'static,
945{
946    fn from(
947        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_requester_gateways::ListRequesterGatewaysError, R>,
948    ) -> Self {
949        match err {
950            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
951            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
952                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
953                source: err.into(),
954            }),
955        }
956    }
957}
958impl From<crate::operation::list_requester_gateways::ListRequesterGatewaysError> for Error {
959    fn from(err: crate::operation::list_requester_gateways::ListRequesterGatewaysError) -> Self {
960        match err {
961            crate::operation::list_requester_gateways::ListRequesterGatewaysError::InternalServerException(inner) => {
962                Error::InternalServerException(inner)
963            }
964            crate::operation::list_requester_gateways::ListRequesterGatewaysError::ValidationException(inner) => Error::ValidationException(inner),
965            crate::operation::list_requester_gateways::ListRequesterGatewaysError::Unhandled(inner) => Error::Unhandled(inner),
966        }
967    }
968}
969impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_responder_gateways::ListResponderGatewaysError, R>> for Error
970where
971    R: Send + Sync + std::fmt::Debug + 'static,
972{
973    fn from(
974        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_responder_gateways::ListResponderGatewaysError, R>,
975    ) -> Self {
976        match err {
977            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
978            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
979                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
980                source: err.into(),
981            }),
982        }
983    }
984}
985impl From<crate::operation::list_responder_gateways::ListResponderGatewaysError> for Error {
986    fn from(err: crate::operation::list_responder_gateways::ListResponderGatewaysError) -> Self {
987        match err {
988            crate::operation::list_responder_gateways::ListResponderGatewaysError::InternalServerException(inner) => {
989                Error::InternalServerException(inner)
990            }
991            crate::operation::list_responder_gateways::ListResponderGatewaysError::ValidationException(inner) => Error::ValidationException(inner),
992            crate::operation::list_responder_gateways::ListResponderGatewaysError::Unhandled(inner) => Error::Unhandled(inner),
993        }
994    }
995}
996impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_tags_for_resource::ListTagsForResourceError, R>> for Error
997where
998    R: Send + Sync + std::fmt::Debug + 'static,
999{
1000    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_tags_for_resource::ListTagsForResourceError, R>) -> Self {
1001        match err {
1002            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1003            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1004                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1005                source: err.into(),
1006            }),
1007        }
1008    }
1009}
1010impl From<crate::operation::list_tags_for_resource::ListTagsForResourceError> for Error {
1011    fn from(err: crate::operation::list_tags_for_resource::ListTagsForResourceError) -> Self {
1012        match err {
1013            crate::operation::list_tags_for_resource::ListTagsForResourceError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1014            crate::operation::list_tags_for_resource::ListTagsForResourceError::InternalServerException(inner) => {
1015                Error::InternalServerException(inner)
1016            }
1017            crate::operation::list_tags_for_resource::ListTagsForResourceError::ResourceNotFoundException(inner) => {
1018                Error::ResourceNotFoundException(inner)
1019            }
1020            crate::operation::list_tags_for_resource::ListTagsForResourceError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1021            crate::operation::list_tags_for_resource::ListTagsForResourceError::ValidationException(inner) => Error::ValidationException(inner),
1022            crate::operation::list_tags_for_resource::ListTagsForResourceError::Unhandled(inner) => Error::Unhandled(inner),
1023        }
1024    }
1025}
1026impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reject_link::RejectLinkError, R>> for Error
1027where
1028    R: Send + Sync + std::fmt::Debug + 'static,
1029{
1030    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reject_link::RejectLinkError, R>) -> Self {
1031        match err {
1032            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1033            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1034                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1035                source: err.into(),
1036            }),
1037        }
1038    }
1039}
1040impl From<crate::operation::reject_link::RejectLinkError> for Error {
1041    fn from(err: crate::operation::reject_link::RejectLinkError) -> Self {
1042        match err {
1043            crate::operation::reject_link::RejectLinkError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1044            crate::operation::reject_link::RejectLinkError::ConflictException(inner) => Error::ConflictException(inner),
1045            crate::operation::reject_link::RejectLinkError::InternalServerException(inner) => Error::InternalServerException(inner),
1046            crate::operation::reject_link::RejectLinkError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1047            crate::operation::reject_link::RejectLinkError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1048            crate::operation::reject_link::RejectLinkError::ValidationException(inner) => Error::ValidationException(inner),
1049            crate::operation::reject_link::RejectLinkError::Unhandled(inner) => Error::Unhandled(inner),
1050        }
1051    }
1052}
1053impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::tag_resource::TagResourceError, R>> for Error
1054where
1055    R: Send + Sync + std::fmt::Debug + 'static,
1056{
1057    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::tag_resource::TagResourceError, R>) -> Self {
1058        match err {
1059            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1060            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1061                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1062                source: err.into(),
1063            }),
1064        }
1065    }
1066}
1067impl From<crate::operation::tag_resource::TagResourceError> for Error {
1068    fn from(err: crate::operation::tag_resource::TagResourceError) -> Self {
1069        match err {
1070            crate::operation::tag_resource::TagResourceError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1071            crate::operation::tag_resource::TagResourceError::InternalServerException(inner) => Error::InternalServerException(inner),
1072            crate::operation::tag_resource::TagResourceError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1073            crate::operation::tag_resource::TagResourceError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1074            crate::operation::tag_resource::TagResourceError::ValidationException(inner) => Error::ValidationException(inner),
1075            crate::operation::tag_resource::TagResourceError::Unhandled(inner) => Error::Unhandled(inner),
1076        }
1077    }
1078}
1079impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::untag_resource::UntagResourceError, R>> for Error
1080where
1081    R: Send + Sync + std::fmt::Debug + 'static,
1082{
1083    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::untag_resource::UntagResourceError, R>) -> Self {
1084        match err {
1085            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1086            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1087                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1088                source: err.into(),
1089            }),
1090        }
1091    }
1092}
1093impl From<crate::operation::untag_resource::UntagResourceError> for Error {
1094    fn from(err: crate::operation::untag_resource::UntagResourceError) -> Self {
1095        match err {
1096            crate::operation::untag_resource::UntagResourceError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1097            crate::operation::untag_resource::UntagResourceError::InternalServerException(inner) => Error::InternalServerException(inner),
1098            crate::operation::untag_resource::UntagResourceError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1099            crate::operation::untag_resource::UntagResourceError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1100            crate::operation::untag_resource::UntagResourceError::ValidationException(inner) => Error::ValidationException(inner),
1101            crate::operation::untag_resource::UntagResourceError::Unhandled(inner) => Error::Unhandled(inner),
1102        }
1103    }
1104}
1105impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_link::UpdateLinkError, R>> for Error
1106where
1107    R: Send + Sync + std::fmt::Debug + 'static,
1108{
1109    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_link::UpdateLinkError, R>) -> Self {
1110        match err {
1111            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1112            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1113                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1114                source: err.into(),
1115            }),
1116        }
1117    }
1118}
1119impl From<crate::operation::update_link::UpdateLinkError> for Error {
1120    fn from(err: crate::operation::update_link::UpdateLinkError) -> Self {
1121        match err {
1122            crate::operation::update_link::UpdateLinkError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1123            crate::operation::update_link::UpdateLinkError::ConflictException(inner) => Error::ConflictException(inner),
1124            crate::operation::update_link::UpdateLinkError::InternalServerException(inner) => Error::InternalServerException(inner),
1125            crate::operation::update_link::UpdateLinkError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1126            crate::operation::update_link::UpdateLinkError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1127            crate::operation::update_link::UpdateLinkError::ValidationException(inner) => Error::ValidationException(inner),
1128            crate::operation::update_link::UpdateLinkError::Unhandled(inner) => Error::Unhandled(inner),
1129        }
1130    }
1131}
1132impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_link_module_flow::UpdateLinkModuleFlowError, R>> for Error
1133where
1134    R: Send + Sync + std::fmt::Debug + 'static,
1135{
1136    fn from(
1137        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_link_module_flow::UpdateLinkModuleFlowError, R>,
1138    ) -> Self {
1139        match err {
1140            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1141            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1142                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1143                source: err.into(),
1144            }),
1145        }
1146    }
1147}
1148impl From<crate::operation::update_link_module_flow::UpdateLinkModuleFlowError> for Error {
1149    fn from(err: crate::operation::update_link_module_flow::UpdateLinkModuleFlowError) -> Self {
1150        match err {
1151            crate::operation::update_link_module_flow::UpdateLinkModuleFlowError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1152            crate::operation::update_link_module_flow::UpdateLinkModuleFlowError::ConflictException(inner) => Error::ConflictException(inner),
1153            crate::operation::update_link_module_flow::UpdateLinkModuleFlowError::InternalServerException(inner) => {
1154                Error::InternalServerException(inner)
1155            }
1156            crate::operation::update_link_module_flow::UpdateLinkModuleFlowError::ResourceNotFoundException(inner) => {
1157                Error::ResourceNotFoundException(inner)
1158            }
1159            crate::operation::update_link_module_flow::UpdateLinkModuleFlowError::ServiceQuotaExceededException(inner) => {
1160                Error::ServiceQuotaExceededException(inner)
1161            }
1162            crate::operation::update_link_module_flow::UpdateLinkModuleFlowError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1163            crate::operation::update_link_module_flow::UpdateLinkModuleFlowError::ValidationException(inner) => Error::ValidationException(inner),
1164            crate::operation::update_link_module_flow::UpdateLinkModuleFlowError::Unhandled(inner) => Error::Unhandled(inner),
1165        }
1166    }
1167}
1168impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_link_routing_rule::UpdateLinkRoutingRuleError, R>> for Error
1169where
1170    R: Send + Sync + std::fmt::Debug + 'static,
1171{
1172    fn from(
1173        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_link_routing_rule::UpdateLinkRoutingRuleError, R>,
1174    ) -> Self {
1175        match err {
1176            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1177            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1178                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1179                source: err.into(),
1180            }),
1181        }
1182    }
1183}
1184impl From<crate::operation::update_link_routing_rule::UpdateLinkRoutingRuleError> for Error {
1185    fn from(err: crate::operation::update_link_routing_rule::UpdateLinkRoutingRuleError) -> Self {
1186        match err {
1187            crate::operation::update_link_routing_rule::UpdateLinkRoutingRuleError::AccessDeniedException(inner) => {
1188                Error::AccessDeniedException(inner)
1189            }
1190            crate::operation::update_link_routing_rule::UpdateLinkRoutingRuleError::ConflictException(inner) => Error::ConflictException(inner),
1191            crate::operation::update_link_routing_rule::UpdateLinkRoutingRuleError::InternalServerException(inner) => {
1192                Error::InternalServerException(inner)
1193            }
1194            crate::operation::update_link_routing_rule::UpdateLinkRoutingRuleError::ResourceNotFoundException(inner) => {
1195                Error::ResourceNotFoundException(inner)
1196            }
1197            crate::operation::update_link_routing_rule::UpdateLinkRoutingRuleError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1198            crate::operation::update_link_routing_rule::UpdateLinkRoutingRuleError::ValidationException(inner) => Error::ValidationException(inner),
1199            crate::operation::update_link_routing_rule::UpdateLinkRoutingRuleError::Unhandled(inner) => Error::Unhandled(inner),
1200        }
1201    }
1202}
1203impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_requester_gateway::UpdateRequesterGatewayError, R>> for Error
1204where
1205    R: Send + Sync + std::fmt::Debug + 'static,
1206{
1207    fn from(
1208        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_requester_gateway::UpdateRequesterGatewayError, R>,
1209    ) -> Self {
1210        match err {
1211            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1212            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1213                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1214                source: err.into(),
1215            }),
1216        }
1217    }
1218}
1219impl From<crate::operation::update_requester_gateway::UpdateRequesterGatewayError> for Error {
1220    fn from(err: crate::operation::update_requester_gateway::UpdateRequesterGatewayError) -> Self {
1221        match err {
1222            crate::operation::update_requester_gateway::UpdateRequesterGatewayError::AccessDeniedException(inner) => {
1223                Error::AccessDeniedException(inner)
1224            }
1225            crate::operation::update_requester_gateway::UpdateRequesterGatewayError::ConflictException(inner) => Error::ConflictException(inner),
1226            crate::operation::update_requester_gateway::UpdateRequesterGatewayError::InternalServerException(inner) => {
1227                Error::InternalServerException(inner)
1228            }
1229            crate::operation::update_requester_gateway::UpdateRequesterGatewayError::ResourceNotFoundException(inner) => {
1230                Error::ResourceNotFoundException(inner)
1231            }
1232            crate::operation::update_requester_gateway::UpdateRequesterGatewayError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1233            crate::operation::update_requester_gateway::UpdateRequesterGatewayError::ValidationException(inner) => Error::ValidationException(inner),
1234            crate::operation::update_requester_gateway::UpdateRequesterGatewayError::Unhandled(inner) => Error::Unhandled(inner),
1235        }
1236    }
1237}
1238impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_responder_gateway::UpdateResponderGatewayError, R>> for Error
1239where
1240    R: Send + Sync + std::fmt::Debug + 'static,
1241{
1242    fn from(
1243        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_responder_gateway::UpdateResponderGatewayError, R>,
1244    ) -> Self {
1245        match err {
1246            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1247            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1248                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1249                source: err.into(),
1250            }),
1251        }
1252    }
1253}
1254impl From<crate::operation::update_responder_gateway::UpdateResponderGatewayError> for Error {
1255    fn from(err: crate::operation::update_responder_gateway::UpdateResponderGatewayError) -> Self {
1256        match err {
1257            crate::operation::update_responder_gateway::UpdateResponderGatewayError::AccessDeniedException(inner) => {
1258                Error::AccessDeniedException(inner)
1259            }
1260            crate::operation::update_responder_gateway::UpdateResponderGatewayError::ConflictException(inner) => Error::ConflictException(inner),
1261            crate::operation::update_responder_gateway::UpdateResponderGatewayError::InternalServerException(inner) => {
1262                Error::InternalServerException(inner)
1263            }
1264            crate::operation::update_responder_gateway::UpdateResponderGatewayError::ResourceNotFoundException(inner) => {
1265                Error::ResourceNotFoundException(inner)
1266            }
1267            crate::operation::update_responder_gateway::UpdateResponderGatewayError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1268            crate::operation::update_responder_gateway::UpdateResponderGatewayError::ValidationException(inner) => Error::ValidationException(inner),
1269            crate::operation::update_responder_gateway::UpdateResponderGatewayError::Unhandled(inner) => Error::Unhandled(inner),
1270        }
1271    }
1272}
1273impl<O, E> ::std::convert::From<::aws_smithy_runtime_api::client::waiters::error::WaiterError<O, E>> for Error
1274where
1275    O: ::std::fmt::Debug + ::std::marker::Send + ::std::marker::Sync + 'static,
1276    E: ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static,
1277{
1278    fn from(err: ::aws_smithy_runtime_api::client::waiters::error::WaiterError<O, E>) -> Self {
1279        Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1280            meta: ::std::default::Default::default(),
1281            source: err.into(),
1282        })
1283    }
1284}
1285impl ::std::error::Error for Error {
1286    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
1287        match self {
1288            Error::AccessDeniedException(inner) => inner.source(),
1289            Error::ConflictException(inner) => inner.source(),
1290            Error::InternalServerException(inner) => inner.source(),
1291            Error::ResourceNotFoundException(inner) => inner.source(),
1292            Error::ServiceQuotaExceededException(inner) => inner.source(),
1293            Error::ThrottlingException(inner) => inner.source(),
1294            Error::ValidationException(inner) => inner.source(),
1295            Error::Unhandled(inner) => ::std::option::Option::Some(&*inner.source),
1296        }
1297    }
1298}
1299impl ::aws_types::request_id::RequestId for Error {
1300    fn request_id(&self) -> Option<&str> {
1301        match self {
1302            Self::AccessDeniedException(e) => e.request_id(),
1303            Self::ConflictException(e) => e.request_id(),
1304            Self::InternalServerException(e) => e.request_id(),
1305            Self::ResourceNotFoundException(e) => e.request_id(),
1306            Self::ServiceQuotaExceededException(e) => e.request_id(),
1307            Self::ThrottlingException(e) => e.request_id(),
1308            Self::ValidationException(e) => e.request_id(),
1309            Self::Unhandled(e) => e.meta.request_id(),
1310        }
1311    }
1312}