aws_sdk_entityresolution/
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>You do not have sufficient access to perform this action.</p>
7    AccessDeniedException(crate::types::error::AccessDeniedException),
8    /// <p>The request could not be processed because of conflict in the current state of the resource. Example: Workflow already exists, Schema already exists, Workflow is currently running, etc.</p>
9    ConflictException(crate::types::error::ConflictException),
10    /// <p>The request was rejected because it attempted to create resources beyond the current Entity Resolution account limits. The error message describes the limit exceeded.</p>
11    ExceedsLimitException(crate::types::error::ExceedsLimitException),
12    /// <p>This exception occurs when there is an internal failure in the Entity Resolution service.</p>
13    InternalServerException(crate::types::error::InternalServerException),
14    /// <p>The resource could not be found.</p>
15    ResourceNotFoundException(crate::types::error::ResourceNotFoundException),
16    /// <p>The request was denied due to request throttling.</p>
17    ThrottlingException(crate::types::error::ThrottlingException),
18    /// <p>The input fails to satisfy the constraints specified by Entity Resolution.</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::ExceedsLimitException(inner) => inner.fmt(f),
35            Error::InternalServerException(inner) => inner.fmt(f),
36            Error::ResourceNotFoundException(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::ExceedsLimitException(inner) => inner.meta(),
63            Self::InternalServerException(inner) => inner.meta(),
64            Self::ResourceNotFoundException(inner) => inner.meta(),
65            Self::ThrottlingException(inner) => inner.meta(),
66            Self::ValidationException(inner) => inner.meta(),
67            Self::Unhandled(inner) => &inner.meta,
68        }
69    }
70}
71impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::add_policy_statement::AddPolicyStatementError, R>> for Error
72where
73    R: Send + Sync + std::fmt::Debug + 'static,
74{
75    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::add_policy_statement::AddPolicyStatementError, R>) -> Self {
76        match err {
77            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
78            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
79                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
80                source: err.into(),
81            }),
82        }
83    }
84}
85impl From<crate::operation::add_policy_statement::AddPolicyStatementError> for Error {
86    fn from(err: crate::operation::add_policy_statement::AddPolicyStatementError) -> Self {
87        match err {
88            crate::operation::add_policy_statement::AddPolicyStatementError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
89            crate::operation::add_policy_statement::AddPolicyStatementError::ConflictException(inner) => Error::ConflictException(inner),
90            crate::operation::add_policy_statement::AddPolicyStatementError::InternalServerException(inner) => Error::InternalServerException(inner),
91            crate::operation::add_policy_statement::AddPolicyStatementError::ResourceNotFoundException(inner) => {
92                Error::ResourceNotFoundException(inner)
93            }
94            crate::operation::add_policy_statement::AddPolicyStatementError::ThrottlingException(inner) => Error::ThrottlingException(inner),
95            crate::operation::add_policy_statement::AddPolicyStatementError::ValidationException(inner) => Error::ValidationException(inner),
96            crate::operation::add_policy_statement::AddPolicyStatementError::Unhandled(inner) => Error::Unhandled(inner),
97        }
98    }
99}
100impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_delete_unique_id::BatchDeleteUniqueIdError, R>> for Error
101where
102    R: Send + Sync + std::fmt::Debug + 'static,
103{
104    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_delete_unique_id::BatchDeleteUniqueIdError, R>) -> Self {
105        match err {
106            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
107            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
108                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
109                source: err.into(),
110            }),
111        }
112    }
113}
114impl From<crate::operation::batch_delete_unique_id::BatchDeleteUniqueIdError> for Error {
115    fn from(err: crate::operation::batch_delete_unique_id::BatchDeleteUniqueIdError) -> Self {
116        match err {
117            crate::operation::batch_delete_unique_id::BatchDeleteUniqueIdError::InternalServerException(inner) => {
118                Error::InternalServerException(inner)
119            }
120            crate::operation::batch_delete_unique_id::BatchDeleteUniqueIdError::ResourceNotFoundException(inner) => {
121                Error::ResourceNotFoundException(inner)
122            }
123            crate::operation::batch_delete_unique_id::BatchDeleteUniqueIdError::ValidationException(inner) => Error::ValidationException(inner),
124            crate::operation::batch_delete_unique_id::BatchDeleteUniqueIdError::Unhandled(inner) => Error::Unhandled(inner),
125        }
126    }
127}
128impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_id_mapping_workflow::CreateIdMappingWorkflowError, R>>
129    for Error
130where
131    R: Send + Sync + std::fmt::Debug + 'static,
132{
133    fn from(
134        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_id_mapping_workflow::CreateIdMappingWorkflowError, R>,
135    ) -> Self {
136        match err {
137            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
138            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
139                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
140                source: err.into(),
141            }),
142        }
143    }
144}
145impl From<crate::operation::create_id_mapping_workflow::CreateIdMappingWorkflowError> for Error {
146    fn from(err: crate::operation::create_id_mapping_workflow::CreateIdMappingWorkflowError) -> Self {
147        match err {
148            crate::operation::create_id_mapping_workflow::CreateIdMappingWorkflowError::AccessDeniedException(inner) => {
149                Error::AccessDeniedException(inner)
150            }
151            crate::operation::create_id_mapping_workflow::CreateIdMappingWorkflowError::ConflictException(inner) => Error::ConflictException(inner),
152            crate::operation::create_id_mapping_workflow::CreateIdMappingWorkflowError::ExceedsLimitException(inner) => {
153                Error::ExceedsLimitException(inner)
154            }
155            crate::operation::create_id_mapping_workflow::CreateIdMappingWorkflowError::InternalServerException(inner) => {
156                Error::InternalServerException(inner)
157            }
158            crate::operation::create_id_mapping_workflow::CreateIdMappingWorkflowError::ThrottlingException(inner) => {
159                Error::ThrottlingException(inner)
160            }
161            crate::operation::create_id_mapping_workflow::CreateIdMappingWorkflowError::ValidationException(inner) => {
162                Error::ValidationException(inner)
163            }
164            crate::operation::create_id_mapping_workflow::CreateIdMappingWorkflowError::Unhandled(inner) => Error::Unhandled(inner),
165        }
166    }
167}
168impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_id_namespace::CreateIdNamespaceError, R>> for Error
169where
170    R: Send + Sync + std::fmt::Debug + 'static,
171{
172    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_id_namespace::CreateIdNamespaceError, R>) -> Self {
173        match err {
174            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
175            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
176                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
177                source: err.into(),
178            }),
179        }
180    }
181}
182impl From<crate::operation::create_id_namespace::CreateIdNamespaceError> for Error {
183    fn from(err: crate::operation::create_id_namespace::CreateIdNamespaceError) -> Self {
184        match err {
185            crate::operation::create_id_namespace::CreateIdNamespaceError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
186            crate::operation::create_id_namespace::CreateIdNamespaceError::ConflictException(inner) => Error::ConflictException(inner),
187            crate::operation::create_id_namespace::CreateIdNamespaceError::ExceedsLimitException(inner) => Error::ExceedsLimitException(inner),
188            crate::operation::create_id_namespace::CreateIdNamespaceError::InternalServerException(inner) => Error::InternalServerException(inner),
189            crate::operation::create_id_namespace::CreateIdNamespaceError::ThrottlingException(inner) => Error::ThrottlingException(inner),
190            crate::operation::create_id_namespace::CreateIdNamespaceError::ValidationException(inner) => Error::ValidationException(inner),
191            crate::operation::create_id_namespace::CreateIdNamespaceError::Unhandled(inner) => Error::Unhandled(inner),
192        }
193    }
194}
195impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_matching_workflow::CreateMatchingWorkflowError, R>> for Error
196where
197    R: Send + Sync + std::fmt::Debug + 'static,
198{
199    fn from(
200        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_matching_workflow::CreateMatchingWorkflowError, R>,
201    ) -> Self {
202        match err {
203            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
204            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
205                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
206                source: err.into(),
207            }),
208        }
209    }
210}
211impl From<crate::operation::create_matching_workflow::CreateMatchingWorkflowError> for Error {
212    fn from(err: crate::operation::create_matching_workflow::CreateMatchingWorkflowError) -> Self {
213        match err {
214            crate::operation::create_matching_workflow::CreateMatchingWorkflowError::AccessDeniedException(inner) => {
215                Error::AccessDeniedException(inner)
216            }
217            crate::operation::create_matching_workflow::CreateMatchingWorkflowError::ConflictException(inner) => Error::ConflictException(inner),
218            crate::operation::create_matching_workflow::CreateMatchingWorkflowError::ExceedsLimitException(inner) => {
219                Error::ExceedsLimitException(inner)
220            }
221            crate::operation::create_matching_workflow::CreateMatchingWorkflowError::InternalServerException(inner) => {
222                Error::InternalServerException(inner)
223            }
224            crate::operation::create_matching_workflow::CreateMatchingWorkflowError::ThrottlingException(inner) => Error::ThrottlingException(inner),
225            crate::operation::create_matching_workflow::CreateMatchingWorkflowError::ValidationException(inner) => Error::ValidationException(inner),
226            crate::operation::create_matching_workflow::CreateMatchingWorkflowError::Unhandled(inner) => Error::Unhandled(inner),
227        }
228    }
229}
230impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_schema_mapping::CreateSchemaMappingError, R>> for Error
231where
232    R: Send + Sync + std::fmt::Debug + 'static,
233{
234    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_schema_mapping::CreateSchemaMappingError, R>) -> Self {
235        match err {
236            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
237            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
238                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
239                source: err.into(),
240            }),
241        }
242    }
243}
244impl From<crate::operation::create_schema_mapping::CreateSchemaMappingError> for Error {
245    fn from(err: crate::operation::create_schema_mapping::CreateSchemaMappingError) -> Self {
246        match err {
247            crate::operation::create_schema_mapping::CreateSchemaMappingError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
248            crate::operation::create_schema_mapping::CreateSchemaMappingError::ConflictException(inner) => Error::ConflictException(inner),
249            crate::operation::create_schema_mapping::CreateSchemaMappingError::ExceedsLimitException(inner) => Error::ExceedsLimitException(inner),
250            crate::operation::create_schema_mapping::CreateSchemaMappingError::InternalServerException(inner) => {
251                Error::InternalServerException(inner)
252            }
253            crate::operation::create_schema_mapping::CreateSchemaMappingError::ThrottlingException(inner) => Error::ThrottlingException(inner),
254            crate::operation::create_schema_mapping::CreateSchemaMappingError::ValidationException(inner) => Error::ValidationException(inner),
255            crate::operation::create_schema_mapping::CreateSchemaMappingError::Unhandled(inner) => Error::Unhandled(inner),
256        }
257    }
258}
259impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_id_mapping_workflow::DeleteIdMappingWorkflowError, R>>
260    for Error
261where
262    R: Send + Sync + std::fmt::Debug + 'static,
263{
264    fn from(
265        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_id_mapping_workflow::DeleteIdMappingWorkflowError, R>,
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::delete_id_mapping_workflow::DeleteIdMappingWorkflowError> for Error {
277    fn from(err: crate::operation::delete_id_mapping_workflow::DeleteIdMappingWorkflowError) -> Self {
278        match err {
279            crate::operation::delete_id_mapping_workflow::DeleteIdMappingWorkflowError::AccessDeniedException(inner) => {
280                Error::AccessDeniedException(inner)
281            }
282            crate::operation::delete_id_mapping_workflow::DeleteIdMappingWorkflowError::ConflictException(inner) => Error::ConflictException(inner),
283            crate::operation::delete_id_mapping_workflow::DeleteIdMappingWorkflowError::InternalServerException(inner) => {
284                Error::InternalServerException(inner)
285            }
286            crate::operation::delete_id_mapping_workflow::DeleteIdMappingWorkflowError::ThrottlingException(inner) => {
287                Error::ThrottlingException(inner)
288            }
289            crate::operation::delete_id_mapping_workflow::DeleteIdMappingWorkflowError::ValidationException(inner) => {
290                Error::ValidationException(inner)
291            }
292            crate::operation::delete_id_mapping_workflow::DeleteIdMappingWorkflowError::Unhandled(inner) => Error::Unhandled(inner),
293        }
294    }
295}
296impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_id_namespace::DeleteIdNamespaceError, R>> for Error
297where
298    R: Send + Sync + std::fmt::Debug + 'static,
299{
300    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_id_namespace::DeleteIdNamespaceError, R>) -> Self {
301        match err {
302            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
303            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
304                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
305                source: err.into(),
306            }),
307        }
308    }
309}
310impl From<crate::operation::delete_id_namespace::DeleteIdNamespaceError> for Error {
311    fn from(err: crate::operation::delete_id_namespace::DeleteIdNamespaceError) -> Self {
312        match err {
313            crate::operation::delete_id_namespace::DeleteIdNamespaceError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
314            crate::operation::delete_id_namespace::DeleteIdNamespaceError::InternalServerException(inner) => Error::InternalServerException(inner),
315            crate::operation::delete_id_namespace::DeleteIdNamespaceError::ThrottlingException(inner) => Error::ThrottlingException(inner),
316            crate::operation::delete_id_namespace::DeleteIdNamespaceError::ValidationException(inner) => Error::ValidationException(inner),
317            crate::operation::delete_id_namespace::DeleteIdNamespaceError::Unhandled(inner) => Error::Unhandled(inner),
318        }
319    }
320}
321impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_matching_workflow::DeleteMatchingWorkflowError, R>> for Error
322where
323    R: Send + Sync + std::fmt::Debug + 'static,
324{
325    fn from(
326        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_matching_workflow::DeleteMatchingWorkflowError, R>,
327    ) -> Self {
328        match err {
329            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
330            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
331                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
332                source: err.into(),
333            }),
334        }
335    }
336}
337impl From<crate::operation::delete_matching_workflow::DeleteMatchingWorkflowError> for Error {
338    fn from(err: crate::operation::delete_matching_workflow::DeleteMatchingWorkflowError) -> Self {
339        match err {
340            crate::operation::delete_matching_workflow::DeleteMatchingWorkflowError::AccessDeniedException(inner) => {
341                Error::AccessDeniedException(inner)
342            }
343            crate::operation::delete_matching_workflow::DeleteMatchingWorkflowError::ConflictException(inner) => Error::ConflictException(inner),
344            crate::operation::delete_matching_workflow::DeleteMatchingWorkflowError::InternalServerException(inner) => {
345                Error::InternalServerException(inner)
346            }
347            crate::operation::delete_matching_workflow::DeleteMatchingWorkflowError::ThrottlingException(inner) => Error::ThrottlingException(inner),
348            crate::operation::delete_matching_workflow::DeleteMatchingWorkflowError::ValidationException(inner) => Error::ValidationException(inner),
349            crate::operation::delete_matching_workflow::DeleteMatchingWorkflowError::Unhandled(inner) => Error::Unhandled(inner),
350        }
351    }
352}
353impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_policy_statement::DeletePolicyStatementError, R>> for Error
354where
355    R: Send + Sync + std::fmt::Debug + 'static,
356{
357    fn from(
358        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_policy_statement::DeletePolicyStatementError, R>,
359    ) -> Self {
360        match err {
361            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
362            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
363                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
364                source: err.into(),
365            }),
366        }
367    }
368}
369impl From<crate::operation::delete_policy_statement::DeletePolicyStatementError> for Error {
370    fn from(err: crate::operation::delete_policy_statement::DeletePolicyStatementError) -> Self {
371        match err {
372            crate::operation::delete_policy_statement::DeletePolicyStatementError::AccessDeniedException(inner) => {
373                Error::AccessDeniedException(inner)
374            }
375            crate::operation::delete_policy_statement::DeletePolicyStatementError::ConflictException(inner) => Error::ConflictException(inner),
376            crate::operation::delete_policy_statement::DeletePolicyStatementError::InternalServerException(inner) => {
377                Error::InternalServerException(inner)
378            }
379            crate::operation::delete_policy_statement::DeletePolicyStatementError::ResourceNotFoundException(inner) => {
380                Error::ResourceNotFoundException(inner)
381            }
382            crate::operation::delete_policy_statement::DeletePolicyStatementError::ThrottlingException(inner) => Error::ThrottlingException(inner),
383            crate::operation::delete_policy_statement::DeletePolicyStatementError::ValidationException(inner) => Error::ValidationException(inner),
384            crate::operation::delete_policy_statement::DeletePolicyStatementError::Unhandled(inner) => Error::Unhandled(inner),
385        }
386    }
387}
388impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_schema_mapping::DeleteSchemaMappingError, R>> for Error
389where
390    R: Send + Sync + std::fmt::Debug + 'static,
391{
392    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_schema_mapping::DeleteSchemaMappingError, R>) -> Self {
393        match err {
394            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
395            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
396                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
397                source: err.into(),
398            }),
399        }
400    }
401}
402impl From<crate::operation::delete_schema_mapping::DeleteSchemaMappingError> for Error {
403    fn from(err: crate::operation::delete_schema_mapping::DeleteSchemaMappingError) -> Self {
404        match err {
405            crate::operation::delete_schema_mapping::DeleteSchemaMappingError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
406            crate::operation::delete_schema_mapping::DeleteSchemaMappingError::ConflictException(inner) => Error::ConflictException(inner),
407            crate::operation::delete_schema_mapping::DeleteSchemaMappingError::InternalServerException(inner) => {
408                Error::InternalServerException(inner)
409            }
410            crate::operation::delete_schema_mapping::DeleteSchemaMappingError::ThrottlingException(inner) => Error::ThrottlingException(inner),
411            crate::operation::delete_schema_mapping::DeleteSchemaMappingError::ValidationException(inner) => Error::ValidationException(inner),
412            crate::operation::delete_schema_mapping::DeleteSchemaMappingError::Unhandled(inner) => Error::Unhandled(inner),
413        }
414    }
415}
416impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::generate_match_id::GenerateMatchIdError, R>> for Error
417where
418    R: Send + Sync + std::fmt::Debug + 'static,
419{
420    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::generate_match_id::GenerateMatchIdError, R>) -> Self {
421        match err {
422            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
423            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
424                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
425                source: err.into(),
426            }),
427        }
428    }
429}
430impl From<crate::operation::generate_match_id::GenerateMatchIdError> for Error {
431    fn from(err: crate::operation::generate_match_id::GenerateMatchIdError) -> Self {
432        match err {
433            crate::operation::generate_match_id::GenerateMatchIdError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
434            crate::operation::generate_match_id::GenerateMatchIdError::InternalServerException(inner) => Error::InternalServerException(inner),
435            crate::operation::generate_match_id::GenerateMatchIdError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
436            crate::operation::generate_match_id::GenerateMatchIdError::ThrottlingException(inner) => Error::ThrottlingException(inner),
437            crate::operation::generate_match_id::GenerateMatchIdError::ValidationException(inner) => Error::ValidationException(inner),
438            crate::operation::generate_match_id::GenerateMatchIdError::Unhandled(inner) => Error::Unhandled(inner),
439        }
440    }
441}
442impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_id_mapping_job::GetIdMappingJobError, R>> for Error
443where
444    R: Send + Sync + std::fmt::Debug + 'static,
445{
446    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_id_mapping_job::GetIdMappingJobError, R>) -> Self {
447        match err {
448            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
449            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
450                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
451                source: err.into(),
452            }),
453        }
454    }
455}
456impl From<crate::operation::get_id_mapping_job::GetIdMappingJobError> for Error {
457    fn from(err: crate::operation::get_id_mapping_job::GetIdMappingJobError) -> Self {
458        match err {
459            crate::operation::get_id_mapping_job::GetIdMappingJobError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
460            crate::operation::get_id_mapping_job::GetIdMappingJobError::InternalServerException(inner) => Error::InternalServerException(inner),
461            crate::operation::get_id_mapping_job::GetIdMappingJobError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
462            crate::operation::get_id_mapping_job::GetIdMappingJobError::ThrottlingException(inner) => Error::ThrottlingException(inner),
463            crate::operation::get_id_mapping_job::GetIdMappingJobError::ValidationException(inner) => Error::ValidationException(inner),
464            crate::operation::get_id_mapping_job::GetIdMappingJobError::Unhandled(inner) => Error::Unhandled(inner),
465        }
466    }
467}
468impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_id_mapping_workflow::GetIdMappingWorkflowError, R>> for Error
469where
470    R: Send + Sync + std::fmt::Debug + 'static,
471{
472    fn from(
473        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_id_mapping_workflow::GetIdMappingWorkflowError, R>,
474    ) -> Self {
475        match err {
476            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
477            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
478                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
479                source: err.into(),
480            }),
481        }
482    }
483}
484impl From<crate::operation::get_id_mapping_workflow::GetIdMappingWorkflowError> for Error {
485    fn from(err: crate::operation::get_id_mapping_workflow::GetIdMappingWorkflowError) -> Self {
486        match err {
487            crate::operation::get_id_mapping_workflow::GetIdMappingWorkflowError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
488            crate::operation::get_id_mapping_workflow::GetIdMappingWorkflowError::InternalServerException(inner) => {
489                Error::InternalServerException(inner)
490            }
491            crate::operation::get_id_mapping_workflow::GetIdMappingWorkflowError::ResourceNotFoundException(inner) => {
492                Error::ResourceNotFoundException(inner)
493            }
494            crate::operation::get_id_mapping_workflow::GetIdMappingWorkflowError::ThrottlingException(inner) => Error::ThrottlingException(inner),
495            crate::operation::get_id_mapping_workflow::GetIdMappingWorkflowError::ValidationException(inner) => Error::ValidationException(inner),
496            crate::operation::get_id_mapping_workflow::GetIdMappingWorkflowError::Unhandled(inner) => Error::Unhandled(inner),
497        }
498    }
499}
500impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_id_namespace::GetIdNamespaceError, R>> for Error
501where
502    R: Send + Sync + std::fmt::Debug + 'static,
503{
504    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_id_namespace::GetIdNamespaceError, R>) -> 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::get_id_namespace::GetIdNamespaceError> for Error {
515    fn from(err: crate::operation::get_id_namespace::GetIdNamespaceError) -> Self {
516        match err {
517            crate::operation::get_id_namespace::GetIdNamespaceError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
518            crate::operation::get_id_namespace::GetIdNamespaceError::InternalServerException(inner) => Error::InternalServerException(inner),
519            crate::operation::get_id_namespace::GetIdNamespaceError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
520            crate::operation::get_id_namespace::GetIdNamespaceError::ThrottlingException(inner) => Error::ThrottlingException(inner),
521            crate::operation::get_id_namespace::GetIdNamespaceError::ValidationException(inner) => Error::ValidationException(inner),
522            crate::operation::get_id_namespace::GetIdNamespaceError::Unhandled(inner) => Error::Unhandled(inner),
523        }
524    }
525}
526impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_match_id::GetMatchIdError, R>> for Error
527where
528    R: Send + Sync + std::fmt::Debug + 'static,
529{
530    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_match_id::GetMatchIdError, R>) -> Self {
531        match err {
532            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
533            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
534                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
535                source: err.into(),
536            }),
537        }
538    }
539}
540impl From<crate::operation::get_match_id::GetMatchIdError> for Error {
541    fn from(err: crate::operation::get_match_id::GetMatchIdError) -> Self {
542        match err {
543            crate::operation::get_match_id::GetMatchIdError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
544            crate::operation::get_match_id::GetMatchIdError::InternalServerException(inner) => Error::InternalServerException(inner),
545            crate::operation::get_match_id::GetMatchIdError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
546            crate::operation::get_match_id::GetMatchIdError::ThrottlingException(inner) => Error::ThrottlingException(inner),
547            crate::operation::get_match_id::GetMatchIdError::ValidationException(inner) => Error::ValidationException(inner),
548            crate::operation::get_match_id::GetMatchIdError::Unhandled(inner) => Error::Unhandled(inner),
549        }
550    }
551}
552impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_matching_job::GetMatchingJobError, R>> for Error
553where
554    R: Send + Sync + std::fmt::Debug + 'static,
555{
556    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_matching_job::GetMatchingJobError, R>) -> Self {
557        match err {
558            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
559            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
560                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
561                source: err.into(),
562            }),
563        }
564    }
565}
566impl From<crate::operation::get_matching_job::GetMatchingJobError> for Error {
567    fn from(err: crate::operation::get_matching_job::GetMatchingJobError) -> Self {
568        match err {
569            crate::operation::get_matching_job::GetMatchingJobError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
570            crate::operation::get_matching_job::GetMatchingJobError::InternalServerException(inner) => Error::InternalServerException(inner),
571            crate::operation::get_matching_job::GetMatchingJobError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
572            crate::operation::get_matching_job::GetMatchingJobError::ThrottlingException(inner) => Error::ThrottlingException(inner),
573            crate::operation::get_matching_job::GetMatchingJobError::ValidationException(inner) => Error::ValidationException(inner),
574            crate::operation::get_matching_job::GetMatchingJobError::Unhandled(inner) => Error::Unhandled(inner),
575        }
576    }
577}
578impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_matching_workflow::GetMatchingWorkflowError, R>> for Error
579where
580    R: Send + Sync + std::fmt::Debug + 'static,
581{
582    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_matching_workflow::GetMatchingWorkflowError, R>) -> Self {
583        match err {
584            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
585            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
586                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
587                source: err.into(),
588            }),
589        }
590    }
591}
592impl From<crate::operation::get_matching_workflow::GetMatchingWorkflowError> for Error {
593    fn from(err: crate::operation::get_matching_workflow::GetMatchingWorkflowError) -> Self {
594        match err {
595            crate::operation::get_matching_workflow::GetMatchingWorkflowError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
596            crate::operation::get_matching_workflow::GetMatchingWorkflowError::InternalServerException(inner) => {
597                Error::InternalServerException(inner)
598            }
599            crate::operation::get_matching_workflow::GetMatchingWorkflowError::ResourceNotFoundException(inner) => {
600                Error::ResourceNotFoundException(inner)
601            }
602            crate::operation::get_matching_workflow::GetMatchingWorkflowError::ThrottlingException(inner) => Error::ThrottlingException(inner),
603            crate::operation::get_matching_workflow::GetMatchingWorkflowError::ValidationException(inner) => Error::ValidationException(inner),
604            crate::operation::get_matching_workflow::GetMatchingWorkflowError::Unhandled(inner) => Error::Unhandled(inner),
605        }
606    }
607}
608impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_policy::GetPolicyError, R>> for Error
609where
610    R: Send + Sync + std::fmt::Debug + 'static,
611{
612    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_policy::GetPolicyError, R>) -> Self {
613        match err {
614            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
615            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
616                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
617                source: err.into(),
618            }),
619        }
620    }
621}
622impl From<crate::operation::get_policy::GetPolicyError> for Error {
623    fn from(err: crate::operation::get_policy::GetPolicyError) -> Self {
624        match err {
625            crate::operation::get_policy::GetPolicyError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
626            crate::operation::get_policy::GetPolicyError::InternalServerException(inner) => Error::InternalServerException(inner),
627            crate::operation::get_policy::GetPolicyError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
628            crate::operation::get_policy::GetPolicyError::ThrottlingException(inner) => Error::ThrottlingException(inner),
629            crate::operation::get_policy::GetPolicyError::ValidationException(inner) => Error::ValidationException(inner),
630            crate::operation::get_policy::GetPolicyError::Unhandled(inner) => Error::Unhandled(inner),
631        }
632    }
633}
634impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_provider_service::GetProviderServiceError, R>> for Error
635where
636    R: Send + Sync + std::fmt::Debug + 'static,
637{
638    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_provider_service::GetProviderServiceError, R>) -> Self {
639        match err {
640            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
641            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
642                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
643                source: err.into(),
644            }),
645        }
646    }
647}
648impl From<crate::operation::get_provider_service::GetProviderServiceError> for Error {
649    fn from(err: crate::operation::get_provider_service::GetProviderServiceError) -> Self {
650        match err {
651            crate::operation::get_provider_service::GetProviderServiceError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
652            crate::operation::get_provider_service::GetProviderServiceError::InternalServerException(inner) => Error::InternalServerException(inner),
653            crate::operation::get_provider_service::GetProviderServiceError::ResourceNotFoundException(inner) => {
654                Error::ResourceNotFoundException(inner)
655            }
656            crate::operation::get_provider_service::GetProviderServiceError::ThrottlingException(inner) => Error::ThrottlingException(inner),
657            crate::operation::get_provider_service::GetProviderServiceError::ValidationException(inner) => Error::ValidationException(inner),
658            crate::operation::get_provider_service::GetProviderServiceError::Unhandled(inner) => Error::Unhandled(inner),
659        }
660    }
661}
662impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_schema_mapping::GetSchemaMappingError, R>> for Error
663where
664    R: Send + Sync + std::fmt::Debug + 'static,
665{
666    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_schema_mapping::GetSchemaMappingError, R>) -> Self {
667        match err {
668            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
669            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
670                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
671                source: err.into(),
672            }),
673        }
674    }
675}
676impl From<crate::operation::get_schema_mapping::GetSchemaMappingError> for Error {
677    fn from(err: crate::operation::get_schema_mapping::GetSchemaMappingError) -> Self {
678        match err {
679            crate::operation::get_schema_mapping::GetSchemaMappingError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
680            crate::operation::get_schema_mapping::GetSchemaMappingError::InternalServerException(inner) => Error::InternalServerException(inner),
681            crate::operation::get_schema_mapping::GetSchemaMappingError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
682            crate::operation::get_schema_mapping::GetSchemaMappingError::ThrottlingException(inner) => Error::ThrottlingException(inner),
683            crate::operation::get_schema_mapping::GetSchemaMappingError::ValidationException(inner) => Error::ValidationException(inner),
684            crate::operation::get_schema_mapping::GetSchemaMappingError::Unhandled(inner) => Error::Unhandled(inner),
685        }
686    }
687}
688impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_id_mapping_jobs::ListIdMappingJobsError, R>> for Error
689where
690    R: Send + Sync + std::fmt::Debug + 'static,
691{
692    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_id_mapping_jobs::ListIdMappingJobsError, R>) -> Self {
693        match err {
694            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
695            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
696                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
697                source: err.into(),
698            }),
699        }
700    }
701}
702impl From<crate::operation::list_id_mapping_jobs::ListIdMappingJobsError> for Error {
703    fn from(err: crate::operation::list_id_mapping_jobs::ListIdMappingJobsError) -> Self {
704        match err {
705            crate::operation::list_id_mapping_jobs::ListIdMappingJobsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
706            crate::operation::list_id_mapping_jobs::ListIdMappingJobsError::InternalServerException(inner) => Error::InternalServerException(inner),
707            crate::operation::list_id_mapping_jobs::ListIdMappingJobsError::ResourceNotFoundException(inner) => {
708                Error::ResourceNotFoundException(inner)
709            }
710            crate::operation::list_id_mapping_jobs::ListIdMappingJobsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
711            crate::operation::list_id_mapping_jobs::ListIdMappingJobsError::ValidationException(inner) => Error::ValidationException(inner),
712            crate::operation::list_id_mapping_jobs::ListIdMappingJobsError::Unhandled(inner) => Error::Unhandled(inner),
713        }
714    }
715}
716impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_id_mapping_workflows::ListIdMappingWorkflowsError, R>>
717    for Error
718where
719    R: Send + Sync + std::fmt::Debug + 'static,
720{
721    fn from(
722        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_id_mapping_workflows::ListIdMappingWorkflowsError, R>,
723    ) -> Self {
724        match err {
725            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
726            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
727                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
728                source: err.into(),
729            }),
730        }
731    }
732}
733impl From<crate::operation::list_id_mapping_workflows::ListIdMappingWorkflowsError> for Error {
734    fn from(err: crate::operation::list_id_mapping_workflows::ListIdMappingWorkflowsError) -> Self {
735        match err {
736            crate::operation::list_id_mapping_workflows::ListIdMappingWorkflowsError::AccessDeniedException(inner) => {
737                Error::AccessDeniedException(inner)
738            }
739            crate::operation::list_id_mapping_workflows::ListIdMappingWorkflowsError::InternalServerException(inner) => {
740                Error::InternalServerException(inner)
741            }
742            crate::operation::list_id_mapping_workflows::ListIdMappingWorkflowsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
743            crate::operation::list_id_mapping_workflows::ListIdMappingWorkflowsError::ValidationException(inner) => Error::ValidationException(inner),
744            crate::operation::list_id_mapping_workflows::ListIdMappingWorkflowsError::Unhandled(inner) => Error::Unhandled(inner),
745        }
746    }
747}
748impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_id_namespaces::ListIdNamespacesError, R>> for Error
749where
750    R: Send + Sync + std::fmt::Debug + 'static,
751{
752    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_id_namespaces::ListIdNamespacesError, R>) -> Self {
753        match err {
754            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
755            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
756                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
757                source: err.into(),
758            }),
759        }
760    }
761}
762impl From<crate::operation::list_id_namespaces::ListIdNamespacesError> for Error {
763    fn from(err: crate::operation::list_id_namespaces::ListIdNamespacesError) -> Self {
764        match err {
765            crate::operation::list_id_namespaces::ListIdNamespacesError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
766            crate::operation::list_id_namespaces::ListIdNamespacesError::InternalServerException(inner) => Error::InternalServerException(inner),
767            crate::operation::list_id_namespaces::ListIdNamespacesError::ThrottlingException(inner) => Error::ThrottlingException(inner),
768            crate::operation::list_id_namespaces::ListIdNamespacesError::ValidationException(inner) => Error::ValidationException(inner),
769            crate::operation::list_id_namespaces::ListIdNamespacesError::Unhandled(inner) => Error::Unhandled(inner),
770        }
771    }
772}
773impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_matching_jobs::ListMatchingJobsError, R>> for Error
774where
775    R: Send + Sync + std::fmt::Debug + 'static,
776{
777    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_matching_jobs::ListMatchingJobsError, R>) -> Self {
778        match err {
779            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
780            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
781                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
782                source: err.into(),
783            }),
784        }
785    }
786}
787impl From<crate::operation::list_matching_jobs::ListMatchingJobsError> for Error {
788    fn from(err: crate::operation::list_matching_jobs::ListMatchingJobsError) -> Self {
789        match err {
790            crate::operation::list_matching_jobs::ListMatchingJobsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
791            crate::operation::list_matching_jobs::ListMatchingJobsError::InternalServerException(inner) => Error::InternalServerException(inner),
792            crate::operation::list_matching_jobs::ListMatchingJobsError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
793            crate::operation::list_matching_jobs::ListMatchingJobsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
794            crate::operation::list_matching_jobs::ListMatchingJobsError::ValidationException(inner) => Error::ValidationException(inner),
795            crate::operation::list_matching_jobs::ListMatchingJobsError::Unhandled(inner) => Error::Unhandled(inner),
796        }
797    }
798}
799impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_matching_workflows::ListMatchingWorkflowsError, R>> for Error
800where
801    R: Send + Sync + std::fmt::Debug + 'static,
802{
803    fn from(
804        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_matching_workflows::ListMatchingWorkflowsError, R>,
805    ) -> Self {
806        match err {
807            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
808            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
809                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
810                source: err.into(),
811            }),
812        }
813    }
814}
815impl From<crate::operation::list_matching_workflows::ListMatchingWorkflowsError> for Error {
816    fn from(err: crate::operation::list_matching_workflows::ListMatchingWorkflowsError) -> Self {
817        match err {
818            crate::operation::list_matching_workflows::ListMatchingWorkflowsError::AccessDeniedException(inner) => {
819                Error::AccessDeniedException(inner)
820            }
821            crate::operation::list_matching_workflows::ListMatchingWorkflowsError::InternalServerException(inner) => {
822                Error::InternalServerException(inner)
823            }
824            crate::operation::list_matching_workflows::ListMatchingWorkflowsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
825            crate::operation::list_matching_workflows::ListMatchingWorkflowsError::ValidationException(inner) => Error::ValidationException(inner),
826            crate::operation::list_matching_workflows::ListMatchingWorkflowsError::Unhandled(inner) => Error::Unhandled(inner),
827        }
828    }
829}
830impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_provider_services::ListProviderServicesError, R>> for Error
831where
832    R: Send + Sync + std::fmt::Debug + 'static,
833{
834    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_provider_services::ListProviderServicesError, R>) -> Self {
835        match err {
836            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
837            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
838                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
839                source: err.into(),
840            }),
841        }
842    }
843}
844impl From<crate::operation::list_provider_services::ListProviderServicesError> for Error {
845    fn from(err: crate::operation::list_provider_services::ListProviderServicesError) -> Self {
846        match err {
847            crate::operation::list_provider_services::ListProviderServicesError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
848            crate::operation::list_provider_services::ListProviderServicesError::InternalServerException(inner) => {
849                Error::InternalServerException(inner)
850            }
851            crate::operation::list_provider_services::ListProviderServicesError::ThrottlingException(inner) => Error::ThrottlingException(inner),
852            crate::operation::list_provider_services::ListProviderServicesError::ValidationException(inner) => Error::ValidationException(inner),
853            crate::operation::list_provider_services::ListProviderServicesError::Unhandled(inner) => Error::Unhandled(inner),
854        }
855    }
856}
857impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_schema_mappings::ListSchemaMappingsError, R>> for Error
858where
859    R: Send + Sync + std::fmt::Debug + 'static,
860{
861    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_schema_mappings::ListSchemaMappingsError, R>) -> Self {
862        match err {
863            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
864            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
865                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
866                source: err.into(),
867            }),
868        }
869    }
870}
871impl From<crate::operation::list_schema_mappings::ListSchemaMappingsError> for Error {
872    fn from(err: crate::operation::list_schema_mappings::ListSchemaMappingsError) -> Self {
873        match err {
874            crate::operation::list_schema_mappings::ListSchemaMappingsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
875            crate::operation::list_schema_mappings::ListSchemaMappingsError::InternalServerException(inner) => Error::InternalServerException(inner),
876            crate::operation::list_schema_mappings::ListSchemaMappingsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
877            crate::operation::list_schema_mappings::ListSchemaMappingsError::ValidationException(inner) => Error::ValidationException(inner),
878            crate::operation::list_schema_mappings::ListSchemaMappingsError::Unhandled(inner) => Error::Unhandled(inner),
879        }
880    }
881}
882impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_tags_for_resource::ListTagsForResourceError, R>> for Error
883where
884    R: Send + Sync + std::fmt::Debug + 'static,
885{
886    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_tags_for_resource::ListTagsForResourceError, R>) -> Self {
887        match err {
888            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
889            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
890                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
891                source: err.into(),
892            }),
893        }
894    }
895}
896impl From<crate::operation::list_tags_for_resource::ListTagsForResourceError> for Error {
897    fn from(err: crate::operation::list_tags_for_resource::ListTagsForResourceError) -> Self {
898        match err {
899            crate::operation::list_tags_for_resource::ListTagsForResourceError::InternalServerException(inner) => {
900                Error::InternalServerException(inner)
901            }
902            crate::operation::list_tags_for_resource::ListTagsForResourceError::ResourceNotFoundException(inner) => {
903                Error::ResourceNotFoundException(inner)
904            }
905            crate::operation::list_tags_for_resource::ListTagsForResourceError::ValidationException(inner) => Error::ValidationException(inner),
906            crate::operation::list_tags_for_resource::ListTagsForResourceError::Unhandled(inner) => Error::Unhandled(inner),
907        }
908    }
909}
910impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_policy::PutPolicyError, R>> for Error
911where
912    R: Send + Sync + std::fmt::Debug + 'static,
913{
914    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_policy::PutPolicyError, R>) -> Self {
915        match err {
916            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
917            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
918                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
919                source: err.into(),
920            }),
921        }
922    }
923}
924impl From<crate::operation::put_policy::PutPolicyError> for Error {
925    fn from(err: crate::operation::put_policy::PutPolicyError) -> Self {
926        match err {
927            crate::operation::put_policy::PutPolicyError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
928            crate::operation::put_policy::PutPolicyError::ConflictException(inner) => Error::ConflictException(inner),
929            crate::operation::put_policy::PutPolicyError::InternalServerException(inner) => Error::InternalServerException(inner),
930            crate::operation::put_policy::PutPolicyError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
931            crate::operation::put_policy::PutPolicyError::ThrottlingException(inner) => Error::ThrottlingException(inner),
932            crate::operation::put_policy::PutPolicyError::ValidationException(inner) => Error::ValidationException(inner),
933            crate::operation::put_policy::PutPolicyError::Unhandled(inner) => Error::Unhandled(inner),
934        }
935    }
936}
937impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_id_mapping_job::StartIdMappingJobError, R>> for Error
938where
939    R: Send + Sync + std::fmt::Debug + 'static,
940{
941    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_id_mapping_job::StartIdMappingJobError, R>) -> Self {
942        match err {
943            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
944            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
945                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
946                source: err.into(),
947            }),
948        }
949    }
950}
951impl From<crate::operation::start_id_mapping_job::StartIdMappingJobError> for Error {
952    fn from(err: crate::operation::start_id_mapping_job::StartIdMappingJobError) -> Self {
953        match err {
954            crate::operation::start_id_mapping_job::StartIdMappingJobError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
955            crate::operation::start_id_mapping_job::StartIdMappingJobError::ConflictException(inner) => Error::ConflictException(inner),
956            crate::operation::start_id_mapping_job::StartIdMappingJobError::ExceedsLimitException(inner) => Error::ExceedsLimitException(inner),
957            crate::operation::start_id_mapping_job::StartIdMappingJobError::InternalServerException(inner) => Error::InternalServerException(inner),
958            crate::operation::start_id_mapping_job::StartIdMappingJobError::ResourceNotFoundException(inner) => {
959                Error::ResourceNotFoundException(inner)
960            }
961            crate::operation::start_id_mapping_job::StartIdMappingJobError::ThrottlingException(inner) => Error::ThrottlingException(inner),
962            crate::operation::start_id_mapping_job::StartIdMappingJobError::ValidationException(inner) => Error::ValidationException(inner),
963            crate::operation::start_id_mapping_job::StartIdMappingJobError::Unhandled(inner) => Error::Unhandled(inner),
964        }
965    }
966}
967impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_matching_job::StartMatchingJobError, R>> for Error
968where
969    R: Send + Sync + std::fmt::Debug + 'static,
970{
971    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_matching_job::StartMatchingJobError, R>) -> Self {
972        match err {
973            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
974            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
975                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
976                source: err.into(),
977            }),
978        }
979    }
980}
981impl From<crate::operation::start_matching_job::StartMatchingJobError> for Error {
982    fn from(err: crate::operation::start_matching_job::StartMatchingJobError) -> Self {
983        match err {
984            crate::operation::start_matching_job::StartMatchingJobError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
985            crate::operation::start_matching_job::StartMatchingJobError::ConflictException(inner) => Error::ConflictException(inner),
986            crate::operation::start_matching_job::StartMatchingJobError::ExceedsLimitException(inner) => Error::ExceedsLimitException(inner),
987            crate::operation::start_matching_job::StartMatchingJobError::InternalServerException(inner) => Error::InternalServerException(inner),
988            crate::operation::start_matching_job::StartMatchingJobError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
989            crate::operation::start_matching_job::StartMatchingJobError::ThrottlingException(inner) => Error::ThrottlingException(inner),
990            crate::operation::start_matching_job::StartMatchingJobError::ValidationException(inner) => Error::ValidationException(inner),
991            crate::operation::start_matching_job::StartMatchingJobError::Unhandled(inner) => Error::Unhandled(inner),
992        }
993    }
994}
995impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::tag_resource::TagResourceError, R>> for Error
996where
997    R: Send + Sync + std::fmt::Debug + 'static,
998{
999    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::tag_resource::TagResourceError, R>) -> Self {
1000        match err {
1001            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1002            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1003                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1004                source: err.into(),
1005            }),
1006        }
1007    }
1008}
1009impl From<crate::operation::tag_resource::TagResourceError> for Error {
1010    fn from(err: crate::operation::tag_resource::TagResourceError) -> Self {
1011        match err {
1012            crate::operation::tag_resource::TagResourceError::InternalServerException(inner) => Error::InternalServerException(inner),
1013            crate::operation::tag_resource::TagResourceError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1014            crate::operation::tag_resource::TagResourceError::ValidationException(inner) => Error::ValidationException(inner),
1015            crate::operation::tag_resource::TagResourceError::Unhandled(inner) => Error::Unhandled(inner),
1016        }
1017    }
1018}
1019impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::untag_resource::UntagResourceError, R>> for Error
1020where
1021    R: Send + Sync + std::fmt::Debug + 'static,
1022{
1023    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::untag_resource::UntagResourceError, R>) -> Self {
1024        match err {
1025            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1026            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1027                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1028                source: err.into(),
1029            }),
1030        }
1031    }
1032}
1033impl From<crate::operation::untag_resource::UntagResourceError> for Error {
1034    fn from(err: crate::operation::untag_resource::UntagResourceError) -> Self {
1035        match err {
1036            crate::operation::untag_resource::UntagResourceError::InternalServerException(inner) => Error::InternalServerException(inner),
1037            crate::operation::untag_resource::UntagResourceError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1038            crate::operation::untag_resource::UntagResourceError::Unhandled(inner) => Error::Unhandled(inner),
1039        }
1040    }
1041}
1042impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_id_mapping_workflow::UpdateIdMappingWorkflowError, R>>
1043    for Error
1044where
1045    R: Send + Sync + std::fmt::Debug + 'static,
1046{
1047    fn from(
1048        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_id_mapping_workflow::UpdateIdMappingWorkflowError, R>,
1049    ) -> Self {
1050        match err {
1051            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1052            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1053                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1054                source: err.into(),
1055            }),
1056        }
1057    }
1058}
1059impl From<crate::operation::update_id_mapping_workflow::UpdateIdMappingWorkflowError> for Error {
1060    fn from(err: crate::operation::update_id_mapping_workflow::UpdateIdMappingWorkflowError) -> Self {
1061        match err {
1062            crate::operation::update_id_mapping_workflow::UpdateIdMappingWorkflowError::AccessDeniedException(inner) => {
1063                Error::AccessDeniedException(inner)
1064            }
1065            crate::operation::update_id_mapping_workflow::UpdateIdMappingWorkflowError::InternalServerException(inner) => {
1066                Error::InternalServerException(inner)
1067            }
1068            crate::operation::update_id_mapping_workflow::UpdateIdMappingWorkflowError::ResourceNotFoundException(inner) => {
1069                Error::ResourceNotFoundException(inner)
1070            }
1071            crate::operation::update_id_mapping_workflow::UpdateIdMappingWorkflowError::ThrottlingException(inner) => {
1072                Error::ThrottlingException(inner)
1073            }
1074            crate::operation::update_id_mapping_workflow::UpdateIdMappingWorkflowError::ValidationException(inner) => {
1075                Error::ValidationException(inner)
1076            }
1077            crate::operation::update_id_mapping_workflow::UpdateIdMappingWorkflowError::Unhandled(inner) => Error::Unhandled(inner),
1078        }
1079    }
1080}
1081impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_id_namespace::UpdateIdNamespaceError, R>> for Error
1082where
1083    R: Send + Sync + std::fmt::Debug + 'static,
1084{
1085    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_id_namespace::UpdateIdNamespaceError, R>) -> Self {
1086        match err {
1087            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1088            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1089                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1090                source: err.into(),
1091            }),
1092        }
1093    }
1094}
1095impl From<crate::operation::update_id_namespace::UpdateIdNamespaceError> for Error {
1096    fn from(err: crate::operation::update_id_namespace::UpdateIdNamespaceError) -> Self {
1097        match err {
1098            crate::operation::update_id_namespace::UpdateIdNamespaceError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1099            crate::operation::update_id_namespace::UpdateIdNamespaceError::InternalServerException(inner) => Error::InternalServerException(inner),
1100            crate::operation::update_id_namespace::UpdateIdNamespaceError::ResourceNotFoundException(inner) => {
1101                Error::ResourceNotFoundException(inner)
1102            }
1103            crate::operation::update_id_namespace::UpdateIdNamespaceError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1104            crate::operation::update_id_namespace::UpdateIdNamespaceError::ValidationException(inner) => Error::ValidationException(inner),
1105            crate::operation::update_id_namespace::UpdateIdNamespaceError::Unhandled(inner) => Error::Unhandled(inner),
1106        }
1107    }
1108}
1109impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_matching_workflow::UpdateMatchingWorkflowError, R>> for Error
1110where
1111    R: Send + Sync + std::fmt::Debug + 'static,
1112{
1113    fn from(
1114        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_matching_workflow::UpdateMatchingWorkflowError, R>,
1115    ) -> Self {
1116        match err {
1117            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1118            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1119                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1120                source: err.into(),
1121            }),
1122        }
1123    }
1124}
1125impl From<crate::operation::update_matching_workflow::UpdateMatchingWorkflowError> for Error {
1126    fn from(err: crate::operation::update_matching_workflow::UpdateMatchingWorkflowError) -> Self {
1127        match err {
1128            crate::operation::update_matching_workflow::UpdateMatchingWorkflowError::AccessDeniedException(inner) => {
1129                Error::AccessDeniedException(inner)
1130            }
1131            crate::operation::update_matching_workflow::UpdateMatchingWorkflowError::InternalServerException(inner) => {
1132                Error::InternalServerException(inner)
1133            }
1134            crate::operation::update_matching_workflow::UpdateMatchingWorkflowError::ResourceNotFoundException(inner) => {
1135                Error::ResourceNotFoundException(inner)
1136            }
1137            crate::operation::update_matching_workflow::UpdateMatchingWorkflowError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1138            crate::operation::update_matching_workflow::UpdateMatchingWorkflowError::ValidationException(inner) => Error::ValidationException(inner),
1139            crate::operation::update_matching_workflow::UpdateMatchingWorkflowError::Unhandled(inner) => Error::Unhandled(inner),
1140        }
1141    }
1142}
1143impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_schema_mapping::UpdateSchemaMappingError, R>> for Error
1144where
1145    R: Send + Sync + std::fmt::Debug + 'static,
1146{
1147    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_schema_mapping::UpdateSchemaMappingError, R>) -> Self {
1148        match err {
1149            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1150            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1151                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1152                source: err.into(),
1153            }),
1154        }
1155    }
1156}
1157impl From<crate::operation::update_schema_mapping::UpdateSchemaMappingError> for Error {
1158    fn from(err: crate::operation::update_schema_mapping::UpdateSchemaMappingError) -> Self {
1159        match err {
1160            crate::operation::update_schema_mapping::UpdateSchemaMappingError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1161            crate::operation::update_schema_mapping::UpdateSchemaMappingError::ConflictException(inner) => Error::ConflictException(inner),
1162            crate::operation::update_schema_mapping::UpdateSchemaMappingError::InternalServerException(inner) => {
1163                Error::InternalServerException(inner)
1164            }
1165            crate::operation::update_schema_mapping::UpdateSchemaMappingError::ResourceNotFoundException(inner) => {
1166                Error::ResourceNotFoundException(inner)
1167            }
1168            crate::operation::update_schema_mapping::UpdateSchemaMappingError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1169            crate::operation::update_schema_mapping::UpdateSchemaMappingError::ValidationException(inner) => Error::ValidationException(inner),
1170            crate::operation::update_schema_mapping::UpdateSchemaMappingError::Unhandled(inner) => Error::Unhandled(inner),
1171        }
1172    }
1173}
1174impl ::std::error::Error for Error {
1175    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
1176        match self {
1177            Error::AccessDeniedException(inner) => inner.source(),
1178            Error::ConflictException(inner) => inner.source(),
1179            Error::ExceedsLimitException(inner) => inner.source(),
1180            Error::InternalServerException(inner) => inner.source(),
1181            Error::ResourceNotFoundException(inner) => inner.source(),
1182            Error::ThrottlingException(inner) => inner.source(),
1183            Error::ValidationException(inner) => inner.source(),
1184            Error::Unhandled(inner) => ::std::option::Option::Some(&*inner.source),
1185        }
1186    }
1187}
1188impl ::aws_types::request_id::RequestId for Error {
1189    fn request_id(&self) -> Option<&str> {
1190        match self {
1191            Self::AccessDeniedException(e) => e.request_id(),
1192            Self::ConflictException(e) => e.request_id(),
1193            Self::ExceedsLimitException(e) => e.request_id(),
1194            Self::InternalServerException(e) => e.request_id(),
1195            Self::ResourceNotFoundException(e) => e.request_id(),
1196            Self::ThrottlingException(e) => e.request_id(),
1197            Self::ValidationException(e) => e.request_id(),
1198            Self::Unhandled(e) => e.meta.request_id(),
1199        }
1200    }
1201}