aws_sdk_cleanrooms/
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>Caller does not have sufficient access to perform this action.</p>
7    AccessDeniedException(crate::types::error::AccessDeniedException),
8    /// <p>Updating or deleting a resource can cause an inconsistent state.</p>
9    ConflictException(crate::types::error::ConflictException),
10    /// <p>Unexpected error during processing of request.</p>
11    InternalServerException(crate::types::error::InternalServerException),
12    /// <p>Request references a resource which does not exist.</p>
13    ResourceNotFoundException(crate::types::error::ResourceNotFoundException),
14    /// <p>Request denied because service quota has been exceeded.</p>
15    ServiceQuotaExceededException(crate::types::error::ServiceQuotaExceededException),
16    /// <p>Request was denied due to request throttling.</p>
17    ThrottlingException(crate::types::error::ThrottlingException),
18    /// <p>The input fails to satisfy the specified constraints.</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>
72    From<
73        ::aws_smithy_runtime_api::client::result::SdkError<
74            crate::operation::batch_get_collaboration_analysis_template::BatchGetCollaborationAnalysisTemplateError,
75            R,
76        >,
77    > for Error
78where
79    R: Send + Sync + std::fmt::Debug + 'static,
80{
81    fn from(
82        err: ::aws_smithy_runtime_api::client::result::SdkError<
83            crate::operation::batch_get_collaboration_analysis_template::BatchGetCollaborationAnalysisTemplateError,
84            R,
85        >,
86    ) -> Self {
87        match err {
88            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
89            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
90                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
91                source: err.into(),
92            }),
93        }
94    }
95}
96impl From<crate::operation::batch_get_collaboration_analysis_template::BatchGetCollaborationAnalysisTemplateError> for Error {
97    fn from(err: crate::operation::batch_get_collaboration_analysis_template::BatchGetCollaborationAnalysisTemplateError) -> Self {
98        match err {
99            crate::operation::batch_get_collaboration_analysis_template::BatchGetCollaborationAnalysisTemplateError::AccessDeniedException(inner) => {
100                Error::AccessDeniedException(inner)
101            }
102            crate::operation::batch_get_collaboration_analysis_template::BatchGetCollaborationAnalysisTemplateError::InternalServerException(
103                inner,
104            ) => Error::InternalServerException(inner),
105            crate::operation::batch_get_collaboration_analysis_template::BatchGetCollaborationAnalysisTemplateError::ResourceNotFoundException(
106                inner,
107            ) => Error::ResourceNotFoundException(inner),
108            crate::operation::batch_get_collaboration_analysis_template::BatchGetCollaborationAnalysisTemplateError::ThrottlingException(inner) => {
109                Error::ThrottlingException(inner)
110            }
111            crate::operation::batch_get_collaboration_analysis_template::BatchGetCollaborationAnalysisTemplateError::ValidationException(inner) => {
112                Error::ValidationException(inner)
113            }
114            crate::operation::batch_get_collaboration_analysis_template::BatchGetCollaborationAnalysisTemplateError::Unhandled(inner) => {
115                Error::Unhandled(inner)
116            }
117        }
118    }
119}
120impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_schema::BatchGetSchemaError, R>> for Error
121where
122    R: Send + Sync + std::fmt::Debug + 'static,
123{
124    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_schema::BatchGetSchemaError, R>) -> Self {
125        match err {
126            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
127            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
128                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
129                source: err.into(),
130            }),
131        }
132    }
133}
134impl From<crate::operation::batch_get_schema::BatchGetSchemaError> for Error {
135    fn from(err: crate::operation::batch_get_schema::BatchGetSchemaError) -> Self {
136        match err {
137            crate::operation::batch_get_schema::BatchGetSchemaError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
138            crate::operation::batch_get_schema::BatchGetSchemaError::InternalServerException(inner) => Error::InternalServerException(inner),
139            crate::operation::batch_get_schema::BatchGetSchemaError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
140            crate::operation::batch_get_schema::BatchGetSchemaError::ThrottlingException(inner) => Error::ThrottlingException(inner),
141            crate::operation::batch_get_schema::BatchGetSchemaError::ValidationException(inner) => Error::ValidationException(inner),
142            crate::operation::batch_get_schema::BatchGetSchemaError::Unhandled(inner) => Error::Unhandled(inner),
143        }
144    }
145}
146impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_schema_analysis_rule::BatchGetSchemaAnalysisRuleError, R>>
147    for Error
148where
149    R: Send + Sync + std::fmt::Debug + 'static,
150{
151    fn from(
152        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_schema_analysis_rule::BatchGetSchemaAnalysisRuleError, R>,
153    ) -> Self {
154        match err {
155            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
156            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
157                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
158                source: err.into(),
159            }),
160        }
161    }
162}
163impl From<crate::operation::batch_get_schema_analysis_rule::BatchGetSchemaAnalysisRuleError> for Error {
164    fn from(err: crate::operation::batch_get_schema_analysis_rule::BatchGetSchemaAnalysisRuleError) -> Self {
165        match err {
166            crate::operation::batch_get_schema_analysis_rule::BatchGetSchemaAnalysisRuleError::AccessDeniedException(inner) => {
167                Error::AccessDeniedException(inner)
168            }
169            crate::operation::batch_get_schema_analysis_rule::BatchGetSchemaAnalysisRuleError::InternalServerException(inner) => {
170                Error::InternalServerException(inner)
171            }
172            crate::operation::batch_get_schema_analysis_rule::BatchGetSchemaAnalysisRuleError::ResourceNotFoundException(inner) => {
173                Error::ResourceNotFoundException(inner)
174            }
175            crate::operation::batch_get_schema_analysis_rule::BatchGetSchemaAnalysisRuleError::ThrottlingException(inner) => {
176                Error::ThrottlingException(inner)
177            }
178            crate::operation::batch_get_schema_analysis_rule::BatchGetSchemaAnalysisRuleError::ValidationException(inner) => {
179                Error::ValidationException(inner)
180            }
181            crate::operation::batch_get_schema_analysis_rule::BatchGetSchemaAnalysisRuleError::Unhandled(inner) => Error::Unhandled(inner),
182        }
183    }
184}
185impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_analysis_template::CreateAnalysisTemplateError, R>> for Error
186where
187    R: Send + Sync + std::fmt::Debug + 'static,
188{
189    fn from(
190        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_analysis_template::CreateAnalysisTemplateError, R>,
191    ) -> Self {
192        match err {
193            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
194            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
195                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
196                source: err.into(),
197            }),
198        }
199    }
200}
201impl From<crate::operation::create_analysis_template::CreateAnalysisTemplateError> for Error {
202    fn from(err: crate::operation::create_analysis_template::CreateAnalysisTemplateError) -> Self {
203        match err {
204            crate::operation::create_analysis_template::CreateAnalysisTemplateError::AccessDeniedException(inner) => {
205                Error::AccessDeniedException(inner)
206            }
207            crate::operation::create_analysis_template::CreateAnalysisTemplateError::ConflictException(inner) => Error::ConflictException(inner),
208            crate::operation::create_analysis_template::CreateAnalysisTemplateError::InternalServerException(inner) => {
209                Error::InternalServerException(inner)
210            }
211            crate::operation::create_analysis_template::CreateAnalysisTemplateError::ResourceNotFoundException(inner) => {
212                Error::ResourceNotFoundException(inner)
213            }
214            crate::operation::create_analysis_template::CreateAnalysisTemplateError::ServiceQuotaExceededException(inner) => {
215                Error::ServiceQuotaExceededException(inner)
216            }
217            crate::operation::create_analysis_template::CreateAnalysisTemplateError::ThrottlingException(inner) => Error::ThrottlingException(inner),
218            crate::operation::create_analysis_template::CreateAnalysisTemplateError::ValidationException(inner) => Error::ValidationException(inner),
219            crate::operation::create_analysis_template::CreateAnalysisTemplateError::Unhandled(inner) => Error::Unhandled(inner),
220        }
221    }
222}
223impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_collaboration::CreateCollaborationError, R>> for Error
224where
225    R: Send + Sync + std::fmt::Debug + 'static,
226{
227    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_collaboration::CreateCollaborationError, R>) -> 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::create_collaboration::CreateCollaborationError> for Error {
238    fn from(err: crate::operation::create_collaboration::CreateCollaborationError) -> Self {
239        match err {
240            crate::operation::create_collaboration::CreateCollaborationError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
241            crate::operation::create_collaboration::CreateCollaborationError::InternalServerException(inner) => Error::InternalServerException(inner),
242            crate::operation::create_collaboration::CreateCollaborationError::ServiceQuotaExceededException(inner) => {
243                Error::ServiceQuotaExceededException(inner)
244            }
245            crate::operation::create_collaboration::CreateCollaborationError::ThrottlingException(inner) => Error::ThrottlingException(inner),
246            crate::operation::create_collaboration::CreateCollaborationError::ValidationException(inner) => Error::ValidationException(inner),
247            crate::operation::create_collaboration::CreateCollaborationError::Unhandled(inner) => Error::Unhandled(inner),
248        }
249    }
250}
251impl<R>
252    From<
253        ::aws_smithy_runtime_api::client::result::SdkError<
254            crate::operation::create_collaboration_change_request::CreateCollaborationChangeRequestError,
255            R,
256        >,
257    > for Error
258where
259    R: Send + Sync + std::fmt::Debug + 'static,
260{
261    fn from(
262        err: ::aws_smithy_runtime_api::client::result::SdkError<
263            crate::operation::create_collaboration_change_request::CreateCollaborationChangeRequestError,
264            R,
265        >,
266    ) -> Self {
267        match err {
268            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
269            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
270                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
271                source: err.into(),
272            }),
273        }
274    }
275}
276impl From<crate::operation::create_collaboration_change_request::CreateCollaborationChangeRequestError> for Error {
277    fn from(err: crate::operation::create_collaboration_change_request::CreateCollaborationChangeRequestError) -> Self {
278        match err {
279            crate::operation::create_collaboration_change_request::CreateCollaborationChangeRequestError::AccessDeniedException(inner) => {
280                Error::AccessDeniedException(inner)
281            }
282            crate::operation::create_collaboration_change_request::CreateCollaborationChangeRequestError::ConflictException(inner) => {
283                Error::ConflictException(inner)
284            }
285            crate::operation::create_collaboration_change_request::CreateCollaborationChangeRequestError::InternalServerException(inner) => {
286                Error::InternalServerException(inner)
287            }
288            crate::operation::create_collaboration_change_request::CreateCollaborationChangeRequestError::ResourceNotFoundException(inner) => {
289                Error::ResourceNotFoundException(inner)
290            }
291            crate::operation::create_collaboration_change_request::CreateCollaborationChangeRequestError::ServiceQuotaExceededException(inner) => {
292                Error::ServiceQuotaExceededException(inner)
293            }
294            crate::operation::create_collaboration_change_request::CreateCollaborationChangeRequestError::ThrottlingException(inner) => {
295                Error::ThrottlingException(inner)
296            }
297            crate::operation::create_collaboration_change_request::CreateCollaborationChangeRequestError::ValidationException(inner) => {
298                Error::ValidationException(inner)
299            }
300            crate::operation::create_collaboration_change_request::CreateCollaborationChangeRequestError::Unhandled(inner) => Error::Unhandled(inner),
301        }
302    }
303}
304impl<R>
305    From<
306        ::aws_smithy_runtime_api::client::result::SdkError<
307            crate::operation::create_configured_audience_model_association::CreateConfiguredAudienceModelAssociationError,
308            R,
309        >,
310    > for Error
311where
312    R: Send + Sync + std::fmt::Debug + 'static,
313{
314    fn from(
315        err: ::aws_smithy_runtime_api::client::result::SdkError<
316            crate::operation::create_configured_audience_model_association::CreateConfiguredAudienceModelAssociationError,
317            R,
318        >,
319    ) -> Self {
320        match err {
321            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
322            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
323                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
324                source: err.into(),
325            }),
326        }
327    }
328}
329impl From<crate::operation::create_configured_audience_model_association::CreateConfiguredAudienceModelAssociationError> for Error {
330    fn from(err: crate::operation::create_configured_audience_model_association::CreateConfiguredAudienceModelAssociationError) -> Self {
331        match err {
332            crate::operation::create_configured_audience_model_association::CreateConfiguredAudienceModelAssociationError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
333            crate::operation::create_configured_audience_model_association::CreateConfiguredAudienceModelAssociationError::ConflictException(inner) => Error::ConflictException(inner),
334            crate::operation::create_configured_audience_model_association::CreateConfiguredAudienceModelAssociationError::InternalServerException(inner) => Error::InternalServerException(inner),
335            crate::operation::create_configured_audience_model_association::CreateConfiguredAudienceModelAssociationError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
336            crate::operation::create_configured_audience_model_association::CreateConfiguredAudienceModelAssociationError::ServiceQuotaExceededException(inner) => Error::ServiceQuotaExceededException(inner),
337            crate::operation::create_configured_audience_model_association::CreateConfiguredAudienceModelAssociationError::ThrottlingException(inner) => Error::ThrottlingException(inner),
338            crate::operation::create_configured_audience_model_association::CreateConfiguredAudienceModelAssociationError::ValidationException(inner) => Error::ValidationException(inner),
339            crate::operation::create_configured_audience_model_association::CreateConfiguredAudienceModelAssociationError::Unhandled(inner) => Error::Unhandled(inner),
340        }
341    }
342}
343impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_configured_table::CreateConfiguredTableError, R>> for Error
344where
345    R: Send + Sync + std::fmt::Debug + 'static,
346{
347    fn from(
348        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_configured_table::CreateConfiguredTableError, R>,
349    ) -> Self {
350        match err {
351            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
352            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
353                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
354                source: err.into(),
355            }),
356        }
357    }
358}
359impl From<crate::operation::create_configured_table::CreateConfiguredTableError> for Error {
360    fn from(err: crate::operation::create_configured_table::CreateConfiguredTableError) -> Self {
361        match err {
362            crate::operation::create_configured_table::CreateConfiguredTableError::AccessDeniedException(inner) => {
363                Error::AccessDeniedException(inner)
364            }
365            crate::operation::create_configured_table::CreateConfiguredTableError::ConflictException(inner) => Error::ConflictException(inner),
366            crate::operation::create_configured_table::CreateConfiguredTableError::InternalServerException(inner) => {
367                Error::InternalServerException(inner)
368            }
369            crate::operation::create_configured_table::CreateConfiguredTableError::ResourceNotFoundException(inner) => {
370                Error::ResourceNotFoundException(inner)
371            }
372            crate::operation::create_configured_table::CreateConfiguredTableError::ServiceQuotaExceededException(inner) => {
373                Error::ServiceQuotaExceededException(inner)
374            }
375            crate::operation::create_configured_table::CreateConfiguredTableError::ThrottlingException(inner) => Error::ThrottlingException(inner),
376            crate::operation::create_configured_table::CreateConfiguredTableError::ValidationException(inner) => Error::ValidationException(inner),
377            crate::operation::create_configured_table::CreateConfiguredTableError::Unhandled(inner) => Error::Unhandled(inner),
378        }
379    }
380}
381impl<R>
382    From<
383        ::aws_smithy_runtime_api::client::result::SdkError<
384            crate::operation::create_configured_table_analysis_rule::CreateConfiguredTableAnalysisRuleError,
385            R,
386        >,
387    > for Error
388where
389    R: Send + Sync + std::fmt::Debug + 'static,
390{
391    fn from(
392        err: ::aws_smithy_runtime_api::client::result::SdkError<
393            crate::operation::create_configured_table_analysis_rule::CreateConfiguredTableAnalysisRuleError,
394            R,
395        >,
396    ) -> Self {
397        match err {
398            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
399            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
400                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
401                source: err.into(),
402            }),
403        }
404    }
405}
406impl From<crate::operation::create_configured_table_analysis_rule::CreateConfiguredTableAnalysisRuleError> for Error {
407    fn from(err: crate::operation::create_configured_table_analysis_rule::CreateConfiguredTableAnalysisRuleError) -> Self {
408        match err {
409            crate::operation::create_configured_table_analysis_rule::CreateConfiguredTableAnalysisRuleError::AccessDeniedException(inner) => {
410                Error::AccessDeniedException(inner)
411            }
412            crate::operation::create_configured_table_analysis_rule::CreateConfiguredTableAnalysisRuleError::ConflictException(inner) => {
413                Error::ConflictException(inner)
414            }
415            crate::operation::create_configured_table_analysis_rule::CreateConfiguredTableAnalysisRuleError::InternalServerException(inner) => {
416                Error::InternalServerException(inner)
417            }
418            crate::operation::create_configured_table_analysis_rule::CreateConfiguredTableAnalysisRuleError::ResourceNotFoundException(inner) => {
419                Error::ResourceNotFoundException(inner)
420            }
421            crate::operation::create_configured_table_analysis_rule::CreateConfiguredTableAnalysisRuleError::ServiceQuotaExceededException(inner) => {
422                Error::ServiceQuotaExceededException(inner)
423            }
424            crate::operation::create_configured_table_analysis_rule::CreateConfiguredTableAnalysisRuleError::ThrottlingException(inner) => {
425                Error::ThrottlingException(inner)
426            }
427            crate::operation::create_configured_table_analysis_rule::CreateConfiguredTableAnalysisRuleError::ValidationException(inner) => {
428                Error::ValidationException(inner)
429            }
430            crate::operation::create_configured_table_analysis_rule::CreateConfiguredTableAnalysisRuleError::Unhandled(inner) => {
431                Error::Unhandled(inner)
432            }
433        }
434    }
435}
436impl<R>
437    From<
438        ::aws_smithy_runtime_api::client::result::SdkError<
439            crate::operation::create_configured_table_association::CreateConfiguredTableAssociationError,
440            R,
441        >,
442    > for Error
443where
444    R: Send + Sync + std::fmt::Debug + 'static,
445{
446    fn from(
447        err: ::aws_smithy_runtime_api::client::result::SdkError<
448            crate::operation::create_configured_table_association::CreateConfiguredTableAssociationError,
449            R,
450        >,
451    ) -> Self {
452        match err {
453            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
454            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
455                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
456                source: err.into(),
457            }),
458        }
459    }
460}
461impl From<crate::operation::create_configured_table_association::CreateConfiguredTableAssociationError> for Error {
462    fn from(err: crate::operation::create_configured_table_association::CreateConfiguredTableAssociationError) -> Self {
463        match err {
464            crate::operation::create_configured_table_association::CreateConfiguredTableAssociationError::AccessDeniedException(inner) => {
465                Error::AccessDeniedException(inner)
466            }
467            crate::operation::create_configured_table_association::CreateConfiguredTableAssociationError::ConflictException(inner) => {
468                Error::ConflictException(inner)
469            }
470            crate::operation::create_configured_table_association::CreateConfiguredTableAssociationError::InternalServerException(inner) => {
471                Error::InternalServerException(inner)
472            }
473            crate::operation::create_configured_table_association::CreateConfiguredTableAssociationError::ResourceNotFoundException(inner) => {
474                Error::ResourceNotFoundException(inner)
475            }
476            crate::operation::create_configured_table_association::CreateConfiguredTableAssociationError::ServiceQuotaExceededException(inner) => {
477                Error::ServiceQuotaExceededException(inner)
478            }
479            crate::operation::create_configured_table_association::CreateConfiguredTableAssociationError::ThrottlingException(inner) => {
480                Error::ThrottlingException(inner)
481            }
482            crate::operation::create_configured_table_association::CreateConfiguredTableAssociationError::ValidationException(inner) => {
483                Error::ValidationException(inner)
484            }
485            crate::operation::create_configured_table_association::CreateConfiguredTableAssociationError::Unhandled(inner) => Error::Unhandled(inner),
486        }
487    }
488}
489impl<R>
490    From<
491        ::aws_smithy_runtime_api::client::result::SdkError<
492            crate::operation::create_configured_table_association_analysis_rule::CreateConfiguredTableAssociationAnalysisRuleError,
493            R,
494        >,
495    > for Error
496where
497    R: Send + Sync + std::fmt::Debug + 'static,
498{
499    fn from(
500        err: ::aws_smithy_runtime_api::client::result::SdkError<
501            crate::operation::create_configured_table_association_analysis_rule::CreateConfiguredTableAssociationAnalysisRuleError,
502            R,
503        >,
504    ) -> Self {
505        match err {
506            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
507            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
508                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
509                source: err.into(),
510            }),
511        }
512    }
513}
514impl From<crate::operation::create_configured_table_association_analysis_rule::CreateConfiguredTableAssociationAnalysisRuleError> for Error {
515    fn from(err: crate::operation::create_configured_table_association_analysis_rule::CreateConfiguredTableAssociationAnalysisRuleError) -> Self {
516        match err {
517            crate::operation::create_configured_table_association_analysis_rule::CreateConfiguredTableAssociationAnalysisRuleError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
518            crate::operation::create_configured_table_association_analysis_rule::CreateConfiguredTableAssociationAnalysisRuleError::ConflictException(inner) => Error::ConflictException(inner),
519            crate::operation::create_configured_table_association_analysis_rule::CreateConfiguredTableAssociationAnalysisRuleError::InternalServerException(inner) => Error::InternalServerException(inner),
520            crate::operation::create_configured_table_association_analysis_rule::CreateConfiguredTableAssociationAnalysisRuleError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
521            crate::operation::create_configured_table_association_analysis_rule::CreateConfiguredTableAssociationAnalysisRuleError::ThrottlingException(inner) => Error::ThrottlingException(inner),
522            crate::operation::create_configured_table_association_analysis_rule::CreateConfiguredTableAssociationAnalysisRuleError::ValidationException(inner) => Error::ValidationException(inner),
523            crate::operation::create_configured_table_association_analysis_rule::CreateConfiguredTableAssociationAnalysisRuleError::Unhandled(inner) => Error::Unhandled(inner),
524        }
525    }
526}
527impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_id_mapping_table::CreateIdMappingTableError, R>> for Error
528where
529    R: Send + Sync + std::fmt::Debug + 'static,
530{
531    fn from(
532        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_id_mapping_table::CreateIdMappingTableError, R>,
533    ) -> Self {
534        match err {
535            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
536            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
537                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
538                source: err.into(),
539            }),
540        }
541    }
542}
543impl From<crate::operation::create_id_mapping_table::CreateIdMappingTableError> for Error {
544    fn from(err: crate::operation::create_id_mapping_table::CreateIdMappingTableError) -> Self {
545        match err {
546            crate::operation::create_id_mapping_table::CreateIdMappingTableError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
547            crate::operation::create_id_mapping_table::CreateIdMappingTableError::ConflictException(inner) => Error::ConflictException(inner),
548            crate::operation::create_id_mapping_table::CreateIdMappingTableError::InternalServerException(inner) => {
549                Error::InternalServerException(inner)
550            }
551            crate::operation::create_id_mapping_table::CreateIdMappingTableError::ResourceNotFoundException(inner) => {
552                Error::ResourceNotFoundException(inner)
553            }
554            crate::operation::create_id_mapping_table::CreateIdMappingTableError::ServiceQuotaExceededException(inner) => {
555                Error::ServiceQuotaExceededException(inner)
556            }
557            crate::operation::create_id_mapping_table::CreateIdMappingTableError::ThrottlingException(inner) => Error::ThrottlingException(inner),
558            crate::operation::create_id_mapping_table::CreateIdMappingTableError::ValidationException(inner) => Error::ValidationException(inner),
559            crate::operation::create_id_mapping_table::CreateIdMappingTableError::Unhandled(inner) => Error::Unhandled(inner),
560        }
561    }
562}
563impl<R>
564    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_id_namespace_association::CreateIdNamespaceAssociationError, R>>
565    for Error
566where
567    R: Send + Sync + std::fmt::Debug + 'static,
568{
569    fn from(
570        err: ::aws_smithy_runtime_api::client::result::SdkError<
571            crate::operation::create_id_namespace_association::CreateIdNamespaceAssociationError,
572            R,
573        >,
574    ) -> Self {
575        match err {
576            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
577            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
578                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
579                source: err.into(),
580            }),
581        }
582    }
583}
584impl From<crate::operation::create_id_namespace_association::CreateIdNamespaceAssociationError> for Error {
585    fn from(err: crate::operation::create_id_namespace_association::CreateIdNamespaceAssociationError) -> Self {
586        match err {
587            crate::operation::create_id_namespace_association::CreateIdNamespaceAssociationError::AccessDeniedException(inner) => {
588                Error::AccessDeniedException(inner)
589            }
590            crate::operation::create_id_namespace_association::CreateIdNamespaceAssociationError::ConflictException(inner) => {
591                Error::ConflictException(inner)
592            }
593            crate::operation::create_id_namespace_association::CreateIdNamespaceAssociationError::InternalServerException(inner) => {
594                Error::InternalServerException(inner)
595            }
596            crate::operation::create_id_namespace_association::CreateIdNamespaceAssociationError::ResourceNotFoundException(inner) => {
597                Error::ResourceNotFoundException(inner)
598            }
599            crate::operation::create_id_namespace_association::CreateIdNamespaceAssociationError::ServiceQuotaExceededException(inner) => {
600                Error::ServiceQuotaExceededException(inner)
601            }
602            crate::operation::create_id_namespace_association::CreateIdNamespaceAssociationError::ThrottlingException(inner) => {
603                Error::ThrottlingException(inner)
604            }
605            crate::operation::create_id_namespace_association::CreateIdNamespaceAssociationError::ValidationException(inner) => {
606                Error::ValidationException(inner)
607            }
608            crate::operation::create_id_namespace_association::CreateIdNamespaceAssociationError::Unhandled(inner) => Error::Unhandled(inner),
609        }
610    }
611}
612impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_membership::CreateMembershipError, R>> for Error
613where
614    R: Send + Sync + std::fmt::Debug + 'static,
615{
616    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_membership::CreateMembershipError, R>) -> Self {
617        match err {
618            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
619            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
620                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
621                source: err.into(),
622            }),
623        }
624    }
625}
626impl From<crate::operation::create_membership::CreateMembershipError> for Error {
627    fn from(err: crate::operation::create_membership::CreateMembershipError) -> Self {
628        match err {
629            crate::operation::create_membership::CreateMembershipError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
630            crate::operation::create_membership::CreateMembershipError::ConflictException(inner) => Error::ConflictException(inner),
631            crate::operation::create_membership::CreateMembershipError::InternalServerException(inner) => Error::InternalServerException(inner),
632            crate::operation::create_membership::CreateMembershipError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
633            crate::operation::create_membership::CreateMembershipError::ServiceQuotaExceededException(inner) => {
634                Error::ServiceQuotaExceededException(inner)
635            }
636            crate::operation::create_membership::CreateMembershipError::ThrottlingException(inner) => Error::ThrottlingException(inner),
637            crate::operation::create_membership::CreateMembershipError::ValidationException(inner) => Error::ValidationException(inner),
638            crate::operation::create_membership::CreateMembershipError::Unhandled(inner) => Error::Unhandled(inner),
639        }
640    }
641}
642impl<R>
643    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_privacy_budget_template::CreatePrivacyBudgetTemplateError, R>>
644    for Error
645where
646    R: Send + Sync + std::fmt::Debug + 'static,
647{
648    fn from(
649        err: ::aws_smithy_runtime_api::client::result::SdkError<
650            crate::operation::create_privacy_budget_template::CreatePrivacyBudgetTemplateError,
651            R,
652        >,
653    ) -> Self {
654        match err {
655            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
656            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
657                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
658                source: err.into(),
659            }),
660        }
661    }
662}
663impl From<crate::operation::create_privacy_budget_template::CreatePrivacyBudgetTemplateError> for Error {
664    fn from(err: crate::operation::create_privacy_budget_template::CreatePrivacyBudgetTemplateError) -> Self {
665        match err {
666            crate::operation::create_privacy_budget_template::CreatePrivacyBudgetTemplateError::AccessDeniedException(inner) => {
667                Error::AccessDeniedException(inner)
668            }
669            crate::operation::create_privacy_budget_template::CreatePrivacyBudgetTemplateError::ConflictException(inner) => {
670                Error::ConflictException(inner)
671            }
672            crate::operation::create_privacy_budget_template::CreatePrivacyBudgetTemplateError::InternalServerException(inner) => {
673                Error::InternalServerException(inner)
674            }
675            crate::operation::create_privacy_budget_template::CreatePrivacyBudgetTemplateError::ResourceNotFoundException(inner) => {
676                Error::ResourceNotFoundException(inner)
677            }
678            crate::operation::create_privacy_budget_template::CreatePrivacyBudgetTemplateError::ServiceQuotaExceededException(inner) => {
679                Error::ServiceQuotaExceededException(inner)
680            }
681            crate::operation::create_privacy_budget_template::CreatePrivacyBudgetTemplateError::ThrottlingException(inner) => {
682                Error::ThrottlingException(inner)
683            }
684            crate::operation::create_privacy_budget_template::CreatePrivacyBudgetTemplateError::ValidationException(inner) => {
685                Error::ValidationException(inner)
686            }
687            crate::operation::create_privacy_budget_template::CreatePrivacyBudgetTemplateError::Unhandled(inner) => Error::Unhandled(inner),
688        }
689    }
690}
691impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_analysis_template::DeleteAnalysisTemplateError, R>> for Error
692where
693    R: Send + Sync + std::fmt::Debug + 'static,
694{
695    fn from(
696        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_analysis_template::DeleteAnalysisTemplateError, R>,
697    ) -> Self {
698        match err {
699            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
700            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
701                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
702                source: err.into(),
703            }),
704        }
705    }
706}
707impl From<crate::operation::delete_analysis_template::DeleteAnalysisTemplateError> for Error {
708    fn from(err: crate::operation::delete_analysis_template::DeleteAnalysisTemplateError) -> Self {
709        match err {
710            crate::operation::delete_analysis_template::DeleteAnalysisTemplateError::AccessDeniedException(inner) => {
711                Error::AccessDeniedException(inner)
712            }
713            crate::operation::delete_analysis_template::DeleteAnalysisTemplateError::InternalServerException(inner) => {
714                Error::InternalServerException(inner)
715            }
716            crate::operation::delete_analysis_template::DeleteAnalysisTemplateError::ResourceNotFoundException(inner) => {
717                Error::ResourceNotFoundException(inner)
718            }
719            crate::operation::delete_analysis_template::DeleteAnalysisTemplateError::ThrottlingException(inner) => Error::ThrottlingException(inner),
720            crate::operation::delete_analysis_template::DeleteAnalysisTemplateError::ValidationException(inner) => Error::ValidationException(inner),
721            crate::operation::delete_analysis_template::DeleteAnalysisTemplateError::Unhandled(inner) => Error::Unhandled(inner),
722        }
723    }
724}
725impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_collaboration::DeleteCollaborationError, R>> for Error
726where
727    R: Send + Sync + std::fmt::Debug + 'static,
728{
729    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_collaboration::DeleteCollaborationError, R>) -> Self {
730        match err {
731            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
732            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
733                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
734                source: err.into(),
735            }),
736        }
737    }
738}
739impl From<crate::operation::delete_collaboration::DeleteCollaborationError> for Error {
740    fn from(err: crate::operation::delete_collaboration::DeleteCollaborationError) -> Self {
741        match err {
742            crate::operation::delete_collaboration::DeleteCollaborationError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
743            crate::operation::delete_collaboration::DeleteCollaborationError::InternalServerException(inner) => Error::InternalServerException(inner),
744            crate::operation::delete_collaboration::DeleteCollaborationError::ThrottlingException(inner) => Error::ThrottlingException(inner),
745            crate::operation::delete_collaboration::DeleteCollaborationError::ValidationException(inner) => Error::ValidationException(inner),
746            crate::operation::delete_collaboration::DeleteCollaborationError::Unhandled(inner) => Error::Unhandled(inner),
747        }
748    }
749}
750impl<R>
751    From<
752        ::aws_smithy_runtime_api::client::result::SdkError<
753            crate::operation::delete_configured_audience_model_association::DeleteConfiguredAudienceModelAssociationError,
754            R,
755        >,
756    > for Error
757where
758    R: Send + Sync + std::fmt::Debug + 'static,
759{
760    fn from(
761        err: ::aws_smithy_runtime_api::client::result::SdkError<
762            crate::operation::delete_configured_audience_model_association::DeleteConfiguredAudienceModelAssociationError,
763            R,
764        >,
765    ) -> Self {
766        match err {
767            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
768            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
769                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
770                source: err.into(),
771            }),
772        }
773    }
774}
775impl From<crate::operation::delete_configured_audience_model_association::DeleteConfiguredAudienceModelAssociationError> for Error {
776    fn from(err: crate::operation::delete_configured_audience_model_association::DeleteConfiguredAudienceModelAssociationError) -> Self {
777        match err {
778            crate::operation::delete_configured_audience_model_association::DeleteConfiguredAudienceModelAssociationError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
779            crate::operation::delete_configured_audience_model_association::DeleteConfiguredAudienceModelAssociationError::InternalServerException(inner) => Error::InternalServerException(inner),
780            crate::operation::delete_configured_audience_model_association::DeleteConfiguredAudienceModelAssociationError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
781            crate::operation::delete_configured_audience_model_association::DeleteConfiguredAudienceModelAssociationError::ThrottlingException(inner) => Error::ThrottlingException(inner),
782            crate::operation::delete_configured_audience_model_association::DeleteConfiguredAudienceModelAssociationError::ValidationException(inner) => Error::ValidationException(inner),
783            crate::operation::delete_configured_audience_model_association::DeleteConfiguredAudienceModelAssociationError::Unhandled(inner) => Error::Unhandled(inner),
784        }
785    }
786}
787impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_configured_table::DeleteConfiguredTableError, R>> for Error
788where
789    R: Send + Sync + std::fmt::Debug + 'static,
790{
791    fn from(
792        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_configured_table::DeleteConfiguredTableError, R>,
793    ) -> Self {
794        match err {
795            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
796            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
797                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
798                source: err.into(),
799            }),
800        }
801    }
802}
803impl From<crate::operation::delete_configured_table::DeleteConfiguredTableError> for Error {
804    fn from(err: crate::operation::delete_configured_table::DeleteConfiguredTableError) -> Self {
805        match err {
806            crate::operation::delete_configured_table::DeleteConfiguredTableError::AccessDeniedException(inner) => {
807                Error::AccessDeniedException(inner)
808            }
809            crate::operation::delete_configured_table::DeleteConfiguredTableError::ConflictException(inner) => Error::ConflictException(inner),
810            crate::operation::delete_configured_table::DeleteConfiguredTableError::InternalServerException(inner) => {
811                Error::InternalServerException(inner)
812            }
813            crate::operation::delete_configured_table::DeleteConfiguredTableError::ResourceNotFoundException(inner) => {
814                Error::ResourceNotFoundException(inner)
815            }
816            crate::operation::delete_configured_table::DeleteConfiguredTableError::ThrottlingException(inner) => Error::ThrottlingException(inner),
817            crate::operation::delete_configured_table::DeleteConfiguredTableError::ValidationException(inner) => Error::ValidationException(inner),
818            crate::operation::delete_configured_table::DeleteConfiguredTableError::Unhandled(inner) => Error::Unhandled(inner),
819        }
820    }
821}
822impl<R>
823    From<
824        ::aws_smithy_runtime_api::client::result::SdkError<
825            crate::operation::delete_configured_table_analysis_rule::DeleteConfiguredTableAnalysisRuleError,
826            R,
827        >,
828    > for Error
829where
830    R: Send + Sync + std::fmt::Debug + 'static,
831{
832    fn from(
833        err: ::aws_smithy_runtime_api::client::result::SdkError<
834            crate::operation::delete_configured_table_analysis_rule::DeleteConfiguredTableAnalysisRuleError,
835            R,
836        >,
837    ) -> Self {
838        match err {
839            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
840            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
841                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
842                source: err.into(),
843            }),
844        }
845    }
846}
847impl From<crate::operation::delete_configured_table_analysis_rule::DeleteConfiguredTableAnalysisRuleError> for Error {
848    fn from(err: crate::operation::delete_configured_table_analysis_rule::DeleteConfiguredTableAnalysisRuleError) -> Self {
849        match err {
850            crate::operation::delete_configured_table_analysis_rule::DeleteConfiguredTableAnalysisRuleError::AccessDeniedException(inner) => {
851                Error::AccessDeniedException(inner)
852            }
853            crate::operation::delete_configured_table_analysis_rule::DeleteConfiguredTableAnalysisRuleError::ConflictException(inner) => {
854                Error::ConflictException(inner)
855            }
856            crate::operation::delete_configured_table_analysis_rule::DeleteConfiguredTableAnalysisRuleError::InternalServerException(inner) => {
857                Error::InternalServerException(inner)
858            }
859            crate::operation::delete_configured_table_analysis_rule::DeleteConfiguredTableAnalysisRuleError::ResourceNotFoundException(inner) => {
860                Error::ResourceNotFoundException(inner)
861            }
862            crate::operation::delete_configured_table_analysis_rule::DeleteConfiguredTableAnalysisRuleError::ThrottlingException(inner) => {
863                Error::ThrottlingException(inner)
864            }
865            crate::operation::delete_configured_table_analysis_rule::DeleteConfiguredTableAnalysisRuleError::ValidationException(inner) => {
866                Error::ValidationException(inner)
867            }
868            crate::operation::delete_configured_table_analysis_rule::DeleteConfiguredTableAnalysisRuleError::Unhandled(inner) => {
869                Error::Unhandled(inner)
870            }
871        }
872    }
873}
874impl<R>
875    From<
876        ::aws_smithy_runtime_api::client::result::SdkError<
877            crate::operation::delete_configured_table_association::DeleteConfiguredTableAssociationError,
878            R,
879        >,
880    > for Error
881where
882    R: Send + Sync + std::fmt::Debug + 'static,
883{
884    fn from(
885        err: ::aws_smithy_runtime_api::client::result::SdkError<
886            crate::operation::delete_configured_table_association::DeleteConfiguredTableAssociationError,
887            R,
888        >,
889    ) -> Self {
890        match err {
891            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
892            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
893                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
894                source: err.into(),
895            }),
896        }
897    }
898}
899impl From<crate::operation::delete_configured_table_association::DeleteConfiguredTableAssociationError> for Error {
900    fn from(err: crate::operation::delete_configured_table_association::DeleteConfiguredTableAssociationError) -> Self {
901        match err {
902            crate::operation::delete_configured_table_association::DeleteConfiguredTableAssociationError::AccessDeniedException(inner) => {
903                Error::AccessDeniedException(inner)
904            }
905            crate::operation::delete_configured_table_association::DeleteConfiguredTableAssociationError::ConflictException(inner) => {
906                Error::ConflictException(inner)
907            }
908            crate::operation::delete_configured_table_association::DeleteConfiguredTableAssociationError::InternalServerException(inner) => {
909                Error::InternalServerException(inner)
910            }
911            crate::operation::delete_configured_table_association::DeleteConfiguredTableAssociationError::ResourceNotFoundException(inner) => {
912                Error::ResourceNotFoundException(inner)
913            }
914            crate::operation::delete_configured_table_association::DeleteConfiguredTableAssociationError::ThrottlingException(inner) => {
915                Error::ThrottlingException(inner)
916            }
917            crate::operation::delete_configured_table_association::DeleteConfiguredTableAssociationError::ValidationException(inner) => {
918                Error::ValidationException(inner)
919            }
920            crate::operation::delete_configured_table_association::DeleteConfiguredTableAssociationError::Unhandled(inner) => Error::Unhandled(inner),
921        }
922    }
923}
924impl<R>
925    From<
926        ::aws_smithy_runtime_api::client::result::SdkError<
927            crate::operation::delete_configured_table_association_analysis_rule::DeleteConfiguredTableAssociationAnalysisRuleError,
928            R,
929        >,
930    > for Error
931where
932    R: Send + Sync + std::fmt::Debug + 'static,
933{
934    fn from(
935        err: ::aws_smithy_runtime_api::client::result::SdkError<
936            crate::operation::delete_configured_table_association_analysis_rule::DeleteConfiguredTableAssociationAnalysisRuleError,
937            R,
938        >,
939    ) -> Self {
940        match err {
941            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
942            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
943                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
944                source: err.into(),
945            }),
946        }
947    }
948}
949impl From<crate::operation::delete_configured_table_association_analysis_rule::DeleteConfiguredTableAssociationAnalysisRuleError> for Error {
950    fn from(err: crate::operation::delete_configured_table_association_analysis_rule::DeleteConfiguredTableAssociationAnalysisRuleError) -> Self {
951        match err {
952            crate::operation::delete_configured_table_association_analysis_rule::DeleteConfiguredTableAssociationAnalysisRuleError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
953            crate::operation::delete_configured_table_association_analysis_rule::DeleteConfiguredTableAssociationAnalysisRuleError::ConflictException(inner) => Error::ConflictException(inner),
954            crate::operation::delete_configured_table_association_analysis_rule::DeleteConfiguredTableAssociationAnalysisRuleError::InternalServerException(inner) => Error::InternalServerException(inner),
955            crate::operation::delete_configured_table_association_analysis_rule::DeleteConfiguredTableAssociationAnalysisRuleError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
956            crate::operation::delete_configured_table_association_analysis_rule::DeleteConfiguredTableAssociationAnalysisRuleError::ThrottlingException(inner) => Error::ThrottlingException(inner),
957            crate::operation::delete_configured_table_association_analysis_rule::DeleteConfiguredTableAssociationAnalysisRuleError::ValidationException(inner) => Error::ValidationException(inner),
958            crate::operation::delete_configured_table_association_analysis_rule::DeleteConfiguredTableAssociationAnalysisRuleError::Unhandled(inner) => Error::Unhandled(inner),
959        }
960    }
961}
962impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_id_mapping_table::DeleteIdMappingTableError, R>> for Error
963where
964    R: Send + Sync + std::fmt::Debug + 'static,
965{
966    fn from(
967        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_id_mapping_table::DeleteIdMappingTableError, R>,
968    ) -> Self {
969        match err {
970            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
971            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
972                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
973                source: err.into(),
974            }),
975        }
976    }
977}
978impl From<crate::operation::delete_id_mapping_table::DeleteIdMappingTableError> for Error {
979    fn from(err: crate::operation::delete_id_mapping_table::DeleteIdMappingTableError) -> Self {
980        match err {
981            crate::operation::delete_id_mapping_table::DeleteIdMappingTableError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
982            crate::operation::delete_id_mapping_table::DeleteIdMappingTableError::InternalServerException(inner) => {
983                Error::InternalServerException(inner)
984            }
985            crate::operation::delete_id_mapping_table::DeleteIdMappingTableError::ResourceNotFoundException(inner) => {
986                Error::ResourceNotFoundException(inner)
987            }
988            crate::operation::delete_id_mapping_table::DeleteIdMappingTableError::ThrottlingException(inner) => Error::ThrottlingException(inner),
989            crate::operation::delete_id_mapping_table::DeleteIdMappingTableError::ValidationException(inner) => Error::ValidationException(inner),
990            crate::operation::delete_id_mapping_table::DeleteIdMappingTableError::Unhandled(inner) => Error::Unhandled(inner),
991        }
992    }
993}
994impl<R>
995    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_id_namespace_association::DeleteIdNamespaceAssociationError, R>>
996    for Error
997where
998    R: Send + Sync + std::fmt::Debug + 'static,
999{
1000    fn from(
1001        err: ::aws_smithy_runtime_api::client::result::SdkError<
1002            crate::operation::delete_id_namespace_association::DeleteIdNamespaceAssociationError,
1003            R,
1004        >,
1005    ) -> Self {
1006        match err {
1007            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1008            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1009                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1010                source: err.into(),
1011            }),
1012        }
1013    }
1014}
1015impl From<crate::operation::delete_id_namespace_association::DeleteIdNamespaceAssociationError> for Error {
1016    fn from(err: crate::operation::delete_id_namespace_association::DeleteIdNamespaceAssociationError) -> Self {
1017        match err {
1018            crate::operation::delete_id_namespace_association::DeleteIdNamespaceAssociationError::AccessDeniedException(inner) => {
1019                Error::AccessDeniedException(inner)
1020            }
1021            crate::operation::delete_id_namespace_association::DeleteIdNamespaceAssociationError::InternalServerException(inner) => {
1022                Error::InternalServerException(inner)
1023            }
1024            crate::operation::delete_id_namespace_association::DeleteIdNamespaceAssociationError::ResourceNotFoundException(inner) => {
1025                Error::ResourceNotFoundException(inner)
1026            }
1027            crate::operation::delete_id_namespace_association::DeleteIdNamespaceAssociationError::ThrottlingException(inner) => {
1028                Error::ThrottlingException(inner)
1029            }
1030            crate::operation::delete_id_namespace_association::DeleteIdNamespaceAssociationError::ValidationException(inner) => {
1031                Error::ValidationException(inner)
1032            }
1033            crate::operation::delete_id_namespace_association::DeleteIdNamespaceAssociationError::Unhandled(inner) => Error::Unhandled(inner),
1034        }
1035    }
1036}
1037impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_member::DeleteMemberError, R>> for Error
1038where
1039    R: Send + Sync + std::fmt::Debug + 'static,
1040{
1041    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_member::DeleteMemberError, R>) -> Self {
1042        match err {
1043            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1044            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1045                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1046                source: err.into(),
1047            }),
1048        }
1049    }
1050}
1051impl From<crate::operation::delete_member::DeleteMemberError> for Error {
1052    fn from(err: crate::operation::delete_member::DeleteMemberError) -> Self {
1053        match err {
1054            crate::operation::delete_member::DeleteMemberError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1055            crate::operation::delete_member::DeleteMemberError::ConflictException(inner) => Error::ConflictException(inner),
1056            crate::operation::delete_member::DeleteMemberError::InternalServerException(inner) => Error::InternalServerException(inner),
1057            crate::operation::delete_member::DeleteMemberError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1058            crate::operation::delete_member::DeleteMemberError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1059            crate::operation::delete_member::DeleteMemberError::ValidationException(inner) => Error::ValidationException(inner),
1060            crate::operation::delete_member::DeleteMemberError::Unhandled(inner) => Error::Unhandled(inner),
1061        }
1062    }
1063}
1064impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_membership::DeleteMembershipError, R>> for Error
1065where
1066    R: Send + Sync + std::fmt::Debug + 'static,
1067{
1068    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_membership::DeleteMembershipError, R>) -> Self {
1069        match err {
1070            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1071            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1072                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1073                source: err.into(),
1074            }),
1075        }
1076    }
1077}
1078impl From<crate::operation::delete_membership::DeleteMembershipError> for Error {
1079    fn from(err: crate::operation::delete_membership::DeleteMembershipError) -> Self {
1080        match err {
1081            crate::operation::delete_membership::DeleteMembershipError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1082            crate::operation::delete_membership::DeleteMembershipError::ConflictException(inner) => Error::ConflictException(inner),
1083            crate::operation::delete_membership::DeleteMembershipError::InternalServerException(inner) => Error::InternalServerException(inner),
1084            crate::operation::delete_membership::DeleteMembershipError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1085            crate::operation::delete_membership::DeleteMembershipError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1086            crate::operation::delete_membership::DeleteMembershipError::ValidationException(inner) => Error::ValidationException(inner),
1087            crate::operation::delete_membership::DeleteMembershipError::Unhandled(inner) => Error::Unhandled(inner),
1088        }
1089    }
1090}
1091impl<R>
1092    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_privacy_budget_template::DeletePrivacyBudgetTemplateError, R>>
1093    for Error
1094where
1095    R: Send + Sync + std::fmt::Debug + 'static,
1096{
1097    fn from(
1098        err: ::aws_smithy_runtime_api::client::result::SdkError<
1099            crate::operation::delete_privacy_budget_template::DeletePrivacyBudgetTemplateError,
1100            R,
1101        >,
1102    ) -> Self {
1103        match err {
1104            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1105            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1106                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1107                source: err.into(),
1108            }),
1109        }
1110    }
1111}
1112impl From<crate::operation::delete_privacy_budget_template::DeletePrivacyBudgetTemplateError> for Error {
1113    fn from(err: crate::operation::delete_privacy_budget_template::DeletePrivacyBudgetTemplateError) -> Self {
1114        match err {
1115            crate::operation::delete_privacy_budget_template::DeletePrivacyBudgetTemplateError::AccessDeniedException(inner) => {
1116                Error::AccessDeniedException(inner)
1117            }
1118            crate::operation::delete_privacy_budget_template::DeletePrivacyBudgetTemplateError::InternalServerException(inner) => {
1119                Error::InternalServerException(inner)
1120            }
1121            crate::operation::delete_privacy_budget_template::DeletePrivacyBudgetTemplateError::ResourceNotFoundException(inner) => {
1122                Error::ResourceNotFoundException(inner)
1123            }
1124            crate::operation::delete_privacy_budget_template::DeletePrivacyBudgetTemplateError::ThrottlingException(inner) => {
1125                Error::ThrottlingException(inner)
1126            }
1127            crate::operation::delete_privacy_budget_template::DeletePrivacyBudgetTemplateError::ValidationException(inner) => {
1128                Error::ValidationException(inner)
1129            }
1130            crate::operation::delete_privacy_budget_template::DeletePrivacyBudgetTemplateError::Unhandled(inner) => Error::Unhandled(inner),
1131        }
1132    }
1133}
1134impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_analysis_template::GetAnalysisTemplateError, R>> for Error
1135where
1136    R: Send + Sync + std::fmt::Debug + 'static,
1137{
1138    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_analysis_template::GetAnalysisTemplateError, R>) -> 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::get_analysis_template::GetAnalysisTemplateError> for Error {
1149    fn from(err: crate::operation::get_analysis_template::GetAnalysisTemplateError) -> Self {
1150        match err {
1151            crate::operation::get_analysis_template::GetAnalysisTemplateError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1152            crate::operation::get_analysis_template::GetAnalysisTemplateError::InternalServerException(inner) => {
1153                Error::InternalServerException(inner)
1154            }
1155            crate::operation::get_analysis_template::GetAnalysisTemplateError::ResourceNotFoundException(inner) => {
1156                Error::ResourceNotFoundException(inner)
1157            }
1158            crate::operation::get_analysis_template::GetAnalysisTemplateError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1159            crate::operation::get_analysis_template::GetAnalysisTemplateError::ValidationException(inner) => Error::ValidationException(inner),
1160            crate::operation::get_analysis_template::GetAnalysisTemplateError::Unhandled(inner) => Error::Unhandled(inner),
1161        }
1162    }
1163}
1164impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_collaboration::GetCollaborationError, R>> for Error
1165where
1166    R: Send + Sync + std::fmt::Debug + 'static,
1167{
1168    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_collaboration::GetCollaborationError, R>) -> 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_collaboration::GetCollaborationError> for Error {
1179    fn from(err: crate::operation::get_collaboration::GetCollaborationError) -> Self {
1180        match err {
1181            crate::operation::get_collaboration::GetCollaborationError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1182            crate::operation::get_collaboration::GetCollaborationError::InternalServerException(inner) => Error::InternalServerException(inner),
1183            crate::operation::get_collaboration::GetCollaborationError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1184            crate::operation::get_collaboration::GetCollaborationError::ValidationException(inner) => Error::ValidationException(inner),
1185            crate::operation::get_collaboration::GetCollaborationError::Unhandled(inner) => Error::Unhandled(inner),
1186        }
1187    }
1188}
1189impl<R>
1190    From<
1191        ::aws_smithy_runtime_api::client::result::SdkError<
1192            crate::operation::get_collaboration_analysis_template::GetCollaborationAnalysisTemplateError,
1193            R,
1194        >,
1195    > for Error
1196where
1197    R: Send + Sync + std::fmt::Debug + 'static,
1198{
1199    fn from(
1200        err: ::aws_smithy_runtime_api::client::result::SdkError<
1201            crate::operation::get_collaboration_analysis_template::GetCollaborationAnalysisTemplateError,
1202            R,
1203        >,
1204    ) -> 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_collaboration_analysis_template::GetCollaborationAnalysisTemplateError> for Error {
1215    fn from(err: crate::operation::get_collaboration_analysis_template::GetCollaborationAnalysisTemplateError) -> Self {
1216        match err {
1217            crate::operation::get_collaboration_analysis_template::GetCollaborationAnalysisTemplateError::AccessDeniedException(inner) => {
1218                Error::AccessDeniedException(inner)
1219            }
1220            crate::operation::get_collaboration_analysis_template::GetCollaborationAnalysisTemplateError::InternalServerException(inner) => {
1221                Error::InternalServerException(inner)
1222            }
1223            crate::operation::get_collaboration_analysis_template::GetCollaborationAnalysisTemplateError::ResourceNotFoundException(inner) => {
1224                Error::ResourceNotFoundException(inner)
1225            }
1226            crate::operation::get_collaboration_analysis_template::GetCollaborationAnalysisTemplateError::ThrottlingException(inner) => {
1227                Error::ThrottlingException(inner)
1228            }
1229            crate::operation::get_collaboration_analysis_template::GetCollaborationAnalysisTemplateError::ValidationException(inner) => {
1230                Error::ValidationException(inner)
1231            }
1232            crate::operation::get_collaboration_analysis_template::GetCollaborationAnalysisTemplateError::Unhandled(inner) => Error::Unhandled(inner),
1233        }
1234    }
1235}
1236impl<R>
1237    From<
1238        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_collaboration_change_request::GetCollaborationChangeRequestError, R>,
1239    > for Error
1240where
1241    R: Send + Sync + std::fmt::Debug + 'static,
1242{
1243    fn from(
1244        err: ::aws_smithy_runtime_api::client::result::SdkError<
1245            crate::operation::get_collaboration_change_request::GetCollaborationChangeRequestError,
1246            R,
1247        >,
1248    ) -> Self {
1249        match err {
1250            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1251            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1252                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1253                source: err.into(),
1254            }),
1255        }
1256    }
1257}
1258impl From<crate::operation::get_collaboration_change_request::GetCollaborationChangeRequestError> for Error {
1259    fn from(err: crate::operation::get_collaboration_change_request::GetCollaborationChangeRequestError) -> Self {
1260        match err {
1261            crate::operation::get_collaboration_change_request::GetCollaborationChangeRequestError::AccessDeniedException(inner) => {
1262                Error::AccessDeniedException(inner)
1263            }
1264            crate::operation::get_collaboration_change_request::GetCollaborationChangeRequestError::InternalServerException(inner) => {
1265                Error::InternalServerException(inner)
1266            }
1267            crate::operation::get_collaboration_change_request::GetCollaborationChangeRequestError::ResourceNotFoundException(inner) => {
1268                Error::ResourceNotFoundException(inner)
1269            }
1270            crate::operation::get_collaboration_change_request::GetCollaborationChangeRequestError::ThrottlingException(inner) => {
1271                Error::ThrottlingException(inner)
1272            }
1273            crate::operation::get_collaboration_change_request::GetCollaborationChangeRequestError::ValidationException(inner) => {
1274                Error::ValidationException(inner)
1275            }
1276            crate::operation::get_collaboration_change_request::GetCollaborationChangeRequestError::Unhandled(inner) => Error::Unhandled(inner),
1277        }
1278    }
1279}
1280impl<R>
1281    From<
1282        ::aws_smithy_runtime_api::client::result::SdkError<
1283            crate::operation::get_collaboration_configured_audience_model_association::GetCollaborationConfiguredAudienceModelAssociationError,
1284            R,
1285        >,
1286    > for Error
1287where
1288    R: Send + Sync + std::fmt::Debug + 'static,
1289{
1290    fn from(
1291        err: ::aws_smithy_runtime_api::client::result::SdkError<
1292            crate::operation::get_collaboration_configured_audience_model_association::GetCollaborationConfiguredAudienceModelAssociationError,
1293            R,
1294        >,
1295    ) -> Self {
1296        match err {
1297            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1298            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1299                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1300                source: err.into(),
1301            }),
1302        }
1303    }
1304}
1305impl From<crate::operation::get_collaboration_configured_audience_model_association::GetCollaborationConfiguredAudienceModelAssociationError>
1306    for Error
1307{
1308    fn from(
1309        err: crate::operation::get_collaboration_configured_audience_model_association::GetCollaborationConfiguredAudienceModelAssociationError,
1310    ) -> Self {
1311        match err {
1312            crate::operation::get_collaboration_configured_audience_model_association::GetCollaborationConfiguredAudienceModelAssociationError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1313            crate::operation::get_collaboration_configured_audience_model_association::GetCollaborationConfiguredAudienceModelAssociationError::InternalServerException(inner) => Error::InternalServerException(inner),
1314            crate::operation::get_collaboration_configured_audience_model_association::GetCollaborationConfiguredAudienceModelAssociationError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1315            crate::operation::get_collaboration_configured_audience_model_association::GetCollaborationConfiguredAudienceModelAssociationError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1316            crate::operation::get_collaboration_configured_audience_model_association::GetCollaborationConfiguredAudienceModelAssociationError::ValidationException(inner) => Error::ValidationException(inner),
1317            crate::operation::get_collaboration_configured_audience_model_association::GetCollaborationConfiguredAudienceModelAssociationError::Unhandled(inner) => Error::Unhandled(inner),
1318        }
1319    }
1320}
1321impl<R>
1322    From<
1323        ::aws_smithy_runtime_api::client::result::SdkError<
1324            crate::operation::get_collaboration_id_namespace_association::GetCollaborationIdNamespaceAssociationError,
1325            R,
1326        >,
1327    > for Error
1328where
1329    R: Send + Sync + std::fmt::Debug + 'static,
1330{
1331    fn from(
1332        err: ::aws_smithy_runtime_api::client::result::SdkError<
1333            crate::operation::get_collaboration_id_namespace_association::GetCollaborationIdNamespaceAssociationError,
1334            R,
1335        >,
1336    ) -> Self {
1337        match err {
1338            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1339            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1340                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1341                source: err.into(),
1342            }),
1343        }
1344    }
1345}
1346impl From<crate::operation::get_collaboration_id_namespace_association::GetCollaborationIdNamespaceAssociationError> for Error {
1347    fn from(err: crate::operation::get_collaboration_id_namespace_association::GetCollaborationIdNamespaceAssociationError) -> Self {
1348        match err {
1349            crate::operation::get_collaboration_id_namespace_association::GetCollaborationIdNamespaceAssociationError::AccessDeniedException(
1350                inner,
1351            ) => Error::AccessDeniedException(inner),
1352            crate::operation::get_collaboration_id_namespace_association::GetCollaborationIdNamespaceAssociationError::InternalServerException(
1353                inner,
1354            ) => Error::InternalServerException(inner),
1355            crate::operation::get_collaboration_id_namespace_association::GetCollaborationIdNamespaceAssociationError::ResourceNotFoundException(
1356                inner,
1357            ) => Error::ResourceNotFoundException(inner),
1358            crate::operation::get_collaboration_id_namespace_association::GetCollaborationIdNamespaceAssociationError::ThrottlingException(inner) => {
1359                Error::ThrottlingException(inner)
1360            }
1361            crate::operation::get_collaboration_id_namespace_association::GetCollaborationIdNamespaceAssociationError::ValidationException(inner) => {
1362                Error::ValidationException(inner)
1363            }
1364            crate::operation::get_collaboration_id_namespace_association::GetCollaborationIdNamespaceAssociationError::Unhandled(inner) => {
1365                Error::Unhandled(inner)
1366            }
1367        }
1368    }
1369}
1370impl<R>
1371    From<
1372        ::aws_smithy_runtime_api::client::result::SdkError<
1373            crate::operation::get_collaboration_privacy_budget_template::GetCollaborationPrivacyBudgetTemplateError,
1374            R,
1375        >,
1376    > for Error
1377where
1378    R: Send + Sync + std::fmt::Debug + 'static,
1379{
1380    fn from(
1381        err: ::aws_smithy_runtime_api::client::result::SdkError<
1382            crate::operation::get_collaboration_privacy_budget_template::GetCollaborationPrivacyBudgetTemplateError,
1383            R,
1384        >,
1385    ) -> Self {
1386        match err {
1387            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1388            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1389                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1390                source: err.into(),
1391            }),
1392        }
1393    }
1394}
1395impl From<crate::operation::get_collaboration_privacy_budget_template::GetCollaborationPrivacyBudgetTemplateError> for Error {
1396    fn from(err: crate::operation::get_collaboration_privacy_budget_template::GetCollaborationPrivacyBudgetTemplateError) -> Self {
1397        match err {
1398            crate::operation::get_collaboration_privacy_budget_template::GetCollaborationPrivacyBudgetTemplateError::AccessDeniedException(inner) => {
1399                Error::AccessDeniedException(inner)
1400            }
1401            crate::operation::get_collaboration_privacy_budget_template::GetCollaborationPrivacyBudgetTemplateError::InternalServerException(
1402                inner,
1403            ) => Error::InternalServerException(inner),
1404            crate::operation::get_collaboration_privacy_budget_template::GetCollaborationPrivacyBudgetTemplateError::ResourceNotFoundException(
1405                inner,
1406            ) => Error::ResourceNotFoundException(inner),
1407            crate::operation::get_collaboration_privacy_budget_template::GetCollaborationPrivacyBudgetTemplateError::ThrottlingException(inner) => {
1408                Error::ThrottlingException(inner)
1409            }
1410            crate::operation::get_collaboration_privacy_budget_template::GetCollaborationPrivacyBudgetTemplateError::ValidationException(inner) => {
1411                Error::ValidationException(inner)
1412            }
1413            crate::operation::get_collaboration_privacy_budget_template::GetCollaborationPrivacyBudgetTemplateError::Unhandled(inner) => {
1414                Error::Unhandled(inner)
1415            }
1416        }
1417    }
1418}
1419impl<R>
1420    From<
1421        ::aws_smithy_runtime_api::client::result::SdkError<
1422            crate::operation::get_configured_audience_model_association::GetConfiguredAudienceModelAssociationError,
1423            R,
1424        >,
1425    > for Error
1426where
1427    R: Send + Sync + std::fmt::Debug + 'static,
1428{
1429    fn from(
1430        err: ::aws_smithy_runtime_api::client::result::SdkError<
1431            crate::operation::get_configured_audience_model_association::GetConfiguredAudienceModelAssociationError,
1432            R,
1433        >,
1434    ) -> Self {
1435        match err {
1436            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1437            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1438                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1439                source: err.into(),
1440            }),
1441        }
1442    }
1443}
1444impl From<crate::operation::get_configured_audience_model_association::GetConfiguredAudienceModelAssociationError> for Error {
1445    fn from(err: crate::operation::get_configured_audience_model_association::GetConfiguredAudienceModelAssociationError) -> Self {
1446        match err {
1447            crate::operation::get_configured_audience_model_association::GetConfiguredAudienceModelAssociationError::AccessDeniedException(inner) => {
1448                Error::AccessDeniedException(inner)
1449            }
1450            crate::operation::get_configured_audience_model_association::GetConfiguredAudienceModelAssociationError::InternalServerException(
1451                inner,
1452            ) => Error::InternalServerException(inner),
1453            crate::operation::get_configured_audience_model_association::GetConfiguredAudienceModelAssociationError::ResourceNotFoundException(
1454                inner,
1455            ) => Error::ResourceNotFoundException(inner),
1456            crate::operation::get_configured_audience_model_association::GetConfiguredAudienceModelAssociationError::ThrottlingException(inner) => {
1457                Error::ThrottlingException(inner)
1458            }
1459            crate::operation::get_configured_audience_model_association::GetConfiguredAudienceModelAssociationError::ValidationException(inner) => {
1460                Error::ValidationException(inner)
1461            }
1462            crate::operation::get_configured_audience_model_association::GetConfiguredAudienceModelAssociationError::Unhandled(inner) => {
1463                Error::Unhandled(inner)
1464            }
1465        }
1466    }
1467}
1468impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_configured_table::GetConfiguredTableError, R>> for Error
1469where
1470    R: Send + Sync + std::fmt::Debug + 'static,
1471{
1472    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_configured_table::GetConfiguredTableError, R>) -> Self {
1473        match err {
1474            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1475            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1476                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1477                source: err.into(),
1478            }),
1479        }
1480    }
1481}
1482impl From<crate::operation::get_configured_table::GetConfiguredTableError> for Error {
1483    fn from(err: crate::operation::get_configured_table::GetConfiguredTableError) -> Self {
1484        match err {
1485            crate::operation::get_configured_table::GetConfiguredTableError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1486            crate::operation::get_configured_table::GetConfiguredTableError::InternalServerException(inner) => Error::InternalServerException(inner),
1487            crate::operation::get_configured_table::GetConfiguredTableError::ResourceNotFoundException(inner) => {
1488                Error::ResourceNotFoundException(inner)
1489            }
1490            crate::operation::get_configured_table::GetConfiguredTableError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1491            crate::operation::get_configured_table::GetConfiguredTableError::ValidationException(inner) => Error::ValidationException(inner),
1492            crate::operation::get_configured_table::GetConfiguredTableError::Unhandled(inner) => Error::Unhandled(inner),
1493        }
1494    }
1495}
1496impl<R>
1497    From<
1498        ::aws_smithy_runtime_api::client::result::SdkError<
1499            crate::operation::get_configured_table_analysis_rule::GetConfiguredTableAnalysisRuleError,
1500            R,
1501        >,
1502    > for Error
1503where
1504    R: Send + Sync + std::fmt::Debug + 'static,
1505{
1506    fn from(
1507        err: ::aws_smithy_runtime_api::client::result::SdkError<
1508            crate::operation::get_configured_table_analysis_rule::GetConfiguredTableAnalysisRuleError,
1509            R,
1510        >,
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_configured_table_analysis_rule::GetConfiguredTableAnalysisRuleError> for Error {
1522    fn from(err: crate::operation::get_configured_table_analysis_rule::GetConfiguredTableAnalysisRuleError) -> Self {
1523        match err {
1524            crate::operation::get_configured_table_analysis_rule::GetConfiguredTableAnalysisRuleError::AccessDeniedException(inner) => {
1525                Error::AccessDeniedException(inner)
1526            }
1527            crate::operation::get_configured_table_analysis_rule::GetConfiguredTableAnalysisRuleError::InternalServerException(inner) => {
1528                Error::InternalServerException(inner)
1529            }
1530            crate::operation::get_configured_table_analysis_rule::GetConfiguredTableAnalysisRuleError::ResourceNotFoundException(inner) => {
1531                Error::ResourceNotFoundException(inner)
1532            }
1533            crate::operation::get_configured_table_analysis_rule::GetConfiguredTableAnalysisRuleError::ThrottlingException(inner) => {
1534                Error::ThrottlingException(inner)
1535            }
1536            crate::operation::get_configured_table_analysis_rule::GetConfiguredTableAnalysisRuleError::ValidationException(inner) => {
1537                Error::ValidationException(inner)
1538            }
1539            crate::operation::get_configured_table_analysis_rule::GetConfiguredTableAnalysisRuleError::Unhandled(inner) => Error::Unhandled(inner),
1540        }
1541    }
1542}
1543impl<R>
1544    From<
1545        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_configured_table_association::GetConfiguredTableAssociationError, R>,
1546    > for Error
1547where
1548    R: Send + Sync + std::fmt::Debug + 'static,
1549{
1550    fn from(
1551        err: ::aws_smithy_runtime_api::client::result::SdkError<
1552            crate::operation::get_configured_table_association::GetConfiguredTableAssociationError,
1553            R,
1554        >,
1555    ) -> Self {
1556        match err {
1557            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1558            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1559                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1560                source: err.into(),
1561            }),
1562        }
1563    }
1564}
1565impl From<crate::operation::get_configured_table_association::GetConfiguredTableAssociationError> for Error {
1566    fn from(err: crate::operation::get_configured_table_association::GetConfiguredTableAssociationError) -> Self {
1567        match err {
1568            crate::operation::get_configured_table_association::GetConfiguredTableAssociationError::AccessDeniedException(inner) => {
1569                Error::AccessDeniedException(inner)
1570            }
1571            crate::operation::get_configured_table_association::GetConfiguredTableAssociationError::InternalServerException(inner) => {
1572                Error::InternalServerException(inner)
1573            }
1574            crate::operation::get_configured_table_association::GetConfiguredTableAssociationError::ResourceNotFoundException(inner) => {
1575                Error::ResourceNotFoundException(inner)
1576            }
1577            crate::operation::get_configured_table_association::GetConfiguredTableAssociationError::ThrottlingException(inner) => {
1578                Error::ThrottlingException(inner)
1579            }
1580            crate::operation::get_configured_table_association::GetConfiguredTableAssociationError::ValidationException(inner) => {
1581                Error::ValidationException(inner)
1582            }
1583            crate::operation::get_configured_table_association::GetConfiguredTableAssociationError::Unhandled(inner) => Error::Unhandled(inner),
1584        }
1585    }
1586}
1587impl<R>
1588    From<
1589        ::aws_smithy_runtime_api::client::result::SdkError<
1590            crate::operation::get_configured_table_association_analysis_rule::GetConfiguredTableAssociationAnalysisRuleError,
1591            R,
1592        >,
1593    > for Error
1594where
1595    R: Send + Sync + std::fmt::Debug + 'static,
1596{
1597    fn from(
1598        err: ::aws_smithy_runtime_api::client::result::SdkError<
1599            crate::operation::get_configured_table_association_analysis_rule::GetConfiguredTableAssociationAnalysisRuleError,
1600            R,
1601        >,
1602    ) -> Self {
1603        match err {
1604            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1605            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1606                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1607                source: err.into(),
1608            }),
1609        }
1610    }
1611}
1612impl From<crate::operation::get_configured_table_association_analysis_rule::GetConfiguredTableAssociationAnalysisRuleError> for Error {
1613    fn from(err: crate::operation::get_configured_table_association_analysis_rule::GetConfiguredTableAssociationAnalysisRuleError) -> Self {
1614        match err {
1615            crate::operation::get_configured_table_association_analysis_rule::GetConfiguredTableAssociationAnalysisRuleError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1616            crate::operation::get_configured_table_association_analysis_rule::GetConfiguredTableAssociationAnalysisRuleError::InternalServerException(inner) => Error::InternalServerException(inner),
1617            crate::operation::get_configured_table_association_analysis_rule::GetConfiguredTableAssociationAnalysisRuleError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1618            crate::operation::get_configured_table_association_analysis_rule::GetConfiguredTableAssociationAnalysisRuleError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1619            crate::operation::get_configured_table_association_analysis_rule::GetConfiguredTableAssociationAnalysisRuleError::ValidationException(inner) => Error::ValidationException(inner),
1620            crate::operation::get_configured_table_association_analysis_rule::GetConfiguredTableAssociationAnalysisRuleError::Unhandled(inner) => Error::Unhandled(inner),
1621        }
1622    }
1623}
1624impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_id_mapping_table::GetIdMappingTableError, R>> for Error
1625where
1626    R: Send + Sync + std::fmt::Debug + 'static,
1627{
1628    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_id_mapping_table::GetIdMappingTableError, R>) -> Self {
1629        match err {
1630            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1631            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1632                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1633                source: err.into(),
1634            }),
1635        }
1636    }
1637}
1638impl From<crate::operation::get_id_mapping_table::GetIdMappingTableError> for Error {
1639    fn from(err: crate::operation::get_id_mapping_table::GetIdMappingTableError) -> Self {
1640        match err {
1641            crate::operation::get_id_mapping_table::GetIdMappingTableError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1642            crate::operation::get_id_mapping_table::GetIdMappingTableError::InternalServerException(inner) => Error::InternalServerException(inner),
1643            crate::operation::get_id_mapping_table::GetIdMappingTableError::ResourceNotFoundException(inner) => {
1644                Error::ResourceNotFoundException(inner)
1645            }
1646            crate::operation::get_id_mapping_table::GetIdMappingTableError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1647            crate::operation::get_id_mapping_table::GetIdMappingTableError::ValidationException(inner) => Error::ValidationException(inner),
1648            crate::operation::get_id_mapping_table::GetIdMappingTableError::Unhandled(inner) => Error::Unhandled(inner),
1649        }
1650    }
1651}
1652impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_id_namespace_association::GetIdNamespaceAssociationError, R>>
1653    for Error
1654where
1655    R: Send + Sync + std::fmt::Debug + 'static,
1656{
1657    fn from(
1658        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_id_namespace_association::GetIdNamespaceAssociationError, R>,
1659    ) -> Self {
1660        match err {
1661            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1662            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1663                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1664                source: err.into(),
1665            }),
1666        }
1667    }
1668}
1669impl From<crate::operation::get_id_namespace_association::GetIdNamespaceAssociationError> for Error {
1670    fn from(err: crate::operation::get_id_namespace_association::GetIdNamespaceAssociationError) -> Self {
1671        match err {
1672            crate::operation::get_id_namespace_association::GetIdNamespaceAssociationError::AccessDeniedException(inner) => {
1673                Error::AccessDeniedException(inner)
1674            }
1675            crate::operation::get_id_namespace_association::GetIdNamespaceAssociationError::InternalServerException(inner) => {
1676                Error::InternalServerException(inner)
1677            }
1678            crate::operation::get_id_namespace_association::GetIdNamespaceAssociationError::ResourceNotFoundException(inner) => {
1679                Error::ResourceNotFoundException(inner)
1680            }
1681            crate::operation::get_id_namespace_association::GetIdNamespaceAssociationError::ThrottlingException(inner) => {
1682                Error::ThrottlingException(inner)
1683            }
1684            crate::operation::get_id_namespace_association::GetIdNamespaceAssociationError::ValidationException(inner) => {
1685                Error::ValidationException(inner)
1686            }
1687            crate::operation::get_id_namespace_association::GetIdNamespaceAssociationError::Unhandled(inner) => Error::Unhandled(inner),
1688        }
1689    }
1690}
1691impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_membership::GetMembershipError, R>> for Error
1692where
1693    R: Send + Sync + std::fmt::Debug + 'static,
1694{
1695    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_membership::GetMembershipError, R>) -> Self {
1696        match err {
1697            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1698            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1699                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1700                source: err.into(),
1701            }),
1702        }
1703    }
1704}
1705impl From<crate::operation::get_membership::GetMembershipError> for Error {
1706    fn from(err: crate::operation::get_membership::GetMembershipError) -> Self {
1707        match err {
1708            crate::operation::get_membership::GetMembershipError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1709            crate::operation::get_membership::GetMembershipError::InternalServerException(inner) => Error::InternalServerException(inner),
1710            crate::operation::get_membership::GetMembershipError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1711            crate::operation::get_membership::GetMembershipError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1712            crate::operation::get_membership::GetMembershipError::ValidationException(inner) => Error::ValidationException(inner),
1713            crate::operation::get_membership::GetMembershipError::Unhandled(inner) => Error::Unhandled(inner),
1714        }
1715    }
1716}
1717impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_privacy_budget_template::GetPrivacyBudgetTemplateError, R>>
1718    for Error
1719where
1720    R: Send + Sync + std::fmt::Debug + 'static,
1721{
1722    fn from(
1723        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_privacy_budget_template::GetPrivacyBudgetTemplateError, R>,
1724    ) -> Self {
1725        match err {
1726            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1727            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1728                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1729                source: err.into(),
1730            }),
1731        }
1732    }
1733}
1734impl From<crate::operation::get_privacy_budget_template::GetPrivacyBudgetTemplateError> for Error {
1735    fn from(err: crate::operation::get_privacy_budget_template::GetPrivacyBudgetTemplateError) -> Self {
1736        match err {
1737            crate::operation::get_privacy_budget_template::GetPrivacyBudgetTemplateError::AccessDeniedException(inner) => {
1738                Error::AccessDeniedException(inner)
1739            }
1740            crate::operation::get_privacy_budget_template::GetPrivacyBudgetTemplateError::InternalServerException(inner) => {
1741                Error::InternalServerException(inner)
1742            }
1743            crate::operation::get_privacy_budget_template::GetPrivacyBudgetTemplateError::ResourceNotFoundException(inner) => {
1744                Error::ResourceNotFoundException(inner)
1745            }
1746            crate::operation::get_privacy_budget_template::GetPrivacyBudgetTemplateError::ThrottlingException(inner) => {
1747                Error::ThrottlingException(inner)
1748            }
1749            crate::operation::get_privacy_budget_template::GetPrivacyBudgetTemplateError::ValidationException(inner) => {
1750                Error::ValidationException(inner)
1751            }
1752            crate::operation::get_privacy_budget_template::GetPrivacyBudgetTemplateError::Unhandled(inner) => Error::Unhandled(inner),
1753        }
1754    }
1755}
1756impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_protected_job::GetProtectedJobError, R>> for Error
1757where
1758    R: Send + Sync + std::fmt::Debug + 'static,
1759{
1760    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_protected_job::GetProtectedJobError, R>) -> Self {
1761        match err {
1762            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1763            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1764                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1765                source: err.into(),
1766            }),
1767        }
1768    }
1769}
1770impl From<crate::operation::get_protected_job::GetProtectedJobError> for Error {
1771    fn from(err: crate::operation::get_protected_job::GetProtectedJobError) -> Self {
1772        match err {
1773            crate::operation::get_protected_job::GetProtectedJobError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1774            crate::operation::get_protected_job::GetProtectedJobError::InternalServerException(inner) => Error::InternalServerException(inner),
1775            crate::operation::get_protected_job::GetProtectedJobError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1776            crate::operation::get_protected_job::GetProtectedJobError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1777            crate::operation::get_protected_job::GetProtectedJobError::ValidationException(inner) => Error::ValidationException(inner),
1778            crate::operation::get_protected_job::GetProtectedJobError::Unhandled(inner) => Error::Unhandled(inner),
1779        }
1780    }
1781}
1782impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_protected_query::GetProtectedQueryError, R>> for Error
1783where
1784    R: Send + Sync + std::fmt::Debug + 'static,
1785{
1786    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_protected_query::GetProtectedQueryError, R>) -> Self {
1787        match err {
1788            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1789            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1790                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1791                source: err.into(),
1792            }),
1793        }
1794    }
1795}
1796impl From<crate::operation::get_protected_query::GetProtectedQueryError> for Error {
1797    fn from(err: crate::operation::get_protected_query::GetProtectedQueryError) -> Self {
1798        match err {
1799            crate::operation::get_protected_query::GetProtectedQueryError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1800            crate::operation::get_protected_query::GetProtectedQueryError::InternalServerException(inner) => Error::InternalServerException(inner),
1801            crate::operation::get_protected_query::GetProtectedQueryError::ResourceNotFoundException(inner) => {
1802                Error::ResourceNotFoundException(inner)
1803            }
1804            crate::operation::get_protected_query::GetProtectedQueryError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1805            crate::operation::get_protected_query::GetProtectedQueryError::ValidationException(inner) => Error::ValidationException(inner),
1806            crate::operation::get_protected_query::GetProtectedQueryError::Unhandled(inner) => Error::Unhandled(inner),
1807        }
1808    }
1809}
1810impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_schema::GetSchemaError, R>> for Error
1811where
1812    R: Send + Sync + std::fmt::Debug + 'static,
1813{
1814    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_schema::GetSchemaError, R>) -> Self {
1815        match err {
1816            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1817            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1818                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1819                source: err.into(),
1820            }),
1821        }
1822    }
1823}
1824impl From<crate::operation::get_schema::GetSchemaError> for Error {
1825    fn from(err: crate::operation::get_schema::GetSchemaError) -> Self {
1826        match err {
1827            crate::operation::get_schema::GetSchemaError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1828            crate::operation::get_schema::GetSchemaError::InternalServerException(inner) => Error::InternalServerException(inner),
1829            crate::operation::get_schema::GetSchemaError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1830            crate::operation::get_schema::GetSchemaError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1831            crate::operation::get_schema::GetSchemaError::ValidationException(inner) => Error::ValidationException(inner),
1832            crate::operation::get_schema::GetSchemaError::Unhandled(inner) => Error::Unhandled(inner),
1833        }
1834    }
1835}
1836impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_schema_analysis_rule::GetSchemaAnalysisRuleError, R>> for Error
1837where
1838    R: Send + Sync + std::fmt::Debug + 'static,
1839{
1840    fn from(
1841        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_schema_analysis_rule::GetSchemaAnalysisRuleError, R>,
1842    ) -> Self {
1843        match err {
1844            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1845            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1846                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1847                source: err.into(),
1848            }),
1849        }
1850    }
1851}
1852impl From<crate::operation::get_schema_analysis_rule::GetSchemaAnalysisRuleError> for Error {
1853    fn from(err: crate::operation::get_schema_analysis_rule::GetSchemaAnalysisRuleError) -> Self {
1854        match err {
1855            crate::operation::get_schema_analysis_rule::GetSchemaAnalysisRuleError::AccessDeniedException(inner) => {
1856                Error::AccessDeniedException(inner)
1857            }
1858            crate::operation::get_schema_analysis_rule::GetSchemaAnalysisRuleError::InternalServerException(inner) => {
1859                Error::InternalServerException(inner)
1860            }
1861            crate::operation::get_schema_analysis_rule::GetSchemaAnalysisRuleError::ResourceNotFoundException(inner) => {
1862                Error::ResourceNotFoundException(inner)
1863            }
1864            crate::operation::get_schema_analysis_rule::GetSchemaAnalysisRuleError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1865            crate::operation::get_schema_analysis_rule::GetSchemaAnalysisRuleError::ValidationException(inner) => Error::ValidationException(inner),
1866            crate::operation::get_schema_analysis_rule::GetSchemaAnalysisRuleError::Unhandled(inner) => Error::Unhandled(inner),
1867        }
1868    }
1869}
1870impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_analysis_templates::ListAnalysisTemplatesError, R>> for Error
1871where
1872    R: Send + Sync + std::fmt::Debug + 'static,
1873{
1874    fn from(
1875        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_analysis_templates::ListAnalysisTemplatesError, R>,
1876    ) -> Self {
1877        match err {
1878            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1879            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1880                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1881                source: err.into(),
1882            }),
1883        }
1884    }
1885}
1886impl From<crate::operation::list_analysis_templates::ListAnalysisTemplatesError> for Error {
1887    fn from(err: crate::operation::list_analysis_templates::ListAnalysisTemplatesError) -> Self {
1888        match err {
1889            crate::operation::list_analysis_templates::ListAnalysisTemplatesError::AccessDeniedException(inner) => {
1890                Error::AccessDeniedException(inner)
1891            }
1892            crate::operation::list_analysis_templates::ListAnalysisTemplatesError::InternalServerException(inner) => {
1893                Error::InternalServerException(inner)
1894            }
1895            crate::operation::list_analysis_templates::ListAnalysisTemplatesError::ResourceNotFoundException(inner) => {
1896                Error::ResourceNotFoundException(inner)
1897            }
1898            crate::operation::list_analysis_templates::ListAnalysisTemplatesError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1899            crate::operation::list_analysis_templates::ListAnalysisTemplatesError::ValidationException(inner) => Error::ValidationException(inner),
1900            crate::operation::list_analysis_templates::ListAnalysisTemplatesError::Unhandled(inner) => Error::Unhandled(inner),
1901        }
1902    }
1903}
1904impl<R>
1905    From<
1906        ::aws_smithy_runtime_api::client::result::SdkError<
1907            crate::operation::list_collaboration_analysis_templates::ListCollaborationAnalysisTemplatesError,
1908            R,
1909        >,
1910    > for Error
1911where
1912    R: Send + Sync + std::fmt::Debug + 'static,
1913{
1914    fn from(
1915        err: ::aws_smithy_runtime_api::client::result::SdkError<
1916            crate::operation::list_collaboration_analysis_templates::ListCollaborationAnalysisTemplatesError,
1917            R,
1918        >,
1919    ) -> Self {
1920        match err {
1921            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1922            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1923                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1924                source: err.into(),
1925            }),
1926        }
1927    }
1928}
1929impl From<crate::operation::list_collaboration_analysis_templates::ListCollaborationAnalysisTemplatesError> for Error {
1930    fn from(err: crate::operation::list_collaboration_analysis_templates::ListCollaborationAnalysisTemplatesError) -> Self {
1931        match err {
1932            crate::operation::list_collaboration_analysis_templates::ListCollaborationAnalysisTemplatesError::AccessDeniedException(inner) => {
1933                Error::AccessDeniedException(inner)
1934            }
1935            crate::operation::list_collaboration_analysis_templates::ListCollaborationAnalysisTemplatesError::InternalServerException(inner) => {
1936                Error::InternalServerException(inner)
1937            }
1938            crate::operation::list_collaboration_analysis_templates::ListCollaborationAnalysisTemplatesError::ResourceNotFoundException(inner) => {
1939                Error::ResourceNotFoundException(inner)
1940            }
1941            crate::operation::list_collaboration_analysis_templates::ListCollaborationAnalysisTemplatesError::ThrottlingException(inner) => {
1942                Error::ThrottlingException(inner)
1943            }
1944            crate::operation::list_collaboration_analysis_templates::ListCollaborationAnalysisTemplatesError::ValidationException(inner) => {
1945                Error::ValidationException(inner)
1946            }
1947            crate::operation::list_collaboration_analysis_templates::ListCollaborationAnalysisTemplatesError::Unhandled(inner) => {
1948                Error::Unhandled(inner)
1949            }
1950        }
1951    }
1952}
1953impl<R>
1954    From<
1955        ::aws_smithy_runtime_api::client::result::SdkError<
1956            crate::operation::list_collaboration_change_requests::ListCollaborationChangeRequestsError,
1957            R,
1958        >,
1959    > for Error
1960where
1961    R: Send + Sync + std::fmt::Debug + 'static,
1962{
1963    fn from(
1964        err: ::aws_smithy_runtime_api::client::result::SdkError<
1965            crate::operation::list_collaboration_change_requests::ListCollaborationChangeRequestsError,
1966            R,
1967        >,
1968    ) -> Self {
1969        match err {
1970            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1971            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1972                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1973                source: err.into(),
1974            }),
1975        }
1976    }
1977}
1978impl From<crate::operation::list_collaboration_change_requests::ListCollaborationChangeRequestsError> for Error {
1979    fn from(err: crate::operation::list_collaboration_change_requests::ListCollaborationChangeRequestsError) -> Self {
1980        match err {
1981            crate::operation::list_collaboration_change_requests::ListCollaborationChangeRequestsError::AccessDeniedException(inner) => {
1982                Error::AccessDeniedException(inner)
1983            }
1984            crate::operation::list_collaboration_change_requests::ListCollaborationChangeRequestsError::InternalServerException(inner) => {
1985                Error::InternalServerException(inner)
1986            }
1987            crate::operation::list_collaboration_change_requests::ListCollaborationChangeRequestsError::ResourceNotFoundException(inner) => {
1988                Error::ResourceNotFoundException(inner)
1989            }
1990            crate::operation::list_collaboration_change_requests::ListCollaborationChangeRequestsError::ThrottlingException(inner) => {
1991                Error::ThrottlingException(inner)
1992            }
1993            crate::operation::list_collaboration_change_requests::ListCollaborationChangeRequestsError::ValidationException(inner) => {
1994                Error::ValidationException(inner)
1995            }
1996            crate::operation::list_collaboration_change_requests::ListCollaborationChangeRequestsError::Unhandled(inner) => Error::Unhandled(inner),
1997        }
1998    }
1999}
2000impl<R>
2001    From<
2002        ::aws_smithy_runtime_api::client::result::SdkError<
2003            crate::operation::list_collaboration_configured_audience_model_associations::ListCollaborationConfiguredAudienceModelAssociationsError,
2004            R,
2005        >,
2006    > for Error
2007where
2008    R: Send + Sync + std::fmt::Debug + 'static,
2009{
2010    fn from(
2011        err: ::aws_smithy_runtime_api::client::result::SdkError<
2012            crate::operation::list_collaboration_configured_audience_model_associations::ListCollaborationConfiguredAudienceModelAssociationsError,
2013            R,
2014        >,
2015    ) -> Self {
2016        match err {
2017            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2018            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2019                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2020                source: err.into(),
2021            }),
2022        }
2023    }
2024}
2025impl From<crate::operation::list_collaboration_configured_audience_model_associations::ListCollaborationConfiguredAudienceModelAssociationsError>
2026    for Error
2027{
2028    fn from(
2029        err: crate::operation::list_collaboration_configured_audience_model_associations::ListCollaborationConfiguredAudienceModelAssociationsError,
2030    ) -> Self {
2031        match err {
2032            crate::operation::list_collaboration_configured_audience_model_associations::ListCollaborationConfiguredAudienceModelAssociationsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2033            crate::operation::list_collaboration_configured_audience_model_associations::ListCollaborationConfiguredAudienceModelAssociationsError::InternalServerException(inner) => Error::InternalServerException(inner),
2034            crate::operation::list_collaboration_configured_audience_model_associations::ListCollaborationConfiguredAudienceModelAssociationsError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
2035            crate::operation::list_collaboration_configured_audience_model_associations::ListCollaborationConfiguredAudienceModelAssociationsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2036            crate::operation::list_collaboration_configured_audience_model_associations::ListCollaborationConfiguredAudienceModelAssociationsError::ValidationException(inner) => Error::ValidationException(inner),
2037            crate::operation::list_collaboration_configured_audience_model_associations::ListCollaborationConfiguredAudienceModelAssociationsError::Unhandled(inner) => Error::Unhandled(inner),
2038        }
2039    }
2040}
2041impl<R>
2042    From<
2043        ::aws_smithy_runtime_api::client::result::SdkError<
2044            crate::operation::list_collaboration_id_namespace_associations::ListCollaborationIdNamespaceAssociationsError,
2045            R,
2046        >,
2047    > for Error
2048where
2049    R: Send + Sync + std::fmt::Debug + 'static,
2050{
2051    fn from(
2052        err: ::aws_smithy_runtime_api::client::result::SdkError<
2053            crate::operation::list_collaboration_id_namespace_associations::ListCollaborationIdNamespaceAssociationsError,
2054            R,
2055        >,
2056    ) -> Self {
2057        match err {
2058            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2059            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2060                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2061                source: err.into(),
2062            }),
2063        }
2064    }
2065}
2066impl From<crate::operation::list_collaboration_id_namespace_associations::ListCollaborationIdNamespaceAssociationsError> for Error {
2067    fn from(err: crate::operation::list_collaboration_id_namespace_associations::ListCollaborationIdNamespaceAssociationsError) -> Self {
2068        match err {
2069            crate::operation::list_collaboration_id_namespace_associations::ListCollaborationIdNamespaceAssociationsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2070            crate::operation::list_collaboration_id_namespace_associations::ListCollaborationIdNamespaceAssociationsError::InternalServerException(inner) => Error::InternalServerException(inner),
2071            crate::operation::list_collaboration_id_namespace_associations::ListCollaborationIdNamespaceAssociationsError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
2072            crate::operation::list_collaboration_id_namespace_associations::ListCollaborationIdNamespaceAssociationsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2073            crate::operation::list_collaboration_id_namespace_associations::ListCollaborationIdNamespaceAssociationsError::ValidationException(inner) => Error::ValidationException(inner),
2074            crate::operation::list_collaboration_id_namespace_associations::ListCollaborationIdNamespaceAssociationsError::Unhandled(inner) => Error::Unhandled(inner),
2075        }
2076    }
2077}
2078impl<R>
2079    From<
2080        ::aws_smithy_runtime_api::client::result::SdkError<
2081            crate::operation::list_collaboration_privacy_budgets::ListCollaborationPrivacyBudgetsError,
2082            R,
2083        >,
2084    > for Error
2085where
2086    R: Send + Sync + std::fmt::Debug + 'static,
2087{
2088    fn from(
2089        err: ::aws_smithy_runtime_api::client::result::SdkError<
2090            crate::operation::list_collaboration_privacy_budgets::ListCollaborationPrivacyBudgetsError,
2091            R,
2092        >,
2093    ) -> Self {
2094        match err {
2095            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2096            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2097                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2098                source: err.into(),
2099            }),
2100        }
2101    }
2102}
2103impl From<crate::operation::list_collaboration_privacy_budgets::ListCollaborationPrivacyBudgetsError> for Error {
2104    fn from(err: crate::operation::list_collaboration_privacy_budgets::ListCollaborationPrivacyBudgetsError) -> Self {
2105        match err {
2106            crate::operation::list_collaboration_privacy_budgets::ListCollaborationPrivacyBudgetsError::AccessDeniedException(inner) => {
2107                Error::AccessDeniedException(inner)
2108            }
2109            crate::operation::list_collaboration_privacy_budgets::ListCollaborationPrivacyBudgetsError::InternalServerException(inner) => {
2110                Error::InternalServerException(inner)
2111            }
2112            crate::operation::list_collaboration_privacy_budgets::ListCollaborationPrivacyBudgetsError::ResourceNotFoundException(inner) => {
2113                Error::ResourceNotFoundException(inner)
2114            }
2115            crate::operation::list_collaboration_privacy_budgets::ListCollaborationPrivacyBudgetsError::ThrottlingException(inner) => {
2116                Error::ThrottlingException(inner)
2117            }
2118            crate::operation::list_collaboration_privacy_budgets::ListCollaborationPrivacyBudgetsError::ValidationException(inner) => {
2119                Error::ValidationException(inner)
2120            }
2121            crate::operation::list_collaboration_privacy_budgets::ListCollaborationPrivacyBudgetsError::Unhandled(inner) => Error::Unhandled(inner),
2122        }
2123    }
2124}
2125impl<R>
2126    From<
2127        ::aws_smithy_runtime_api::client::result::SdkError<
2128            crate::operation::list_collaboration_privacy_budget_templates::ListCollaborationPrivacyBudgetTemplatesError,
2129            R,
2130        >,
2131    > for Error
2132where
2133    R: Send + Sync + std::fmt::Debug + 'static,
2134{
2135    fn from(
2136        err: ::aws_smithy_runtime_api::client::result::SdkError<
2137            crate::operation::list_collaboration_privacy_budget_templates::ListCollaborationPrivacyBudgetTemplatesError,
2138            R,
2139        >,
2140    ) -> Self {
2141        match err {
2142            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2143            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2144                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2145                source: err.into(),
2146            }),
2147        }
2148    }
2149}
2150impl From<crate::operation::list_collaboration_privacy_budget_templates::ListCollaborationPrivacyBudgetTemplatesError> for Error {
2151    fn from(err: crate::operation::list_collaboration_privacy_budget_templates::ListCollaborationPrivacyBudgetTemplatesError) -> Self {
2152        match err {
2153            crate::operation::list_collaboration_privacy_budget_templates::ListCollaborationPrivacyBudgetTemplatesError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2154            crate::operation::list_collaboration_privacy_budget_templates::ListCollaborationPrivacyBudgetTemplatesError::InternalServerException(inner) => Error::InternalServerException(inner),
2155            crate::operation::list_collaboration_privacy_budget_templates::ListCollaborationPrivacyBudgetTemplatesError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
2156            crate::operation::list_collaboration_privacy_budget_templates::ListCollaborationPrivacyBudgetTemplatesError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2157            crate::operation::list_collaboration_privacy_budget_templates::ListCollaborationPrivacyBudgetTemplatesError::ValidationException(inner) => Error::ValidationException(inner),
2158            crate::operation::list_collaboration_privacy_budget_templates::ListCollaborationPrivacyBudgetTemplatesError::Unhandled(inner) => Error::Unhandled(inner),
2159        }
2160    }
2161}
2162impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_collaborations::ListCollaborationsError, R>> for Error
2163where
2164    R: Send + Sync + std::fmt::Debug + 'static,
2165{
2166    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_collaborations::ListCollaborationsError, R>) -> Self {
2167        match err {
2168            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2169            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2170                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2171                source: err.into(),
2172            }),
2173        }
2174    }
2175}
2176impl From<crate::operation::list_collaborations::ListCollaborationsError> for Error {
2177    fn from(err: crate::operation::list_collaborations::ListCollaborationsError) -> Self {
2178        match err {
2179            crate::operation::list_collaborations::ListCollaborationsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2180            crate::operation::list_collaborations::ListCollaborationsError::InternalServerException(inner) => Error::InternalServerException(inner),
2181            crate::operation::list_collaborations::ListCollaborationsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2182            crate::operation::list_collaborations::ListCollaborationsError::ValidationException(inner) => Error::ValidationException(inner),
2183            crate::operation::list_collaborations::ListCollaborationsError::Unhandled(inner) => Error::Unhandled(inner),
2184        }
2185    }
2186}
2187impl<R>
2188    From<
2189        ::aws_smithy_runtime_api::client::result::SdkError<
2190            crate::operation::list_configured_audience_model_associations::ListConfiguredAudienceModelAssociationsError,
2191            R,
2192        >,
2193    > for Error
2194where
2195    R: Send + Sync + std::fmt::Debug + 'static,
2196{
2197    fn from(
2198        err: ::aws_smithy_runtime_api::client::result::SdkError<
2199            crate::operation::list_configured_audience_model_associations::ListConfiguredAudienceModelAssociationsError,
2200            R,
2201        >,
2202    ) -> Self {
2203        match err {
2204            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2205            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2206                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2207                source: err.into(),
2208            }),
2209        }
2210    }
2211}
2212impl From<crate::operation::list_configured_audience_model_associations::ListConfiguredAudienceModelAssociationsError> for Error {
2213    fn from(err: crate::operation::list_configured_audience_model_associations::ListConfiguredAudienceModelAssociationsError) -> Self {
2214        match err {
2215            crate::operation::list_configured_audience_model_associations::ListConfiguredAudienceModelAssociationsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2216            crate::operation::list_configured_audience_model_associations::ListConfiguredAudienceModelAssociationsError::InternalServerException(inner) => Error::InternalServerException(inner),
2217            crate::operation::list_configured_audience_model_associations::ListConfiguredAudienceModelAssociationsError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
2218            crate::operation::list_configured_audience_model_associations::ListConfiguredAudienceModelAssociationsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2219            crate::operation::list_configured_audience_model_associations::ListConfiguredAudienceModelAssociationsError::ValidationException(inner) => Error::ValidationException(inner),
2220            crate::operation::list_configured_audience_model_associations::ListConfiguredAudienceModelAssociationsError::Unhandled(inner) => Error::Unhandled(inner),
2221        }
2222    }
2223}
2224impl<R>
2225    From<
2226        ::aws_smithy_runtime_api::client::result::SdkError<
2227            crate::operation::list_configured_table_associations::ListConfiguredTableAssociationsError,
2228            R,
2229        >,
2230    > for Error
2231where
2232    R: Send + Sync + std::fmt::Debug + 'static,
2233{
2234    fn from(
2235        err: ::aws_smithy_runtime_api::client::result::SdkError<
2236            crate::operation::list_configured_table_associations::ListConfiguredTableAssociationsError,
2237            R,
2238        >,
2239    ) -> Self {
2240        match err {
2241            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2242            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2243                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2244                source: err.into(),
2245            }),
2246        }
2247    }
2248}
2249impl From<crate::operation::list_configured_table_associations::ListConfiguredTableAssociationsError> for Error {
2250    fn from(err: crate::operation::list_configured_table_associations::ListConfiguredTableAssociationsError) -> Self {
2251        match err {
2252            crate::operation::list_configured_table_associations::ListConfiguredTableAssociationsError::AccessDeniedException(inner) => {
2253                Error::AccessDeniedException(inner)
2254            }
2255            crate::operation::list_configured_table_associations::ListConfiguredTableAssociationsError::InternalServerException(inner) => {
2256                Error::InternalServerException(inner)
2257            }
2258            crate::operation::list_configured_table_associations::ListConfiguredTableAssociationsError::ResourceNotFoundException(inner) => {
2259                Error::ResourceNotFoundException(inner)
2260            }
2261            crate::operation::list_configured_table_associations::ListConfiguredTableAssociationsError::ThrottlingException(inner) => {
2262                Error::ThrottlingException(inner)
2263            }
2264            crate::operation::list_configured_table_associations::ListConfiguredTableAssociationsError::ValidationException(inner) => {
2265                Error::ValidationException(inner)
2266            }
2267            crate::operation::list_configured_table_associations::ListConfiguredTableAssociationsError::Unhandled(inner) => Error::Unhandled(inner),
2268        }
2269    }
2270}
2271impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_configured_tables::ListConfiguredTablesError, R>> for Error
2272where
2273    R: Send + Sync + std::fmt::Debug + 'static,
2274{
2275    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_configured_tables::ListConfiguredTablesError, R>) -> Self {
2276        match err {
2277            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2278            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2279                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2280                source: err.into(),
2281            }),
2282        }
2283    }
2284}
2285impl From<crate::operation::list_configured_tables::ListConfiguredTablesError> for Error {
2286    fn from(err: crate::operation::list_configured_tables::ListConfiguredTablesError) -> Self {
2287        match err {
2288            crate::operation::list_configured_tables::ListConfiguredTablesError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2289            crate::operation::list_configured_tables::ListConfiguredTablesError::InternalServerException(inner) => {
2290                Error::InternalServerException(inner)
2291            }
2292            crate::operation::list_configured_tables::ListConfiguredTablesError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2293            crate::operation::list_configured_tables::ListConfiguredTablesError::ValidationException(inner) => Error::ValidationException(inner),
2294            crate::operation::list_configured_tables::ListConfiguredTablesError::Unhandled(inner) => Error::Unhandled(inner),
2295        }
2296    }
2297}
2298impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_id_mapping_tables::ListIdMappingTablesError, R>> for Error
2299where
2300    R: Send + Sync + std::fmt::Debug + 'static,
2301{
2302    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_id_mapping_tables::ListIdMappingTablesError, R>) -> Self {
2303        match err {
2304            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2305            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2306                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2307                source: err.into(),
2308            }),
2309        }
2310    }
2311}
2312impl From<crate::operation::list_id_mapping_tables::ListIdMappingTablesError> for Error {
2313    fn from(err: crate::operation::list_id_mapping_tables::ListIdMappingTablesError) -> Self {
2314        match err {
2315            crate::operation::list_id_mapping_tables::ListIdMappingTablesError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2316            crate::operation::list_id_mapping_tables::ListIdMappingTablesError::InternalServerException(inner) => {
2317                Error::InternalServerException(inner)
2318            }
2319            crate::operation::list_id_mapping_tables::ListIdMappingTablesError::ResourceNotFoundException(inner) => {
2320                Error::ResourceNotFoundException(inner)
2321            }
2322            crate::operation::list_id_mapping_tables::ListIdMappingTablesError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2323            crate::operation::list_id_mapping_tables::ListIdMappingTablesError::ValidationException(inner) => Error::ValidationException(inner),
2324            crate::operation::list_id_mapping_tables::ListIdMappingTablesError::Unhandled(inner) => Error::Unhandled(inner),
2325        }
2326    }
2327}
2328impl<R>
2329    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_id_namespace_associations::ListIdNamespaceAssociationsError, R>>
2330    for Error
2331where
2332    R: Send + Sync + std::fmt::Debug + 'static,
2333{
2334    fn from(
2335        err: ::aws_smithy_runtime_api::client::result::SdkError<
2336            crate::operation::list_id_namespace_associations::ListIdNamespaceAssociationsError,
2337            R,
2338        >,
2339    ) -> Self {
2340        match err {
2341            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2342            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2343                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2344                source: err.into(),
2345            }),
2346        }
2347    }
2348}
2349impl From<crate::operation::list_id_namespace_associations::ListIdNamespaceAssociationsError> for Error {
2350    fn from(err: crate::operation::list_id_namespace_associations::ListIdNamespaceAssociationsError) -> Self {
2351        match err {
2352            crate::operation::list_id_namespace_associations::ListIdNamespaceAssociationsError::AccessDeniedException(inner) => {
2353                Error::AccessDeniedException(inner)
2354            }
2355            crate::operation::list_id_namespace_associations::ListIdNamespaceAssociationsError::InternalServerException(inner) => {
2356                Error::InternalServerException(inner)
2357            }
2358            crate::operation::list_id_namespace_associations::ListIdNamespaceAssociationsError::ResourceNotFoundException(inner) => {
2359                Error::ResourceNotFoundException(inner)
2360            }
2361            crate::operation::list_id_namespace_associations::ListIdNamespaceAssociationsError::ThrottlingException(inner) => {
2362                Error::ThrottlingException(inner)
2363            }
2364            crate::operation::list_id_namespace_associations::ListIdNamespaceAssociationsError::ValidationException(inner) => {
2365                Error::ValidationException(inner)
2366            }
2367            crate::operation::list_id_namespace_associations::ListIdNamespaceAssociationsError::Unhandled(inner) => Error::Unhandled(inner),
2368        }
2369    }
2370}
2371impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_members::ListMembersError, R>> for Error
2372where
2373    R: Send + Sync + std::fmt::Debug + 'static,
2374{
2375    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_members::ListMembersError, R>) -> Self {
2376        match err {
2377            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2378            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2379                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2380                source: err.into(),
2381            }),
2382        }
2383    }
2384}
2385impl From<crate::operation::list_members::ListMembersError> for Error {
2386    fn from(err: crate::operation::list_members::ListMembersError) -> Self {
2387        match err {
2388            crate::operation::list_members::ListMembersError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2389            crate::operation::list_members::ListMembersError::InternalServerException(inner) => Error::InternalServerException(inner),
2390            crate::operation::list_members::ListMembersError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
2391            crate::operation::list_members::ListMembersError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2392            crate::operation::list_members::ListMembersError::ValidationException(inner) => Error::ValidationException(inner),
2393            crate::operation::list_members::ListMembersError::Unhandled(inner) => Error::Unhandled(inner),
2394        }
2395    }
2396}
2397impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_memberships::ListMembershipsError, R>> for Error
2398where
2399    R: Send + Sync + std::fmt::Debug + 'static,
2400{
2401    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_memberships::ListMembershipsError, R>) -> Self {
2402        match err {
2403            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2404            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2405                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2406                source: err.into(),
2407            }),
2408        }
2409    }
2410}
2411impl From<crate::operation::list_memberships::ListMembershipsError> for Error {
2412    fn from(err: crate::operation::list_memberships::ListMembershipsError) -> Self {
2413        match err {
2414            crate::operation::list_memberships::ListMembershipsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2415            crate::operation::list_memberships::ListMembershipsError::InternalServerException(inner) => Error::InternalServerException(inner),
2416            crate::operation::list_memberships::ListMembershipsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2417            crate::operation::list_memberships::ListMembershipsError::ValidationException(inner) => Error::ValidationException(inner),
2418            crate::operation::list_memberships::ListMembershipsError::Unhandled(inner) => Error::Unhandled(inner),
2419        }
2420    }
2421}
2422impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_privacy_budgets::ListPrivacyBudgetsError, R>> for Error
2423where
2424    R: Send + Sync + std::fmt::Debug + 'static,
2425{
2426    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_privacy_budgets::ListPrivacyBudgetsError, R>) -> Self {
2427        match err {
2428            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2429            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2430                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2431                source: err.into(),
2432            }),
2433        }
2434    }
2435}
2436impl From<crate::operation::list_privacy_budgets::ListPrivacyBudgetsError> for Error {
2437    fn from(err: crate::operation::list_privacy_budgets::ListPrivacyBudgetsError) -> Self {
2438        match err {
2439            crate::operation::list_privacy_budgets::ListPrivacyBudgetsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2440            crate::operation::list_privacy_budgets::ListPrivacyBudgetsError::InternalServerException(inner) => Error::InternalServerException(inner),
2441            crate::operation::list_privacy_budgets::ListPrivacyBudgetsError::ResourceNotFoundException(inner) => {
2442                Error::ResourceNotFoundException(inner)
2443            }
2444            crate::operation::list_privacy_budgets::ListPrivacyBudgetsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2445            crate::operation::list_privacy_budgets::ListPrivacyBudgetsError::ValidationException(inner) => Error::ValidationException(inner),
2446            crate::operation::list_privacy_budgets::ListPrivacyBudgetsError::Unhandled(inner) => Error::Unhandled(inner),
2447        }
2448    }
2449}
2450impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_privacy_budget_templates::ListPrivacyBudgetTemplatesError, R>>
2451    for Error
2452where
2453    R: Send + Sync + std::fmt::Debug + 'static,
2454{
2455    fn from(
2456        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_privacy_budget_templates::ListPrivacyBudgetTemplatesError, R>,
2457    ) -> Self {
2458        match err {
2459            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2460            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2461                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2462                source: err.into(),
2463            }),
2464        }
2465    }
2466}
2467impl From<crate::operation::list_privacy_budget_templates::ListPrivacyBudgetTemplatesError> for Error {
2468    fn from(err: crate::operation::list_privacy_budget_templates::ListPrivacyBudgetTemplatesError) -> Self {
2469        match err {
2470            crate::operation::list_privacy_budget_templates::ListPrivacyBudgetTemplatesError::AccessDeniedException(inner) => {
2471                Error::AccessDeniedException(inner)
2472            }
2473            crate::operation::list_privacy_budget_templates::ListPrivacyBudgetTemplatesError::InternalServerException(inner) => {
2474                Error::InternalServerException(inner)
2475            }
2476            crate::operation::list_privacy_budget_templates::ListPrivacyBudgetTemplatesError::ResourceNotFoundException(inner) => {
2477                Error::ResourceNotFoundException(inner)
2478            }
2479            crate::operation::list_privacy_budget_templates::ListPrivacyBudgetTemplatesError::ThrottlingException(inner) => {
2480                Error::ThrottlingException(inner)
2481            }
2482            crate::operation::list_privacy_budget_templates::ListPrivacyBudgetTemplatesError::ValidationException(inner) => {
2483                Error::ValidationException(inner)
2484            }
2485            crate::operation::list_privacy_budget_templates::ListPrivacyBudgetTemplatesError::Unhandled(inner) => Error::Unhandled(inner),
2486        }
2487    }
2488}
2489impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_protected_jobs::ListProtectedJobsError, R>> for Error
2490where
2491    R: Send + Sync + std::fmt::Debug + 'static,
2492{
2493    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_protected_jobs::ListProtectedJobsError, R>) -> Self {
2494        match err {
2495            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2496            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2497                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2498                source: err.into(),
2499            }),
2500        }
2501    }
2502}
2503impl From<crate::operation::list_protected_jobs::ListProtectedJobsError> for Error {
2504    fn from(err: crate::operation::list_protected_jobs::ListProtectedJobsError) -> Self {
2505        match err {
2506            crate::operation::list_protected_jobs::ListProtectedJobsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2507            crate::operation::list_protected_jobs::ListProtectedJobsError::InternalServerException(inner) => Error::InternalServerException(inner),
2508            crate::operation::list_protected_jobs::ListProtectedJobsError::ResourceNotFoundException(inner) => {
2509                Error::ResourceNotFoundException(inner)
2510            }
2511            crate::operation::list_protected_jobs::ListProtectedJobsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2512            crate::operation::list_protected_jobs::ListProtectedJobsError::ValidationException(inner) => Error::ValidationException(inner),
2513            crate::operation::list_protected_jobs::ListProtectedJobsError::Unhandled(inner) => Error::Unhandled(inner),
2514        }
2515    }
2516}
2517impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_protected_queries::ListProtectedQueriesError, R>> for Error
2518where
2519    R: Send + Sync + std::fmt::Debug + 'static,
2520{
2521    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_protected_queries::ListProtectedQueriesError, R>) -> Self {
2522        match err {
2523            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2524            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2525                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2526                source: err.into(),
2527            }),
2528        }
2529    }
2530}
2531impl From<crate::operation::list_protected_queries::ListProtectedQueriesError> for Error {
2532    fn from(err: crate::operation::list_protected_queries::ListProtectedQueriesError) -> Self {
2533        match err {
2534            crate::operation::list_protected_queries::ListProtectedQueriesError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2535            crate::operation::list_protected_queries::ListProtectedQueriesError::InternalServerException(inner) => {
2536                Error::InternalServerException(inner)
2537            }
2538            crate::operation::list_protected_queries::ListProtectedQueriesError::ResourceNotFoundException(inner) => {
2539                Error::ResourceNotFoundException(inner)
2540            }
2541            crate::operation::list_protected_queries::ListProtectedQueriesError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2542            crate::operation::list_protected_queries::ListProtectedQueriesError::ValidationException(inner) => Error::ValidationException(inner),
2543            crate::operation::list_protected_queries::ListProtectedQueriesError::Unhandled(inner) => Error::Unhandled(inner),
2544        }
2545    }
2546}
2547impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_schemas::ListSchemasError, R>> for Error
2548where
2549    R: Send + Sync + std::fmt::Debug + 'static,
2550{
2551    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_schemas::ListSchemasError, R>) -> Self {
2552        match err {
2553            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2554            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2555                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2556                source: err.into(),
2557            }),
2558        }
2559    }
2560}
2561impl From<crate::operation::list_schemas::ListSchemasError> for Error {
2562    fn from(err: crate::operation::list_schemas::ListSchemasError) -> Self {
2563        match err {
2564            crate::operation::list_schemas::ListSchemasError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2565            crate::operation::list_schemas::ListSchemasError::InternalServerException(inner) => Error::InternalServerException(inner),
2566            crate::operation::list_schemas::ListSchemasError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
2567            crate::operation::list_schemas::ListSchemasError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2568            crate::operation::list_schemas::ListSchemasError::ValidationException(inner) => Error::ValidationException(inner),
2569            crate::operation::list_schemas::ListSchemasError::Unhandled(inner) => Error::Unhandled(inner),
2570        }
2571    }
2572}
2573impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_tags_for_resource::ListTagsForResourceError, R>> for Error
2574where
2575    R: Send + Sync + std::fmt::Debug + 'static,
2576{
2577    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_tags_for_resource::ListTagsForResourceError, R>) -> Self {
2578        match err {
2579            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2580            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2581                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2582                source: err.into(),
2583            }),
2584        }
2585    }
2586}
2587impl From<crate::operation::list_tags_for_resource::ListTagsForResourceError> for Error {
2588    fn from(err: crate::operation::list_tags_for_resource::ListTagsForResourceError) -> Self {
2589        match err {
2590            crate::operation::list_tags_for_resource::ListTagsForResourceError::ResourceNotFoundException(inner) => {
2591                Error::ResourceNotFoundException(inner)
2592            }
2593            crate::operation::list_tags_for_resource::ListTagsForResourceError::ValidationException(inner) => Error::ValidationException(inner),
2594            crate::operation::list_tags_for_resource::ListTagsForResourceError::Unhandled(inner) => Error::Unhandled(inner),
2595        }
2596    }
2597}
2598impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::populate_id_mapping_table::PopulateIdMappingTableError, R>>
2599    for Error
2600where
2601    R: Send + Sync + std::fmt::Debug + 'static,
2602{
2603    fn from(
2604        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::populate_id_mapping_table::PopulateIdMappingTableError, R>,
2605    ) -> Self {
2606        match err {
2607            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2608            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2609                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2610                source: err.into(),
2611            }),
2612        }
2613    }
2614}
2615impl From<crate::operation::populate_id_mapping_table::PopulateIdMappingTableError> for Error {
2616    fn from(err: crate::operation::populate_id_mapping_table::PopulateIdMappingTableError) -> Self {
2617        match err {
2618            crate::operation::populate_id_mapping_table::PopulateIdMappingTableError::AccessDeniedException(inner) => {
2619                Error::AccessDeniedException(inner)
2620            }
2621            crate::operation::populate_id_mapping_table::PopulateIdMappingTableError::ConflictException(inner) => Error::ConflictException(inner),
2622            crate::operation::populate_id_mapping_table::PopulateIdMappingTableError::InternalServerException(inner) => {
2623                Error::InternalServerException(inner)
2624            }
2625            crate::operation::populate_id_mapping_table::PopulateIdMappingTableError::ResourceNotFoundException(inner) => {
2626                Error::ResourceNotFoundException(inner)
2627            }
2628            crate::operation::populate_id_mapping_table::PopulateIdMappingTableError::ServiceQuotaExceededException(inner) => {
2629                Error::ServiceQuotaExceededException(inner)
2630            }
2631            crate::operation::populate_id_mapping_table::PopulateIdMappingTableError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2632            crate::operation::populate_id_mapping_table::PopulateIdMappingTableError::ValidationException(inner) => Error::ValidationException(inner),
2633            crate::operation::populate_id_mapping_table::PopulateIdMappingTableError::Unhandled(inner) => Error::Unhandled(inner),
2634        }
2635    }
2636}
2637impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::preview_privacy_impact::PreviewPrivacyImpactError, R>> for Error
2638where
2639    R: Send + Sync + std::fmt::Debug + 'static,
2640{
2641    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::preview_privacy_impact::PreviewPrivacyImpactError, R>) -> Self {
2642        match err {
2643            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2644            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2645                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2646                source: err.into(),
2647            }),
2648        }
2649    }
2650}
2651impl From<crate::operation::preview_privacy_impact::PreviewPrivacyImpactError> for Error {
2652    fn from(err: crate::operation::preview_privacy_impact::PreviewPrivacyImpactError) -> Self {
2653        match err {
2654            crate::operation::preview_privacy_impact::PreviewPrivacyImpactError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2655            crate::operation::preview_privacy_impact::PreviewPrivacyImpactError::InternalServerException(inner) => {
2656                Error::InternalServerException(inner)
2657            }
2658            crate::operation::preview_privacy_impact::PreviewPrivacyImpactError::ResourceNotFoundException(inner) => {
2659                Error::ResourceNotFoundException(inner)
2660            }
2661            crate::operation::preview_privacy_impact::PreviewPrivacyImpactError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2662            crate::operation::preview_privacy_impact::PreviewPrivacyImpactError::ValidationException(inner) => Error::ValidationException(inner),
2663            crate::operation::preview_privacy_impact::PreviewPrivacyImpactError::Unhandled(inner) => Error::Unhandled(inner),
2664        }
2665    }
2666}
2667impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_protected_job::StartProtectedJobError, R>> for Error
2668where
2669    R: Send + Sync + std::fmt::Debug + 'static,
2670{
2671    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_protected_job::StartProtectedJobError, R>) -> Self {
2672        match err {
2673            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2674            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2675                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2676                source: err.into(),
2677            }),
2678        }
2679    }
2680}
2681impl From<crate::operation::start_protected_job::StartProtectedJobError> for Error {
2682    fn from(err: crate::operation::start_protected_job::StartProtectedJobError) -> Self {
2683        match err {
2684            crate::operation::start_protected_job::StartProtectedJobError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2685            crate::operation::start_protected_job::StartProtectedJobError::InternalServerException(inner) => Error::InternalServerException(inner),
2686            crate::operation::start_protected_job::StartProtectedJobError::ResourceNotFoundException(inner) => {
2687                Error::ResourceNotFoundException(inner)
2688            }
2689            crate::operation::start_protected_job::StartProtectedJobError::ServiceQuotaExceededException(inner) => {
2690                Error::ServiceQuotaExceededException(inner)
2691            }
2692            crate::operation::start_protected_job::StartProtectedJobError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2693            crate::operation::start_protected_job::StartProtectedJobError::ValidationException(inner) => Error::ValidationException(inner),
2694            crate::operation::start_protected_job::StartProtectedJobError::Unhandled(inner) => Error::Unhandled(inner),
2695        }
2696    }
2697}
2698impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_protected_query::StartProtectedQueryError, R>> for Error
2699where
2700    R: Send + Sync + std::fmt::Debug + 'static,
2701{
2702    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_protected_query::StartProtectedQueryError, R>) -> Self {
2703        match err {
2704            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2705            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2706                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2707                source: err.into(),
2708            }),
2709        }
2710    }
2711}
2712impl From<crate::operation::start_protected_query::StartProtectedQueryError> for Error {
2713    fn from(err: crate::operation::start_protected_query::StartProtectedQueryError) -> Self {
2714        match err {
2715            crate::operation::start_protected_query::StartProtectedQueryError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2716            crate::operation::start_protected_query::StartProtectedQueryError::InternalServerException(inner) => {
2717                Error::InternalServerException(inner)
2718            }
2719            crate::operation::start_protected_query::StartProtectedQueryError::ResourceNotFoundException(inner) => {
2720                Error::ResourceNotFoundException(inner)
2721            }
2722            crate::operation::start_protected_query::StartProtectedQueryError::ServiceQuotaExceededException(inner) => {
2723                Error::ServiceQuotaExceededException(inner)
2724            }
2725            crate::operation::start_protected_query::StartProtectedQueryError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2726            crate::operation::start_protected_query::StartProtectedQueryError::ValidationException(inner) => Error::ValidationException(inner),
2727            crate::operation::start_protected_query::StartProtectedQueryError::Unhandled(inner) => Error::Unhandled(inner),
2728        }
2729    }
2730}
2731impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::tag_resource::TagResourceError, R>> for Error
2732where
2733    R: Send + Sync + std::fmt::Debug + 'static,
2734{
2735    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::tag_resource::TagResourceError, R>) -> Self {
2736        match err {
2737            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2738            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2739                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2740                source: err.into(),
2741            }),
2742        }
2743    }
2744}
2745impl From<crate::operation::tag_resource::TagResourceError> for Error {
2746    fn from(err: crate::operation::tag_resource::TagResourceError) -> Self {
2747        match err {
2748            crate::operation::tag_resource::TagResourceError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
2749            crate::operation::tag_resource::TagResourceError::ValidationException(inner) => Error::ValidationException(inner),
2750            crate::operation::tag_resource::TagResourceError::Unhandled(inner) => Error::Unhandled(inner),
2751        }
2752    }
2753}
2754impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::untag_resource::UntagResourceError, R>> for Error
2755where
2756    R: Send + Sync + std::fmt::Debug + 'static,
2757{
2758    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::untag_resource::UntagResourceError, R>) -> Self {
2759        match err {
2760            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2761            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2762                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2763                source: err.into(),
2764            }),
2765        }
2766    }
2767}
2768impl From<crate::operation::untag_resource::UntagResourceError> for Error {
2769    fn from(err: crate::operation::untag_resource::UntagResourceError) -> Self {
2770        match err {
2771            crate::operation::untag_resource::UntagResourceError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
2772            crate::operation::untag_resource::UntagResourceError::ValidationException(inner) => Error::ValidationException(inner),
2773            crate::operation::untag_resource::UntagResourceError::Unhandled(inner) => Error::Unhandled(inner),
2774        }
2775    }
2776}
2777impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_analysis_template::UpdateAnalysisTemplateError, R>> for Error
2778where
2779    R: Send + Sync + std::fmt::Debug + 'static,
2780{
2781    fn from(
2782        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_analysis_template::UpdateAnalysisTemplateError, R>,
2783    ) -> Self {
2784        match err {
2785            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2786            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2787                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2788                source: err.into(),
2789            }),
2790        }
2791    }
2792}
2793impl From<crate::operation::update_analysis_template::UpdateAnalysisTemplateError> for Error {
2794    fn from(err: crate::operation::update_analysis_template::UpdateAnalysisTemplateError) -> Self {
2795        match err {
2796            crate::operation::update_analysis_template::UpdateAnalysisTemplateError::AccessDeniedException(inner) => {
2797                Error::AccessDeniedException(inner)
2798            }
2799            crate::operation::update_analysis_template::UpdateAnalysisTemplateError::InternalServerException(inner) => {
2800                Error::InternalServerException(inner)
2801            }
2802            crate::operation::update_analysis_template::UpdateAnalysisTemplateError::ResourceNotFoundException(inner) => {
2803                Error::ResourceNotFoundException(inner)
2804            }
2805            crate::operation::update_analysis_template::UpdateAnalysisTemplateError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2806            crate::operation::update_analysis_template::UpdateAnalysisTemplateError::ValidationException(inner) => Error::ValidationException(inner),
2807            crate::operation::update_analysis_template::UpdateAnalysisTemplateError::Unhandled(inner) => Error::Unhandled(inner),
2808        }
2809    }
2810}
2811impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_collaboration::UpdateCollaborationError, R>> for Error
2812where
2813    R: Send + Sync + std::fmt::Debug + 'static,
2814{
2815    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_collaboration::UpdateCollaborationError, R>) -> Self {
2816        match err {
2817            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2818            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2819                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2820                source: err.into(),
2821            }),
2822        }
2823    }
2824}
2825impl From<crate::operation::update_collaboration::UpdateCollaborationError> for Error {
2826    fn from(err: crate::operation::update_collaboration::UpdateCollaborationError) -> Self {
2827        match err {
2828            crate::operation::update_collaboration::UpdateCollaborationError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2829            crate::operation::update_collaboration::UpdateCollaborationError::InternalServerException(inner) => Error::InternalServerException(inner),
2830            crate::operation::update_collaboration::UpdateCollaborationError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2831            crate::operation::update_collaboration::UpdateCollaborationError::ValidationException(inner) => Error::ValidationException(inner),
2832            crate::operation::update_collaboration::UpdateCollaborationError::Unhandled(inner) => Error::Unhandled(inner),
2833        }
2834    }
2835}
2836impl<R>
2837    From<
2838        ::aws_smithy_runtime_api::client::result::SdkError<
2839            crate::operation::update_configured_audience_model_association::UpdateConfiguredAudienceModelAssociationError,
2840            R,
2841        >,
2842    > for Error
2843where
2844    R: Send + Sync + std::fmt::Debug + 'static,
2845{
2846    fn from(
2847        err: ::aws_smithy_runtime_api::client::result::SdkError<
2848            crate::operation::update_configured_audience_model_association::UpdateConfiguredAudienceModelAssociationError,
2849            R,
2850        >,
2851    ) -> Self {
2852        match err {
2853            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2854            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2855                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2856                source: err.into(),
2857            }),
2858        }
2859    }
2860}
2861impl From<crate::operation::update_configured_audience_model_association::UpdateConfiguredAudienceModelAssociationError> for Error {
2862    fn from(err: crate::operation::update_configured_audience_model_association::UpdateConfiguredAudienceModelAssociationError) -> Self {
2863        match err {
2864            crate::operation::update_configured_audience_model_association::UpdateConfiguredAudienceModelAssociationError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2865            crate::operation::update_configured_audience_model_association::UpdateConfiguredAudienceModelAssociationError::InternalServerException(inner) => Error::InternalServerException(inner),
2866            crate::operation::update_configured_audience_model_association::UpdateConfiguredAudienceModelAssociationError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
2867            crate::operation::update_configured_audience_model_association::UpdateConfiguredAudienceModelAssociationError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2868            crate::operation::update_configured_audience_model_association::UpdateConfiguredAudienceModelAssociationError::ValidationException(inner) => Error::ValidationException(inner),
2869            crate::operation::update_configured_audience_model_association::UpdateConfiguredAudienceModelAssociationError::Unhandled(inner) => Error::Unhandled(inner),
2870        }
2871    }
2872}
2873impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_configured_table::UpdateConfiguredTableError, R>> for Error
2874where
2875    R: Send + Sync + std::fmt::Debug + 'static,
2876{
2877    fn from(
2878        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_configured_table::UpdateConfiguredTableError, R>,
2879    ) -> Self {
2880        match err {
2881            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2882            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2883                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2884                source: err.into(),
2885            }),
2886        }
2887    }
2888}
2889impl From<crate::operation::update_configured_table::UpdateConfiguredTableError> for Error {
2890    fn from(err: crate::operation::update_configured_table::UpdateConfiguredTableError) -> Self {
2891        match err {
2892            crate::operation::update_configured_table::UpdateConfiguredTableError::AccessDeniedException(inner) => {
2893                Error::AccessDeniedException(inner)
2894            }
2895            crate::operation::update_configured_table::UpdateConfiguredTableError::ConflictException(inner) => Error::ConflictException(inner),
2896            crate::operation::update_configured_table::UpdateConfiguredTableError::InternalServerException(inner) => {
2897                Error::InternalServerException(inner)
2898            }
2899            crate::operation::update_configured_table::UpdateConfiguredTableError::ResourceNotFoundException(inner) => {
2900                Error::ResourceNotFoundException(inner)
2901            }
2902            crate::operation::update_configured_table::UpdateConfiguredTableError::ServiceQuotaExceededException(inner) => {
2903                Error::ServiceQuotaExceededException(inner)
2904            }
2905            crate::operation::update_configured_table::UpdateConfiguredTableError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2906            crate::operation::update_configured_table::UpdateConfiguredTableError::ValidationException(inner) => Error::ValidationException(inner),
2907            crate::operation::update_configured_table::UpdateConfiguredTableError::Unhandled(inner) => Error::Unhandled(inner),
2908        }
2909    }
2910}
2911impl<R>
2912    From<
2913        ::aws_smithy_runtime_api::client::result::SdkError<
2914            crate::operation::update_configured_table_analysis_rule::UpdateConfiguredTableAnalysisRuleError,
2915            R,
2916        >,
2917    > for Error
2918where
2919    R: Send + Sync + std::fmt::Debug + 'static,
2920{
2921    fn from(
2922        err: ::aws_smithy_runtime_api::client::result::SdkError<
2923            crate::operation::update_configured_table_analysis_rule::UpdateConfiguredTableAnalysisRuleError,
2924            R,
2925        >,
2926    ) -> Self {
2927        match err {
2928            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2929            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2930                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2931                source: err.into(),
2932            }),
2933        }
2934    }
2935}
2936impl From<crate::operation::update_configured_table_analysis_rule::UpdateConfiguredTableAnalysisRuleError> for Error {
2937    fn from(err: crate::operation::update_configured_table_analysis_rule::UpdateConfiguredTableAnalysisRuleError) -> Self {
2938        match err {
2939            crate::operation::update_configured_table_analysis_rule::UpdateConfiguredTableAnalysisRuleError::AccessDeniedException(inner) => {
2940                Error::AccessDeniedException(inner)
2941            }
2942            crate::operation::update_configured_table_analysis_rule::UpdateConfiguredTableAnalysisRuleError::ConflictException(inner) => {
2943                Error::ConflictException(inner)
2944            }
2945            crate::operation::update_configured_table_analysis_rule::UpdateConfiguredTableAnalysisRuleError::InternalServerException(inner) => {
2946                Error::InternalServerException(inner)
2947            }
2948            crate::operation::update_configured_table_analysis_rule::UpdateConfiguredTableAnalysisRuleError::ResourceNotFoundException(inner) => {
2949                Error::ResourceNotFoundException(inner)
2950            }
2951            crate::operation::update_configured_table_analysis_rule::UpdateConfiguredTableAnalysisRuleError::ThrottlingException(inner) => {
2952                Error::ThrottlingException(inner)
2953            }
2954            crate::operation::update_configured_table_analysis_rule::UpdateConfiguredTableAnalysisRuleError::ValidationException(inner) => {
2955                Error::ValidationException(inner)
2956            }
2957            crate::operation::update_configured_table_analysis_rule::UpdateConfiguredTableAnalysisRuleError::Unhandled(inner) => {
2958                Error::Unhandled(inner)
2959            }
2960        }
2961    }
2962}
2963impl<R>
2964    From<
2965        ::aws_smithy_runtime_api::client::result::SdkError<
2966            crate::operation::update_configured_table_association::UpdateConfiguredTableAssociationError,
2967            R,
2968        >,
2969    > for Error
2970where
2971    R: Send + Sync + std::fmt::Debug + 'static,
2972{
2973    fn from(
2974        err: ::aws_smithy_runtime_api::client::result::SdkError<
2975            crate::operation::update_configured_table_association::UpdateConfiguredTableAssociationError,
2976            R,
2977        >,
2978    ) -> Self {
2979        match err {
2980            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2981            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2982                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2983                source: err.into(),
2984            }),
2985        }
2986    }
2987}
2988impl From<crate::operation::update_configured_table_association::UpdateConfiguredTableAssociationError> for Error {
2989    fn from(err: crate::operation::update_configured_table_association::UpdateConfiguredTableAssociationError) -> Self {
2990        match err {
2991            crate::operation::update_configured_table_association::UpdateConfiguredTableAssociationError::AccessDeniedException(inner) => {
2992                Error::AccessDeniedException(inner)
2993            }
2994            crate::operation::update_configured_table_association::UpdateConfiguredTableAssociationError::ConflictException(inner) => {
2995                Error::ConflictException(inner)
2996            }
2997            crate::operation::update_configured_table_association::UpdateConfiguredTableAssociationError::InternalServerException(inner) => {
2998                Error::InternalServerException(inner)
2999            }
3000            crate::operation::update_configured_table_association::UpdateConfiguredTableAssociationError::ResourceNotFoundException(inner) => {
3001                Error::ResourceNotFoundException(inner)
3002            }
3003            crate::operation::update_configured_table_association::UpdateConfiguredTableAssociationError::ThrottlingException(inner) => {
3004                Error::ThrottlingException(inner)
3005            }
3006            crate::operation::update_configured_table_association::UpdateConfiguredTableAssociationError::ValidationException(inner) => {
3007                Error::ValidationException(inner)
3008            }
3009            crate::operation::update_configured_table_association::UpdateConfiguredTableAssociationError::Unhandled(inner) => Error::Unhandled(inner),
3010        }
3011    }
3012}
3013impl<R>
3014    From<
3015        ::aws_smithy_runtime_api::client::result::SdkError<
3016            crate::operation::update_configured_table_association_analysis_rule::UpdateConfiguredTableAssociationAnalysisRuleError,
3017            R,
3018        >,
3019    > for Error
3020where
3021    R: Send + Sync + std::fmt::Debug + 'static,
3022{
3023    fn from(
3024        err: ::aws_smithy_runtime_api::client::result::SdkError<
3025            crate::operation::update_configured_table_association_analysis_rule::UpdateConfiguredTableAssociationAnalysisRuleError,
3026            R,
3027        >,
3028    ) -> Self {
3029        match err {
3030            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3031            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3032                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3033                source: err.into(),
3034            }),
3035        }
3036    }
3037}
3038impl From<crate::operation::update_configured_table_association_analysis_rule::UpdateConfiguredTableAssociationAnalysisRuleError> for Error {
3039    fn from(err: crate::operation::update_configured_table_association_analysis_rule::UpdateConfiguredTableAssociationAnalysisRuleError) -> Self {
3040        match err {
3041            crate::operation::update_configured_table_association_analysis_rule::UpdateConfiguredTableAssociationAnalysisRuleError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3042            crate::operation::update_configured_table_association_analysis_rule::UpdateConfiguredTableAssociationAnalysisRuleError::ConflictException(inner) => Error::ConflictException(inner),
3043            crate::operation::update_configured_table_association_analysis_rule::UpdateConfiguredTableAssociationAnalysisRuleError::InternalServerException(inner) => Error::InternalServerException(inner),
3044            crate::operation::update_configured_table_association_analysis_rule::UpdateConfiguredTableAssociationAnalysisRuleError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
3045            crate::operation::update_configured_table_association_analysis_rule::UpdateConfiguredTableAssociationAnalysisRuleError::ThrottlingException(inner) => Error::ThrottlingException(inner),
3046            crate::operation::update_configured_table_association_analysis_rule::UpdateConfiguredTableAssociationAnalysisRuleError::ValidationException(inner) => Error::ValidationException(inner),
3047            crate::operation::update_configured_table_association_analysis_rule::UpdateConfiguredTableAssociationAnalysisRuleError::Unhandled(inner) => Error::Unhandled(inner),
3048        }
3049    }
3050}
3051impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_id_mapping_table::UpdateIdMappingTableError, R>> for Error
3052where
3053    R: Send + Sync + std::fmt::Debug + 'static,
3054{
3055    fn from(
3056        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_id_mapping_table::UpdateIdMappingTableError, R>,
3057    ) -> Self {
3058        match err {
3059            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3060            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3061                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3062                source: err.into(),
3063            }),
3064        }
3065    }
3066}
3067impl From<crate::operation::update_id_mapping_table::UpdateIdMappingTableError> for Error {
3068    fn from(err: crate::operation::update_id_mapping_table::UpdateIdMappingTableError) -> Self {
3069        match err {
3070            crate::operation::update_id_mapping_table::UpdateIdMappingTableError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3071            crate::operation::update_id_mapping_table::UpdateIdMappingTableError::InternalServerException(inner) => {
3072                Error::InternalServerException(inner)
3073            }
3074            crate::operation::update_id_mapping_table::UpdateIdMappingTableError::ResourceNotFoundException(inner) => {
3075                Error::ResourceNotFoundException(inner)
3076            }
3077            crate::operation::update_id_mapping_table::UpdateIdMappingTableError::ThrottlingException(inner) => Error::ThrottlingException(inner),
3078            crate::operation::update_id_mapping_table::UpdateIdMappingTableError::ValidationException(inner) => Error::ValidationException(inner),
3079            crate::operation::update_id_mapping_table::UpdateIdMappingTableError::Unhandled(inner) => Error::Unhandled(inner),
3080        }
3081    }
3082}
3083impl<R>
3084    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_id_namespace_association::UpdateIdNamespaceAssociationError, R>>
3085    for Error
3086where
3087    R: Send + Sync + std::fmt::Debug + 'static,
3088{
3089    fn from(
3090        err: ::aws_smithy_runtime_api::client::result::SdkError<
3091            crate::operation::update_id_namespace_association::UpdateIdNamespaceAssociationError,
3092            R,
3093        >,
3094    ) -> Self {
3095        match err {
3096            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3097            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3098                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3099                source: err.into(),
3100            }),
3101        }
3102    }
3103}
3104impl From<crate::operation::update_id_namespace_association::UpdateIdNamespaceAssociationError> for Error {
3105    fn from(err: crate::operation::update_id_namespace_association::UpdateIdNamespaceAssociationError) -> Self {
3106        match err {
3107            crate::operation::update_id_namespace_association::UpdateIdNamespaceAssociationError::AccessDeniedException(inner) => {
3108                Error::AccessDeniedException(inner)
3109            }
3110            crate::operation::update_id_namespace_association::UpdateIdNamespaceAssociationError::InternalServerException(inner) => {
3111                Error::InternalServerException(inner)
3112            }
3113            crate::operation::update_id_namespace_association::UpdateIdNamespaceAssociationError::ResourceNotFoundException(inner) => {
3114                Error::ResourceNotFoundException(inner)
3115            }
3116            crate::operation::update_id_namespace_association::UpdateIdNamespaceAssociationError::ThrottlingException(inner) => {
3117                Error::ThrottlingException(inner)
3118            }
3119            crate::operation::update_id_namespace_association::UpdateIdNamespaceAssociationError::ValidationException(inner) => {
3120                Error::ValidationException(inner)
3121            }
3122            crate::operation::update_id_namespace_association::UpdateIdNamespaceAssociationError::Unhandled(inner) => Error::Unhandled(inner),
3123        }
3124    }
3125}
3126impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_membership::UpdateMembershipError, R>> for Error
3127where
3128    R: Send + Sync + std::fmt::Debug + 'static,
3129{
3130    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_membership::UpdateMembershipError, R>) -> Self {
3131        match err {
3132            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3133            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3134                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3135                source: err.into(),
3136            }),
3137        }
3138    }
3139}
3140impl From<crate::operation::update_membership::UpdateMembershipError> for Error {
3141    fn from(err: crate::operation::update_membership::UpdateMembershipError) -> Self {
3142        match err {
3143            crate::operation::update_membership::UpdateMembershipError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3144            crate::operation::update_membership::UpdateMembershipError::ConflictException(inner) => Error::ConflictException(inner),
3145            crate::operation::update_membership::UpdateMembershipError::InternalServerException(inner) => Error::InternalServerException(inner),
3146            crate::operation::update_membership::UpdateMembershipError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
3147            crate::operation::update_membership::UpdateMembershipError::ThrottlingException(inner) => Error::ThrottlingException(inner),
3148            crate::operation::update_membership::UpdateMembershipError::ValidationException(inner) => Error::ValidationException(inner),
3149            crate::operation::update_membership::UpdateMembershipError::Unhandled(inner) => Error::Unhandled(inner),
3150        }
3151    }
3152}
3153impl<R>
3154    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_privacy_budget_template::UpdatePrivacyBudgetTemplateError, R>>
3155    for Error
3156where
3157    R: Send + Sync + std::fmt::Debug + 'static,
3158{
3159    fn from(
3160        err: ::aws_smithy_runtime_api::client::result::SdkError<
3161            crate::operation::update_privacy_budget_template::UpdatePrivacyBudgetTemplateError,
3162            R,
3163        >,
3164    ) -> Self {
3165        match err {
3166            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3167            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3168                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3169                source: err.into(),
3170            }),
3171        }
3172    }
3173}
3174impl From<crate::operation::update_privacy_budget_template::UpdatePrivacyBudgetTemplateError> for Error {
3175    fn from(err: crate::operation::update_privacy_budget_template::UpdatePrivacyBudgetTemplateError) -> Self {
3176        match err {
3177            crate::operation::update_privacy_budget_template::UpdatePrivacyBudgetTemplateError::AccessDeniedException(inner) => {
3178                Error::AccessDeniedException(inner)
3179            }
3180            crate::operation::update_privacy_budget_template::UpdatePrivacyBudgetTemplateError::ConflictException(inner) => {
3181                Error::ConflictException(inner)
3182            }
3183            crate::operation::update_privacy_budget_template::UpdatePrivacyBudgetTemplateError::InternalServerException(inner) => {
3184                Error::InternalServerException(inner)
3185            }
3186            crate::operation::update_privacy_budget_template::UpdatePrivacyBudgetTemplateError::ResourceNotFoundException(inner) => {
3187                Error::ResourceNotFoundException(inner)
3188            }
3189            crate::operation::update_privacy_budget_template::UpdatePrivacyBudgetTemplateError::ThrottlingException(inner) => {
3190                Error::ThrottlingException(inner)
3191            }
3192            crate::operation::update_privacy_budget_template::UpdatePrivacyBudgetTemplateError::ValidationException(inner) => {
3193                Error::ValidationException(inner)
3194            }
3195            crate::operation::update_privacy_budget_template::UpdatePrivacyBudgetTemplateError::Unhandled(inner) => Error::Unhandled(inner),
3196        }
3197    }
3198}
3199impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_protected_job::UpdateProtectedJobError, R>> for Error
3200where
3201    R: Send + Sync + std::fmt::Debug + 'static,
3202{
3203    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_protected_job::UpdateProtectedJobError, R>) -> Self {
3204        match err {
3205            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3206            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3207                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3208                source: err.into(),
3209            }),
3210        }
3211    }
3212}
3213impl From<crate::operation::update_protected_job::UpdateProtectedJobError> for Error {
3214    fn from(err: crate::operation::update_protected_job::UpdateProtectedJobError) -> Self {
3215        match err {
3216            crate::operation::update_protected_job::UpdateProtectedJobError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3217            crate::operation::update_protected_job::UpdateProtectedJobError::ConflictException(inner) => Error::ConflictException(inner),
3218            crate::operation::update_protected_job::UpdateProtectedJobError::InternalServerException(inner) => Error::InternalServerException(inner),
3219            crate::operation::update_protected_job::UpdateProtectedJobError::ResourceNotFoundException(inner) => {
3220                Error::ResourceNotFoundException(inner)
3221            }
3222            crate::operation::update_protected_job::UpdateProtectedJobError::ThrottlingException(inner) => Error::ThrottlingException(inner),
3223            crate::operation::update_protected_job::UpdateProtectedJobError::ValidationException(inner) => Error::ValidationException(inner),
3224            crate::operation::update_protected_job::UpdateProtectedJobError::Unhandled(inner) => Error::Unhandled(inner),
3225        }
3226    }
3227}
3228impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_protected_query::UpdateProtectedQueryError, R>> for Error
3229where
3230    R: Send + Sync + std::fmt::Debug + 'static,
3231{
3232    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_protected_query::UpdateProtectedQueryError, R>) -> Self {
3233        match err {
3234            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3235            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3236                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3237                source: err.into(),
3238            }),
3239        }
3240    }
3241}
3242impl From<crate::operation::update_protected_query::UpdateProtectedQueryError> for Error {
3243    fn from(err: crate::operation::update_protected_query::UpdateProtectedQueryError) -> Self {
3244        match err {
3245            crate::operation::update_protected_query::UpdateProtectedQueryError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3246            crate::operation::update_protected_query::UpdateProtectedQueryError::ConflictException(inner) => Error::ConflictException(inner),
3247            crate::operation::update_protected_query::UpdateProtectedQueryError::InternalServerException(inner) => {
3248                Error::InternalServerException(inner)
3249            }
3250            crate::operation::update_protected_query::UpdateProtectedQueryError::ResourceNotFoundException(inner) => {
3251                Error::ResourceNotFoundException(inner)
3252            }
3253            crate::operation::update_protected_query::UpdateProtectedQueryError::ThrottlingException(inner) => Error::ThrottlingException(inner),
3254            crate::operation::update_protected_query::UpdateProtectedQueryError::ValidationException(inner) => Error::ValidationException(inner),
3255            crate::operation::update_protected_query::UpdateProtectedQueryError::Unhandled(inner) => Error::Unhandled(inner),
3256        }
3257    }
3258}
3259impl ::std::error::Error for Error {
3260    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
3261        match self {
3262            Error::AccessDeniedException(inner) => inner.source(),
3263            Error::ConflictException(inner) => inner.source(),
3264            Error::InternalServerException(inner) => inner.source(),
3265            Error::ResourceNotFoundException(inner) => inner.source(),
3266            Error::ServiceQuotaExceededException(inner) => inner.source(),
3267            Error::ThrottlingException(inner) => inner.source(),
3268            Error::ValidationException(inner) => inner.source(),
3269            Error::Unhandled(inner) => ::std::option::Option::Some(&*inner.source),
3270        }
3271    }
3272}
3273impl ::aws_types::request_id::RequestId for Error {
3274    fn request_id(&self) -> Option<&str> {
3275        match self {
3276            Self::AccessDeniedException(e) => e.request_id(),
3277            Self::ConflictException(e) => e.request_id(),
3278            Self::InternalServerException(e) => e.request_id(),
3279            Self::ResourceNotFoundException(e) => e.request_id(),
3280            Self::ServiceQuotaExceededException(e) => e.request_id(),
3281            Self::ThrottlingException(e) => e.request_id(),
3282            Self::ValidationException(e) => e.request_id(),
3283            Self::Unhandled(e) => e.meta.request_id(),
3284        }
3285    }
3286}