Skip to main content

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