aws_sdk_sagemaker/
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>There was a conflict when you attempted to modify a SageMaker entity such as an <code>Experiment</code> or <code>Artifact</code>.</p>
7    ConflictException(crate::types::error::ConflictException),
8    /// <p>Resource being accessed is in use.</p>
9    ResourceInUse(crate::types::error::ResourceInUse),
10    /// <p>You have exceeded an SageMaker resource limit. For example, you might have too many training jobs created.</p>
11    ResourceLimitExceeded(crate::types::error::ResourceLimitExceeded),
12    /// <p>Resource being access is not found.</p>
13    ResourceNotFound(crate::types::error::ResourceNotFound),
14    /// An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
15    #[deprecated(note = "Matching `Unhandled` directly is not forwards compatible. Instead, match using a \
16    variable wildcard pattern and check `.code()`:
17     \
18    &nbsp;&nbsp;&nbsp;`err if err.code() == Some(\"SpecificExceptionCode\") => { /* handle the error */ }`
19     \
20    See [`ProvideErrorMetadata`](#impl-ProvideErrorMetadata-for-Error) for what information is available for the error.")]
21    Unhandled(crate::error::sealed_unhandled::Unhandled),
22}
23impl ::std::fmt::Display for Error {
24    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
25        match self {
26            Error::ConflictException(inner) => inner.fmt(f),
27            Error::ResourceInUse(inner) => inner.fmt(f),
28            Error::ResourceLimitExceeded(inner) => inner.fmt(f),
29            Error::ResourceNotFound(inner) => inner.fmt(f),
30            Error::Unhandled(_) => {
31                if let ::std::option::Option::Some(code) = ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self) {
32                    write!(f, "unhandled error ({code})")
33                } else {
34                    f.write_str("unhandled error")
35                }
36            }
37        }
38    }
39}
40impl From<::aws_smithy_types::error::operation::BuildError> for Error {
41    fn from(value: ::aws_smithy_types::error::operation::BuildError) -> Self {
42        Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
43            source: value.into(),
44            meta: ::std::default::Default::default(),
45        })
46    }
47}
48impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for Error {
49    fn meta(&self) -> &::aws_smithy_types::error::metadata::ErrorMetadata {
50        match self {
51            Self::ConflictException(inner) => inner.meta(),
52            Self::ResourceInUse(inner) => inner.meta(),
53            Self::ResourceLimitExceeded(inner) => inner.meta(),
54            Self::ResourceNotFound(inner) => inner.meta(),
55            Self::Unhandled(inner) => &inner.meta,
56        }
57    }
58}
59impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::add_association::AddAssociationError, R>> for Error
60where
61    R: Send + Sync + std::fmt::Debug + 'static,
62{
63    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::add_association::AddAssociationError, R>) -> Self {
64        match err {
65            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
66            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
67                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
68                source: err.into(),
69            }),
70        }
71    }
72}
73impl From<crate::operation::add_association::AddAssociationError> for Error {
74    fn from(err: crate::operation::add_association::AddAssociationError) -> Self {
75        match err {
76            crate::operation::add_association::AddAssociationError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
77            crate::operation::add_association::AddAssociationError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
78            crate::operation::add_association::AddAssociationError::Unhandled(inner) => Error::Unhandled(inner),
79        }
80    }
81}
82impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::add_tags::AddTagsError, R>> for Error
83where
84    R: Send + Sync + std::fmt::Debug + 'static,
85{
86    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::add_tags::AddTagsError, R>) -> Self {
87        match err {
88            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
89            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
90                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
91                source: err.into(),
92            }),
93        }
94    }
95}
96impl From<crate::operation::add_tags::AddTagsError> for Error {
97    fn from(err: crate::operation::add_tags::AddTagsError) -> Self {
98        match err {
99            crate::operation::add_tags::AddTagsError::Unhandled(inner) => Error::Unhandled(inner),
100        }
101    }
102}
103impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_trial_component::AssociateTrialComponentError, R>>
104    for Error
105where
106    R: Send + Sync + std::fmt::Debug + 'static,
107{
108    fn from(
109        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_trial_component::AssociateTrialComponentError, R>,
110    ) -> Self {
111        match err {
112            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
113            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
114                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
115                source: err.into(),
116            }),
117        }
118    }
119}
120impl From<crate::operation::associate_trial_component::AssociateTrialComponentError> for Error {
121    fn from(err: crate::operation::associate_trial_component::AssociateTrialComponentError) -> Self {
122        match err {
123            crate::operation::associate_trial_component::AssociateTrialComponentError::ResourceLimitExceeded(inner) => {
124                Error::ResourceLimitExceeded(inner)
125            }
126            crate::operation::associate_trial_component::AssociateTrialComponentError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
127            crate::operation::associate_trial_component::AssociateTrialComponentError::Unhandled(inner) => Error::Unhandled(inner),
128        }
129    }
130}
131impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::attach_cluster_node_volume::AttachClusterNodeVolumeError, R>>
132    for Error
133where
134    R: Send + Sync + std::fmt::Debug + 'static,
135{
136    fn from(
137        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::attach_cluster_node_volume::AttachClusterNodeVolumeError, R>,
138    ) -> Self {
139        match err {
140            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
141            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
142                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
143                source: err.into(),
144            }),
145        }
146    }
147}
148impl From<crate::operation::attach_cluster_node_volume::AttachClusterNodeVolumeError> for Error {
149    fn from(err: crate::operation::attach_cluster_node_volume::AttachClusterNodeVolumeError) -> Self {
150        match err {
151            crate::operation::attach_cluster_node_volume::AttachClusterNodeVolumeError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
152            crate::operation::attach_cluster_node_volume::AttachClusterNodeVolumeError::Unhandled(inner) => Error::Unhandled(inner),
153        }
154    }
155}
156impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_add_cluster_nodes::BatchAddClusterNodesError, R>> for Error
157where
158    R: Send + Sync + std::fmt::Debug + 'static,
159{
160    fn from(
161        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_add_cluster_nodes::BatchAddClusterNodesError, R>,
162    ) -> Self {
163        match err {
164            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
165            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
166                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
167                source: err.into(),
168            }),
169        }
170    }
171}
172impl From<crate::operation::batch_add_cluster_nodes::BatchAddClusterNodesError> for Error {
173    fn from(err: crate::operation::batch_add_cluster_nodes::BatchAddClusterNodesError) -> Self {
174        match err {
175            crate::operation::batch_add_cluster_nodes::BatchAddClusterNodesError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
176            crate::operation::batch_add_cluster_nodes::BatchAddClusterNodesError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
177            crate::operation::batch_add_cluster_nodes::BatchAddClusterNodesError::Unhandled(inner) => Error::Unhandled(inner),
178        }
179    }
180}
181impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_delete_cluster_nodes::BatchDeleteClusterNodesError, R>>
182    for Error
183where
184    R: Send + Sync + std::fmt::Debug + 'static,
185{
186    fn from(
187        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_delete_cluster_nodes::BatchDeleteClusterNodesError, R>,
188    ) -> Self {
189        match err {
190            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
191            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
192                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
193                source: err.into(),
194            }),
195        }
196    }
197}
198impl From<crate::operation::batch_delete_cluster_nodes::BatchDeleteClusterNodesError> for Error {
199    fn from(err: crate::operation::batch_delete_cluster_nodes::BatchDeleteClusterNodesError) -> Self {
200        match err {
201            crate::operation::batch_delete_cluster_nodes::BatchDeleteClusterNodesError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
202            crate::operation::batch_delete_cluster_nodes::BatchDeleteClusterNodesError::Unhandled(inner) => Error::Unhandled(inner),
203        }
204    }
205}
206impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_describe_model_package::BatchDescribeModelPackageError, R>>
207    for Error
208where
209    R: Send + Sync + std::fmt::Debug + 'static,
210{
211    fn from(
212        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_describe_model_package::BatchDescribeModelPackageError, R>,
213    ) -> Self {
214        match err {
215            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
216            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
217                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
218                source: err.into(),
219            }),
220        }
221    }
222}
223impl From<crate::operation::batch_describe_model_package::BatchDescribeModelPackageError> for Error {
224    fn from(err: crate::operation::batch_describe_model_package::BatchDescribeModelPackageError) -> Self {
225        match err {
226            crate::operation::batch_describe_model_package::BatchDescribeModelPackageError::Unhandled(inner) => Error::Unhandled(inner),
227        }
228    }
229}
230impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_action::CreateActionError, R>> for Error
231where
232    R: Send + Sync + std::fmt::Debug + 'static,
233{
234    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_action::CreateActionError, R>) -> Self {
235        match err {
236            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
237            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
238                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
239                source: err.into(),
240            }),
241        }
242    }
243}
244impl From<crate::operation::create_action::CreateActionError> for Error {
245    fn from(err: crate::operation::create_action::CreateActionError) -> Self {
246        match err {
247            crate::operation::create_action::CreateActionError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
248            crate::operation::create_action::CreateActionError::Unhandled(inner) => Error::Unhandled(inner),
249        }
250    }
251}
252impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_algorithm::CreateAlgorithmError, R>> for Error
253where
254    R: Send + Sync + std::fmt::Debug + 'static,
255{
256    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_algorithm::CreateAlgorithmError, R>) -> Self {
257        match err {
258            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
259            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
260                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
261                source: err.into(),
262            }),
263        }
264    }
265}
266impl From<crate::operation::create_algorithm::CreateAlgorithmError> for Error {
267    fn from(err: crate::operation::create_algorithm::CreateAlgorithmError) -> Self {
268        match err {
269            crate::operation::create_algorithm::CreateAlgorithmError::Unhandled(inner) => Error::Unhandled(inner),
270        }
271    }
272}
273impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_app::CreateAppError, R>> for Error
274where
275    R: Send + Sync + std::fmt::Debug + 'static,
276{
277    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_app::CreateAppError, R>) -> Self {
278        match err {
279            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
280            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
281                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
282                source: err.into(),
283            }),
284        }
285    }
286}
287impl From<crate::operation::create_app::CreateAppError> for Error {
288    fn from(err: crate::operation::create_app::CreateAppError) -> Self {
289        match err {
290            crate::operation::create_app::CreateAppError::ResourceInUse(inner) => Error::ResourceInUse(inner),
291            crate::operation::create_app::CreateAppError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
292            crate::operation::create_app::CreateAppError::Unhandled(inner) => Error::Unhandled(inner),
293        }
294    }
295}
296impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_app_image_config::CreateAppImageConfigError, R>> for Error
297where
298    R: Send + Sync + std::fmt::Debug + 'static,
299{
300    fn from(
301        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_app_image_config::CreateAppImageConfigError, R>,
302    ) -> Self {
303        match err {
304            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
305            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
306                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
307                source: err.into(),
308            }),
309        }
310    }
311}
312impl From<crate::operation::create_app_image_config::CreateAppImageConfigError> for Error {
313    fn from(err: crate::operation::create_app_image_config::CreateAppImageConfigError) -> Self {
314        match err {
315            crate::operation::create_app_image_config::CreateAppImageConfigError::ResourceInUse(inner) => Error::ResourceInUse(inner),
316            crate::operation::create_app_image_config::CreateAppImageConfigError::Unhandled(inner) => Error::Unhandled(inner),
317        }
318    }
319}
320impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_artifact::CreateArtifactError, R>> for Error
321where
322    R: Send + Sync + std::fmt::Debug + 'static,
323{
324    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_artifact::CreateArtifactError, R>) -> Self {
325        match err {
326            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
327            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
328                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
329                source: err.into(),
330            }),
331        }
332    }
333}
334impl From<crate::operation::create_artifact::CreateArtifactError> for Error {
335    fn from(err: crate::operation::create_artifact::CreateArtifactError) -> Self {
336        match err {
337            crate::operation::create_artifact::CreateArtifactError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
338            crate::operation::create_artifact::CreateArtifactError::Unhandled(inner) => Error::Unhandled(inner),
339        }
340    }
341}
342impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_auto_ml_job::CreateAutoMLJobError, R>> for Error
343where
344    R: Send + Sync + std::fmt::Debug + 'static,
345{
346    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_auto_ml_job::CreateAutoMLJobError, R>) -> Self {
347        match err {
348            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
349            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
350                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
351                source: err.into(),
352            }),
353        }
354    }
355}
356impl From<crate::operation::create_auto_ml_job::CreateAutoMLJobError> for Error {
357    fn from(err: crate::operation::create_auto_ml_job::CreateAutoMLJobError) -> Self {
358        match err {
359            crate::operation::create_auto_ml_job::CreateAutoMLJobError::ResourceInUse(inner) => Error::ResourceInUse(inner),
360            crate::operation::create_auto_ml_job::CreateAutoMLJobError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
361            crate::operation::create_auto_ml_job::CreateAutoMLJobError::Unhandled(inner) => Error::Unhandled(inner),
362        }
363    }
364}
365impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_auto_ml_job_v2::CreateAutoMLJobV2Error, R>> for Error
366where
367    R: Send + Sync + std::fmt::Debug + 'static,
368{
369    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_auto_ml_job_v2::CreateAutoMLJobV2Error, R>) -> Self {
370        match err {
371            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
372            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
373                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
374                source: err.into(),
375            }),
376        }
377    }
378}
379impl From<crate::operation::create_auto_ml_job_v2::CreateAutoMLJobV2Error> for Error {
380    fn from(err: crate::operation::create_auto_ml_job_v2::CreateAutoMLJobV2Error) -> Self {
381        match err {
382            crate::operation::create_auto_ml_job_v2::CreateAutoMLJobV2Error::ResourceInUse(inner) => Error::ResourceInUse(inner),
383            crate::operation::create_auto_ml_job_v2::CreateAutoMLJobV2Error::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
384            crate::operation::create_auto_ml_job_v2::CreateAutoMLJobV2Error::Unhandled(inner) => Error::Unhandled(inner),
385        }
386    }
387}
388impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_cluster::CreateClusterError, 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_cluster::CreateClusterError, 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_cluster::CreateClusterError> for Error {
403    fn from(err: crate::operation::create_cluster::CreateClusterError) -> Self {
404        match err {
405            crate::operation::create_cluster::CreateClusterError::ResourceInUse(inner) => Error::ResourceInUse(inner),
406            crate::operation::create_cluster::CreateClusterError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
407            crate::operation::create_cluster::CreateClusterError::Unhandled(inner) => Error::Unhandled(inner),
408        }
409    }
410}
411impl<R>
412    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_cluster_scheduler_config::CreateClusterSchedulerConfigError, R>>
413    for Error
414where
415    R: Send + Sync + std::fmt::Debug + 'static,
416{
417    fn from(
418        err: ::aws_smithy_runtime_api::client::result::SdkError<
419            crate::operation::create_cluster_scheduler_config::CreateClusterSchedulerConfigError,
420            R,
421        >,
422    ) -> Self {
423        match err {
424            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
425            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
426                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
427                source: err.into(),
428            }),
429        }
430    }
431}
432impl From<crate::operation::create_cluster_scheduler_config::CreateClusterSchedulerConfigError> for Error {
433    fn from(err: crate::operation::create_cluster_scheduler_config::CreateClusterSchedulerConfigError) -> Self {
434        match err {
435            crate::operation::create_cluster_scheduler_config::CreateClusterSchedulerConfigError::ConflictException(inner) => {
436                Error::ConflictException(inner)
437            }
438            crate::operation::create_cluster_scheduler_config::CreateClusterSchedulerConfigError::ResourceLimitExceeded(inner) => {
439                Error::ResourceLimitExceeded(inner)
440            }
441            crate::operation::create_cluster_scheduler_config::CreateClusterSchedulerConfigError::Unhandled(inner) => Error::Unhandled(inner),
442        }
443    }
444}
445impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_code_repository::CreateCodeRepositoryError, R>> for Error
446where
447    R: Send + Sync + std::fmt::Debug + 'static,
448{
449    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_code_repository::CreateCodeRepositoryError, R>) -> Self {
450        match err {
451            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
452            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
453                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
454                source: err.into(),
455            }),
456        }
457    }
458}
459impl From<crate::operation::create_code_repository::CreateCodeRepositoryError> for Error {
460    fn from(err: crate::operation::create_code_repository::CreateCodeRepositoryError) -> Self {
461        match err {
462            crate::operation::create_code_repository::CreateCodeRepositoryError::Unhandled(inner) => Error::Unhandled(inner),
463        }
464    }
465}
466impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_compilation_job::CreateCompilationJobError, R>> for Error
467where
468    R: Send + Sync + std::fmt::Debug + 'static,
469{
470    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_compilation_job::CreateCompilationJobError, R>) -> Self {
471        match err {
472            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
473            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
474                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
475                source: err.into(),
476            }),
477        }
478    }
479}
480impl From<crate::operation::create_compilation_job::CreateCompilationJobError> for Error {
481    fn from(err: crate::operation::create_compilation_job::CreateCompilationJobError) -> Self {
482        match err {
483            crate::operation::create_compilation_job::CreateCompilationJobError::ResourceInUse(inner) => Error::ResourceInUse(inner),
484            crate::operation::create_compilation_job::CreateCompilationJobError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
485            crate::operation::create_compilation_job::CreateCompilationJobError::Unhandled(inner) => Error::Unhandled(inner),
486        }
487    }
488}
489impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_compute_quota::CreateComputeQuotaError, R>> for Error
490where
491    R: Send + Sync + std::fmt::Debug + 'static,
492{
493    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_compute_quota::CreateComputeQuotaError, R>) -> Self {
494        match err {
495            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
496            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
497                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
498                source: err.into(),
499            }),
500        }
501    }
502}
503impl From<crate::operation::create_compute_quota::CreateComputeQuotaError> for Error {
504    fn from(err: crate::operation::create_compute_quota::CreateComputeQuotaError) -> Self {
505        match err {
506            crate::operation::create_compute_quota::CreateComputeQuotaError::ConflictException(inner) => Error::ConflictException(inner),
507            crate::operation::create_compute_quota::CreateComputeQuotaError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
508            crate::operation::create_compute_quota::CreateComputeQuotaError::Unhandled(inner) => Error::Unhandled(inner),
509        }
510    }
511}
512impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_context::CreateContextError, R>> for Error
513where
514    R: Send + Sync + std::fmt::Debug + 'static,
515{
516    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_context::CreateContextError, R>) -> Self {
517        match err {
518            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
519            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
520                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
521                source: err.into(),
522            }),
523        }
524    }
525}
526impl From<crate::operation::create_context::CreateContextError> for Error {
527    fn from(err: crate::operation::create_context::CreateContextError) -> Self {
528        match err {
529            crate::operation::create_context::CreateContextError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
530            crate::operation::create_context::CreateContextError::Unhandled(inner) => Error::Unhandled(inner),
531        }
532    }
533}
534impl<R>
535    From<
536        ::aws_smithy_runtime_api::client::result::SdkError<
537            crate::operation::create_data_quality_job_definition::CreateDataQualityJobDefinitionError,
538            R,
539        >,
540    > for Error
541where
542    R: Send + Sync + std::fmt::Debug + 'static,
543{
544    fn from(
545        err: ::aws_smithy_runtime_api::client::result::SdkError<
546            crate::operation::create_data_quality_job_definition::CreateDataQualityJobDefinitionError,
547            R,
548        >,
549    ) -> Self {
550        match err {
551            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
552            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
553                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
554                source: err.into(),
555            }),
556        }
557    }
558}
559impl From<crate::operation::create_data_quality_job_definition::CreateDataQualityJobDefinitionError> for Error {
560    fn from(err: crate::operation::create_data_quality_job_definition::CreateDataQualityJobDefinitionError) -> Self {
561        match err {
562            crate::operation::create_data_quality_job_definition::CreateDataQualityJobDefinitionError::ResourceInUse(inner) => {
563                Error::ResourceInUse(inner)
564            }
565            crate::operation::create_data_quality_job_definition::CreateDataQualityJobDefinitionError::ResourceLimitExceeded(inner) => {
566                Error::ResourceLimitExceeded(inner)
567            }
568            crate::operation::create_data_quality_job_definition::CreateDataQualityJobDefinitionError::Unhandled(inner) => Error::Unhandled(inner),
569        }
570    }
571}
572impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_device_fleet::CreateDeviceFleetError, R>> for Error
573where
574    R: Send + Sync + std::fmt::Debug + 'static,
575{
576    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_device_fleet::CreateDeviceFleetError, R>) -> Self {
577        match err {
578            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
579            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
580                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
581                source: err.into(),
582            }),
583        }
584    }
585}
586impl From<crate::operation::create_device_fleet::CreateDeviceFleetError> for Error {
587    fn from(err: crate::operation::create_device_fleet::CreateDeviceFleetError) -> Self {
588        match err {
589            crate::operation::create_device_fleet::CreateDeviceFleetError::ResourceInUse(inner) => Error::ResourceInUse(inner),
590            crate::operation::create_device_fleet::CreateDeviceFleetError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
591            crate::operation::create_device_fleet::CreateDeviceFleetError::Unhandled(inner) => Error::Unhandled(inner),
592        }
593    }
594}
595impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_domain::CreateDomainError, R>> for Error
596where
597    R: Send + Sync + std::fmt::Debug + 'static,
598{
599    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_domain::CreateDomainError, R>) -> Self {
600        match err {
601            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
602            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
603                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
604                source: err.into(),
605            }),
606        }
607    }
608}
609impl From<crate::operation::create_domain::CreateDomainError> for Error {
610    fn from(err: crate::operation::create_domain::CreateDomainError) -> Self {
611        match err {
612            crate::operation::create_domain::CreateDomainError::ResourceInUse(inner) => Error::ResourceInUse(inner),
613            crate::operation::create_domain::CreateDomainError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
614            crate::operation::create_domain::CreateDomainError::Unhandled(inner) => Error::Unhandled(inner),
615        }
616    }
617}
618impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_edge_deployment_plan::CreateEdgeDeploymentPlanError, R>>
619    for Error
620where
621    R: Send + Sync + std::fmt::Debug + 'static,
622{
623    fn from(
624        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_edge_deployment_plan::CreateEdgeDeploymentPlanError, R>,
625    ) -> Self {
626        match err {
627            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
628            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
629                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
630                source: err.into(),
631            }),
632        }
633    }
634}
635impl From<crate::operation::create_edge_deployment_plan::CreateEdgeDeploymentPlanError> for Error {
636    fn from(err: crate::operation::create_edge_deployment_plan::CreateEdgeDeploymentPlanError) -> Self {
637        match err {
638            crate::operation::create_edge_deployment_plan::CreateEdgeDeploymentPlanError::ResourceLimitExceeded(inner) => {
639                Error::ResourceLimitExceeded(inner)
640            }
641            crate::operation::create_edge_deployment_plan::CreateEdgeDeploymentPlanError::Unhandled(inner) => Error::Unhandled(inner),
642        }
643    }
644}
645impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_edge_deployment_stage::CreateEdgeDeploymentStageError, R>>
646    for Error
647where
648    R: Send + Sync + std::fmt::Debug + 'static,
649{
650    fn from(
651        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_edge_deployment_stage::CreateEdgeDeploymentStageError, R>,
652    ) -> Self {
653        match err {
654            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
655            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
656                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
657                source: err.into(),
658            }),
659        }
660    }
661}
662impl From<crate::operation::create_edge_deployment_stage::CreateEdgeDeploymentStageError> for Error {
663    fn from(err: crate::operation::create_edge_deployment_stage::CreateEdgeDeploymentStageError) -> Self {
664        match err {
665            crate::operation::create_edge_deployment_stage::CreateEdgeDeploymentStageError::ResourceLimitExceeded(inner) => {
666                Error::ResourceLimitExceeded(inner)
667            }
668            crate::operation::create_edge_deployment_stage::CreateEdgeDeploymentStageError::Unhandled(inner) => Error::Unhandled(inner),
669        }
670    }
671}
672impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_edge_packaging_job::CreateEdgePackagingJobError, R>>
673    for Error
674where
675    R: Send + Sync + std::fmt::Debug + 'static,
676{
677    fn from(
678        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_edge_packaging_job::CreateEdgePackagingJobError, R>,
679    ) -> Self {
680        match err {
681            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
682            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
683                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
684                source: err.into(),
685            }),
686        }
687    }
688}
689impl From<crate::operation::create_edge_packaging_job::CreateEdgePackagingJobError> for Error {
690    fn from(err: crate::operation::create_edge_packaging_job::CreateEdgePackagingJobError) -> Self {
691        match err {
692            crate::operation::create_edge_packaging_job::CreateEdgePackagingJobError::ResourceLimitExceeded(inner) => {
693                Error::ResourceLimitExceeded(inner)
694            }
695            crate::operation::create_edge_packaging_job::CreateEdgePackagingJobError::Unhandled(inner) => Error::Unhandled(inner),
696        }
697    }
698}
699impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_endpoint::CreateEndpointError, R>> for Error
700where
701    R: Send + Sync + std::fmt::Debug + 'static,
702{
703    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_endpoint::CreateEndpointError, R>) -> Self {
704        match err {
705            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
706            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
707                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
708                source: err.into(),
709            }),
710        }
711    }
712}
713impl From<crate::operation::create_endpoint::CreateEndpointError> for Error {
714    fn from(err: crate::operation::create_endpoint::CreateEndpointError) -> Self {
715        match err {
716            crate::operation::create_endpoint::CreateEndpointError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
717            crate::operation::create_endpoint::CreateEndpointError::Unhandled(inner) => Error::Unhandled(inner),
718        }
719    }
720}
721impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_endpoint_config::CreateEndpointConfigError, R>> for Error
722where
723    R: Send + Sync + std::fmt::Debug + 'static,
724{
725    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_endpoint_config::CreateEndpointConfigError, R>) -> Self {
726        match err {
727            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
728            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
729                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
730                source: err.into(),
731            }),
732        }
733    }
734}
735impl From<crate::operation::create_endpoint_config::CreateEndpointConfigError> for Error {
736    fn from(err: crate::operation::create_endpoint_config::CreateEndpointConfigError) -> Self {
737        match err {
738            crate::operation::create_endpoint_config::CreateEndpointConfigError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
739            crate::operation::create_endpoint_config::CreateEndpointConfigError::Unhandled(inner) => Error::Unhandled(inner),
740        }
741    }
742}
743impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_experiment::CreateExperimentError, R>> for Error
744where
745    R: Send + Sync + std::fmt::Debug + 'static,
746{
747    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_experiment::CreateExperimentError, R>) -> Self {
748        match err {
749            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
750            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
751                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
752                source: err.into(),
753            }),
754        }
755    }
756}
757impl From<crate::operation::create_experiment::CreateExperimentError> for Error {
758    fn from(err: crate::operation::create_experiment::CreateExperimentError) -> Self {
759        match err {
760            crate::operation::create_experiment::CreateExperimentError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
761            crate::operation::create_experiment::CreateExperimentError::Unhandled(inner) => Error::Unhandled(inner),
762        }
763    }
764}
765impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_feature_group::CreateFeatureGroupError, R>> for Error
766where
767    R: Send + Sync + std::fmt::Debug + 'static,
768{
769    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_feature_group::CreateFeatureGroupError, R>) -> Self {
770        match err {
771            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
772            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
773                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
774                source: err.into(),
775            }),
776        }
777    }
778}
779impl From<crate::operation::create_feature_group::CreateFeatureGroupError> for Error {
780    fn from(err: crate::operation::create_feature_group::CreateFeatureGroupError) -> Self {
781        match err {
782            crate::operation::create_feature_group::CreateFeatureGroupError::ResourceInUse(inner) => Error::ResourceInUse(inner),
783            crate::operation::create_feature_group::CreateFeatureGroupError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
784            crate::operation::create_feature_group::CreateFeatureGroupError::Unhandled(inner) => Error::Unhandled(inner),
785        }
786    }
787}
788impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_flow_definition::CreateFlowDefinitionError, R>> for Error
789where
790    R: Send + Sync + std::fmt::Debug + 'static,
791{
792    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_flow_definition::CreateFlowDefinitionError, R>) -> Self {
793        match err {
794            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
795            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
796                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
797                source: err.into(),
798            }),
799        }
800    }
801}
802impl From<crate::operation::create_flow_definition::CreateFlowDefinitionError> for Error {
803    fn from(err: crate::operation::create_flow_definition::CreateFlowDefinitionError) -> Self {
804        match err {
805            crate::operation::create_flow_definition::CreateFlowDefinitionError::ResourceInUse(inner) => Error::ResourceInUse(inner),
806            crate::operation::create_flow_definition::CreateFlowDefinitionError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
807            crate::operation::create_flow_definition::CreateFlowDefinitionError::Unhandled(inner) => Error::Unhandled(inner),
808        }
809    }
810}
811impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_hub::CreateHubError, R>> for Error
812where
813    R: Send + Sync + std::fmt::Debug + 'static,
814{
815    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_hub::CreateHubError, R>) -> Self {
816        match err {
817            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
818            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
819                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
820                source: err.into(),
821            }),
822        }
823    }
824}
825impl From<crate::operation::create_hub::CreateHubError> for Error {
826    fn from(err: crate::operation::create_hub::CreateHubError) -> Self {
827        match err {
828            crate::operation::create_hub::CreateHubError::ResourceInUse(inner) => Error::ResourceInUse(inner),
829            crate::operation::create_hub::CreateHubError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
830            crate::operation::create_hub::CreateHubError::Unhandled(inner) => Error::Unhandled(inner),
831        }
832    }
833}
834impl<R>
835    From<
836        ::aws_smithy_runtime_api::client::result::SdkError<
837            crate::operation::create_hub_content_presigned_urls::CreateHubContentPresignedUrlsError,
838            R,
839        >,
840    > for Error
841where
842    R: Send + Sync + std::fmt::Debug + 'static,
843{
844    fn from(
845        err: ::aws_smithy_runtime_api::client::result::SdkError<
846            crate::operation::create_hub_content_presigned_urls::CreateHubContentPresignedUrlsError,
847            R,
848        >,
849    ) -> Self {
850        match err {
851            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
852            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
853                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
854                source: err.into(),
855            }),
856        }
857    }
858}
859impl From<crate::operation::create_hub_content_presigned_urls::CreateHubContentPresignedUrlsError> for Error {
860    fn from(err: crate::operation::create_hub_content_presigned_urls::CreateHubContentPresignedUrlsError) -> Self {
861        match err {
862            crate::operation::create_hub_content_presigned_urls::CreateHubContentPresignedUrlsError::Unhandled(inner) => Error::Unhandled(inner),
863        }
864    }
865}
866impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_hub_content_reference::CreateHubContentReferenceError, R>>
867    for Error
868where
869    R: Send + Sync + std::fmt::Debug + 'static,
870{
871    fn from(
872        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_hub_content_reference::CreateHubContentReferenceError, R>,
873    ) -> Self {
874        match err {
875            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
876            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
877                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
878                source: err.into(),
879            }),
880        }
881    }
882}
883impl From<crate::operation::create_hub_content_reference::CreateHubContentReferenceError> for Error {
884    fn from(err: crate::operation::create_hub_content_reference::CreateHubContentReferenceError) -> Self {
885        match err {
886            crate::operation::create_hub_content_reference::CreateHubContentReferenceError::ResourceInUse(inner) => Error::ResourceInUse(inner),
887            crate::operation::create_hub_content_reference::CreateHubContentReferenceError::ResourceLimitExceeded(inner) => {
888                Error::ResourceLimitExceeded(inner)
889            }
890            crate::operation::create_hub_content_reference::CreateHubContentReferenceError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
891            crate::operation::create_hub_content_reference::CreateHubContentReferenceError::Unhandled(inner) => Error::Unhandled(inner),
892        }
893    }
894}
895impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_human_task_ui::CreateHumanTaskUiError, R>> for Error
896where
897    R: Send + Sync + std::fmt::Debug + 'static,
898{
899    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_human_task_ui::CreateHumanTaskUiError, R>) -> Self {
900        match err {
901            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
902            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
903                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
904                source: err.into(),
905            }),
906        }
907    }
908}
909impl From<crate::operation::create_human_task_ui::CreateHumanTaskUiError> for Error {
910    fn from(err: crate::operation::create_human_task_ui::CreateHumanTaskUiError) -> Self {
911        match err {
912            crate::operation::create_human_task_ui::CreateHumanTaskUiError::ResourceInUse(inner) => Error::ResourceInUse(inner),
913            crate::operation::create_human_task_ui::CreateHumanTaskUiError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
914            crate::operation::create_human_task_ui::CreateHumanTaskUiError::Unhandled(inner) => Error::Unhandled(inner),
915        }
916    }
917}
918impl<R>
919    From<
920        ::aws_smithy_runtime_api::client::result::SdkError<
921            crate::operation::create_hyper_parameter_tuning_job::CreateHyperParameterTuningJobError,
922            R,
923        >,
924    > for Error
925where
926    R: Send + Sync + std::fmt::Debug + 'static,
927{
928    fn from(
929        err: ::aws_smithy_runtime_api::client::result::SdkError<
930            crate::operation::create_hyper_parameter_tuning_job::CreateHyperParameterTuningJobError,
931            R,
932        >,
933    ) -> Self {
934        match err {
935            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
936            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
937                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
938                source: err.into(),
939            }),
940        }
941    }
942}
943impl From<crate::operation::create_hyper_parameter_tuning_job::CreateHyperParameterTuningJobError> for Error {
944    fn from(err: crate::operation::create_hyper_parameter_tuning_job::CreateHyperParameterTuningJobError) -> Self {
945        match err {
946            crate::operation::create_hyper_parameter_tuning_job::CreateHyperParameterTuningJobError::ResourceInUse(inner) => {
947                Error::ResourceInUse(inner)
948            }
949            crate::operation::create_hyper_parameter_tuning_job::CreateHyperParameterTuningJobError::ResourceLimitExceeded(inner) => {
950                Error::ResourceLimitExceeded(inner)
951            }
952            crate::operation::create_hyper_parameter_tuning_job::CreateHyperParameterTuningJobError::Unhandled(inner) => Error::Unhandled(inner),
953        }
954    }
955}
956impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_image::CreateImageError, R>> for Error
957where
958    R: Send + Sync + std::fmt::Debug + 'static,
959{
960    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_image::CreateImageError, R>) -> 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::create_image::CreateImageError> for Error {
971    fn from(err: crate::operation::create_image::CreateImageError) -> Self {
972        match err {
973            crate::operation::create_image::CreateImageError::ResourceInUse(inner) => Error::ResourceInUse(inner),
974            crate::operation::create_image::CreateImageError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
975            crate::operation::create_image::CreateImageError::Unhandled(inner) => Error::Unhandled(inner),
976        }
977    }
978}
979impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_image_version::CreateImageVersionError, R>> for Error
980where
981    R: Send + Sync + std::fmt::Debug + 'static,
982{
983    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_image_version::CreateImageVersionError, R>) -> Self {
984        match err {
985            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
986            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
987                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
988                source: err.into(),
989            }),
990        }
991    }
992}
993impl From<crate::operation::create_image_version::CreateImageVersionError> for Error {
994    fn from(err: crate::operation::create_image_version::CreateImageVersionError) -> Self {
995        match err {
996            crate::operation::create_image_version::CreateImageVersionError::ResourceInUse(inner) => Error::ResourceInUse(inner),
997            crate::operation::create_image_version::CreateImageVersionError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
998            crate::operation::create_image_version::CreateImageVersionError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
999            crate::operation::create_image_version::CreateImageVersionError::Unhandled(inner) => Error::Unhandled(inner),
1000        }
1001    }
1002}
1003impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_inference_component::CreateInferenceComponentError, R>>
1004    for Error
1005where
1006    R: Send + Sync + std::fmt::Debug + 'static,
1007{
1008    fn from(
1009        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_inference_component::CreateInferenceComponentError, R>,
1010    ) -> Self {
1011        match err {
1012            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1013            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1014                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1015                source: err.into(),
1016            }),
1017        }
1018    }
1019}
1020impl From<crate::operation::create_inference_component::CreateInferenceComponentError> for Error {
1021    fn from(err: crate::operation::create_inference_component::CreateInferenceComponentError) -> Self {
1022        match err {
1023            crate::operation::create_inference_component::CreateInferenceComponentError::ResourceLimitExceeded(inner) => {
1024                Error::ResourceLimitExceeded(inner)
1025            }
1026            crate::operation::create_inference_component::CreateInferenceComponentError::Unhandled(inner) => Error::Unhandled(inner),
1027        }
1028    }
1029}
1030impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_inference_experiment::CreateInferenceExperimentError, R>>
1031    for Error
1032where
1033    R: Send + Sync + std::fmt::Debug + 'static,
1034{
1035    fn from(
1036        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_inference_experiment::CreateInferenceExperimentError, R>,
1037    ) -> Self {
1038        match err {
1039            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1040            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1041                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1042                source: err.into(),
1043            }),
1044        }
1045    }
1046}
1047impl From<crate::operation::create_inference_experiment::CreateInferenceExperimentError> for Error {
1048    fn from(err: crate::operation::create_inference_experiment::CreateInferenceExperimentError) -> Self {
1049        match err {
1050            crate::operation::create_inference_experiment::CreateInferenceExperimentError::ResourceInUse(inner) => Error::ResourceInUse(inner),
1051            crate::operation::create_inference_experiment::CreateInferenceExperimentError::ResourceLimitExceeded(inner) => {
1052                Error::ResourceLimitExceeded(inner)
1053            }
1054            crate::operation::create_inference_experiment::CreateInferenceExperimentError::Unhandled(inner) => Error::Unhandled(inner),
1055        }
1056    }
1057}
1058impl<R>
1059    From<
1060        ::aws_smithy_runtime_api::client::result::SdkError<
1061            crate::operation::create_inference_recommendations_job::CreateInferenceRecommendationsJobError,
1062            R,
1063        >,
1064    > for Error
1065where
1066    R: Send + Sync + std::fmt::Debug + 'static,
1067{
1068    fn from(
1069        err: ::aws_smithy_runtime_api::client::result::SdkError<
1070            crate::operation::create_inference_recommendations_job::CreateInferenceRecommendationsJobError,
1071            R,
1072        >,
1073    ) -> Self {
1074        match err {
1075            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1076            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1077                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1078                source: err.into(),
1079            }),
1080        }
1081    }
1082}
1083impl From<crate::operation::create_inference_recommendations_job::CreateInferenceRecommendationsJobError> for Error {
1084    fn from(err: crate::operation::create_inference_recommendations_job::CreateInferenceRecommendationsJobError) -> Self {
1085        match err {
1086            crate::operation::create_inference_recommendations_job::CreateInferenceRecommendationsJobError::ResourceInUse(inner) => {
1087                Error::ResourceInUse(inner)
1088            }
1089            crate::operation::create_inference_recommendations_job::CreateInferenceRecommendationsJobError::ResourceLimitExceeded(inner) => {
1090                Error::ResourceLimitExceeded(inner)
1091            }
1092            crate::operation::create_inference_recommendations_job::CreateInferenceRecommendationsJobError::Unhandled(inner) => {
1093                Error::Unhandled(inner)
1094            }
1095        }
1096    }
1097}
1098impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_labeling_job::CreateLabelingJobError, R>> for Error
1099where
1100    R: Send + Sync + std::fmt::Debug + 'static,
1101{
1102    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_labeling_job::CreateLabelingJobError, R>) -> 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::create_labeling_job::CreateLabelingJobError> for Error {
1113    fn from(err: crate::operation::create_labeling_job::CreateLabelingJobError) -> Self {
1114        match err {
1115            crate::operation::create_labeling_job::CreateLabelingJobError::ResourceInUse(inner) => Error::ResourceInUse(inner),
1116            crate::operation::create_labeling_job::CreateLabelingJobError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
1117            crate::operation::create_labeling_job::CreateLabelingJobError::Unhandled(inner) => Error::Unhandled(inner),
1118        }
1119    }
1120}
1121impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_mlflow_tracking_server::CreateMlflowTrackingServerError, R>>
1122    for Error
1123where
1124    R: Send + Sync + std::fmt::Debug + 'static,
1125{
1126    fn from(
1127        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_mlflow_tracking_server::CreateMlflowTrackingServerError, R>,
1128    ) -> Self {
1129        match err {
1130            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1131            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1132                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1133                source: err.into(),
1134            }),
1135        }
1136    }
1137}
1138impl From<crate::operation::create_mlflow_tracking_server::CreateMlflowTrackingServerError> for Error {
1139    fn from(err: crate::operation::create_mlflow_tracking_server::CreateMlflowTrackingServerError) -> Self {
1140        match err {
1141            crate::operation::create_mlflow_tracking_server::CreateMlflowTrackingServerError::ResourceLimitExceeded(inner) => {
1142                Error::ResourceLimitExceeded(inner)
1143            }
1144            crate::operation::create_mlflow_tracking_server::CreateMlflowTrackingServerError::Unhandled(inner) => Error::Unhandled(inner),
1145        }
1146    }
1147}
1148impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_model::CreateModelError, R>> for Error
1149where
1150    R: Send + Sync + std::fmt::Debug + 'static,
1151{
1152    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_model::CreateModelError, R>) -> Self {
1153        match err {
1154            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1155            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1156                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1157                source: err.into(),
1158            }),
1159        }
1160    }
1161}
1162impl From<crate::operation::create_model::CreateModelError> for Error {
1163    fn from(err: crate::operation::create_model::CreateModelError) -> Self {
1164        match err {
1165            crate::operation::create_model::CreateModelError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
1166            crate::operation::create_model::CreateModelError::Unhandled(inner) => Error::Unhandled(inner),
1167        }
1168    }
1169}
1170impl<R>
1171    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_model_bias_job_definition::CreateModelBiasJobDefinitionError, R>>
1172    for Error
1173where
1174    R: Send + Sync + std::fmt::Debug + 'static,
1175{
1176    fn from(
1177        err: ::aws_smithy_runtime_api::client::result::SdkError<
1178            crate::operation::create_model_bias_job_definition::CreateModelBiasJobDefinitionError,
1179            R,
1180        >,
1181    ) -> Self {
1182        match err {
1183            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1184            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1185                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1186                source: err.into(),
1187            }),
1188        }
1189    }
1190}
1191impl From<crate::operation::create_model_bias_job_definition::CreateModelBiasJobDefinitionError> for Error {
1192    fn from(err: crate::operation::create_model_bias_job_definition::CreateModelBiasJobDefinitionError) -> Self {
1193        match err {
1194            crate::operation::create_model_bias_job_definition::CreateModelBiasJobDefinitionError::ResourceInUse(inner) => {
1195                Error::ResourceInUse(inner)
1196            }
1197            crate::operation::create_model_bias_job_definition::CreateModelBiasJobDefinitionError::ResourceLimitExceeded(inner) => {
1198                Error::ResourceLimitExceeded(inner)
1199            }
1200            crate::operation::create_model_bias_job_definition::CreateModelBiasJobDefinitionError::Unhandled(inner) => Error::Unhandled(inner),
1201        }
1202    }
1203}
1204impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_model_card::CreateModelCardError, R>> for Error
1205where
1206    R: Send + Sync + std::fmt::Debug + 'static,
1207{
1208    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_model_card::CreateModelCardError, R>) -> Self {
1209        match err {
1210            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1211            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1212                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1213                source: err.into(),
1214            }),
1215        }
1216    }
1217}
1218impl From<crate::operation::create_model_card::CreateModelCardError> for Error {
1219    fn from(err: crate::operation::create_model_card::CreateModelCardError) -> Self {
1220        match err {
1221            crate::operation::create_model_card::CreateModelCardError::ConflictException(inner) => Error::ConflictException(inner),
1222            crate::operation::create_model_card::CreateModelCardError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
1223            crate::operation::create_model_card::CreateModelCardError::Unhandled(inner) => Error::Unhandled(inner),
1224        }
1225    }
1226}
1227impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_model_card_export_job::CreateModelCardExportJobError, R>>
1228    for Error
1229where
1230    R: Send + Sync + std::fmt::Debug + 'static,
1231{
1232    fn from(
1233        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_model_card_export_job::CreateModelCardExportJobError, R>,
1234    ) -> Self {
1235        match err {
1236            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1237            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1238                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1239                source: err.into(),
1240            }),
1241        }
1242    }
1243}
1244impl From<crate::operation::create_model_card_export_job::CreateModelCardExportJobError> for Error {
1245    fn from(err: crate::operation::create_model_card_export_job::CreateModelCardExportJobError) -> Self {
1246        match err {
1247            crate::operation::create_model_card_export_job::CreateModelCardExportJobError::ConflictException(inner) => {
1248                Error::ConflictException(inner)
1249            }
1250            crate::operation::create_model_card_export_job::CreateModelCardExportJobError::ResourceLimitExceeded(inner) => {
1251                Error::ResourceLimitExceeded(inner)
1252            }
1253            crate::operation::create_model_card_export_job::CreateModelCardExportJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
1254            crate::operation::create_model_card_export_job::CreateModelCardExportJobError::Unhandled(inner) => Error::Unhandled(inner),
1255        }
1256    }
1257}
1258impl<R>
1259    From<
1260        ::aws_smithy_runtime_api::client::result::SdkError<
1261            crate::operation::create_model_explainability_job_definition::CreateModelExplainabilityJobDefinitionError,
1262            R,
1263        >,
1264    > for Error
1265where
1266    R: Send + Sync + std::fmt::Debug + 'static,
1267{
1268    fn from(
1269        err: ::aws_smithy_runtime_api::client::result::SdkError<
1270            crate::operation::create_model_explainability_job_definition::CreateModelExplainabilityJobDefinitionError,
1271            R,
1272        >,
1273    ) -> Self {
1274        match err {
1275            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1276            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1277                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1278                source: err.into(),
1279            }),
1280        }
1281    }
1282}
1283impl From<crate::operation::create_model_explainability_job_definition::CreateModelExplainabilityJobDefinitionError> for Error {
1284    fn from(err: crate::operation::create_model_explainability_job_definition::CreateModelExplainabilityJobDefinitionError) -> Self {
1285        match err {
1286            crate::operation::create_model_explainability_job_definition::CreateModelExplainabilityJobDefinitionError::ResourceInUse(inner) => {
1287                Error::ResourceInUse(inner)
1288            }
1289            crate::operation::create_model_explainability_job_definition::CreateModelExplainabilityJobDefinitionError::ResourceLimitExceeded(
1290                inner,
1291            ) => Error::ResourceLimitExceeded(inner),
1292            crate::operation::create_model_explainability_job_definition::CreateModelExplainabilityJobDefinitionError::Unhandled(inner) => {
1293                Error::Unhandled(inner)
1294            }
1295        }
1296    }
1297}
1298impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_model_package::CreateModelPackageError, R>> for Error
1299where
1300    R: Send + Sync + std::fmt::Debug + 'static,
1301{
1302    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_model_package::CreateModelPackageError, R>) -> Self {
1303        match err {
1304            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1305            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1306                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1307                source: err.into(),
1308            }),
1309        }
1310    }
1311}
1312impl From<crate::operation::create_model_package::CreateModelPackageError> for Error {
1313    fn from(err: crate::operation::create_model_package::CreateModelPackageError) -> Self {
1314        match err {
1315            crate::operation::create_model_package::CreateModelPackageError::ConflictException(inner) => Error::ConflictException(inner),
1316            crate::operation::create_model_package::CreateModelPackageError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
1317            crate::operation::create_model_package::CreateModelPackageError::Unhandled(inner) => Error::Unhandled(inner),
1318        }
1319    }
1320}
1321impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_model_package_group::CreateModelPackageGroupError, R>>
1322    for Error
1323where
1324    R: Send + Sync + std::fmt::Debug + 'static,
1325{
1326    fn from(
1327        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_model_package_group::CreateModelPackageGroupError, R>,
1328    ) -> Self {
1329        match err {
1330            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1331            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1332                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1333                source: err.into(),
1334            }),
1335        }
1336    }
1337}
1338impl From<crate::operation::create_model_package_group::CreateModelPackageGroupError> for Error {
1339    fn from(err: crate::operation::create_model_package_group::CreateModelPackageGroupError) -> Self {
1340        match err {
1341            crate::operation::create_model_package_group::CreateModelPackageGroupError::ResourceLimitExceeded(inner) => {
1342                Error::ResourceLimitExceeded(inner)
1343            }
1344            crate::operation::create_model_package_group::CreateModelPackageGroupError::Unhandled(inner) => Error::Unhandled(inner),
1345        }
1346    }
1347}
1348impl<R>
1349    From<
1350        ::aws_smithy_runtime_api::client::result::SdkError<
1351            crate::operation::create_model_quality_job_definition::CreateModelQualityJobDefinitionError,
1352            R,
1353        >,
1354    > for Error
1355where
1356    R: Send + Sync + std::fmt::Debug + 'static,
1357{
1358    fn from(
1359        err: ::aws_smithy_runtime_api::client::result::SdkError<
1360            crate::operation::create_model_quality_job_definition::CreateModelQualityJobDefinitionError,
1361            R,
1362        >,
1363    ) -> Self {
1364        match err {
1365            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1366            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1367                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1368                source: err.into(),
1369            }),
1370        }
1371    }
1372}
1373impl From<crate::operation::create_model_quality_job_definition::CreateModelQualityJobDefinitionError> for Error {
1374    fn from(err: crate::operation::create_model_quality_job_definition::CreateModelQualityJobDefinitionError) -> Self {
1375        match err {
1376            crate::operation::create_model_quality_job_definition::CreateModelQualityJobDefinitionError::ResourceInUse(inner) => {
1377                Error::ResourceInUse(inner)
1378            }
1379            crate::operation::create_model_quality_job_definition::CreateModelQualityJobDefinitionError::ResourceLimitExceeded(inner) => {
1380                Error::ResourceLimitExceeded(inner)
1381            }
1382            crate::operation::create_model_quality_job_definition::CreateModelQualityJobDefinitionError::Unhandled(inner) => Error::Unhandled(inner),
1383        }
1384    }
1385}
1386impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_monitoring_schedule::CreateMonitoringScheduleError, R>>
1387    for Error
1388where
1389    R: Send + Sync + std::fmt::Debug + 'static,
1390{
1391    fn from(
1392        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_monitoring_schedule::CreateMonitoringScheduleError, R>,
1393    ) -> Self {
1394        match err {
1395            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1396            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1397                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1398                source: err.into(),
1399            }),
1400        }
1401    }
1402}
1403impl From<crate::operation::create_monitoring_schedule::CreateMonitoringScheduleError> for Error {
1404    fn from(err: crate::operation::create_monitoring_schedule::CreateMonitoringScheduleError) -> Self {
1405        match err {
1406            crate::operation::create_monitoring_schedule::CreateMonitoringScheduleError::ResourceInUse(inner) => Error::ResourceInUse(inner),
1407            crate::operation::create_monitoring_schedule::CreateMonitoringScheduleError::ResourceLimitExceeded(inner) => {
1408                Error::ResourceLimitExceeded(inner)
1409            }
1410            crate::operation::create_monitoring_schedule::CreateMonitoringScheduleError::Unhandled(inner) => Error::Unhandled(inner),
1411        }
1412    }
1413}
1414impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_notebook_instance::CreateNotebookInstanceError, R>> for Error
1415where
1416    R: Send + Sync + std::fmt::Debug + 'static,
1417{
1418    fn from(
1419        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_notebook_instance::CreateNotebookInstanceError, R>,
1420    ) -> Self {
1421        match err {
1422            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1423            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1424                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1425                source: err.into(),
1426            }),
1427        }
1428    }
1429}
1430impl From<crate::operation::create_notebook_instance::CreateNotebookInstanceError> for Error {
1431    fn from(err: crate::operation::create_notebook_instance::CreateNotebookInstanceError) -> Self {
1432        match err {
1433            crate::operation::create_notebook_instance::CreateNotebookInstanceError::ResourceLimitExceeded(inner) => {
1434                Error::ResourceLimitExceeded(inner)
1435            }
1436            crate::operation::create_notebook_instance::CreateNotebookInstanceError::Unhandled(inner) => Error::Unhandled(inner),
1437        }
1438    }
1439}
1440impl<R>
1441    From<
1442        ::aws_smithy_runtime_api::client::result::SdkError<
1443            crate::operation::create_notebook_instance_lifecycle_config::CreateNotebookInstanceLifecycleConfigError,
1444            R,
1445        >,
1446    > for Error
1447where
1448    R: Send + Sync + std::fmt::Debug + 'static,
1449{
1450    fn from(
1451        err: ::aws_smithy_runtime_api::client::result::SdkError<
1452            crate::operation::create_notebook_instance_lifecycle_config::CreateNotebookInstanceLifecycleConfigError,
1453            R,
1454        >,
1455    ) -> Self {
1456        match err {
1457            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1458            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1459                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1460                source: err.into(),
1461            }),
1462        }
1463    }
1464}
1465impl From<crate::operation::create_notebook_instance_lifecycle_config::CreateNotebookInstanceLifecycleConfigError> for Error {
1466    fn from(err: crate::operation::create_notebook_instance_lifecycle_config::CreateNotebookInstanceLifecycleConfigError) -> Self {
1467        match err {
1468            crate::operation::create_notebook_instance_lifecycle_config::CreateNotebookInstanceLifecycleConfigError::ResourceLimitExceeded(inner) => {
1469                Error::ResourceLimitExceeded(inner)
1470            }
1471            crate::operation::create_notebook_instance_lifecycle_config::CreateNotebookInstanceLifecycleConfigError::Unhandled(inner) => {
1472                Error::Unhandled(inner)
1473            }
1474        }
1475    }
1476}
1477impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_optimization_job::CreateOptimizationJobError, R>> for Error
1478where
1479    R: Send + Sync + std::fmt::Debug + 'static,
1480{
1481    fn from(
1482        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_optimization_job::CreateOptimizationJobError, R>,
1483    ) -> Self {
1484        match err {
1485            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1486            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1487                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1488                source: err.into(),
1489            }),
1490        }
1491    }
1492}
1493impl From<crate::operation::create_optimization_job::CreateOptimizationJobError> for Error {
1494    fn from(err: crate::operation::create_optimization_job::CreateOptimizationJobError) -> Self {
1495        match err {
1496            crate::operation::create_optimization_job::CreateOptimizationJobError::ResourceInUse(inner) => Error::ResourceInUse(inner),
1497            crate::operation::create_optimization_job::CreateOptimizationJobError::ResourceLimitExceeded(inner) => {
1498                Error::ResourceLimitExceeded(inner)
1499            }
1500            crate::operation::create_optimization_job::CreateOptimizationJobError::Unhandled(inner) => Error::Unhandled(inner),
1501        }
1502    }
1503}
1504impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_partner_app::CreatePartnerAppError, R>> for Error
1505where
1506    R: Send + Sync + std::fmt::Debug + 'static,
1507{
1508    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_partner_app::CreatePartnerAppError, R>) -> Self {
1509        match err {
1510            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1511            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1512                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1513                source: err.into(),
1514            }),
1515        }
1516    }
1517}
1518impl From<crate::operation::create_partner_app::CreatePartnerAppError> for Error {
1519    fn from(err: crate::operation::create_partner_app::CreatePartnerAppError) -> Self {
1520        match err {
1521            crate::operation::create_partner_app::CreatePartnerAppError::ConflictException(inner) => Error::ConflictException(inner),
1522            crate::operation::create_partner_app::CreatePartnerAppError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
1523            crate::operation::create_partner_app::CreatePartnerAppError::Unhandled(inner) => Error::Unhandled(inner),
1524        }
1525    }
1526}
1527impl<R>
1528    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_partner_app_presigned_url::CreatePartnerAppPresignedUrlError, R>>
1529    for Error
1530where
1531    R: Send + Sync + std::fmt::Debug + 'static,
1532{
1533    fn from(
1534        err: ::aws_smithy_runtime_api::client::result::SdkError<
1535            crate::operation::create_partner_app_presigned_url::CreatePartnerAppPresignedUrlError,
1536            R,
1537        >,
1538    ) -> Self {
1539        match err {
1540            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1541            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1542                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1543                source: err.into(),
1544            }),
1545        }
1546    }
1547}
1548impl From<crate::operation::create_partner_app_presigned_url::CreatePartnerAppPresignedUrlError> for Error {
1549    fn from(err: crate::operation::create_partner_app_presigned_url::CreatePartnerAppPresignedUrlError) -> Self {
1550        match err {
1551            crate::operation::create_partner_app_presigned_url::CreatePartnerAppPresignedUrlError::ResourceNotFound(inner) => {
1552                Error::ResourceNotFound(inner)
1553            }
1554            crate::operation::create_partner_app_presigned_url::CreatePartnerAppPresignedUrlError::Unhandled(inner) => Error::Unhandled(inner),
1555        }
1556    }
1557}
1558impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_pipeline::CreatePipelineError, R>> for Error
1559where
1560    R: Send + Sync + std::fmt::Debug + 'static,
1561{
1562    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_pipeline::CreatePipelineError, R>) -> Self {
1563        match err {
1564            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1565            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1566                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1567                source: err.into(),
1568            }),
1569        }
1570    }
1571}
1572impl From<crate::operation::create_pipeline::CreatePipelineError> for Error {
1573    fn from(err: crate::operation::create_pipeline::CreatePipelineError) -> Self {
1574        match err {
1575            crate::operation::create_pipeline::CreatePipelineError::ConflictException(inner) => Error::ConflictException(inner),
1576            crate::operation::create_pipeline::CreatePipelineError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
1577            crate::operation::create_pipeline::CreatePipelineError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
1578            crate::operation::create_pipeline::CreatePipelineError::Unhandled(inner) => Error::Unhandled(inner),
1579        }
1580    }
1581}
1582impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_presigned_domain_url::CreatePresignedDomainUrlError, R>>
1583    for Error
1584where
1585    R: Send + Sync + std::fmt::Debug + 'static,
1586{
1587    fn from(
1588        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_presigned_domain_url::CreatePresignedDomainUrlError, R>,
1589    ) -> Self {
1590        match err {
1591            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1592            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1593                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1594                source: err.into(),
1595            }),
1596        }
1597    }
1598}
1599impl From<crate::operation::create_presigned_domain_url::CreatePresignedDomainUrlError> for Error {
1600    fn from(err: crate::operation::create_presigned_domain_url::CreatePresignedDomainUrlError) -> Self {
1601        match err {
1602            crate::operation::create_presigned_domain_url::CreatePresignedDomainUrlError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
1603            crate::operation::create_presigned_domain_url::CreatePresignedDomainUrlError::Unhandled(inner) => Error::Unhandled(inner),
1604        }
1605    }
1606}
1607impl<R>
1608    From<
1609        ::aws_smithy_runtime_api::client::result::SdkError<
1610            crate::operation::create_presigned_mlflow_tracking_server_url::CreatePresignedMlflowTrackingServerUrlError,
1611            R,
1612        >,
1613    > for Error
1614where
1615    R: Send + Sync + std::fmt::Debug + 'static,
1616{
1617    fn from(
1618        err: ::aws_smithy_runtime_api::client::result::SdkError<
1619            crate::operation::create_presigned_mlflow_tracking_server_url::CreatePresignedMlflowTrackingServerUrlError,
1620            R,
1621        >,
1622    ) -> Self {
1623        match err {
1624            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1625            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1626                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1627                source: err.into(),
1628            }),
1629        }
1630    }
1631}
1632impl From<crate::operation::create_presigned_mlflow_tracking_server_url::CreatePresignedMlflowTrackingServerUrlError> for Error {
1633    fn from(err: crate::operation::create_presigned_mlflow_tracking_server_url::CreatePresignedMlflowTrackingServerUrlError) -> Self {
1634        match err {
1635            crate::operation::create_presigned_mlflow_tracking_server_url::CreatePresignedMlflowTrackingServerUrlError::ResourceNotFound(inner) => {
1636                Error::ResourceNotFound(inner)
1637            }
1638            crate::operation::create_presigned_mlflow_tracking_server_url::CreatePresignedMlflowTrackingServerUrlError::Unhandled(inner) => {
1639                Error::Unhandled(inner)
1640            }
1641        }
1642    }
1643}
1644impl<R>
1645    From<
1646        ::aws_smithy_runtime_api::client::result::SdkError<
1647            crate::operation::create_presigned_notebook_instance_url::CreatePresignedNotebookInstanceUrlError,
1648            R,
1649        >,
1650    > for Error
1651where
1652    R: Send + Sync + std::fmt::Debug + 'static,
1653{
1654    fn from(
1655        err: ::aws_smithy_runtime_api::client::result::SdkError<
1656            crate::operation::create_presigned_notebook_instance_url::CreatePresignedNotebookInstanceUrlError,
1657            R,
1658        >,
1659    ) -> Self {
1660        match err {
1661            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1662            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1663                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1664                source: err.into(),
1665            }),
1666        }
1667    }
1668}
1669impl From<crate::operation::create_presigned_notebook_instance_url::CreatePresignedNotebookInstanceUrlError> for Error {
1670    fn from(err: crate::operation::create_presigned_notebook_instance_url::CreatePresignedNotebookInstanceUrlError) -> Self {
1671        match err {
1672            crate::operation::create_presigned_notebook_instance_url::CreatePresignedNotebookInstanceUrlError::Unhandled(inner) => {
1673                Error::Unhandled(inner)
1674            }
1675        }
1676    }
1677}
1678impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_processing_job::CreateProcessingJobError, R>> for Error
1679where
1680    R: Send + Sync + std::fmt::Debug + 'static,
1681{
1682    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_processing_job::CreateProcessingJobError, R>) -> Self {
1683        match err {
1684            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1685            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1686                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1687                source: err.into(),
1688            }),
1689        }
1690    }
1691}
1692impl From<crate::operation::create_processing_job::CreateProcessingJobError> for Error {
1693    fn from(err: crate::operation::create_processing_job::CreateProcessingJobError) -> Self {
1694        match err {
1695            crate::operation::create_processing_job::CreateProcessingJobError::ResourceInUse(inner) => Error::ResourceInUse(inner),
1696            crate::operation::create_processing_job::CreateProcessingJobError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
1697            crate::operation::create_processing_job::CreateProcessingJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
1698            crate::operation::create_processing_job::CreateProcessingJobError::Unhandled(inner) => Error::Unhandled(inner),
1699        }
1700    }
1701}
1702impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_project::CreateProjectError, R>> for Error
1703where
1704    R: Send + Sync + std::fmt::Debug + 'static,
1705{
1706    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_project::CreateProjectError, R>) -> Self {
1707        match err {
1708            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1709            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1710                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1711                source: err.into(),
1712            }),
1713        }
1714    }
1715}
1716impl From<crate::operation::create_project::CreateProjectError> for Error {
1717    fn from(err: crate::operation::create_project::CreateProjectError) -> Self {
1718        match err {
1719            crate::operation::create_project::CreateProjectError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
1720            crate::operation::create_project::CreateProjectError::Unhandled(inner) => Error::Unhandled(inner),
1721        }
1722    }
1723}
1724impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_space::CreateSpaceError, R>> for Error
1725where
1726    R: Send + Sync + std::fmt::Debug + 'static,
1727{
1728    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_space::CreateSpaceError, R>) -> Self {
1729        match err {
1730            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1731            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1732                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1733                source: err.into(),
1734            }),
1735        }
1736    }
1737}
1738impl From<crate::operation::create_space::CreateSpaceError> for Error {
1739    fn from(err: crate::operation::create_space::CreateSpaceError) -> Self {
1740        match err {
1741            crate::operation::create_space::CreateSpaceError::ResourceInUse(inner) => Error::ResourceInUse(inner),
1742            crate::operation::create_space::CreateSpaceError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
1743            crate::operation::create_space::CreateSpaceError::Unhandled(inner) => Error::Unhandled(inner),
1744        }
1745    }
1746}
1747impl<R>
1748    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_studio_lifecycle_config::CreateStudioLifecycleConfigError, R>>
1749    for Error
1750where
1751    R: Send + Sync + std::fmt::Debug + 'static,
1752{
1753    fn from(
1754        err: ::aws_smithy_runtime_api::client::result::SdkError<
1755            crate::operation::create_studio_lifecycle_config::CreateStudioLifecycleConfigError,
1756            R,
1757        >,
1758    ) -> Self {
1759        match err {
1760            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1761            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1762                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1763                source: err.into(),
1764            }),
1765        }
1766    }
1767}
1768impl From<crate::operation::create_studio_lifecycle_config::CreateStudioLifecycleConfigError> for Error {
1769    fn from(err: crate::operation::create_studio_lifecycle_config::CreateStudioLifecycleConfigError) -> Self {
1770        match err {
1771            crate::operation::create_studio_lifecycle_config::CreateStudioLifecycleConfigError::ResourceInUse(inner) => Error::ResourceInUse(inner),
1772            crate::operation::create_studio_lifecycle_config::CreateStudioLifecycleConfigError::Unhandled(inner) => Error::Unhandled(inner),
1773        }
1774    }
1775}
1776impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_training_job::CreateTrainingJobError, R>> for Error
1777where
1778    R: Send + Sync + std::fmt::Debug + 'static,
1779{
1780    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_training_job::CreateTrainingJobError, R>) -> Self {
1781        match err {
1782            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1783            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1784                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1785                source: err.into(),
1786            }),
1787        }
1788    }
1789}
1790impl From<crate::operation::create_training_job::CreateTrainingJobError> for Error {
1791    fn from(err: crate::operation::create_training_job::CreateTrainingJobError) -> Self {
1792        match err {
1793            crate::operation::create_training_job::CreateTrainingJobError::ResourceInUse(inner) => Error::ResourceInUse(inner),
1794            crate::operation::create_training_job::CreateTrainingJobError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
1795            crate::operation::create_training_job::CreateTrainingJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
1796            crate::operation::create_training_job::CreateTrainingJobError::Unhandled(inner) => Error::Unhandled(inner),
1797        }
1798    }
1799}
1800impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_training_plan::CreateTrainingPlanError, R>> for Error
1801where
1802    R: Send + Sync + std::fmt::Debug + 'static,
1803{
1804    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_training_plan::CreateTrainingPlanError, R>) -> Self {
1805        match err {
1806            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1807            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1808                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1809                source: err.into(),
1810            }),
1811        }
1812    }
1813}
1814impl From<crate::operation::create_training_plan::CreateTrainingPlanError> for Error {
1815    fn from(err: crate::operation::create_training_plan::CreateTrainingPlanError) -> Self {
1816        match err {
1817            crate::operation::create_training_plan::CreateTrainingPlanError::ResourceInUse(inner) => Error::ResourceInUse(inner),
1818            crate::operation::create_training_plan::CreateTrainingPlanError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
1819            crate::operation::create_training_plan::CreateTrainingPlanError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
1820            crate::operation::create_training_plan::CreateTrainingPlanError::Unhandled(inner) => Error::Unhandled(inner),
1821        }
1822    }
1823}
1824impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_transform_job::CreateTransformJobError, R>> for Error
1825where
1826    R: Send + Sync + std::fmt::Debug + 'static,
1827{
1828    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_transform_job::CreateTransformJobError, R>) -> Self {
1829        match err {
1830            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1831            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1832                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1833                source: err.into(),
1834            }),
1835        }
1836    }
1837}
1838impl From<crate::operation::create_transform_job::CreateTransformJobError> for Error {
1839    fn from(err: crate::operation::create_transform_job::CreateTransformJobError) -> Self {
1840        match err {
1841            crate::operation::create_transform_job::CreateTransformJobError::ResourceInUse(inner) => Error::ResourceInUse(inner),
1842            crate::operation::create_transform_job::CreateTransformJobError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
1843            crate::operation::create_transform_job::CreateTransformJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
1844            crate::operation::create_transform_job::CreateTransformJobError::Unhandled(inner) => Error::Unhandled(inner),
1845        }
1846    }
1847}
1848impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_trial::CreateTrialError, R>> for Error
1849where
1850    R: Send + Sync + std::fmt::Debug + 'static,
1851{
1852    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_trial::CreateTrialError, R>) -> Self {
1853        match err {
1854            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1855            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1856                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1857                source: err.into(),
1858            }),
1859        }
1860    }
1861}
1862impl From<crate::operation::create_trial::CreateTrialError> for Error {
1863    fn from(err: crate::operation::create_trial::CreateTrialError) -> Self {
1864        match err {
1865            crate::operation::create_trial::CreateTrialError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
1866            crate::operation::create_trial::CreateTrialError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
1867            crate::operation::create_trial::CreateTrialError::Unhandled(inner) => Error::Unhandled(inner),
1868        }
1869    }
1870}
1871impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_trial_component::CreateTrialComponentError, R>> for Error
1872where
1873    R: Send + Sync + std::fmt::Debug + 'static,
1874{
1875    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_trial_component::CreateTrialComponentError, R>) -> Self {
1876        match err {
1877            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1878            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1879                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1880                source: err.into(),
1881            }),
1882        }
1883    }
1884}
1885impl From<crate::operation::create_trial_component::CreateTrialComponentError> for Error {
1886    fn from(err: crate::operation::create_trial_component::CreateTrialComponentError) -> Self {
1887        match err {
1888            crate::operation::create_trial_component::CreateTrialComponentError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
1889            crate::operation::create_trial_component::CreateTrialComponentError::Unhandled(inner) => Error::Unhandled(inner),
1890        }
1891    }
1892}
1893impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_user_profile::CreateUserProfileError, R>> for Error
1894where
1895    R: Send + Sync + std::fmt::Debug + 'static,
1896{
1897    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_user_profile::CreateUserProfileError, R>) -> Self {
1898        match err {
1899            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1900            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1901                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1902                source: err.into(),
1903            }),
1904        }
1905    }
1906}
1907impl From<crate::operation::create_user_profile::CreateUserProfileError> for Error {
1908    fn from(err: crate::operation::create_user_profile::CreateUserProfileError) -> Self {
1909        match err {
1910            crate::operation::create_user_profile::CreateUserProfileError::ResourceInUse(inner) => Error::ResourceInUse(inner),
1911            crate::operation::create_user_profile::CreateUserProfileError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
1912            crate::operation::create_user_profile::CreateUserProfileError::Unhandled(inner) => Error::Unhandled(inner),
1913        }
1914    }
1915}
1916impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_workforce::CreateWorkforceError, R>> for Error
1917where
1918    R: Send + Sync + std::fmt::Debug + 'static,
1919{
1920    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_workforce::CreateWorkforceError, R>) -> Self {
1921        match err {
1922            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1923            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1924                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1925                source: err.into(),
1926            }),
1927        }
1928    }
1929}
1930impl From<crate::operation::create_workforce::CreateWorkforceError> for Error {
1931    fn from(err: crate::operation::create_workforce::CreateWorkforceError) -> Self {
1932        match err {
1933            crate::operation::create_workforce::CreateWorkforceError::Unhandled(inner) => Error::Unhandled(inner),
1934        }
1935    }
1936}
1937impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_workteam::CreateWorkteamError, R>> for Error
1938where
1939    R: Send + Sync + std::fmt::Debug + 'static,
1940{
1941    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_workteam::CreateWorkteamError, R>) -> Self {
1942        match err {
1943            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1944            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1945                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1946                source: err.into(),
1947            }),
1948        }
1949    }
1950}
1951impl From<crate::operation::create_workteam::CreateWorkteamError> for Error {
1952    fn from(err: crate::operation::create_workteam::CreateWorkteamError) -> Self {
1953        match err {
1954            crate::operation::create_workteam::CreateWorkteamError::ResourceInUse(inner) => Error::ResourceInUse(inner),
1955            crate::operation::create_workteam::CreateWorkteamError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
1956            crate::operation::create_workteam::CreateWorkteamError::Unhandled(inner) => Error::Unhandled(inner),
1957        }
1958    }
1959}
1960impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_action::DeleteActionError, R>> for Error
1961where
1962    R: Send + Sync + std::fmt::Debug + 'static,
1963{
1964    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_action::DeleteActionError, R>) -> 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::delete_action::DeleteActionError> for Error {
1975    fn from(err: crate::operation::delete_action::DeleteActionError) -> Self {
1976        match err {
1977            crate::operation::delete_action::DeleteActionError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
1978            crate::operation::delete_action::DeleteActionError::Unhandled(inner) => Error::Unhandled(inner),
1979        }
1980    }
1981}
1982impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_algorithm::DeleteAlgorithmError, R>> for Error
1983where
1984    R: Send + Sync + std::fmt::Debug + 'static,
1985{
1986    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_algorithm::DeleteAlgorithmError, R>) -> Self {
1987        match err {
1988            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1989            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1990                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1991                source: err.into(),
1992            }),
1993        }
1994    }
1995}
1996impl From<crate::operation::delete_algorithm::DeleteAlgorithmError> for Error {
1997    fn from(err: crate::operation::delete_algorithm::DeleteAlgorithmError) -> Self {
1998        match err {
1999            crate::operation::delete_algorithm::DeleteAlgorithmError::ConflictException(inner) => Error::ConflictException(inner),
2000            crate::operation::delete_algorithm::DeleteAlgorithmError::Unhandled(inner) => Error::Unhandled(inner),
2001        }
2002    }
2003}
2004impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_app::DeleteAppError, R>> for Error
2005where
2006    R: Send + Sync + std::fmt::Debug + 'static,
2007{
2008    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_app::DeleteAppError, R>) -> Self {
2009        match err {
2010            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2011            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2012                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2013                source: err.into(),
2014            }),
2015        }
2016    }
2017}
2018impl From<crate::operation::delete_app::DeleteAppError> for Error {
2019    fn from(err: crate::operation::delete_app::DeleteAppError) -> Self {
2020        match err {
2021            crate::operation::delete_app::DeleteAppError::ResourceInUse(inner) => Error::ResourceInUse(inner),
2022            crate::operation::delete_app::DeleteAppError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2023            crate::operation::delete_app::DeleteAppError::Unhandled(inner) => Error::Unhandled(inner),
2024        }
2025    }
2026}
2027impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_app_image_config::DeleteAppImageConfigError, R>> for Error
2028where
2029    R: Send + Sync + std::fmt::Debug + 'static,
2030{
2031    fn from(
2032        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_app_image_config::DeleteAppImageConfigError, R>,
2033    ) -> Self {
2034        match err {
2035            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2036            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2037                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2038                source: err.into(),
2039            }),
2040        }
2041    }
2042}
2043impl From<crate::operation::delete_app_image_config::DeleteAppImageConfigError> for Error {
2044    fn from(err: crate::operation::delete_app_image_config::DeleteAppImageConfigError) -> Self {
2045        match err {
2046            crate::operation::delete_app_image_config::DeleteAppImageConfigError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2047            crate::operation::delete_app_image_config::DeleteAppImageConfigError::Unhandled(inner) => Error::Unhandled(inner),
2048        }
2049    }
2050}
2051impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_artifact::DeleteArtifactError, R>> for Error
2052where
2053    R: Send + Sync + std::fmt::Debug + 'static,
2054{
2055    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_artifact::DeleteArtifactError, R>) -> Self {
2056        match err {
2057            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2058            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2059                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2060                source: err.into(),
2061            }),
2062        }
2063    }
2064}
2065impl From<crate::operation::delete_artifact::DeleteArtifactError> for Error {
2066    fn from(err: crate::operation::delete_artifact::DeleteArtifactError) -> Self {
2067        match err {
2068            crate::operation::delete_artifact::DeleteArtifactError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2069            crate::operation::delete_artifact::DeleteArtifactError::Unhandled(inner) => Error::Unhandled(inner),
2070        }
2071    }
2072}
2073impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_association::DeleteAssociationError, R>> for Error
2074where
2075    R: Send + Sync + std::fmt::Debug + 'static,
2076{
2077    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_association::DeleteAssociationError, R>) -> Self {
2078        match err {
2079            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2080            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2081                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2082                source: err.into(),
2083            }),
2084        }
2085    }
2086}
2087impl From<crate::operation::delete_association::DeleteAssociationError> for Error {
2088    fn from(err: crate::operation::delete_association::DeleteAssociationError) -> Self {
2089        match err {
2090            crate::operation::delete_association::DeleteAssociationError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2091            crate::operation::delete_association::DeleteAssociationError::Unhandled(inner) => Error::Unhandled(inner),
2092        }
2093    }
2094}
2095impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_cluster::DeleteClusterError, R>> for Error
2096where
2097    R: Send + Sync + std::fmt::Debug + 'static,
2098{
2099    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_cluster::DeleteClusterError, R>) -> Self {
2100        match err {
2101            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2102            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2103                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2104                source: err.into(),
2105            }),
2106        }
2107    }
2108}
2109impl From<crate::operation::delete_cluster::DeleteClusterError> for Error {
2110    fn from(err: crate::operation::delete_cluster::DeleteClusterError) -> Self {
2111        match err {
2112            crate::operation::delete_cluster::DeleteClusterError::ConflictException(inner) => Error::ConflictException(inner),
2113            crate::operation::delete_cluster::DeleteClusterError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2114            crate::operation::delete_cluster::DeleteClusterError::Unhandled(inner) => Error::Unhandled(inner),
2115        }
2116    }
2117}
2118impl<R>
2119    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_cluster_scheduler_config::DeleteClusterSchedulerConfigError, R>>
2120    for Error
2121where
2122    R: Send + Sync + std::fmt::Debug + 'static,
2123{
2124    fn from(
2125        err: ::aws_smithy_runtime_api::client::result::SdkError<
2126            crate::operation::delete_cluster_scheduler_config::DeleteClusterSchedulerConfigError,
2127            R,
2128        >,
2129    ) -> Self {
2130        match err {
2131            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2132            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2133                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2134                source: err.into(),
2135            }),
2136        }
2137    }
2138}
2139impl From<crate::operation::delete_cluster_scheduler_config::DeleteClusterSchedulerConfigError> for Error {
2140    fn from(err: crate::operation::delete_cluster_scheduler_config::DeleteClusterSchedulerConfigError) -> Self {
2141        match err {
2142            crate::operation::delete_cluster_scheduler_config::DeleteClusterSchedulerConfigError::ResourceNotFound(inner) => {
2143                Error::ResourceNotFound(inner)
2144            }
2145            crate::operation::delete_cluster_scheduler_config::DeleteClusterSchedulerConfigError::Unhandled(inner) => Error::Unhandled(inner),
2146        }
2147    }
2148}
2149impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_code_repository::DeleteCodeRepositoryError, R>> for Error
2150where
2151    R: Send + Sync + std::fmt::Debug + 'static,
2152{
2153    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_code_repository::DeleteCodeRepositoryError, R>) -> Self {
2154        match err {
2155            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2156            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2157                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2158                source: err.into(),
2159            }),
2160        }
2161    }
2162}
2163impl From<crate::operation::delete_code_repository::DeleteCodeRepositoryError> for Error {
2164    fn from(err: crate::operation::delete_code_repository::DeleteCodeRepositoryError) -> Self {
2165        match err {
2166            crate::operation::delete_code_repository::DeleteCodeRepositoryError::Unhandled(inner) => Error::Unhandled(inner),
2167        }
2168    }
2169}
2170impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_compilation_job::DeleteCompilationJobError, R>> for Error
2171where
2172    R: Send + Sync + std::fmt::Debug + 'static,
2173{
2174    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_compilation_job::DeleteCompilationJobError, R>) -> Self {
2175        match err {
2176            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2177            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2178                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2179                source: err.into(),
2180            }),
2181        }
2182    }
2183}
2184impl From<crate::operation::delete_compilation_job::DeleteCompilationJobError> for Error {
2185    fn from(err: crate::operation::delete_compilation_job::DeleteCompilationJobError) -> Self {
2186        match err {
2187            crate::operation::delete_compilation_job::DeleteCompilationJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2188            crate::operation::delete_compilation_job::DeleteCompilationJobError::Unhandled(inner) => Error::Unhandled(inner),
2189        }
2190    }
2191}
2192impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_compute_quota::DeleteComputeQuotaError, R>> for Error
2193where
2194    R: Send + Sync + std::fmt::Debug + 'static,
2195{
2196    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_compute_quota::DeleteComputeQuotaError, R>) -> Self {
2197        match err {
2198            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2199            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2200                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2201                source: err.into(),
2202            }),
2203        }
2204    }
2205}
2206impl From<crate::operation::delete_compute_quota::DeleteComputeQuotaError> for Error {
2207    fn from(err: crate::operation::delete_compute_quota::DeleteComputeQuotaError) -> Self {
2208        match err {
2209            crate::operation::delete_compute_quota::DeleteComputeQuotaError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2210            crate::operation::delete_compute_quota::DeleteComputeQuotaError::Unhandled(inner) => Error::Unhandled(inner),
2211        }
2212    }
2213}
2214impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_context::DeleteContextError, R>> for Error
2215where
2216    R: Send + Sync + std::fmt::Debug + 'static,
2217{
2218    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_context::DeleteContextError, R>) -> Self {
2219        match err {
2220            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2221            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2222                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2223                source: err.into(),
2224            }),
2225        }
2226    }
2227}
2228impl From<crate::operation::delete_context::DeleteContextError> for Error {
2229    fn from(err: crate::operation::delete_context::DeleteContextError) -> Self {
2230        match err {
2231            crate::operation::delete_context::DeleteContextError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2232            crate::operation::delete_context::DeleteContextError::Unhandled(inner) => Error::Unhandled(inner),
2233        }
2234    }
2235}
2236impl<R>
2237    From<
2238        ::aws_smithy_runtime_api::client::result::SdkError<
2239            crate::operation::delete_data_quality_job_definition::DeleteDataQualityJobDefinitionError,
2240            R,
2241        >,
2242    > for Error
2243where
2244    R: Send + Sync + std::fmt::Debug + 'static,
2245{
2246    fn from(
2247        err: ::aws_smithy_runtime_api::client::result::SdkError<
2248            crate::operation::delete_data_quality_job_definition::DeleteDataQualityJobDefinitionError,
2249            R,
2250        >,
2251    ) -> Self {
2252        match err {
2253            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2254            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2255                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2256                source: err.into(),
2257            }),
2258        }
2259    }
2260}
2261impl From<crate::operation::delete_data_quality_job_definition::DeleteDataQualityJobDefinitionError> for Error {
2262    fn from(err: crate::operation::delete_data_quality_job_definition::DeleteDataQualityJobDefinitionError) -> Self {
2263        match err {
2264            crate::operation::delete_data_quality_job_definition::DeleteDataQualityJobDefinitionError::ResourceNotFound(inner) => {
2265                Error::ResourceNotFound(inner)
2266            }
2267            crate::operation::delete_data_quality_job_definition::DeleteDataQualityJobDefinitionError::Unhandled(inner) => Error::Unhandled(inner),
2268        }
2269    }
2270}
2271impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_device_fleet::DeleteDeviceFleetError, R>> for Error
2272where
2273    R: Send + Sync + std::fmt::Debug + 'static,
2274{
2275    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_device_fleet::DeleteDeviceFleetError, R>) -> Self {
2276        match err {
2277            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2278            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2279                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2280                source: err.into(),
2281            }),
2282        }
2283    }
2284}
2285impl From<crate::operation::delete_device_fleet::DeleteDeviceFleetError> for Error {
2286    fn from(err: crate::operation::delete_device_fleet::DeleteDeviceFleetError) -> Self {
2287        match err {
2288            crate::operation::delete_device_fleet::DeleteDeviceFleetError::ResourceInUse(inner) => Error::ResourceInUse(inner),
2289            crate::operation::delete_device_fleet::DeleteDeviceFleetError::Unhandled(inner) => Error::Unhandled(inner),
2290        }
2291    }
2292}
2293impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_domain::DeleteDomainError, R>> for Error
2294where
2295    R: Send + Sync + std::fmt::Debug + 'static,
2296{
2297    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_domain::DeleteDomainError, R>) -> Self {
2298        match err {
2299            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2300            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2301                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2302                source: err.into(),
2303            }),
2304        }
2305    }
2306}
2307impl From<crate::operation::delete_domain::DeleteDomainError> for Error {
2308    fn from(err: crate::operation::delete_domain::DeleteDomainError) -> Self {
2309        match err {
2310            crate::operation::delete_domain::DeleteDomainError::ResourceInUse(inner) => Error::ResourceInUse(inner),
2311            crate::operation::delete_domain::DeleteDomainError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2312            crate::operation::delete_domain::DeleteDomainError::Unhandled(inner) => Error::Unhandled(inner),
2313        }
2314    }
2315}
2316impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_edge_deployment_plan::DeleteEdgeDeploymentPlanError, R>>
2317    for Error
2318where
2319    R: Send + Sync + std::fmt::Debug + 'static,
2320{
2321    fn from(
2322        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_edge_deployment_plan::DeleteEdgeDeploymentPlanError, R>,
2323    ) -> Self {
2324        match err {
2325            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2326            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2327                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2328                source: err.into(),
2329            }),
2330        }
2331    }
2332}
2333impl From<crate::operation::delete_edge_deployment_plan::DeleteEdgeDeploymentPlanError> for Error {
2334    fn from(err: crate::operation::delete_edge_deployment_plan::DeleteEdgeDeploymentPlanError) -> Self {
2335        match err {
2336            crate::operation::delete_edge_deployment_plan::DeleteEdgeDeploymentPlanError::ResourceInUse(inner) => Error::ResourceInUse(inner),
2337            crate::operation::delete_edge_deployment_plan::DeleteEdgeDeploymentPlanError::Unhandled(inner) => Error::Unhandled(inner),
2338        }
2339    }
2340}
2341impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_edge_deployment_stage::DeleteEdgeDeploymentStageError, R>>
2342    for Error
2343where
2344    R: Send + Sync + std::fmt::Debug + 'static,
2345{
2346    fn from(
2347        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_edge_deployment_stage::DeleteEdgeDeploymentStageError, R>,
2348    ) -> Self {
2349        match err {
2350            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2351            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2352                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2353                source: err.into(),
2354            }),
2355        }
2356    }
2357}
2358impl From<crate::operation::delete_edge_deployment_stage::DeleteEdgeDeploymentStageError> for Error {
2359    fn from(err: crate::operation::delete_edge_deployment_stage::DeleteEdgeDeploymentStageError) -> Self {
2360        match err {
2361            crate::operation::delete_edge_deployment_stage::DeleteEdgeDeploymentStageError::ResourceInUse(inner) => Error::ResourceInUse(inner),
2362            crate::operation::delete_edge_deployment_stage::DeleteEdgeDeploymentStageError::Unhandled(inner) => Error::Unhandled(inner),
2363        }
2364    }
2365}
2366impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_endpoint::DeleteEndpointError, R>> for Error
2367where
2368    R: Send + Sync + std::fmt::Debug + 'static,
2369{
2370    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_endpoint::DeleteEndpointError, R>) -> Self {
2371        match err {
2372            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2373            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2374                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2375                source: err.into(),
2376            }),
2377        }
2378    }
2379}
2380impl From<crate::operation::delete_endpoint::DeleteEndpointError> for Error {
2381    fn from(err: crate::operation::delete_endpoint::DeleteEndpointError) -> Self {
2382        match err {
2383            crate::operation::delete_endpoint::DeleteEndpointError::Unhandled(inner) => Error::Unhandled(inner),
2384        }
2385    }
2386}
2387impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_endpoint_config::DeleteEndpointConfigError, R>> for Error
2388where
2389    R: Send + Sync + std::fmt::Debug + 'static,
2390{
2391    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_endpoint_config::DeleteEndpointConfigError, R>) -> Self {
2392        match err {
2393            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2394            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2395                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2396                source: err.into(),
2397            }),
2398        }
2399    }
2400}
2401impl From<crate::operation::delete_endpoint_config::DeleteEndpointConfigError> for Error {
2402    fn from(err: crate::operation::delete_endpoint_config::DeleteEndpointConfigError) -> Self {
2403        match err {
2404            crate::operation::delete_endpoint_config::DeleteEndpointConfigError::Unhandled(inner) => Error::Unhandled(inner),
2405        }
2406    }
2407}
2408impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_experiment::DeleteExperimentError, R>> for Error
2409where
2410    R: Send + Sync + std::fmt::Debug + 'static,
2411{
2412    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_experiment::DeleteExperimentError, R>) -> Self {
2413        match err {
2414            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2415            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2416                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2417                source: err.into(),
2418            }),
2419        }
2420    }
2421}
2422impl From<crate::operation::delete_experiment::DeleteExperimentError> for Error {
2423    fn from(err: crate::operation::delete_experiment::DeleteExperimentError) -> Self {
2424        match err {
2425            crate::operation::delete_experiment::DeleteExperimentError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2426            crate::operation::delete_experiment::DeleteExperimentError::Unhandled(inner) => Error::Unhandled(inner),
2427        }
2428    }
2429}
2430impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_feature_group::DeleteFeatureGroupError, R>> for Error
2431where
2432    R: Send + Sync + std::fmt::Debug + 'static,
2433{
2434    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_feature_group::DeleteFeatureGroupError, R>) -> Self {
2435        match err {
2436            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2437            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2438                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2439                source: err.into(),
2440            }),
2441        }
2442    }
2443}
2444impl From<crate::operation::delete_feature_group::DeleteFeatureGroupError> for Error {
2445    fn from(err: crate::operation::delete_feature_group::DeleteFeatureGroupError) -> Self {
2446        match err {
2447            crate::operation::delete_feature_group::DeleteFeatureGroupError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2448            crate::operation::delete_feature_group::DeleteFeatureGroupError::Unhandled(inner) => Error::Unhandled(inner),
2449        }
2450    }
2451}
2452impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_flow_definition::DeleteFlowDefinitionError, R>> for Error
2453where
2454    R: Send + Sync + std::fmt::Debug + 'static,
2455{
2456    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_flow_definition::DeleteFlowDefinitionError, R>) -> Self {
2457        match err {
2458            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2459            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2460                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2461                source: err.into(),
2462            }),
2463        }
2464    }
2465}
2466impl From<crate::operation::delete_flow_definition::DeleteFlowDefinitionError> for Error {
2467    fn from(err: crate::operation::delete_flow_definition::DeleteFlowDefinitionError) -> Self {
2468        match err {
2469            crate::operation::delete_flow_definition::DeleteFlowDefinitionError::ResourceInUse(inner) => Error::ResourceInUse(inner),
2470            crate::operation::delete_flow_definition::DeleteFlowDefinitionError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2471            crate::operation::delete_flow_definition::DeleteFlowDefinitionError::Unhandled(inner) => Error::Unhandled(inner),
2472        }
2473    }
2474}
2475impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_hub::DeleteHubError, R>> for Error
2476where
2477    R: Send + Sync + std::fmt::Debug + 'static,
2478{
2479    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_hub::DeleteHubError, R>) -> Self {
2480        match err {
2481            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2482            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2483                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2484                source: err.into(),
2485            }),
2486        }
2487    }
2488}
2489impl From<crate::operation::delete_hub::DeleteHubError> for Error {
2490    fn from(err: crate::operation::delete_hub::DeleteHubError) -> Self {
2491        match err {
2492            crate::operation::delete_hub::DeleteHubError::ResourceInUse(inner) => Error::ResourceInUse(inner),
2493            crate::operation::delete_hub::DeleteHubError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2494            crate::operation::delete_hub::DeleteHubError::Unhandled(inner) => Error::Unhandled(inner),
2495        }
2496    }
2497}
2498impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_hub_content::DeleteHubContentError, R>> for Error
2499where
2500    R: Send + Sync + std::fmt::Debug + 'static,
2501{
2502    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_hub_content::DeleteHubContentError, R>) -> Self {
2503        match err {
2504            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2505            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2506                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2507                source: err.into(),
2508            }),
2509        }
2510    }
2511}
2512impl From<crate::operation::delete_hub_content::DeleteHubContentError> for Error {
2513    fn from(err: crate::operation::delete_hub_content::DeleteHubContentError) -> Self {
2514        match err {
2515            crate::operation::delete_hub_content::DeleteHubContentError::ResourceInUse(inner) => Error::ResourceInUse(inner),
2516            crate::operation::delete_hub_content::DeleteHubContentError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2517            crate::operation::delete_hub_content::DeleteHubContentError::Unhandled(inner) => Error::Unhandled(inner),
2518        }
2519    }
2520}
2521impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_hub_content_reference::DeleteHubContentReferenceError, R>>
2522    for Error
2523where
2524    R: Send + Sync + std::fmt::Debug + 'static,
2525{
2526    fn from(
2527        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_hub_content_reference::DeleteHubContentReferenceError, R>,
2528    ) -> Self {
2529        match err {
2530            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2531            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2532                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2533                source: err.into(),
2534            }),
2535        }
2536    }
2537}
2538impl From<crate::operation::delete_hub_content_reference::DeleteHubContentReferenceError> for Error {
2539    fn from(err: crate::operation::delete_hub_content_reference::DeleteHubContentReferenceError) -> Self {
2540        match err {
2541            crate::operation::delete_hub_content_reference::DeleteHubContentReferenceError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2542            crate::operation::delete_hub_content_reference::DeleteHubContentReferenceError::Unhandled(inner) => Error::Unhandled(inner),
2543        }
2544    }
2545}
2546impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_human_task_ui::DeleteHumanTaskUiError, R>> for Error
2547where
2548    R: Send + Sync + std::fmt::Debug + 'static,
2549{
2550    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_human_task_ui::DeleteHumanTaskUiError, R>) -> Self {
2551        match err {
2552            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2553            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2554                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2555                source: err.into(),
2556            }),
2557        }
2558    }
2559}
2560impl From<crate::operation::delete_human_task_ui::DeleteHumanTaskUiError> for Error {
2561    fn from(err: crate::operation::delete_human_task_ui::DeleteHumanTaskUiError) -> Self {
2562        match err {
2563            crate::operation::delete_human_task_ui::DeleteHumanTaskUiError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2564            crate::operation::delete_human_task_ui::DeleteHumanTaskUiError::Unhandled(inner) => Error::Unhandled(inner),
2565        }
2566    }
2567}
2568impl<R>
2569    From<
2570        ::aws_smithy_runtime_api::client::result::SdkError<
2571            crate::operation::delete_hyper_parameter_tuning_job::DeleteHyperParameterTuningJobError,
2572            R,
2573        >,
2574    > for Error
2575where
2576    R: Send + Sync + std::fmt::Debug + 'static,
2577{
2578    fn from(
2579        err: ::aws_smithy_runtime_api::client::result::SdkError<
2580            crate::operation::delete_hyper_parameter_tuning_job::DeleteHyperParameterTuningJobError,
2581            R,
2582        >,
2583    ) -> Self {
2584        match err {
2585            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2586            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2587                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2588                source: err.into(),
2589            }),
2590        }
2591    }
2592}
2593impl From<crate::operation::delete_hyper_parameter_tuning_job::DeleteHyperParameterTuningJobError> for Error {
2594    fn from(err: crate::operation::delete_hyper_parameter_tuning_job::DeleteHyperParameterTuningJobError) -> Self {
2595        match err {
2596            crate::operation::delete_hyper_parameter_tuning_job::DeleteHyperParameterTuningJobError::Unhandled(inner) => Error::Unhandled(inner),
2597        }
2598    }
2599}
2600impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_image::DeleteImageError, R>> for Error
2601where
2602    R: Send + Sync + std::fmt::Debug + 'static,
2603{
2604    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_image::DeleteImageError, R>) -> Self {
2605        match err {
2606            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2607            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2608                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2609                source: err.into(),
2610            }),
2611        }
2612    }
2613}
2614impl From<crate::operation::delete_image::DeleteImageError> for Error {
2615    fn from(err: crate::operation::delete_image::DeleteImageError) -> Self {
2616        match err {
2617            crate::operation::delete_image::DeleteImageError::ResourceInUse(inner) => Error::ResourceInUse(inner),
2618            crate::operation::delete_image::DeleteImageError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2619            crate::operation::delete_image::DeleteImageError::Unhandled(inner) => Error::Unhandled(inner),
2620        }
2621    }
2622}
2623impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_image_version::DeleteImageVersionError, R>> for Error
2624where
2625    R: Send + Sync + std::fmt::Debug + 'static,
2626{
2627    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_image_version::DeleteImageVersionError, R>) -> Self {
2628        match err {
2629            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2630            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2631                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2632                source: err.into(),
2633            }),
2634        }
2635    }
2636}
2637impl From<crate::operation::delete_image_version::DeleteImageVersionError> for Error {
2638    fn from(err: crate::operation::delete_image_version::DeleteImageVersionError) -> Self {
2639        match err {
2640            crate::operation::delete_image_version::DeleteImageVersionError::ResourceInUse(inner) => Error::ResourceInUse(inner),
2641            crate::operation::delete_image_version::DeleteImageVersionError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2642            crate::operation::delete_image_version::DeleteImageVersionError::Unhandled(inner) => Error::Unhandled(inner),
2643        }
2644    }
2645}
2646impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_inference_component::DeleteInferenceComponentError, R>>
2647    for Error
2648where
2649    R: Send + Sync + std::fmt::Debug + 'static,
2650{
2651    fn from(
2652        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_inference_component::DeleteInferenceComponentError, R>,
2653    ) -> Self {
2654        match err {
2655            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2656            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2657                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2658                source: err.into(),
2659            }),
2660        }
2661    }
2662}
2663impl From<crate::operation::delete_inference_component::DeleteInferenceComponentError> for Error {
2664    fn from(err: crate::operation::delete_inference_component::DeleteInferenceComponentError) -> Self {
2665        match err {
2666            crate::operation::delete_inference_component::DeleteInferenceComponentError::Unhandled(inner) => Error::Unhandled(inner),
2667        }
2668    }
2669}
2670impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_inference_experiment::DeleteInferenceExperimentError, R>>
2671    for Error
2672where
2673    R: Send + Sync + std::fmt::Debug + 'static,
2674{
2675    fn from(
2676        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_inference_experiment::DeleteInferenceExperimentError, R>,
2677    ) -> Self {
2678        match err {
2679            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2680            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2681                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2682                source: err.into(),
2683            }),
2684        }
2685    }
2686}
2687impl From<crate::operation::delete_inference_experiment::DeleteInferenceExperimentError> for Error {
2688    fn from(err: crate::operation::delete_inference_experiment::DeleteInferenceExperimentError) -> Self {
2689        match err {
2690            crate::operation::delete_inference_experiment::DeleteInferenceExperimentError::ConflictException(inner) => {
2691                Error::ConflictException(inner)
2692            }
2693            crate::operation::delete_inference_experiment::DeleteInferenceExperimentError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2694            crate::operation::delete_inference_experiment::DeleteInferenceExperimentError::Unhandled(inner) => Error::Unhandled(inner),
2695        }
2696    }
2697}
2698impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_mlflow_tracking_server::DeleteMlflowTrackingServerError, R>>
2699    for Error
2700where
2701    R: Send + Sync + std::fmt::Debug + 'static,
2702{
2703    fn from(
2704        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_mlflow_tracking_server::DeleteMlflowTrackingServerError, R>,
2705    ) -> Self {
2706        match err {
2707            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2708            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2709                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2710                source: err.into(),
2711            }),
2712        }
2713    }
2714}
2715impl From<crate::operation::delete_mlflow_tracking_server::DeleteMlflowTrackingServerError> for Error {
2716    fn from(err: crate::operation::delete_mlflow_tracking_server::DeleteMlflowTrackingServerError) -> Self {
2717        match err {
2718            crate::operation::delete_mlflow_tracking_server::DeleteMlflowTrackingServerError::ResourceNotFound(inner) => {
2719                Error::ResourceNotFound(inner)
2720            }
2721            crate::operation::delete_mlflow_tracking_server::DeleteMlflowTrackingServerError::Unhandled(inner) => Error::Unhandled(inner),
2722        }
2723    }
2724}
2725impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_model::DeleteModelError, R>> for Error
2726where
2727    R: Send + Sync + std::fmt::Debug + 'static,
2728{
2729    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_model::DeleteModelError, R>) -> Self {
2730        match err {
2731            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2732            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2733                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2734                source: err.into(),
2735            }),
2736        }
2737    }
2738}
2739impl From<crate::operation::delete_model::DeleteModelError> for Error {
2740    fn from(err: crate::operation::delete_model::DeleteModelError) -> Self {
2741        match err {
2742            crate::operation::delete_model::DeleteModelError::Unhandled(inner) => Error::Unhandled(inner),
2743        }
2744    }
2745}
2746impl<R>
2747    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_model_bias_job_definition::DeleteModelBiasJobDefinitionError, R>>
2748    for Error
2749where
2750    R: Send + Sync + std::fmt::Debug + 'static,
2751{
2752    fn from(
2753        err: ::aws_smithy_runtime_api::client::result::SdkError<
2754            crate::operation::delete_model_bias_job_definition::DeleteModelBiasJobDefinitionError,
2755            R,
2756        >,
2757    ) -> Self {
2758        match err {
2759            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2760            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2761                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2762                source: err.into(),
2763            }),
2764        }
2765    }
2766}
2767impl From<crate::operation::delete_model_bias_job_definition::DeleteModelBiasJobDefinitionError> for Error {
2768    fn from(err: crate::operation::delete_model_bias_job_definition::DeleteModelBiasJobDefinitionError) -> Self {
2769        match err {
2770            crate::operation::delete_model_bias_job_definition::DeleteModelBiasJobDefinitionError::ResourceNotFound(inner) => {
2771                Error::ResourceNotFound(inner)
2772            }
2773            crate::operation::delete_model_bias_job_definition::DeleteModelBiasJobDefinitionError::Unhandled(inner) => Error::Unhandled(inner),
2774        }
2775    }
2776}
2777impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_model_card::DeleteModelCardError, R>> for Error
2778where
2779    R: Send + Sync + std::fmt::Debug + 'static,
2780{
2781    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_model_card::DeleteModelCardError, R>) -> Self {
2782        match err {
2783            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2784            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2785                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2786                source: err.into(),
2787            }),
2788        }
2789    }
2790}
2791impl From<crate::operation::delete_model_card::DeleteModelCardError> for Error {
2792    fn from(err: crate::operation::delete_model_card::DeleteModelCardError) -> Self {
2793        match err {
2794            crate::operation::delete_model_card::DeleteModelCardError::ConflictException(inner) => Error::ConflictException(inner),
2795            crate::operation::delete_model_card::DeleteModelCardError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2796            crate::operation::delete_model_card::DeleteModelCardError::Unhandled(inner) => Error::Unhandled(inner),
2797        }
2798    }
2799}
2800impl<R>
2801    From<
2802        ::aws_smithy_runtime_api::client::result::SdkError<
2803            crate::operation::delete_model_explainability_job_definition::DeleteModelExplainabilityJobDefinitionError,
2804            R,
2805        >,
2806    > for Error
2807where
2808    R: Send + Sync + std::fmt::Debug + 'static,
2809{
2810    fn from(
2811        err: ::aws_smithy_runtime_api::client::result::SdkError<
2812            crate::operation::delete_model_explainability_job_definition::DeleteModelExplainabilityJobDefinitionError,
2813            R,
2814        >,
2815    ) -> Self {
2816        match err {
2817            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2818            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2819                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2820                source: err.into(),
2821            }),
2822        }
2823    }
2824}
2825impl From<crate::operation::delete_model_explainability_job_definition::DeleteModelExplainabilityJobDefinitionError> for Error {
2826    fn from(err: crate::operation::delete_model_explainability_job_definition::DeleteModelExplainabilityJobDefinitionError) -> Self {
2827        match err {
2828            crate::operation::delete_model_explainability_job_definition::DeleteModelExplainabilityJobDefinitionError::ResourceNotFound(inner) => {
2829                Error::ResourceNotFound(inner)
2830            }
2831            crate::operation::delete_model_explainability_job_definition::DeleteModelExplainabilityJobDefinitionError::Unhandled(inner) => {
2832                Error::Unhandled(inner)
2833            }
2834        }
2835    }
2836}
2837impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_model_package::DeleteModelPackageError, 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::delete_model_package::DeleteModelPackageError, 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::delete_model_package::DeleteModelPackageError> for Error {
2852    fn from(err: crate::operation::delete_model_package::DeleteModelPackageError) -> Self {
2853        match err {
2854            crate::operation::delete_model_package::DeleteModelPackageError::ConflictException(inner) => Error::ConflictException(inner),
2855            crate::operation::delete_model_package::DeleteModelPackageError::Unhandled(inner) => Error::Unhandled(inner),
2856        }
2857    }
2858}
2859impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_model_package_group::DeleteModelPackageGroupError, R>>
2860    for Error
2861where
2862    R: Send + Sync + std::fmt::Debug + 'static,
2863{
2864    fn from(
2865        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_model_package_group::DeleteModelPackageGroupError, R>,
2866    ) -> Self {
2867        match err {
2868            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2869            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2870                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2871                source: err.into(),
2872            }),
2873        }
2874    }
2875}
2876impl From<crate::operation::delete_model_package_group::DeleteModelPackageGroupError> for Error {
2877    fn from(err: crate::operation::delete_model_package_group::DeleteModelPackageGroupError) -> Self {
2878        match err {
2879            crate::operation::delete_model_package_group::DeleteModelPackageGroupError::ConflictException(inner) => Error::ConflictException(inner),
2880            crate::operation::delete_model_package_group::DeleteModelPackageGroupError::Unhandled(inner) => Error::Unhandled(inner),
2881        }
2882    }
2883}
2884impl<R>
2885    From<
2886        ::aws_smithy_runtime_api::client::result::SdkError<
2887            crate::operation::delete_model_package_group_policy::DeleteModelPackageGroupPolicyError,
2888            R,
2889        >,
2890    > for Error
2891where
2892    R: Send + Sync + std::fmt::Debug + 'static,
2893{
2894    fn from(
2895        err: ::aws_smithy_runtime_api::client::result::SdkError<
2896            crate::operation::delete_model_package_group_policy::DeleteModelPackageGroupPolicyError,
2897            R,
2898        >,
2899    ) -> Self {
2900        match err {
2901            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2902            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2903                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2904                source: err.into(),
2905            }),
2906        }
2907    }
2908}
2909impl From<crate::operation::delete_model_package_group_policy::DeleteModelPackageGroupPolicyError> for Error {
2910    fn from(err: crate::operation::delete_model_package_group_policy::DeleteModelPackageGroupPolicyError) -> Self {
2911        match err {
2912            crate::operation::delete_model_package_group_policy::DeleteModelPackageGroupPolicyError::Unhandled(inner) => Error::Unhandled(inner),
2913        }
2914    }
2915}
2916impl<R>
2917    From<
2918        ::aws_smithy_runtime_api::client::result::SdkError<
2919            crate::operation::delete_model_quality_job_definition::DeleteModelQualityJobDefinitionError,
2920            R,
2921        >,
2922    > for Error
2923where
2924    R: Send + Sync + std::fmt::Debug + 'static,
2925{
2926    fn from(
2927        err: ::aws_smithy_runtime_api::client::result::SdkError<
2928            crate::operation::delete_model_quality_job_definition::DeleteModelQualityJobDefinitionError,
2929            R,
2930        >,
2931    ) -> Self {
2932        match err {
2933            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2934            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2935                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2936                source: err.into(),
2937            }),
2938        }
2939    }
2940}
2941impl From<crate::operation::delete_model_quality_job_definition::DeleteModelQualityJobDefinitionError> for Error {
2942    fn from(err: crate::operation::delete_model_quality_job_definition::DeleteModelQualityJobDefinitionError) -> Self {
2943        match err {
2944            crate::operation::delete_model_quality_job_definition::DeleteModelQualityJobDefinitionError::ResourceNotFound(inner) => {
2945                Error::ResourceNotFound(inner)
2946            }
2947            crate::operation::delete_model_quality_job_definition::DeleteModelQualityJobDefinitionError::Unhandled(inner) => Error::Unhandled(inner),
2948        }
2949    }
2950}
2951impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_monitoring_schedule::DeleteMonitoringScheduleError, R>>
2952    for Error
2953where
2954    R: Send + Sync + std::fmt::Debug + 'static,
2955{
2956    fn from(
2957        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_monitoring_schedule::DeleteMonitoringScheduleError, R>,
2958    ) -> Self {
2959        match err {
2960            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2961            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2962                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2963                source: err.into(),
2964            }),
2965        }
2966    }
2967}
2968impl From<crate::operation::delete_monitoring_schedule::DeleteMonitoringScheduleError> for Error {
2969    fn from(err: crate::operation::delete_monitoring_schedule::DeleteMonitoringScheduleError) -> Self {
2970        match err {
2971            crate::operation::delete_monitoring_schedule::DeleteMonitoringScheduleError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2972            crate::operation::delete_monitoring_schedule::DeleteMonitoringScheduleError::Unhandled(inner) => Error::Unhandled(inner),
2973        }
2974    }
2975}
2976impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_notebook_instance::DeleteNotebookInstanceError, R>> for Error
2977where
2978    R: Send + Sync + std::fmt::Debug + 'static,
2979{
2980    fn from(
2981        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_notebook_instance::DeleteNotebookInstanceError, R>,
2982    ) -> Self {
2983        match err {
2984            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2985            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2986                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2987                source: err.into(),
2988            }),
2989        }
2990    }
2991}
2992impl From<crate::operation::delete_notebook_instance::DeleteNotebookInstanceError> for Error {
2993    fn from(err: crate::operation::delete_notebook_instance::DeleteNotebookInstanceError) -> Self {
2994        match err {
2995            crate::operation::delete_notebook_instance::DeleteNotebookInstanceError::Unhandled(inner) => Error::Unhandled(inner),
2996        }
2997    }
2998}
2999impl<R>
3000    From<
3001        ::aws_smithy_runtime_api::client::result::SdkError<
3002            crate::operation::delete_notebook_instance_lifecycle_config::DeleteNotebookInstanceLifecycleConfigError,
3003            R,
3004        >,
3005    > for Error
3006where
3007    R: Send + Sync + std::fmt::Debug + 'static,
3008{
3009    fn from(
3010        err: ::aws_smithy_runtime_api::client::result::SdkError<
3011            crate::operation::delete_notebook_instance_lifecycle_config::DeleteNotebookInstanceLifecycleConfigError,
3012            R,
3013        >,
3014    ) -> Self {
3015        match err {
3016            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3017            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3018                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3019                source: err.into(),
3020            }),
3021        }
3022    }
3023}
3024impl From<crate::operation::delete_notebook_instance_lifecycle_config::DeleteNotebookInstanceLifecycleConfigError> for Error {
3025    fn from(err: crate::operation::delete_notebook_instance_lifecycle_config::DeleteNotebookInstanceLifecycleConfigError) -> Self {
3026        match err {
3027            crate::operation::delete_notebook_instance_lifecycle_config::DeleteNotebookInstanceLifecycleConfigError::Unhandled(inner) => {
3028                Error::Unhandled(inner)
3029            }
3030        }
3031    }
3032}
3033impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_optimization_job::DeleteOptimizationJobError, R>> for Error
3034where
3035    R: Send + Sync + std::fmt::Debug + 'static,
3036{
3037    fn from(
3038        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_optimization_job::DeleteOptimizationJobError, R>,
3039    ) -> Self {
3040        match err {
3041            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3042            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3043                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3044                source: err.into(),
3045            }),
3046        }
3047    }
3048}
3049impl From<crate::operation::delete_optimization_job::DeleteOptimizationJobError> for Error {
3050    fn from(err: crate::operation::delete_optimization_job::DeleteOptimizationJobError) -> Self {
3051        match err {
3052            crate::operation::delete_optimization_job::DeleteOptimizationJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3053            crate::operation::delete_optimization_job::DeleteOptimizationJobError::Unhandled(inner) => Error::Unhandled(inner),
3054        }
3055    }
3056}
3057impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_partner_app::DeletePartnerAppError, R>> for Error
3058where
3059    R: Send + Sync + std::fmt::Debug + 'static,
3060{
3061    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_partner_app::DeletePartnerAppError, R>) -> Self {
3062        match err {
3063            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3064            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3065                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3066                source: err.into(),
3067            }),
3068        }
3069    }
3070}
3071impl From<crate::operation::delete_partner_app::DeletePartnerAppError> for Error {
3072    fn from(err: crate::operation::delete_partner_app::DeletePartnerAppError) -> Self {
3073        match err {
3074            crate::operation::delete_partner_app::DeletePartnerAppError::ConflictException(inner) => Error::ConflictException(inner),
3075            crate::operation::delete_partner_app::DeletePartnerAppError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3076            crate::operation::delete_partner_app::DeletePartnerAppError::Unhandled(inner) => Error::Unhandled(inner),
3077        }
3078    }
3079}
3080impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_pipeline::DeletePipelineError, R>> for Error
3081where
3082    R: Send + Sync + std::fmt::Debug + 'static,
3083{
3084    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_pipeline::DeletePipelineError, R>) -> Self {
3085        match err {
3086            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3087            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3088                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3089                source: err.into(),
3090            }),
3091        }
3092    }
3093}
3094impl From<crate::operation::delete_pipeline::DeletePipelineError> for Error {
3095    fn from(err: crate::operation::delete_pipeline::DeletePipelineError) -> Self {
3096        match err {
3097            crate::operation::delete_pipeline::DeletePipelineError::ConflictException(inner) => Error::ConflictException(inner),
3098            crate::operation::delete_pipeline::DeletePipelineError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3099            crate::operation::delete_pipeline::DeletePipelineError::Unhandled(inner) => Error::Unhandled(inner),
3100        }
3101    }
3102}
3103impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_project::DeleteProjectError, R>> for Error
3104where
3105    R: Send + Sync + std::fmt::Debug + 'static,
3106{
3107    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_project::DeleteProjectError, R>) -> Self {
3108        match err {
3109            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3110            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3111                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3112                source: err.into(),
3113            }),
3114        }
3115    }
3116}
3117impl From<crate::operation::delete_project::DeleteProjectError> for Error {
3118    fn from(err: crate::operation::delete_project::DeleteProjectError) -> Self {
3119        match err {
3120            crate::operation::delete_project::DeleteProjectError::ConflictException(inner) => Error::ConflictException(inner),
3121            crate::operation::delete_project::DeleteProjectError::Unhandled(inner) => Error::Unhandled(inner),
3122        }
3123    }
3124}
3125impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_space::DeleteSpaceError, R>> for Error
3126where
3127    R: Send + Sync + std::fmt::Debug + 'static,
3128{
3129    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_space::DeleteSpaceError, R>) -> Self {
3130        match err {
3131            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3132            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3133                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3134                source: err.into(),
3135            }),
3136        }
3137    }
3138}
3139impl From<crate::operation::delete_space::DeleteSpaceError> for Error {
3140    fn from(err: crate::operation::delete_space::DeleteSpaceError) -> Self {
3141        match err {
3142            crate::operation::delete_space::DeleteSpaceError::ResourceInUse(inner) => Error::ResourceInUse(inner),
3143            crate::operation::delete_space::DeleteSpaceError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3144            crate::operation::delete_space::DeleteSpaceError::Unhandled(inner) => Error::Unhandled(inner),
3145        }
3146    }
3147}
3148impl<R>
3149    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_studio_lifecycle_config::DeleteStudioLifecycleConfigError, R>>
3150    for Error
3151where
3152    R: Send + Sync + std::fmt::Debug + 'static,
3153{
3154    fn from(
3155        err: ::aws_smithy_runtime_api::client::result::SdkError<
3156            crate::operation::delete_studio_lifecycle_config::DeleteStudioLifecycleConfigError,
3157            R,
3158        >,
3159    ) -> Self {
3160        match err {
3161            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3162            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3163                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3164                source: err.into(),
3165            }),
3166        }
3167    }
3168}
3169impl From<crate::operation::delete_studio_lifecycle_config::DeleteStudioLifecycleConfigError> for Error {
3170    fn from(err: crate::operation::delete_studio_lifecycle_config::DeleteStudioLifecycleConfigError) -> Self {
3171        match err {
3172            crate::operation::delete_studio_lifecycle_config::DeleteStudioLifecycleConfigError::ResourceInUse(inner) => Error::ResourceInUse(inner),
3173            crate::operation::delete_studio_lifecycle_config::DeleteStudioLifecycleConfigError::ResourceNotFound(inner) => {
3174                Error::ResourceNotFound(inner)
3175            }
3176            crate::operation::delete_studio_lifecycle_config::DeleteStudioLifecycleConfigError::Unhandled(inner) => Error::Unhandled(inner),
3177        }
3178    }
3179}
3180impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_tags::DeleteTagsError, R>> for Error
3181where
3182    R: Send + Sync + std::fmt::Debug + 'static,
3183{
3184    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_tags::DeleteTagsError, R>) -> Self {
3185        match err {
3186            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3187            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3188                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3189                source: err.into(),
3190            }),
3191        }
3192    }
3193}
3194impl From<crate::operation::delete_tags::DeleteTagsError> for Error {
3195    fn from(err: crate::operation::delete_tags::DeleteTagsError) -> Self {
3196        match err {
3197            crate::operation::delete_tags::DeleteTagsError::Unhandled(inner) => Error::Unhandled(inner),
3198        }
3199    }
3200}
3201impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_trial::DeleteTrialError, R>> for Error
3202where
3203    R: Send + Sync + std::fmt::Debug + 'static,
3204{
3205    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_trial::DeleteTrialError, R>) -> Self {
3206        match err {
3207            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3208            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3209                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3210                source: err.into(),
3211            }),
3212        }
3213    }
3214}
3215impl From<crate::operation::delete_trial::DeleteTrialError> for Error {
3216    fn from(err: crate::operation::delete_trial::DeleteTrialError) -> Self {
3217        match err {
3218            crate::operation::delete_trial::DeleteTrialError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3219            crate::operation::delete_trial::DeleteTrialError::Unhandled(inner) => Error::Unhandled(inner),
3220        }
3221    }
3222}
3223impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_trial_component::DeleteTrialComponentError, R>> for Error
3224where
3225    R: Send + Sync + std::fmt::Debug + 'static,
3226{
3227    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_trial_component::DeleteTrialComponentError, R>) -> Self {
3228        match err {
3229            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3230            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3231                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3232                source: err.into(),
3233            }),
3234        }
3235    }
3236}
3237impl From<crate::operation::delete_trial_component::DeleteTrialComponentError> for Error {
3238    fn from(err: crate::operation::delete_trial_component::DeleteTrialComponentError) -> Self {
3239        match err {
3240            crate::operation::delete_trial_component::DeleteTrialComponentError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3241            crate::operation::delete_trial_component::DeleteTrialComponentError::Unhandled(inner) => Error::Unhandled(inner),
3242        }
3243    }
3244}
3245impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_user_profile::DeleteUserProfileError, R>> for Error
3246where
3247    R: Send + Sync + std::fmt::Debug + 'static,
3248{
3249    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_user_profile::DeleteUserProfileError, R>) -> Self {
3250        match err {
3251            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3252            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3253                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3254                source: err.into(),
3255            }),
3256        }
3257    }
3258}
3259impl From<crate::operation::delete_user_profile::DeleteUserProfileError> for Error {
3260    fn from(err: crate::operation::delete_user_profile::DeleteUserProfileError) -> Self {
3261        match err {
3262            crate::operation::delete_user_profile::DeleteUserProfileError::ResourceInUse(inner) => Error::ResourceInUse(inner),
3263            crate::operation::delete_user_profile::DeleteUserProfileError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3264            crate::operation::delete_user_profile::DeleteUserProfileError::Unhandled(inner) => Error::Unhandled(inner),
3265        }
3266    }
3267}
3268impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_workforce::DeleteWorkforceError, R>> for Error
3269where
3270    R: Send + Sync + std::fmt::Debug + 'static,
3271{
3272    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_workforce::DeleteWorkforceError, R>) -> Self {
3273        match err {
3274            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3275            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3276                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3277                source: err.into(),
3278            }),
3279        }
3280    }
3281}
3282impl From<crate::operation::delete_workforce::DeleteWorkforceError> for Error {
3283    fn from(err: crate::operation::delete_workforce::DeleteWorkforceError) -> Self {
3284        match err {
3285            crate::operation::delete_workforce::DeleteWorkforceError::Unhandled(inner) => Error::Unhandled(inner),
3286        }
3287    }
3288}
3289impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_workteam::DeleteWorkteamError, R>> for Error
3290where
3291    R: Send + Sync + std::fmt::Debug + 'static,
3292{
3293    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_workteam::DeleteWorkteamError, R>) -> Self {
3294        match err {
3295            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3296            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3297                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3298                source: err.into(),
3299            }),
3300        }
3301    }
3302}
3303impl From<crate::operation::delete_workteam::DeleteWorkteamError> for Error {
3304    fn from(err: crate::operation::delete_workteam::DeleteWorkteamError) -> Self {
3305        match err {
3306            crate::operation::delete_workteam::DeleteWorkteamError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
3307            crate::operation::delete_workteam::DeleteWorkteamError::Unhandled(inner) => Error::Unhandled(inner),
3308        }
3309    }
3310}
3311impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deregister_devices::DeregisterDevicesError, R>> for Error
3312where
3313    R: Send + Sync + std::fmt::Debug + 'static,
3314{
3315    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deregister_devices::DeregisterDevicesError, R>) -> Self {
3316        match err {
3317            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3318            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3319                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3320                source: err.into(),
3321            }),
3322        }
3323    }
3324}
3325impl From<crate::operation::deregister_devices::DeregisterDevicesError> for Error {
3326    fn from(err: crate::operation::deregister_devices::DeregisterDevicesError) -> Self {
3327        match err {
3328            crate::operation::deregister_devices::DeregisterDevicesError::Unhandled(inner) => Error::Unhandled(inner),
3329        }
3330    }
3331}
3332impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_action::DescribeActionError, R>> for Error
3333where
3334    R: Send + Sync + std::fmt::Debug + 'static,
3335{
3336    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_action::DescribeActionError, R>) -> Self {
3337        match err {
3338            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3339            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3340                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3341                source: err.into(),
3342            }),
3343        }
3344    }
3345}
3346impl From<crate::operation::describe_action::DescribeActionError> for Error {
3347    fn from(err: crate::operation::describe_action::DescribeActionError) -> Self {
3348        match err {
3349            crate::operation::describe_action::DescribeActionError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3350            crate::operation::describe_action::DescribeActionError::Unhandled(inner) => Error::Unhandled(inner),
3351        }
3352    }
3353}
3354impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_algorithm::DescribeAlgorithmError, R>> for Error
3355where
3356    R: Send + Sync + std::fmt::Debug + 'static,
3357{
3358    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_algorithm::DescribeAlgorithmError, R>) -> Self {
3359        match err {
3360            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3361            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3362                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3363                source: err.into(),
3364            }),
3365        }
3366    }
3367}
3368impl From<crate::operation::describe_algorithm::DescribeAlgorithmError> for Error {
3369    fn from(err: crate::operation::describe_algorithm::DescribeAlgorithmError) -> Self {
3370        match err {
3371            crate::operation::describe_algorithm::DescribeAlgorithmError::Unhandled(inner) => Error::Unhandled(inner),
3372        }
3373    }
3374}
3375impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_app::DescribeAppError, R>> for Error
3376where
3377    R: Send + Sync + std::fmt::Debug + 'static,
3378{
3379    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_app::DescribeAppError, R>) -> Self {
3380        match err {
3381            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3382            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3383                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3384                source: err.into(),
3385            }),
3386        }
3387    }
3388}
3389impl From<crate::operation::describe_app::DescribeAppError> for Error {
3390    fn from(err: crate::operation::describe_app::DescribeAppError) -> Self {
3391        match err {
3392            crate::operation::describe_app::DescribeAppError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3393            crate::operation::describe_app::DescribeAppError::Unhandled(inner) => Error::Unhandled(inner),
3394        }
3395    }
3396}
3397impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_app_image_config::DescribeAppImageConfigError, R>>
3398    for Error
3399where
3400    R: Send + Sync + std::fmt::Debug + 'static,
3401{
3402    fn from(
3403        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_app_image_config::DescribeAppImageConfigError, R>,
3404    ) -> Self {
3405        match err {
3406            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3407            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3408                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3409                source: err.into(),
3410            }),
3411        }
3412    }
3413}
3414impl From<crate::operation::describe_app_image_config::DescribeAppImageConfigError> for Error {
3415    fn from(err: crate::operation::describe_app_image_config::DescribeAppImageConfigError) -> Self {
3416        match err {
3417            crate::operation::describe_app_image_config::DescribeAppImageConfigError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3418            crate::operation::describe_app_image_config::DescribeAppImageConfigError::Unhandled(inner) => Error::Unhandled(inner),
3419        }
3420    }
3421}
3422impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_artifact::DescribeArtifactError, R>> for Error
3423where
3424    R: Send + Sync + std::fmt::Debug + 'static,
3425{
3426    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_artifact::DescribeArtifactError, R>) -> Self {
3427        match err {
3428            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3429            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3430                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3431                source: err.into(),
3432            }),
3433        }
3434    }
3435}
3436impl From<crate::operation::describe_artifact::DescribeArtifactError> for Error {
3437    fn from(err: crate::operation::describe_artifact::DescribeArtifactError) -> Self {
3438        match err {
3439            crate::operation::describe_artifact::DescribeArtifactError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3440            crate::operation::describe_artifact::DescribeArtifactError::Unhandled(inner) => Error::Unhandled(inner),
3441        }
3442    }
3443}
3444impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_auto_ml_job::DescribeAutoMLJobError, R>> for Error
3445where
3446    R: Send + Sync + std::fmt::Debug + 'static,
3447{
3448    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_auto_ml_job::DescribeAutoMLJobError, R>) -> Self {
3449        match err {
3450            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3451            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3452                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3453                source: err.into(),
3454            }),
3455        }
3456    }
3457}
3458impl From<crate::operation::describe_auto_ml_job::DescribeAutoMLJobError> for Error {
3459    fn from(err: crate::operation::describe_auto_ml_job::DescribeAutoMLJobError) -> Self {
3460        match err {
3461            crate::operation::describe_auto_ml_job::DescribeAutoMLJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3462            crate::operation::describe_auto_ml_job::DescribeAutoMLJobError::Unhandled(inner) => Error::Unhandled(inner),
3463        }
3464    }
3465}
3466impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_auto_ml_job_v2::DescribeAutoMLJobV2Error, R>> for Error
3467where
3468    R: Send + Sync + std::fmt::Debug + 'static,
3469{
3470    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_auto_ml_job_v2::DescribeAutoMLJobV2Error, R>) -> Self {
3471        match err {
3472            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3473            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3474                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3475                source: err.into(),
3476            }),
3477        }
3478    }
3479}
3480impl From<crate::operation::describe_auto_ml_job_v2::DescribeAutoMLJobV2Error> for Error {
3481    fn from(err: crate::operation::describe_auto_ml_job_v2::DescribeAutoMLJobV2Error) -> Self {
3482        match err {
3483            crate::operation::describe_auto_ml_job_v2::DescribeAutoMLJobV2Error::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3484            crate::operation::describe_auto_ml_job_v2::DescribeAutoMLJobV2Error::Unhandled(inner) => Error::Unhandled(inner),
3485        }
3486    }
3487}
3488impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_cluster::DescribeClusterError, R>> for Error
3489where
3490    R: Send + Sync + std::fmt::Debug + 'static,
3491{
3492    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_cluster::DescribeClusterError, R>) -> Self {
3493        match err {
3494            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3495            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3496                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3497                source: err.into(),
3498            }),
3499        }
3500    }
3501}
3502impl From<crate::operation::describe_cluster::DescribeClusterError> for Error {
3503    fn from(err: crate::operation::describe_cluster::DescribeClusterError) -> Self {
3504        match err {
3505            crate::operation::describe_cluster::DescribeClusterError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3506            crate::operation::describe_cluster::DescribeClusterError::Unhandled(inner) => Error::Unhandled(inner),
3507        }
3508    }
3509}
3510impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_cluster_event::DescribeClusterEventError, R>> for Error
3511where
3512    R: Send + Sync + std::fmt::Debug + 'static,
3513{
3514    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_cluster_event::DescribeClusterEventError, R>) -> Self {
3515        match err {
3516            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3517            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3518                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3519                source: err.into(),
3520            }),
3521        }
3522    }
3523}
3524impl From<crate::operation::describe_cluster_event::DescribeClusterEventError> for Error {
3525    fn from(err: crate::operation::describe_cluster_event::DescribeClusterEventError) -> Self {
3526        match err {
3527            crate::operation::describe_cluster_event::DescribeClusterEventError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3528            crate::operation::describe_cluster_event::DescribeClusterEventError::Unhandled(inner) => Error::Unhandled(inner),
3529        }
3530    }
3531}
3532impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_cluster_node::DescribeClusterNodeError, R>> for Error
3533where
3534    R: Send + Sync + std::fmt::Debug + 'static,
3535{
3536    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_cluster_node::DescribeClusterNodeError, R>) -> Self {
3537        match err {
3538            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3539            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3540                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3541                source: err.into(),
3542            }),
3543        }
3544    }
3545}
3546impl From<crate::operation::describe_cluster_node::DescribeClusterNodeError> for Error {
3547    fn from(err: crate::operation::describe_cluster_node::DescribeClusterNodeError) -> Self {
3548        match err {
3549            crate::operation::describe_cluster_node::DescribeClusterNodeError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3550            crate::operation::describe_cluster_node::DescribeClusterNodeError::Unhandled(inner) => Error::Unhandled(inner),
3551        }
3552    }
3553}
3554impl<R>
3555    From<
3556        ::aws_smithy_runtime_api::client::result::SdkError<
3557            crate::operation::describe_cluster_scheduler_config::DescribeClusterSchedulerConfigError,
3558            R,
3559        >,
3560    > for Error
3561where
3562    R: Send + Sync + std::fmt::Debug + 'static,
3563{
3564    fn from(
3565        err: ::aws_smithy_runtime_api::client::result::SdkError<
3566            crate::operation::describe_cluster_scheduler_config::DescribeClusterSchedulerConfigError,
3567            R,
3568        >,
3569    ) -> Self {
3570        match err {
3571            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3572            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3573                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3574                source: err.into(),
3575            }),
3576        }
3577    }
3578}
3579impl From<crate::operation::describe_cluster_scheduler_config::DescribeClusterSchedulerConfigError> for Error {
3580    fn from(err: crate::operation::describe_cluster_scheduler_config::DescribeClusterSchedulerConfigError) -> Self {
3581        match err {
3582            crate::operation::describe_cluster_scheduler_config::DescribeClusterSchedulerConfigError::ResourceNotFound(inner) => {
3583                Error::ResourceNotFound(inner)
3584            }
3585            crate::operation::describe_cluster_scheduler_config::DescribeClusterSchedulerConfigError::Unhandled(inner) => Error::Unhandled(inner),
3586        }
3587    }
3588}
3589impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_code_repository::DescribeCodeRepositoryError, R>> for Error
3590where
3591    R: Send + Sync + std::fmt::Debug + 'static,
3592{
3593    fn from(
3594        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_code_repository::DescribeCodeRepositoryError, R>,
3595    ) -> Self {
3596        match err {
3597            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3598            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3599                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3600                source: err.into(),
3601            }),
3602        }
3603    }
3604}
3605impl From<crate::operation::describe_code_repository::DescribeCodeRepositoryError> for Error {
3606    fn from(err: crate::operation::describe_code_repository::DescribeCodeRepositoryError) -> Self {
3607        match err {
3608            crate::operation::describe_code_repository::DescribeCodeRepositoryError::Unhandled(inner) => Error::Unhandled(inner),
3609        }
3610    }
3611}
3612impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_compilation_job::DescribeCompilationJobError, R>> for Error
3613where
3614    R: Send + Sync + std::fmt::Debug + 'static,
3615{
3616    fn from(
3617        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_compilation_job::DescribeCompilationJobError, R>,
3618    ) -> Self {
3619        match err {
3620            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3621            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3622                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3623                source: err.into(),
3624            }),
3625        }
3626    }
3627}
3628impl From<crate::operation::describe_compilation_job::DescribeCompilationJobError> for Error {
3629    fn from(err: crate::operation::describe_compilation_job::DescribeCompilationJobError) -> Self {
3630        match err {
3631            crate::operation::describe_compilation_job::DescribeCompilationJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3632            crate::operation::describe_compilation_job::DescribeCompilationJobError::Unhandled(inner) => Error::Unhandled(inner),
3633        }
3634    }
3635}
3636impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_compute_quota::DescribeComputeQuotaError, R>> for Error
3637where
3638    R: Send + Sync + std::fmt::Debug + 'static,
3639{
3640    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_compute_quota::DescribeComputeQuotaError, R>) -> Self {
3641        match err {
3642            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3643            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3644                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3645                source: err.into(),
3646            }),
3647        }
3648    }
3649}
3650impl From<crate::operation::describe_compute_quota::DescribeComputeQuotaError> for Error {
3651    fn from(err: crate::operation::describe_compute_quota::DescribeComputeQuotaError) -> Self {
3652        match err {
3653            crate::operation::describe_compute_quota::DescribeComputeQuotaError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3654            crate::operation::describe_compute_quota::DescribeComputeQuotaError::Unhandled(inner) => Error::Unhandled(inner),
3655        }
3656    }
3657}
3658impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_context::DescribeContextError, R>> for Error
3659where
3660    R: Send + Sync + std::fmt::Debug + 'static,
3661{
3662    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_context::DescribeContextError, R>) -> Self {
3663        match err {
3664            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3665            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3666                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3667                source: err.into(),
3668            }),
3669        }
3670    }
3671}
3672impl From<crate::operation::describe_context::DescribeContextError> for Error {
3673    fn from(err: crate::operation::describe_context::DescribeContextError) -> Self {
3674        match err {
3675            crate::operation::describe_context::DescribeContextError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3676            crate::operation::describe_context::DescribeContextError::Unhandled(inner) => Error::Unhandled(inner),
3677        }
3678    }
3679}
3680impl<R>
3681    From<
3682        ::aws_smithy_runtime_api::client::result::SdkError<
3683            crate::operation::describe_data_quality_job_definition::DescribeDataQualityJobDefinitionError,
3684            R,
3685        >,
3686    > for Error
3687where
3688    R: Send + Sync + std::fmt::Debug + 'static,
3689{
3690    fn from(
3691        err: ::aws_smithy_runtime_api::client::result::SdkError<
3692            crate::operation::describe_data_quality_job_definition::DescribeDataQualityJobDefinitionError,
3693            R,
3694        >,
3695    ) -> Self {
3696        match err {
3697            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3698            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3699                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3700                source: err.into(),
3701            }),
3702        }
3703    }
3704}
3705impl From<crate::operation::describe_data_quality_job_definition::DescribeDataQualityJobDefinitionError> for Error {
3706    fn from(err: crate::operation::describe_data_quality_job_definition::DescribeDataQualityJobDefinitionError) -> Self {
3707        match err {
3708            crate::operation::describe_data_quality_job_definition::DescribeDataQualityJobDefinitionError::ResourceNotFound(inner) => {
3709                Error::ResourceNotFound(inner)
3710            }
3711            crate::operation::describe_data_quality_job_definition::DescribeDataQualityJobDefinitionError::Unhandled(inner) => {
3712                Error::Unhandled(inner)
3713            }
3714        }
3715    }
3716}
3717impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_device::DescribeDeviceError, R>> for Error
3718where
3719    R: Send + Sync + std::fmt::Debug + 'static,
3720{
3721    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_device::DescribeDeviceError, R>) -> Self {
3722        match err {
3723            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3724            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3725                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3726                source: err.into(),
3727            }),
3728        }
3729    }
3730}
3731impl From<crate::operation::describe_device::DescribeDeviceError> for Error {
3732    fn from(err: crate::operation::describe_device::DescribeDeviceError) -> Self {
3733        match err {
3734            crate::operation::describe_device::DescribeDeviceError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3735            crate::operation::describe_device::DescribeDeviceError::Unhandled(inner) => Error::Unhandled(inner),
3736        }
3737    }
3738}
3739impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_device_fleet::DescribeDeviceFleetError, R>> for Error
3740where
3741    R: Send + Sync + std::fmt::Debug + 'static,
3742{
3743    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_device_fleet::DescribeDeviceFleetError, R>) -> Self {
3744        match err {
3745            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3746            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3747                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3748                source: err.into(),
3749            }),
3750        }
3751    }
3752}
3753impl From<crate::operation::describe_device_fleet::DescribeDeviceFleetError> for Error {
3754    fn from(err: crate::operation::describe_device_fleet::DescribeDeviceFleetError) -> Self {
3755        match err {
3756            crate::operation::describe_device_fleet::DescribeDeviceFleetError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3757            crate::operation::describe_device_fleet::DescribeDeviceFleetError::Unhandled(inner) => Error::Unhandled(inner),
3758        }
3759    }
3760}
3761impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_domain::DescribeDomainError, R>> for Error
3762where
3763    R: Send + Sync + std::fmt::Debug + 'static,
3764{
3765    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_domain::DescribeDomainError, R>) -> Self {
3766        match err {
3767            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3768            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3769                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3770                source: err.into(),
3771            }),
3772        }
3773    }
3774}
3775impl From<crate::operation::describe_domain::DescribeDomainError> for Error {
3776    fn from(err: crate::operation::describe_domain::DescribeDomainError) -> Self {
3777        match err {
3778            crate::operation::describe_domain::DescribeDomainError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3779            crate::operation::describe_domain::DescribeDomainError::Unhandled(inner) => Error::Unhandled(inner),
3780        }
3781    }
3782}
3783impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_edge_deployment_plan::DescribeEdgeDeploymentPlanError, R>>
3784    for Error
3785where
3786    R: Send + Sync + std::fmt::Debug + 'static,
3787{
3788    fn from(
3789        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_edge_deployment_plan::DescribeEdgeDeploymentPlanError, R>,
3790    ) -> Self {
3791        match err {
3792            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3793            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3794                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3795                source: err.into(),
3796            }),
3797        }
3798    }
3799}
3800impl From<crate::operation::describe_edge_deployment_plan::DescribeEdgeDeploymentPlanError> for Error {
3801    fn from(err: crate::operation::describe_edge_deployment_plan::DescribeEdgeDeploymentPlanError) -> Self {
3802        match err {
3803            crate::operation::describe_edge_deployment_plan::DescribeEdgeDeploymentPlanError::ResourceNotFound(inner) => {
3804                Error::ResourceNotFound(inner)
3805            }
3806            crate::operation::describe_edge_deployment_plan::DescribeEdgeDeploymentPlanError::Unhandled(inner) => Error::Unhandled(inner),
3807        }
3808    }
3809}
3810impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_edge_packaging_job::DescribeEdgePackagingJobError, R>>
3811    for Error
3812where
3813    R: Send + Sync + std::fmt::Debug + 'static,
3814{
3815    fn from(
3816        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_edge_packaging_job::DescribeEdgePackagingJobError, R>,
3817    ) -> Self {
3818        match err {
3819            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3820            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3821                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3822                source: err.into(),
3823            }),
3824        }
3825    }
3826}
3827impl From<crate::operation::describe_edge_packaging_job::DescribeEdgePackagingJobError> for Error {
3828    fn from(err: crate::operation::describe_edge_packaging_job::DescribeEdgePackagingJobError) -> Self {
3829        match err {
3830            crate::operation::describe_edge_packaging_job::DescribeEdgePackagingJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3831            crate::operation::describe_edge_packaging_job::DescribeEdgePackagingJobError::Unhandled(inner) => Error::Unhandled(inner),
3832        }
3833    }
3834}
3835impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_endpoint::DescribeEndpointError, R>> for Error
3836where
3837    R: Send + Sync + std::fmt::Debug + 'static,
3838{
3839    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_endpoint::DescribeEndpointError, R>) -> Self {
3840        match err {
3841            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3842            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3843                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3844                source: err.into(),
3845            }),
3846        }
3847    }
3848}
3849impl From<crate::operation::describe_endpoint::DescribeEndpointError> for Error {
3850    fn from(err: crate::operation::describe_endpoint::DescribeEndpointError) -> Self {
3851        match err {
3852            crate::operation::describe_endpoint::DescribeEndpointError::Unhandled(inner) => Error::Unhandled(inner),
3853        }
3854    }
3855}
3856impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_endpoint_config::DescribeEndpointConfigError, R>> for Error
3857where
3858    R: Send + Sync + std::fmt::Debug + 'static,
3859{
3860    fn from(
3861        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_endpoint_config::DescribeEndpointConfigError, R>,
3862    ) -> Self {
3863        match err {
3864            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3865            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3866                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3867                source: err.into(),
3868            }),
3869        }
3870    }
3871}
3872impl From<crate::operation::describe_endpoint_config::DescribeEndpointConfigError> for Error {
3873    fn from(err: crate::operation::describe_endpoint_config::DescribeEndpointConfigError) -> Self {
3874        match err {
3875            crate::operation::describe_endpoint_config::DescribeEndpointConfigError::Unhandled(inner) => Error::Unhandled(inner),
3876        }
3877    }
3878}
3879impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_experiment::DescribeExperimentError, R>> for Error
3880where
3881    R: Send + Sync + std::fmt::Debug + 'static,
3882{
3883    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_experiment::DescribeExperimentError, R>) -> Self {
3884        match err {
3885            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3886            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3887                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3888                source: err.into(),
3889            }),
3890        }
3891    }
3892}
3893impl From<crate::operation::describe_experiment::DescribeExperimentError> for Error {
3894    fn from(err: crate::operation::describe_experiment::DescribeExperimentError) -> Self {
3895        match err {
3896            crate::operation::describe_experiment::DescribeExperimentError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3897            crate::operation::describe_experiment::DescribeExperimentError::Unhandled(inner) => Error::Unhandled(inner),
3898        }
3899    }
3900}
3901impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_feature_group::DescribeFeatureGroupError, R>> for Error
3902where
3903    R: Send + Sync + std::fmt::Debug + 'static,
3904{
3905    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_feature_group::DescribeFeatureGroupError, R>) -> Self {
3906        match err {
3907            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3908            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3909                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3910                source: err.into(),
3911            }),
3912        }
3913    }
3914}
3915impl From<crate::operation::describe_feature_group::DescribeFeatureGroupError> for Error {
3916    fn from(err: crate::operation::describe_feature_group::DescribeFeatureGroupError) -> Self {
3917        match err {
3918            crate::operation::describe_feature_group::DescribeFeatureGroupError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3919            crate::operation::describe_feature_group::DescribeFeatureGroupError::Unhandled(inner) => Error::Unhandled(inner),
3920        }
3921    }
3922}
3923impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_feature_metadata::DescribeFeatureMetadataError, R>>
3924    for Error
3925where
3926    R: Send + Sync + std::fmt::Debug + 'static,
3927{
3928    fn from(
3929        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_feature_metadata::DescribeFeatureMetadataError, R>,
3930    ) -> Self {
3931        match err {
3932            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3933            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3934                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3935                source: err.into(),
3936            }),
3937        }
3938    }
3939}
3940impl From<crate::operation::describe_feature_metadata::DescribeFeatureMetadataError> for Error {
3941    fn from(err: crate::operation::describe_feature_metadata::DescribeFeatureMetadataError) -> Self {
3942        match err {
3943            crate::operation::describe_feature_metadata::DescribeFeatureMetadataError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3944            crate::operation::describe_feature_metadata::DescribeFeatureMetadataError::Unhandled(inner) => Error::Unhandled(inner),
3945        }
3946    }
3947}
3948impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_flow_definition::DescribeFlowDefinitionError, R>> for Error
3949where
3950    R: Send + Sync + std::fmt::Debug + 'static,
3951{
3952    fn from(
3953        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_flow_definition::DescribeFlowDefinitionError, R>,
3954    ) -> Self {
3955        match err {
3956            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3957            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3958                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3959                source: err.into(),
3960            }),
3961        }
3962    }
3963}
3964impl From<crate::operation::describe_flow_definition::DescribeFlowDefinitionError> for Error {
3965    fn from(err: crate::operation::describe_flow_definition::DescribeFlowDefinitionError) -> Self {
3966        match err {
3967            crate::operation::describe_flow_definition::DescribeFlowDefinitionError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3968            crate::operation::describe_flow_definition::DescribeFlowDefinitionError::Unhandled(inner) => Error::Unhandled(inner),
3969        }
3970    }
3971}
3972impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_hub::DescribeHubError, R>> for Error
3973where
3974    R: Send + Sync + std::fmt::Debug + 'static,
3975{
3976    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_hub::DescribeHubError, R>) -> Self {
3977        match err {
3978            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3979            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3980                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3981                source: err.into(),
3982            }),
3983        }
3984    }
3985}
3986impl From<crate::operation::describe_hub::DescribeHubError> for Error {
3987    fn from(err: crate::operation::describe_hub::DescribeHubError) -> Self {
3988        match err {
3989            crate::operation::describe_hub::DescribeHubError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3990            crate::operation::describe_hub::DescribeHubError::Unhandled(inner) => Error::Unhandled(inner),
3991        }
3992    }
3993}
3994impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_hub_content::DescribeHubContentError, R>> for Error
3995where
3996    R: Send + Sync + std::fmt::Debug + 'static,
3997{
3998    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_hub_content::DescribeHubContentError, R>) -> Self {
3999        match err {
4000            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4001            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4002                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4003                source: err.into(),
4004            }),
4005        }
4006    }
4007}
4008impl From<crate::operation::describe_hub_content::DescribeHubContentError> for Error {
4009    fn from(err: crate::operation::describe_hub_content::DescribeHubContentError) -> Self {
4010        match err {
4011            crate::operation::describe_hub_content::DescribeHubContentError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
4012            crate::operation::describe_hub_content::DescribeHubContentError::Unhandled(inner) => Error::Unhandled(inner),
4013        }
4014    }
4015}
4016impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_human_task_ui::DescribeHumanTaskUiError, R>> for Error
4017where
4018    R: Send + Sync + std::fmt::Debug + 'static,
4019{
4020    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_human_task_ui::DescribeHumanTaskUiError, R>) -> Self {
4021        match err {
4022            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4023            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4024                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4025                source: err.into(),
4026            }),
4027        }
4028    }
4029}
4030impl From<crate::operation::describe_human_task_ui::DescribeHumanTaskUiError> for Error {
4031    fn from(err: crate::operation::describe_human_task_ui::DescribeHumanTaskUiError) -> Self {
4032        match err {
4033            crate::operation::describe_human_task_ui::DescribeHumanTaskUiError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
4034            crate::operation::describe_human_task_ui::DescribeHumanTaskUiError::Unhandled(inner) => Error::Unhandled(inner),
4035        }
4036    }
4037}
4038impl<R>
4039    From<
4040        ::aws_smithy_runtime_api::client::result::SdkError<
4041            crate::operation::describe_hyper_parameter_tuning_job::DescribeHyperParameterTuningJobError,
4042            R,
4043        >,
4044    > for Error
4045where
4046    R: Send + Sync + std::fmt::Debug + 'static,
4047{
4048    fn from(
4049        err: ::aws_smithy_runtime_api::client::result::SdkError<
4050            crate::operation::describe_hyper_parameter_tuning_job::DescribeHyperParameterTuningJobError,
4051            R,
4052        >,
4053    ) -> Self {
4054        match err {
4055            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4056            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4057                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4058                source: err.into(),
4059            }),
4060        }
4061    }
4062}
4063impl From<crate::operation::describe_hyper_parameter_tuning_job::DescribeHyperParameterTuningJobError> for Error {
4064    fn from(err: crate::operation::describe_hyper_parameter_tuning_job::DescribeHyperParameterTuningJobError) -> Self {
4065        match err {
4066            crate::operation::describe_hyper_parameter_tuning_job::DescribeHyperParameterTuningJobError::ResourceNotFound(inner) => {
4067                Error::ResourceNotFound(inner)
4068            }
4069            crate::operation::describe_hyper_parameter_tuning_job::DescribeHyperParameterTuningJobError::Unhandled(inner) => Error::Unhandled(inner),
4070        }
4071    }
4072}
4073impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_image::DescribeImageError, R>> for Error
4074where
4075    R: Send + Sync + std::fmt::Debug + 'static,
4076{
4077    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_image::DescribeImageError, R>) -> Self {
4078        match err {
4079            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4080            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4081                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4082                source: err.into(),
4083            }),
4084        }
4085    }
4086}
4087impl From<crate::operation::describe_image::DescribeImageError> for Error {
4088    fn from(err: crate::operation::describe_image::DescribeImageError) -> Self {
4089        match err {
4090            crate::operation::describe_image::DescribeImageError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
4091            crate::operation::describe_image::DescribeImageError::Unhandled(inner) => Error::Unhandled(inner),
4092        }
4093    }
4094}
4095impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_image_version::DescribeImageVersionError, R>> for Error
4096where
4097    R: Send + Sync + std::fmt::Debug + 'static,
4098{
4099    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_image_version::DescribeImageVersionError, R>) -> Self {
4100        match err {
4101            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4102            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4103                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4104                source: err.into(),
4105            }),
4106        }
4107    }
4108}
4109impl From<crate::operation::describe_image_version::DescribeImageVersionError> for Error {
4110    fn from(err: crate::operation::describe_image_version::DescribeImageVersionError) -> Self {
4111        match err {
4112            crate::operation::describe_image_version::DescribeImageVersionError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
4113            crate::operation::describe_image_version::DescribeImageVersionError::Unhandled(inner) => Error::Unhandled(inner),
4114        }
4115    }
4116}
4117impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_inference_component::DescribeInferenceComponentError, R>>
4118    for Error
4119where
4120    R: Send + Sync + std::fmt::Debug + 'static,
4121{
4122    fn from(
4123        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_inference_component::DescribeInferenceComponentError, R>,
4124    ) -> Self {
4125        match err {
4126            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4127            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4128                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4129                source: err.into(),
4130            }),
4131        }
4132    }
4133}
4134impl From<crate::operation::describe_inference_component::DescribeInferenceComponentError> for Error {
4135    fn from(err: crate::operation::describe_inference_component::DescribeInferenceComponentError) -> Self {
4136        match err {
4137            crate::operation::describe_inference_component::DescribeInferenceComponentError::Unhandled(inner) => Error::Unhandled(inner),
4138        }
4139    }
4140}
4141impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_inference_experiment::DescribeInferenceExperimentError, R>>
4142    for Error
4143where
4144    R: Send + Sync + std::fmt::Debug + 'static,
4145{
4146    fn from(
4147        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_inference_experiment::DescribeInferenceExperimentError, R>,
4148    ) -> Self {
4149        match err {
4150            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4151            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4152                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4153                source: err.into(),
4154            }),
4155        }
4156    }
4157}
4158impl From<crate::operation::describe_inference_experiment::DescribeInferenceExperimentError> for Error {
4159    fn from(err: crate::operation::describe_inference_experiment::DescribeInferenceExperimentError) -> Self {
4160        match err {
4161            crate::operation::describe_inference_experiment::DescribeInferenceExperimentError::ResourceNotFound(inner) => {
4162                Error::ResourceNotFound(inner)
4163            }
4164            crate::operation::describe_inference_experiment::DescribeInferenceExperimentError::Unhandled(inner) => Error::Unhandled(inner),
4165        }
4166    }
4167}
4168impl<R>
4169    From<
4170        ::aws_smithy_runtime_api::client::result::SdkError<
4171            crate::operation::describe_inference_recommendations_job::DescribeInferenceRecommendationsJobError,
4172            R,
4173        >,
4174    > for Error
4175where
4176    R: Send + Sync + std::fmt::Debug + 'static,
4177{
4178    fn from(
4179        err: ::aws_smithy_runtime_api::client::result::SdkError<
4180            crate::operation::describe_inference_recommendations_job::DescribeInferenceRecommendationsJobError,
4181            R,
4182        >,
4183    ) -> Self {
4184        match err {
4185            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4186            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4187                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4188                source: err.into(),
4189            }),
4190        }
4191    }
4192}
4193impl From<crate::operation::describe_inference_recommendations_job::DescribeInferenceRecommendationsJobError> for Error {
4194    fn from(err: crate::operation::describe_inference_recommendations_job::DescribeInferenceRecommendationsJobError) -> Self {
4195        match err {
4196            crate::operation::describe_inference_recommendations_job::DescribeInferenceRecommendationsJobError::ResourceNotFound(inner) => {
4197                Error::ResourceNotFound(inner)
4198            }
4199            crate::operation::describe_inference_recommendations_job::DescribeInferenceRecommendationsJobError::Unhandled(inner) => {
4200                Error::Unhandled(inner)
4201            }
4202        }
4203    }
4204}
4205impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_labeling_job::DescribeLabelingJobError, R>> for Error
4206where
4207    R: Send + Sync + std::fmt::Debug + 'static,
4208{
4209    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_labeling_job::DescribeLabelingJobError, R>) -> Self {
4210        match err {
4211            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4212            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4213                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4214                source: err.into(),
4215            }),
4216        }
4217    }
4218}
4219impl From<crate::operation::describe_labeling_job::DescribeLabelingJobError> for Error {
4220    fn from(err: crate::operation::describe_labeling_job::DescribeLabelingJobError) -> Self {
4221        match err {
4222            crate::operation::describe_labeling_job::DescribeLabelingJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
4223            crate::operation::describe_labeling_job::DescribeLabelingJobError::Unhandled(inner) => Error::Unhandled(inner),
4224        }
4225    }
4226}
4227impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_lineage_group::DescribeLineageGroupError, R>> for Error
4228where
4229    R: Send + Sync + std::fmt::Debug + 'static,
4230{
4231    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_lineage_group::DescribeLineageGroupError, R>) -> Self {
4232        match err {
4233            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4234            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4235                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4236                source: err.into(),
4237            }),
4238        }
4239    }
4240}
4241impl From<crate::operation::describe_lineage_group::DescribeLineageGroupError> for Error {
4242    fn from(err: crate::operation::describe_lineage_group::DescribeLineageGroupError) -> Self {
4243        match err {
4244            crate::operation::describe_lineage_group::DescribeLineageGroupError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
4245            crate::operation::describe_lineage_group::DescribeLineageGroupError::Unhandled(inner) => Error::Unhandled(inner),
4246        }
4247    }
4248}
4249impl<R>
4250    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_mlflow_tracking_server::DescribeMlflowTrackingServerError, R>>
4251    for Error
4252where
4253    R: Send + Sync + std::fmt::Debug + 'static,
4254{
4255    fn from(
4256        err: ::aws_smithy_runtime_api::client::result::SdkError<
4257            crate::operation::describe_mlflow_tracking_server::DescribeMlflowTrackingServerError,
4258            R,
4259        >,
4260    ) -> Self {
4261        match err {
4262            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4263            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4264                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4265                source: err.into(),
4266            }),
4267        }
4268    }
4269}
4270impl From<crate::operation::describe_mlflow_tracking_server::DescribeMlflowTrackingServerError> for Error {
4271    fn from(err: crate::operation::describe_mlflow_tracking_server::DescribeMlflowTrackingServerError) -> Self {
4272        match err {
4273            crate::operation::describe_mlflow_tracking_server::DescribeMlflowTrackingServerError::ResourceNotFound(inner) => {
4274                Error::ResourceNotFound(inner)
4275            }
4276            crate::operation::describe_mlflow_tracking_server::DescribeMlflowTrackingServerError::Unhandled(inner) => Error::Unhandled(inner),
4277        }
4278    }
4279}
4280impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_model::DescribeModelError, R>> for Error
4281where
4282    R: Send + Sync + std::fmt::Debug + 'static,
4283{
4284    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_model::DescribeModelError, R>) -> Self {
4285        match err {
4286            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4287            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4288                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4289                source: err.into(),
4290            }),
4291        }
4292    }
4293}
4294impl From<crate::operation::describe_model::DescribeModelError> for Error {
4295    fn from(err: crate::operation::describe_model::DescribeModelError) -> Self {
4296        match err {
4297            crate::operation::describe_model::DescribeModelError::Unhandled(inner) => Error::Unhandled(inner),
4298        }
4299    }
4300}
4301impl<R>
4302    From<
4303        ::aws_smithy_runtime_api::client::result::SdkError<
4304            crate::operation::describe_model_bias_job_definition::DescribeModelBiasJobDefinitionError,
4305            R,
4306        >,
4307    > for Error
4308where
4309    R: Send + Sync + std::fmt::Debug + 'static,
4310{
4311    fn from(
4312        err: ::aws_smithy_runtime_api::client::result::SdkError<
4313            crate::operation::describe_model_bias_job_definition::DescribeModelBiasJobDefinitionError,
4314            R,
4315        >,
4316    ) -> Self {
4317        match err {
4318            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4319            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4320                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4321                source: err.into(),
4322            }),
4323        }
4324    }
4325}
4326impl From<crate::operation::describe_model_bias_job_definition::DescribeModelBiasJobDefinitionError> for Error {
4327    fn from(err: crate::operation::describe_model_bias_job_definition::DescribeModelBiasJobDefinitionError) -> Self {
4328        match err {
4329            crate::operation::describe_model_bias_job_definition::DescribeModelBiasJobDefinitionError::ResourceNotFound(inner) => {
4330                Error::ResourceNotFound(inner)
4331            }
4332            crate::operation::describe_model_bias_job_definition::DescribeModelBiasJobDefinitionError::Unhandled(inner) => Error::Unhandled(inner),
4333        }
4334    }
4335}
4336impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_model_card::DescribeModelCardError, R>> for Error
4337where
4338    R: Send + Sync + std::fmt::Debug + 'static,
4339{
4340    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_model_card::DescribeModelCardError, R>) -> Self {
4341        match err {
4342            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4343            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4344                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4345                source: err.into(),
4346            }),
4347        }
4348    }
4349}
4350impl From<crate::operation::describe_model_card::DescribeModelCardError> for Error {
4351    fn from(err: crate::operation::describe_model_card::DescribeModelCardError) -> Self {
4352        match err {
4353            crate::operation::describe_model_card::DescribeModelCardError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
4354            crate::operation::describe_model_card::DescribeModelCardError::Unhandled(inner) => Error::Unhandled(inner),
4355        }
4356    }
4357}
4358impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_model_card_export_job::DescribeModelCardExportJobError, R>>
4359    for Error
4360where
4361    R: Send + Sync + std::fmt::Debug + 'static,
4362{
4363    fn from(
4364        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_model_card_export_job::DescribeModelCardExportJobError, R>,
4365    ) -> Self {
4366        match err {
4367            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4368            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4369                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4370                source: err.into(),
4371            }),
4372        }
4373    }
4374}
4375impl From<crate::operation::describe_model_card_export_job::DescribeModelCardExportJobError> for Error {
4376    fn from(err: crate::operation::describe_model_card_export_job::DescribeModelCardExportJobError) -> Self {
4377        match err {
4378            crate::operation::describe_model_card_export_job::DescribeModelCardExportJobError::ResourceNotFound(inner) => {
4379                Error::ResourceNotFound(inner)
4380            }
4381            crate::operation::describe_model_card_export_job::DescribeModelCardExportJobError::Unhandled(inner) => Error::Unhandled(inner),
4382        }
4383    }
4384}
4385impl<R>
4386    From<
4387        ::aws_smithy_runtime_api::client::result::SdkError<
4388            crate::operation::describe_model_explainability_job_definition::DescribeModelExplainabilityJobDefinitionError,
4389            R,
4390        >,
4391    > for Error
4392where
4393    R: Send + Sync + std::fmt::Debug + 'static,
4394{
4395    fn from(
4396        err: ::aws_smithy_runtime_api::client::result::SdkError<
4397            crate::operation::describe_model_explainability_job_definition::DescribeModelExplainabilityJobDefinitionError,
4398            R,
4399        >,
4400    ) -> Self {
4401        match err {
4402            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4403            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4404                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4405                source: err.into(),
4406            }),
4407        }
4408    }
4409}
4410impl From<crate::operation::describe_model_explainability_job_definition::DescribeModelExplainabilityJobDefinitionError> for Error {
4411    fn from(err: crate::operation::describe_model_explainability_job_definition::DescribeModelExplainabilityJobDefinitionError) -> Self {
4412        match err {
4413            crate::operation::describe_model_explainability_job_definition::DescribeModelExplainabilityJobDefinitionError::ResourceNotFound(
4414                inner,
4415            ) => Error::ResourceNotFound(inner),
4416            crate::operation::describe_model_explainability_job_definition::DescribeModelExplainabilityJobDefinitionError::Unhandled(inner) => {
4417                Error::Unhandled(inner)
4418            }
4419        }
4420    }
4421}
4422impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_model_package::DescribeModelPackageError, R>> for Error
4423where
4424    R: Send + Sync + std::fmt::Debug + 'static,
4425{
4426    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_model_package::DescribeModelPackageError, R>) -> Self {
4427        match err {
4428            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4429            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4430                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4431                source: err.into(),
4432            }),
4433        }
4434    }
4435}
4436impl From<crate::operation::describe_model_package::DescribeModelPackageError> for Error {
4437    fn from(err: crate::operation::describe_model_package::DescribeModelPackageError) -> Self {
4438        match err {
4439            crate::operation::describe_model_package::DescribeModelPackageError::Unhandled(inner) => Error::Unhandled(inner),
4440        }
4441    }
4442}
4443impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_model_package_group::DescribeModelPackageGroupError, R>>
4444    for Error
4445where
4446    R: Send + Sync + std::fmt::Debug + 'static,
4447{
4448    fn from(
4449        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_model_package_group::DescribeModelPackageGroupError, R>,
4450    ) -> Self {
4451        match err {
4452            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4453            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4454                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4455                source: err.into(),
4456            }),
4457        }
4458    }
4459}
4460impl From<crate::operation::describe_model_package_group::DescribeModelPackageGroupError> for Error {
4461    fn from(err: crate::operation::describe_model_package_group::DescribeModelPackageGroupError) -> Self {
4462        match err {
4463            crate::operation::describe_model_package_group::DescribeModelPackageGroupError::Unhandled(inner) => Error::Unhandled(inner),
4464        }
4465    }
4466}
4467impl<R>
4468    From<
4469        ::aws_smithy_runtime_api::client::result::SdkError<
4470            crate::operation::describe_model_quality_job_definition::DescribeModelQualityJobDefinitionError,
4471            R,
4472        >,
4473    > for Error
4474where
4475    R: Send + Sync + std::fmt::Debug + 'static,
4476{
4477    fn from(
4478        err: ::aws_smithy_runtime_api::client::result::SdkError<
4479            crate::operation::describe_model_quality_job_definition::DescribeModelQualityJobDefinitionError,
4480            R,
4481        >,
4482    ) -> Self {
4483        match err {
4484            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4485            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4486                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4487                source: err.into(),
4488            }),
4489        }
4490    }
4491}
4492impl From<crate::operation::describe_model_quality_job_definition::DescribeModelQualityJobDefinitionError> for Error {
4493    fn from(err: crate::operation::describe_model_quality_job_definition::DescribeModelQualityJobDefinitionError) -> Self {
4494        match err {
4495            crate::operation::describe_model_quality_job_definition::DescribeModelQualityJobDefinitionError::ResourceNotFound(inner) => {
4496                Error::ResourceNotFound(inner)
4497            }
4498            crate::operation::describe_model_quality_job_definition::DescribeModelQualityJobDefinitionError::Unhandled(inner) => {
4499                Error::Unhandled(inner)
4500            }
4501        }
4502    }
4503}
4504impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_monitoring_schedule::DescribeMonitoringScheduleError, R>>
4505    for Error
4506where
4507    R: Send + Sync + std::fmt::Debug + 'static,
4508{
4509    fn from(
4510        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_monitoring_schedule::DescribeMonitoringScheduleError, R>,
4511    ) -> Self {
4512        match err {
4513            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4514            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4515                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4516                source: err.into(),
4517            }),
4518        }
4519    }
4520}
4521impl From<crate::operation::describe_monitoring_schedule::DescribeMonitoringScheduleError> for Error {
4522    fn from(err: crate::operation::describe_monitoring_schedule::DescribeMonitoringScheduleError) -> Self {
4523        match err {
4524            crate::operation::describe_monitoring_schedule::DescribeMonitoringScheduleError::ResourceNotFound(inner) => {
4525                Error::ResourceNotFound(inner)
4526            }
4527            crate::operation::describe_monitoring_schedule::DescribeMonitoringScheduleError::Unhandled(inner) => Error::Unhandled(inner),
4528        }
4529    }
4530}
4531impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_notebook_instance::DescribeNotebookInstanceError, R>>
4532    for Error
4533where
4534    R: Send + Sync + std::fmt::Debug + 'static,
4535{
4536    fn from(
4537        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_notebook_instance::DescribeNotebookInstanceError, R>,
4538    ) -> Self {
4539        match err {
4540            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4541            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4542                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4543                source: err.into(),
4544            }),
4545        }
4546    }
4547}
4548impl From<crate::operation::describe_notebook_instance::DescribeNotebookInstanceError> for Error {
4549    fn from(err: crate::operation::describe_notebook_instance::DescribeNotebookInstanceError) -> Self {
4550        match err {
4551            crate::operation::describe_notebook_instance::DescribeNotebookInstanceError::Unhandled(inner) => Error::Unhandled(inner),
4552        }
4553    }
4554}
4555impl<R>
4556    From<
4557        ::aws_smithy_runtime_api::client::result::SdkError<
4558            crate::operation::describe_notebook_instance_lifecycle_config::DescribeNotebookInstanceLifecycleConfigError,
4559            R,
4560        >,
4561    > for Error
4562where
4563    R: Send + Sync + std::fmt::Debug + 'static,
4564{
4565    fn from(
4566        err: ::aws_smithy_runtime_api::client::result::SdkError<
4567            crate::operation::describe_notebook_instance_lifecycle_config::DescribeNotebookInstanceLifecycleConfigError,
4568            R,
4569        >,
4570    ) -> Self {
4571        match err {
4572            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4573            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4574                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4575                source: err.into(),
4576            }),
4577        }
4578    }
4579}
4580impl From<crate::operation::describe_notebook_instance_lifecycle_config::DescribeNotebookInstanceLifecycleConfigError> for Error {
4581    fn from(err: crate::operation::describe_notebook_instance_lifecycle_config::DescribeNotebookInstanceLifecycleConfigError) -> Self {
4582        match err {
4583            crate::operation::describe_notebook_instance_lifecycle_config::DescribeNotebookInstanceLifecycleConfigError::Unhandled(inner) => {
4584                Error::Unhandled(inner)
4585            }
4586        }
4587    }
4588}
4589impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_optimization_job::DescribeOptimizationJobError, R>>
4590    for Error
4591where
4592    R: Send + Sync + std::fmt::Debug + 'static,
4593{
4594    fn from(
4595        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_optimization_job::DescribeOptimizationJobError, R>,
4596    ) -> Self {
4597        match err {
4598            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4599            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4600                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4601                source: err.into(),
4602            }),
4603        }
4604    }
4605}
4606impl From<crate::operation::describe_optimization_job::DescribeOptimizationJobError> for Error {
4607    fn from(err: crate::operation::describe_optimization_job::DescribeOptimizationJobError) -> Self {
4608        match err {
4609            crate::operation::describe_optimization_job::DescribeOptimizationJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
4610            crate::operation::describe_optimization_job::DescribeOptimizationJobError::Unhandled(inner) => Error::Unhandled(inner),
4611        }
4612    }
4613}
4614impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_partner_app::DescribePartnerAppError, R>> for Error
4615where
4616    R: Send + Sync + std::fmt::Debug + 'static,
4617{
4618    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_partner_app::DescribePartnerAppError, R>) -> Self {
4619        match err {
4620            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4621            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4622                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4623                source: err.into(),
4624            }),
4625        }
4626    }
4627}
4628impl From<crate::operation::describe_partner_app::DescribePartnerAppError> for Error {
4629    fn from(err: crate::operation::describe_partner_app::DescribePartnerAppError) -> Self {
4630        match err {
4631            crate::operation::describe_partner_app::DescribePartnerAppError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
4632            crate::operation::describe_partner_app::DescribePartnerAppError::Unhandled(inner) => Error::Unhandled(inner),
4633        }
4634    }
4635}
4636impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_pipeline::DescribePipelineError, R>> for Error
4637where
4638    R: Send + Sync + std::fmt::Debug + 'static,
4639{
4640    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_pipeline::DescribePipelineError, R>) -> Self {
4641        match err {
4642            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4643            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4644                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4645                source: err.into(),
4646            }),
4647        }
4648    }
4649}
4650impl From<crate::operation::describe_pipeline::DescribePipelineError> for Error {
4651    fn from(err: crate::operation::describe_pipeline::DescribePipelineError) -> Self {
4652        match err {
4653            crate::operation::describe_pipeline::DescribePipelineError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
4654            crate::operation::describe_pipeline::DescribePipelineError::Unhandled(inner) => Error::Unhandled(inner),
4655        }
4656    }
4657}
4658impl<R>
4659    From<
4660        ::aws_smithy_runtime_api::client::result::SdkError<
4661            crate::operation::describe_pipeline_definition_for_execution::DescribePipelineDefinitionForExecutionError,
4662            R,
4663        >,
4664    > for Error
4665where
4666    R: Send + Sync + std::fmt::Debug + 'static,
4667{
4668    fn from(
4669        err: ::aws_smithy_runtime_api::client::result::SdkError<
4670            crate::operation::describe_pipeline_definition_for_execution::DescribePipelineDefinitionForExecutionError,
4671            R,
4672        >,
4673    ) -> Self {
4674        match err {
4675            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4676            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4677                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4678                source: err.into(),
4679            }),
4680        }
4681    }
4682}
4683impl From<crate::operation::describe_pipeline_definition_for_execution::DescribePipelineDefinitionForExecutionError> for Error {
4684    fn from(err: crate::operation::describe_pipeline_definition_for_execution::DescribePipelineDefinitionForExecutionError) -> Self {
4685        match err {
4686            crate::operation::describe_pipeline_definition_for_execution::DescribePipelineDefinitionForExecutionError::ResourceNotFound(inner) => {
4687                Error::ResourceNotFound(inner)
4688            }
4689            crate::operation::describe_pipeline_definition_for_execution::DescribePipelineDefinitionForExecutionError::Unhandled(inner) => {
4690                Error::Unhandled(inner)
4691            }
4692        }
4693    }
4694}
4695impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_pipeline_execution::DescribePipelineExecutionError, R>>
4696    for Error
4697where
4698    R: Send + Sync + std::fmt::Debug + 'static,
4699{
4700    fn from(
4701        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_pipeline_execution::DescribePipelineExecutionError, R>,
4702    ) -> Self {
4703        match err {
4704            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4705            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4706                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4707                source: err.into(),
4708            }),
4709        }
4710    }
4711}
4712impl From<crate::operation::describe_pipeline_execution::DescribePipelineExecutionError> for Error {
4713    fn from(err: crate::operation::describe_pipeline_execution::DescribePipelineExecutionError) -> Self {
4714        match err {
4715            crate::operation::describe_pipeline_execution::DescribePipelineExecutionError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
4716            crate::operation::describe_pipeline_execution::DescribePipelineExecutionError::Unhandled(inner) => Error::Unhandled(inner),
4717        }
4718    }
4719}
4720impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_processing_job::DescribeProcessingJobError, R>> for Error
4721where
4722    R: Send + Sync + std::fmt::Debug + 'static,
4723{
4724    fn from(
4725        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_processing_job::DescribeProcessingJobError, R>,
4726    ) -> Self {
4727        match err {
4728            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4729            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4730                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4731                source: err.into(),
4732            }),
4733        }
4734    }
4735}
4736impl From<crate::operation::describe_processing_job::DescribeProcessingJobError> for Error {
4737    fn from(err: crate::operation::describe_processing_job::DescribeProcessingJobError) -> Self {
4738        match err {
4739            crate::operation::describe_processing_job::DescribeProcessingJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
4740            crate::operation::describe_processing_job::DescribeProcessingJobError::Unhandled(inner) => Error::Unhandled(inner),
4741        }
4742    }
4743}
4744impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_project::DescribeProjectError, R>> for Error
4745where
4746    R: Send + Sync + std::fmt::Debug + 'static,
4747{
4748    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_project::DescribeProjectError, R>) -> Self {
4749        match err {
4750            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4751            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4752                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4753                source: err.into(),
4754            }),
4755        }
4756    }
4757}
4758impl From<crate::operation::describe_project::DescribeProjectError> for Error {
4759    fn from(err: crate::operation::describe_project::DescribeProjectError) -> Self {
4760        match err {
4761            crate::operation::describe_project::DescribeProjectError::Unhandled(inner) => Error::Unhandled(inner),
4762        }
4763    }
4764}
4765impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_reserved_capacity::DescribeReservedCapacityError, R>>
4766    for Error
4767where
4768    R: Send + Sync + std::fmt::Debug + 'static,
4769{
4770    fn from(
4771        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_reserved_capacity::DescribeReservedCapacityError, R>,
4772    ) -> Self {
4773        match err {
4774            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4775            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4776                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4777                source: err.into(),
4778            }),
4779        }
4780    }
4781}
4782impl From<crate::operation::describe_reserved_capacity::DescribeReservedCapacityError> for Error {
4783    fn from(err: crate::operation::describe_reserved_capacity::DescribeReservedCapacityError) -> Self {
4784        match err {
4785            crate::operation::describe_reserved_capacity::DescribeReservedCapacityError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
4786            crate::operation::describe_reserved_capacity::DescribeReservedCapacityError::Unhandled(inner) => Error::Unhandled(inner),
4787        }
4788    }
4789}
4790impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_space::DescribeSpaceError, R>> for Error
4791where
4792    R: Send + Sync + std::fmt::Debug + 'static,
4793{
4794    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_space::DescribeSpaceError, R>) -> Self {
4795        match err {
4796            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4797            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4798                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4799                source: err.into(),
4800            }),
4801        }
4802    }
4803}
4804impl From<crate::operation::describe_space::DescribeSpaceError> for Error {
4805    fn from(err: crate::operation::describe_space::DescribeSpaceError) -> Self {
4806        match err {
4807            crate::operation::describe_space::DescribeSpaceError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
4808            crate::operation::describe_space::DescribeSpaceError::Unhandled(inner) => Error::Unhandled(inner),
4809        }
4810    }
4811}
4812impl<R>
4813    From<
4814        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_studio_lifecycle_config::DescribeStudioLifecycleConfigError, R>,
4815    > for Error
4816where
4817    R: Send + Sync + std::fmt::Debug + 'static,
4818{
4819    fn from(
4820        err: ::aws_smithy_runtime_api::client::result::SdkError<
4821            crate::operation::describe_studio_lifecycle_config::DescribeStudioLifecycleConfigError,
4822            R,
4823        >,
4824    ) -> Self {
4825        match err {
4826            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4827            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4828                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4829                source: err.into(),
4830            }),
4831        }
4832    }
4833}
4834impl From<crate::operation::describe_studio_lifecycle_config::DescribeStudioLifecycleConfigError> for Error {
4835    fn from(err: crate::operation::describe_studio_lifecycle_config::DescribeStudioLifecycleConfigError) -> Self {
4836        match err {
4837            crate::operation::describe_studio_lifecycle_config::DescribeStudioLifecycleConfigError::ResourceNotFound(inner) => {
4838                Error::ResourceNotFound(inner)
4839            }
4840            crate::operation::describe_studio_lifecycle_config::DescribeStudioLifecycleConfigError::Unhandled(inner) => Error::Unhandled(inner),
4841        }
4842    }
4843}
4844impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_subscribed_workteam::DescribeSubscribedWorkteamError, R>>
4845    for Error
4846where
4847    R: Send + Sync + std::fmt::Debug + 'static,
4848{
4849    fn from(
4850        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_subscribed_workteam::DescribeSubscribedWorkteamError, R>,
4851    ) -> Self {
4852        match err {
4853            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4854            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4855                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4856                source: err.into(),
4857            }),
4858        }
4859    }
4860}
4861impl From<crate::operation::describe_subscribed_workteam::DescribeSubscribedWorkteamError> for Error {
4862    fn from(err: crate::operation::describe_subscribed_workteam::DescribeSubscribedWorkteamError) -> Self {
4863        match err {
4864            crate::operation::describe_subscribed_workteam::DescribeSubscribedWorkteamError::Unhandled(inner) => Error::Unhandled(inner),
4865        }
4866    }
4867}
4868impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_training_job::DescribeTrainingJobError, R>> for Error
4869where
4870    R: Send + Sync + std::fmt::Debug + 'static,
4871{
4872    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_training_job::DescribeTrainingJobError, R>) -> Self {
4873        match err {
4874            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4875            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4876                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4877                source: err.into(),
4878            }),
4879        }
4880    }
4881}
4882impl From<crate::operation::describe_training_job::DescribeTrainingJobError> for Error {
4883    fn from(err: crate::operation::describe_training_job::DescribeTrainingJobError) -> Self {
4884        match err {
4885            crate::operation::describe_training_job::DescribeTrainingJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
4886            crate::operation::describe_training_job::DescribeTrainingJobError::Unhandled(inner) => Error::Unhandled(inner),
4887        }
4888    }
4889}
4890impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_training_plan::DescribeTrainingPlanError, R>> for Error
4891where
4892    R: Send + Sync + std::fmt::Debug + 'static,
4893{
4894    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_training_plan::DescribeTrainingPlanError, R>) -> Self {
4895        match err {
4896            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4897            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4898                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4899                source: err.into(),
4900            }),
4901        }
4902    }
4903}
4904impl From<crate::operation::describe_training_plan::DescribeTrainingPlanError> for Error {
4905    fn from(err: crate::operation::describe_training_plan::DescribeTrainingPlanError) -> Self {
4906        match err {
4907            crate::operation::describe_training_plan::DescribeTrainingPlanError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
4908            crate::operation::describe_training_plan::DescribeTrainingPlanError::Unhandled(inner) => Error::Unhandled(inner),
4909        }
4910    }
4911}
4912impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_transform_job::DescribeTransformJobError, R>> for Error
4913where
4914    R: Send + Sync + std::fmt::Debug + 'static,
4915{
4916    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_transform_job::DescribeTransformJobError, R>) -> Self {
4917        match err {
4918            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4919            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4920                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4921                source: err.into(),
4922            }),
4923        }
4924    }
4925}
4926impl From<crate::operation::describe_transform_job::DescribeTransformJobError> for Error {
4927    fn from(err: crate::operation::describe_transform_job::DescribeTransformJobError) -> Self {
4928        match err {
4929            crate::operation::describe_transform_job::DescribeTransformJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
4930            crate::operation::describe_transform_job::DescribeTransformJobError::Unhandled(inner) => Error::Unhandled(inner),
4931        }
4932    }
4933}
4934impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_trial::DescribeTrialError, R>> for Error
4935where
4936    R: Send + Sync + std::fmt::Debug + 'static,
4937{
4938    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_trial::DescribeTrialError, R>) -> Self {
4939        match err {
4940            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4941            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4942                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4943                source: err.into(),
4944            }),
4945        }
4946    }
4947}
4948impl From<crate::operation::describe_trial::DescribeTrialError> for Error {
4949    fn from(err: crate::operation::describe_trial::DescribeTrialError) -> Self {
4950        match err {
4951            crate::operation::describe_trial::DescribeTrialError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
4952            crate::operation::describe_trial::DescribeTrialError::Unhandled(inner) => Error::Unhandled(inner),
4953        }
4954    }
4955}
4956impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_trial_component::DescribeTrialComponentError, R>> for Error
4957where
4958    R: Send + Sync + std::fmt::Debug + 'static,
4959{
4960    fn from(
4961        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_trial_component::DescribeTrialComponentError, R>,
4962    ) -> Self {
4963        match err {
4964            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4965            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4966                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4967                source: err.into(),
4968            }),
4969        }
4970    }
4971}
4972impl From<crate::operation::describe_trial_component::DescribeTrialComponentError> for Error {
4973    fn from(err: crate::operation::describe_trial_component::DescribeTrialComponentError) -> Self {
4974        match err {
4975            crate::operation::describe_trial_component::DescribeTrialComponentError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
4976            crate::operation::describe_trial_component::DescribeTrialComponentError::Unhandled(inner) => Error::Unhandled(inner),
4977        }
4978    }
4979}
4980impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_user_profile::DescribeUserProfileError, R>> for Error
4981where
4982    R: Send + Sync + std::fmt::Debug + 'static,
4983{
4984    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_user_profile::DescribeUserProfileError, R>) -> Self {
4985        match err {
4986            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4987            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4988                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4989                source: err.into(),
4990            }),
4991        }
4992    }
4993}
4994impl From<crate::operation::describe_user_profile::DescribeUserProfileError> for Error {
4995    fn from(err: crate::operation::describe_user_profile::DescribeUserProfileError) -> Self {
4996        match err {
4997            crate::operation::describe_user_profile::DescribeUserProfileError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
4998            crate::operation::describe_user_profile::DescribeUserProfileError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
4999            crate::operation::describe_user_profile::DescribeUserProfileError::Unhandled(inner) => Error::Unhandled(inner),
5000        }
5001    }
5002}
5003impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_workforce::DescribeWorkforceError, R>> for Error
5004where
5005    R: Send + Sync + std::fmt::Debug + 'static,
5006{
5007    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_workforce::DescribeWorkforceError, R>) -> Self {
5008        match err {
5009            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5010            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5011                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5012                source: err.into(),
5013            }),
5014        }
5015    }
5016}
5017impl From<crate::operation::describe_workforce::DescribeWorkforceError> for Error {
5018    fn from(err: crate::operation::describe_workforce::DescribeWorkforceError) -> Self {
5019        match err {
5020            crate::operation::describe_workforce::DescribeWorkforceError::Unhandled(inner) => Error::Unhandled(inner),
5021        }
5022    }
5023}
5024impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_workteam::DescribeWorkteamError, R>> for Error
5025where
5026    R: Send + Sync + std::fmt::Debug + 'static,
5027{
5028    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_workteam::DescribeWorkteamError, R>) -> Self {
5029        match err {
5030            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5031            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5032                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5033                source: err.into(),
5034            }),
5035        }
5036    }
5037}
5038impl From<crate::operation::describe_workteam::DescribeWorkteamError> for Error {
5039    fn from(err: crate::operation::describe_workteam::DescribeWorkteamError) -> Self {
5040        match err {
5041            crate::operation::describe_workteam::DescribeWorkteamError::Unhandled(inner) => Error::Unhandled(inner),
5042        }
5043    }
5044}
5045impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_cluster_node_volume::DetachClusterNodeVolumeError, R>>
5046    for Error
5047where
5048    R: Send + Sync + std::fmt::Debug + 'static,
5049{
5050    fn from(
5051        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_cluster_node_volume::DetachClusterNodeVolumeError, R>,
5052    ) -> Self {
5053        match err {
5054            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5055            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5056                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5057                source: err.into(),
5058            }),
5059        }
5060    }
5061}
5062impl From<crate::operation::detach_cluster_node_volume::DetachClusterNodeVolumeError> for Error {
5063    fn from(err: crate::operation::detach_cluster_node_volume::DetachClusterNodeVolumeError) -> Self {
5064        match err {
5065            crate::operation::detach_cluster_node_volume::DetachClusterNodeVolumeError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
5066            crate::operation::detach_cluster_node_volume::DetachClusterNodeVolumeError::Unhandled(inner) => Error::Unhandled(inner),
5067        }
5068    }
5069}
5070impl<R>
5071    From<
5072        ::aws_smithy_runtime_api::client::result::SdkError<
5073            crate::operation::disable_sagemaker_servicecatalog_portfolio::DisableSagemakerServicecatalogPortfolioError,
5074            R,
5075        >,
5076    > for Error
5077where
5078    R: Send + Sync + std::fmt::Debug + 'static,
5079{
5080    fn from(
5081        err: ::aws_smithy_runtime_api::client::result::SdkError<
5082            crate::operation::disable_sagemaker_servicecatalog_portfolio::DisableSagemakerServicecatalogPortfolioError,
5083            R,
5084        >,
5085    ) -> Self {
5086        match err {
5087            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5088            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5089                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5090                source: err.into(),
5091            }),
5092        }
5093    }
5094}
5095impl From<crate::operation::disable_sagemaker_servicecatalog_portfolio::DisableSagemakerServicecatalogPortfolioError> for Error {
5096    fn from(err: crate::operation::disable_sagemaker_servicecatalog_portfolio::DisableSagemakerServicecatalogPortfolioError) -> Self {
5097        match err {
5098            crate::operation::disable_sagemaker_servicecatalog_portfolio::DisableSagemakerServicecatalogPortfolioError::Unhandled(inner) => {
5099                Error::Unhandled(inner)
5100            }
5101        }
5102    }
5103}
5104impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_trial_component::DisassociateTrialComponentError, R>>
5105    for Error
5106where
5107    R: Send + Sync + std::fmt::Debug + 'static,
5108{
5109    fn from(
5110        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_trial_component::DisassociateTrialComponentError, R>,
5111    ) -> Self {
5112        match err {
5113            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5114            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5115                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5116                source: err.into(),
5117            }),
5118        }
5119    }
5120}
5121impl From<crate::operation::disassociate_trial_component::DisassociateTrialComponentError> for Error {
5122    fn from(err: crate::operation::disassociate_trial_component::DisassociateTrialComponentError) -> Self {
5123        match err {
5124            crate::operation::disassociate_trial_component::DisassociateTrialComponentError::ResourceNotFound(inner) => {
5125                Error::ResourceNotFound(inner)
5126            }
5127            crate::operation::disassociate_trial_component::DisassociateTrialComponentError::Unhandled(inner) => Error::Unhandled(inner),
5128        }
5129    }
5130}
5131impl<R>
5132    From<
5133        ::aws_smithy_runtime_api::client::result::SdkError<
5134            crate::operation::enable_sagemaker_servicecatalog_portfolio::EnableSagemakerServicecatalogPortfolioError,
5135            R,
5136        >,
5137    > for Error
5138where
5139    R: Send + Sync + std::fmt::Debug + 'static,
5140{
5141    fn from(
5142        err: ::aws_smithy_runtime_api::client::result::SdkError<
5143            crate::operation::enable_sagemaker_servicecatalog_portfolio::EnableSagemakerServicecatalogPortfolioError,
5144            R,
5145        >,
5146    ) -> Self {
5147        match err {
5148            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5149            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5150                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5151                source: err.into(),
5152            }),
5153        }
5154    }
5155}
5156impl From<crate::operation::enable_sagemaker_servicecatalog_portfolio::EnableSagemakerServicecatalogPortfolioError> for Error {
5157    fn from(err: crate::operation::enable_sagemaker_servicecatalog_portfolio::EnableSagemakerServicecatalogPortfolioError) -> Self {
5158        match err {
5159            crate::operation::enable_sagemaker_servicecatalog_portfolio::EnableSagemakerServicecatalogPortfolioError::Unhandled(inner) => {
5160                Error::Unhandled(inner)
5161            }
5162        }
5163    }
5164}
5165impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_device_fleet_report::GetDeviceFleetReportError, R>> for Error
5166where
5167    R: Send + Sync + std::fmt::Debug + 'static,
5168{
5169    fn from(
5170        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_device_fleet_report::GetDeviceFleetReportError, R>,
5171    ) -> Self {
5172        match err {
5173            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5174            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5175                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5176                source: err.into(),
5177            }),
5178        }
5179    }
5180}
5181impl From<crate::operation::get_device_fleet_report::GetDeviceFleetReportError> for Error {
5182    fn from(err: crate::operation::get_device_fleet_report::GetDeviceFleetReportError) -> Self {
5183        match err {
5184            crate::operation::get_device_fleet_report::GetDeviceFleetReportError::Unhandled(inner) => Error::Unhandled(inner),
5185        }
5186    }
5187}
5188impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_lineage_group_policy::GetLineageGroupPolicyError, R>> for Error
5189where
5190    R: Send + Sync + std::fmt::Debug + 'static,
5191{
5192    fn from(
5193        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_lineage_group_policy::GetLineageGroupPolicyError, R>,
5194    ) -> Self {
5195        match err {
5196            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5197            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5198                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5199                source: err.into(),
5200            }),
5201        }
5202    }
5203}
5204impl From<crate::operation::get_lineage_group_policy::GetLineageGroupPolicyError> for Error {
5205    fn from(err: crate::operation::get_lineage_group_policy::GetLineageGroupPolicyError) -> Self {
5206        match err {
5207            crate::operation::get_lineage_group_policy::GetLineageGroupPolicyError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
5208            crate::operation::get_lineage_group_policy::GetLineageGroupPolicyError::Unhandled(inner) => Error::Unhandled(inner),
5209        }
5210    }
5211}
5212impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_model_package_group_policy::GetModelPackageGroupPolicyError, R>>
5213    for Error
5214where
5215    R: Send + Sync + std::fmt::Debug + 'static,
5216{
5217    fn from(
5218        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_model_package_group_policy::GetModelPackageGroupPolicyError, R>,
5219    ) -> Self {
5220        match err {
5221            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5222            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5223                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5224                source: err.into(),
5225            }),
5226        }
5227    }
5228}
5229impl From<crate::operation::get_model_package_group_policy::GetModelPackageGroupPolicyError> for Error {
5230    fn from(err: crate::operation::get_model_package_group_policy::GetModelPackageGroupPolicyError) -> Self {
5231        match err {
5232            crate::operation::get_model_package_group_policy::GetModelPackageGroupPolicyError::Unhandled(inner) => Error::Unhandled(inner),
5233        }
5234    }
5235}
5236impl<R>
5237    From<
5238        ::aws_smithy_runtime_api::client::result::SdkError<
5239            crate::operation::get_sagemaker_servicecatalog_portfolio_status::GetSagemakerServicecatalogPortfolioStatusError,
5240            R,
5241        >,
5242    > for Error
5243where
5244    R: Send + Sync + std::fmt::Debug + 'static,
5245{
5246    fn from(
5247        err: ::aws_smithy_runtime_api::client::result::SdkError<
5248            crate::operation::get_sagemaker_servicecatalog_portfolio_status::GetSagemakerServicecatalogPortfolioStatusError,
5249            R,
5250        >,
5251    ) -> Self {
5252        match err {
5253            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5254            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5255                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5256                source: err.into(),
5257            }),
5258        }
5259    }
5260}
5261impl From<crate::operation::get_sagemaker_servicecatalog_portfolio_status::GetSagemakerServicecatalogPortfolioStatusError> for Error {
5262    fn from(err: crate::operation::get_sagemaker_servicecatalog_portfolio_status::GetSagemakerServicecatalogPortfolioStatusError) -> Self {
5263        match err {
5264            crate::operation::get_sagemaker_servicecatalog_portfolio_status::GetSagemakerServicecatalogPortfolioStatusError::Unhandled(inner) => {
5265                Error::Unhandled(inner)
5266            }
5267        }
5268    }
5269}
5270impl<R>
5271    From<
5272        ::aws_smithy_runtime_api::client::result::SdkError<
5273            crate::operation::get_scaling_configuration_recommendation::GetScalingConfigurationRecommendationError,
5274            R,
5275        >,
5276    > for Error
5277where
5278    R: Send + Sync + std::fmt::Debug + 'static,
5279{
5280    fn from(
5281        err: ::aws_smithy_runtime_api::client::result::SdkError<
5282            crate::operation::get_scaling_configuration_recommendation::GetScalingConfigurationRecommendationError,
5283            R,
5284        >,
5285    ) -> Self {
5286        match err {
5287            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5288            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5289                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5290                source: err.into(),
5291            }),
5292        }
5293    }
5294}
5295impl From<crate::operation::get_scaling_configuration_recommendation::GetScalingConfigurationRecommendationError> for Error {
5296    fn from(err: crate::operation::get_scaling_configuration_recommendation::GetScalingConfigurationRecommendationError) -> Self {
5297        match err {
5298            crate::operation::get_scaling_configuration_recommendation::GetScalingConfigurationRecommendationError::ResourceNotFound(inner) => {
5299                Error::ResourceNotFound(inner)
5300            }
5301            crate::operation::get_scaling_configuration_recommendation::GetScalingConfigurationRecommendationError::Unhandled(inner) => {
5302                Error::Unhandled(inner)
5303            }
5304        }
5305    }
5306}
5307impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_search_suggestions::GetSearchSuggestionsError, R>> for Error
5308where
5309    R: Send + Sync + std::fmt::Debug + 'static,
5310{
5311    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_search_suggestions::GetSearchSuggestionsError, R>) -> Self {
5312        match err {
5313            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5314            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5315                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5316                source: err.into(),
5317            }),
5318        }
5319    }
5320}
5321impl From<crate::operation::get_search_suggestions::GetSearchSuggestionsError> for Error {
5322    fn from(err: crate::operation::get_search_suggestions::GetSearchSuggestionsError) -> Self {
5323        match err {
5324            crate::operation::get_search_suggestions::GetSearchSuggestionsError::Unhandled(inner) => Error::Unhandled(inner),
5325        }
5326    }
5327}
5328impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_hub_content::ImportHubContentError, R>> for Error
5329where
5330    R: Send + Sync + std::fmt::Debug + 'static,
5331{
5332    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_hub_content::ImportHubContentError, R>) -> Self {
5333        match err {
5334            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5335            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5336                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5337                source: err.into(),
5338            }),
5339        }
5340    }
5341}
5342impl From<crate::operation::import_hub_content::ImportHubContentError> for Error {
5343    fn from(err: crate::operation::import_hub_content::ImportHubContentError) -> Self {
5344        match err {
5345            crate::operation::import_hub_content::ImportHubContentError::ResourceInUse(inner) => Error::ResourceInUse(inner),
5346            crate::operation::import_hub_content::ImportHubContentError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
5347            crate::operation::import_hub_content::ImportHubContentError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
5348            crate::operation::import_hub_content::ImportHubContentError::Unhandled(inner) => Error::Unhandled(inner),
5349        }
5350    }
5351}
5352impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_actions::ListActionsError, R>> for Error
5353where
5354    R: Send + Sync + std::fmt::Debug + 'static,
5355{
5356    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_actions::ListActionsError, R>) -> Self {
5357        match err {
5358            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5359            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5360                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5361                source: err.into(),
5362            }),
5363        }
5364    }
5365}
5366impl From<crate::operation::list_actions::ListActionsError> for Error {
5367    fn from(err: crate::operation::list_actions::ListActionsError) -> Self {
5368        match err {
5369            crate::operation::list_actions::ListActionsError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
5370            crate::operation::list_actions::ListActionsError::Unhandled(inner) => Error::Unhandled(inner),
5371        }
5372    }
5373}
5374impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_algorithms::ListAlgorithmsError, R>> for Error
5375where
5376    R: Send + Sync + std::fmt::Debug + 'static,
5377{
5378    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_algorithms::ListAlgorithmsError, R>) -> Self {
5379        match err {
5380            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5381            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5382                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5383                source: err.into(),
5384            }),
5385        }
5386    }
5387}
5388impl From<crate::operation::list_algorithms::ListAlgorithmsError> for Error {
5389    fn from(err: crate::operation::list_algorithms::ListAlgorithmsError) -> Self {
5390        match err {
5391            crate::operation::list_algorithms::ListAlgorithmsError::Unhandled(inner) => Error::Unhandled(inner),
5392        }
5393    }
5394}
5395impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_aliases::ListAliasesError, R>> for Error
5396where
5397    R: Send + Sync + std::fmt::Debug + 'static,
5398{
5399    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_aliases::ListAliasesError, R>) -> Self {
5400        match err {
5401            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5402            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5403                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5404                source: err.into(),
5405            }),
5406        }
5407    }
5408}
5409impl From<crate::operation::list_aliases::ListAliasesError> for Error {
5410    fn from(err: crate::operation::list_aliases::ListAliasesError) -> Self {
5411        match err {
5412            crate::operation::list_aliases::ListAliasesError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
5413            crate::operation::list_aliases::ListAliasesError::Unhandled(inner) => Error::Unhandled(inner),
5414        }
5415    }
5416}
5417impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_app_image_configs::ListAppImageConfigsError, R>> for Error
5418where
5419    R: Send + Sync + std::fmt::Debug + 'static,
5420{
5421    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_app_image_configs::ListAppImageConfigsError, R>) -> Self {
5422        match err {
5423            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5424            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5425                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5426                source: err.into(),
5427            }),
5428        }
5429    }
5430}
5431impl From<crate::operation::list_app_image_configs::ListAppImageConfigsError> for Error {
5432    fn from(err: crate::operation::list_app_image_configs::ListAppImageConfigsError) -> Self {
5433        match err {
5434            crate::operation::list_app_image_configs::ListAppImageConfigsError::Unhandled(inner) => Error::Unhandled(inner),
5435        }
5436    }
5437}
5438impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_apps::ListAppsError, R>> for Error
5439where
5440    R: Send + Sync + std::fmt::Debug + 'static,
5441{
5442    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_apps::ListAppsError, R>) -> Self {
5443        match err {
5444            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5445            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5446                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5447                source: err.into(),
5448            }),
5449        }
5450    }
5451}
5452impl From<crate::operation::list_apps::ListAppsError> for Error {
5453    fn from(err: crate::operation::list_apps::ListAppsError) -> Self {
5454        match err {
5455            crate::operation::list_apps::ListAppsError::Unhandled(inner) => Error::Unhandled(inner),
5456        }
5457    }
5458}
5459impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_artifacts::ListArtifactsError, R>> for Error
5460where
5461    R: Send + Sync + std::fmt::Debug + 'static,
5462{
5463    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_artifacts::ListArtifactsError, R>) -> Self {
5464        match err {
5465            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5466            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5467                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5468                source: err.into(),
5469            }),
5470        }
5471    }
5472}
5473impl From<crate::operation::list_artifacts::ListArtifactsError> for Error {
5474    fn from(err: crate::operation::list_artifacts::ListArtifactsError) -> Self {
5475        match err {
5476            crate::operation::list_artifacts::ListArtifactsError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
5477            crate::operation::list_artifacts::ListArtifactsError::Unhandled(inner) => Error::Unhandled(inner),
5478        }
5479    }
5480}
5481impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_associations::ListAssociationsError, R>> for Error
5482where
5483    R: Send + Sync + std::fmt::Debug + 'static,
5484{
5485    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_associations::ListAssociationsError, R>) -> Self {
5486        match err {
5487            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5488            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5489                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5490                source: err.into(),
5491            }),
5492        }
5493    }
5494}
5495impl From<crate::operation::list_associations::ListAssociationsError> for Error {
5496    fn from(err: crate::operation::list_associations::ListAssociationsError) -> Self {
5497        match err {
5498            crate::operation::list_associations::ListAssociationsError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
5499            crate::operation::list_associations::ListAssociationsError::Unhandled(inner) => Error::Unhandled(inner),
5500        }
5501    }
5502}
5503impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_auto_ml_jobs::ListAutoMLJobsError, R>> for Error
5504where
5505    R: Send + Sync + std::fmt::Debug + 'static,
5506{
5507    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_auto_ml_jobs::ListAutoMLJobsError, R>) -> Self {
5508        match err {
5509            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5510            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5511                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5512                source: err.into(),
5513            }),
5514        }
5515    }
5516}
5517impl From<crate::operation::list_auto_ml_jobs::ListAutoMLJobsError> for Error {
5518    fn from(err: crate::operation::list_auto_ml_jobs::ListAutoMLJobsError) -> Self {
5519        match err {
5520            crate::operation::list_auto_ml_jobs::ListAutoMLJobsError::Unhandled(inner) => Error::Unhandled(inner),
5521        }
5522    }
5523}
5524impl<R>
5525    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_candidates_for_auto_ml_job::ListCandidatesForAutoMLJobError, R>>
5526    for Error
5527where
5528    R: Send + Sync + std::fmt::Debug + 'static,
5529{
5530    fn from(
5531        err: ::aws_smithy_runtime_api::client::result::SdkError<
5532            crate::operation::list_candidates_for_auto_ml_job::ListCandidatesForAutoMLJobError,
5533            R,
5534        >,
5535    ) -> Self {
5536        match err {
5537            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5538            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5539                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5540                source: err.into(),
5541            }),
5542        }
5543    }
5544}
5545impl From<crate::operation::list_candidates_for_auto_ml_job::ListCandidatesForAutoMLJobError> for Error {
5546    fn from(err: crate::operation::list_candidates_for_auto_ml_job::ListCandidatesForAutoMLJobError) -> Self {
5547        match err {
5548            crate::operation::list_candidates_for_auto_ml_job::ListCandidatesForAutoMLJobError::ResourceNotFound(inner) => {
5549                Error::ResourceNotFound(inner)
5550            }
5551            crate::operation::list_candidates_for_auto_ml_job::ListCandidatesForAutoMLJobError::Unhandled(inner) => Error::Unhandled(inner),
5552        }
5553    }
5554}
5555impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_cluster_events::ListClusterEventsError, R>> for Error
5556where
5557    R: Send + Sync + std::fmt::Debug + 'static,
5558{
5559    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_cluster_events::ListClusterEventsError, R>) -> Self {
5560        match err {
5561            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5562            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5563                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5564                source: err.into(),
5565            }),
5566        }
5567    }
5568}
5569impl From<crate::operation::list_cluster_events::ListClusterEventsError> for Error {
5570    fn from(err: crate::operation::list_cluster_events::ListClusterEventsError) -> Self {
5571        match err {
5572            crate::operation::list_cluster_events::ListClusterEventsError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
5573            crate::operation::list_cluster_events::ListClusterEventsError::Unhandled(inner) => Error::Unhandled(inner),
5574        }
5575    }
5576}
5577impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_cluster_nodes::ListClusterNodesError, R>> for Error
5578where
5579    R: Send + Sync + std::fmt::Debug + 'static,
5580{
5581    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_cluster_nodes::ListClusterNodesError, R>) -> Self {
5582        match err {
5583            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5584            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5585                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5586                source: err.into(),
5587            }),
5588        }
5589    }
5590}
5591impl From<crate::operation::list_cluster_nodes::ListClusterNodesError> for Error {
5592    fn from(err: crate::operation::list_cluster_nodes::ListClusterNodesError) -> Self {
5593        match err {
5594            crate::operation::list_cluster_nodes::ListClusterNodesError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
5595            crate::operation::list_cluster_nodes::ListClusterNodesError::Unhandled(inner) => Error::Unhandled(inner),
5596        }
5597    }
5598}
5599impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_clusters::ListClustersError, R>> for Error
5600where
5601    R: Send + Sync + std::fmt::Debug + 'static,
5602{
5603    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_clusters::ListClustersError, R>) -> Self {
5604        match err {
5605            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5606            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5607                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5608                source: err.into(),
5609            }),
5610        }
5611    }
5612}
5613impl From<crate::operation::list_clusters::ListClustersError> for Error {
5614    fn from(err: crate::operation::list_clusters::ListClustersError) -> Self {
5615        match err {
5616            crate::operation::list_clusters::ListClustersError::Unhandled(inner) => Error::Unhandled(inner),
5617        }
5618    }
5619}
5620impl<R>
5621    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_cluster_scheduler_configs::ListClusterSchedulerConfigsError, R>>
5622    for Error
5623where
5624    R: Send + Sync + std::fmt::Debug + 'static,
5625{
5626    fn from(
5627        err: ::aws_smithy_runtime_api::client::result::SdkError<
5628            crate::operation::list_cluster_scheduler_configs::ListClusterSchedulerConfigsError,
5629            R,
5630        >,
5631    ) -> Self {
5632        match err {
5633            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5634            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5635                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5636                source: err.into(),
5637            }),
5638        }
5639    }
5640}
5641impl From<crate::operation::list_cluster_scheduler_configs::ListClusterSchedulerConfigsError> for Error {
5642    fn from(err: crate::operation::list_cluster_scheduler_configs::ListClusterSchedulerConfigsError) -> Self {
5643        match err {
5644            crate::operation::list_cluster_scheduler_configs::ListClusterSchedulerConfigsError::Unhandled(inner) => Error::Unhandled(inner),
5645        }
5646    }
5647}
5648impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_code_repositories::ListCodeRepositoriesError, R>> for Error
5649where
5650    R: Send + Sync + std::fmt::Debug + 'static,
5651{
5652    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_code_repositories::ListCodeRepositoriesError, R>) -> Self {
5653        match err {
5654            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5655            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5656                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5657                source: err.into(),
5658            }),
5659        }
5660    }
5661}
5662impl From<crate::operation::list_code_repositories::ListCodeRepositoriesError> for Error {
5663    fn from(err: crate::operation::list_code_repositories::ListCodeRepositoriesError) -> Self {
5664        match err {
5665            crate::operation::list_code_repositories::ListCodeRepositoriesError::Unhandled(inner) => Error::Unhandled(inner),
5666        }
5667    }
5668}
5669impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_compilation_jobs::ListCompilationJobsError, R>> for Error
5670where
5671    R: Send + Sync + std::fmt::Debug + 'static,
5672{
5673    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_compilation_jobs::ListCompilationJobsError, R>) -> Self {
5674        match err {
5675            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5676            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5677                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5678                source: err.into(),
5679            }),
5680        }
5681    }
5682}
5683impl From<crate::operation::list_compilation_jobs::ListCompilationJobsError> for Error {
5684    fn from(err: crate::operation::list_compilation_jobs::ListCompilationJobsError) -> Self {
5685        match err {
5686            crate::operation::list_compilation_jobs::ListCompilationJobsError::Unhandled(inner) => Error::Unhandled(inner),
5687        }
5688    }
5689}
5690impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_compute_quotas::ListComputeQuotasError, R>> for Error
5691where
5692    R: Send + Sync + std::fmt::Debug + 'static,
5693{
5694    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_compute_quotas::ListComputeQuotasError, R>) -> Self {
5695        match err {
5696            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5697            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5698                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5699                source: err.into(),
5700            }),
5701        }
5702    }
5703}
5704impl From<crate::operation::list_compute_quotas::ListComputeQuotasError> for Error {
5705    fn from(err: crate::operation::list_compute_quotas::ListComputeQuotasError) -> Self {
5706        match err {
5707            crate::operation::list_compute_quotas::ListComputeQuotasError::Unhandled(inner) => Error::Unhandled(inner),
5708        }
5709    }
5710}
5711impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_contexts::ListContextsError, R>> for Error
5712where
5713    R: Send + Sync + std::fmt::Debug + 'static,
5714{
5715    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_contexts::ListContextsError, R>) -> Self {
5716        match err {
5717            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5718            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5719                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5720                source: err.into(),
5721            }),
5722        }
5723    }
5724}
5725impl From<crate::operation::list_contexts::ListContextsError> for Error {
5726    fn from(err: crate::operation::list_contexts::ListContextsError) -> Self {
5727        match err {
5728            crate::operation::list_contexts::ListContextsError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
5729            crate::operation::list_contexts::ListContextsError::Unhandled(inner) => Error::Unhandled(inner),
5730        }
5731    }
5732}
5733impl<R>
5734    From<
5735        ::aws_smithy_runtime_api::client::result::SdkError<
5736            crate::operation::list_data_quality_job_definitions::ListDataQualityJobDefinitionsError,
5737            R,
5738        >,
5739    > for Error
5740where
5741    R: Send + Sync + std::fmt::Debug + 'static,
5742{
5743    fn from(
5744        err: ::aws_smithy_runtime_api::client::result::SdkError<
5745            crate::operation::list_data_quality_job_definitions::ListDataQualityJobDefinitionsError,
5746            R,
5747        >,
5748    ) -> Self {
5749        match err {
5750            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5751            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5752                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5753                source: err.into(),
5754            }),
5755        }
5756    }
5757}
5758impl From<crate::operation::list_data_quality_job_definitions::ListDataQualityJobDefinitionsError> for Error {
5759    fn from(err: crate::operation::list_data_quality_job_definitions::ListDataQualityJobDefinitionsError) -> Self {
5760        match err {
5761            crate::operation::list_data_quality_job_definitions::ListDataQualityJobDefinitionsError::Unhandled(inner) => Error::Unhandled(inner),
5762        }
5763    }
5764}
5765impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_device_fleets::ListDeviceFleetsError, R>> for Error
5766where
5767    R: Send + Sync + std::fmt::Debug + 'static,
5768{
5769    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_device_fleets::ListDeviceFleetsError, R>) -> Self {
5770        match err {
5771            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5772            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5773                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5774                source: err.into(),
5775            }),
5776        }
5777    }
5778}
5779impl From<crate::operation::list_device_fleets::ListDeviceFleetsError> for Error {
5780    fn from(err: crate::operation::list_device_fleets::ListDeviceFleetsError) -> Self {
5781        match err {
5782            crate::operation::list_device_fleets::ListDeviceFleetsError::Unhandled(inner) => Error::Unhandled(inner),
5783        }
5784    }
5785}
5786impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_devices::ListDevicesError, R>> for Error
5787where
5788    R: Send + Sync + std::fmt::Debug + 'static,
5789{
5790    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_devices::ListDevicesError, R>) -> Self {
5791        match err {
5792            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5793            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5794                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5795                source: err.into(),
5796            }),
5797        }
5798    }
5799}
5800impl From<crate::operation::list_devices::ListDevicesError> for Error {
5801    fn from(err: crate::operation::list_devices::ListDevicesError) -> Self {
5802        match err {
5803            crate::operation::list_devices::ListDevicesError::Unhandled(inner) => Error::Unhandled(inner),
5804        }
5805    }
5806}
5807impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_domains::ListDomainsError, R>> for Error
5808where
5809    R: Send + Sync + std::fmt::Debug + 'static,
5810{
5811    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_domains::ListDomainsError, R>) -> Self {
5812        match err {
5813            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5814            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5815                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5816                source: err.into(),
5817            }),
5818        }
5819    }
5820}
5821impl From<crate::operation::list_domains::ListDomainsError> for Error {
5822    fn from(err: crate::operation::list_domains::ListDomainsError) -> Self {
5823        match err {
5824            crate::operation::list_domains::ListDomainsError::Unhandled(inner) => Error::Unhandled(inner),
5825        }
5826    }
5827}
5828impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_edge_deployment_plans::ListEdgeDeploymentPlansError, R>>
5829    for Error
5830where
5831    R: Send + Sync + std::fmt::Debug + 'static,
5832{
5833    fn from(
5834        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_edge_deployment_plans::ListEdgeDeploymentPlansError, R>,
5835    ) -> Self {
5836        match err {
5837            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5838            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5839                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5840                source: err.into(),
5841            }),
5842        }
5843    }
5844}
5845impl From<crate::operation::list_edge_deployment_plans::ListEdgeDeploymentPlansError> for Error {
5846    fn from(err: crate::operation::list_edge_deployment_plans::ListEdgeDeploymentPlansError) -> Self {
5847        match err {
5848            crate::operation::list_edge_deployment_plans::ListEdgeDeploymentPlansError::Unhandled(inner) => Error::Unhandled(inner),
5849        }
5850    }
5851}
5852impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_edge_packaging_jobs::ListEdgePackagingJobsError, R>> for Error
5853where
5854    R: Send + Sync + std::fmt::Debug + 'static,
5855{
5856    fn from(
5857        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_edge_packaging_jobs::ListEdgePackagingJobsError, R>,
5858    ) -> Self {
5859        match err {
5860            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5861            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5862                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5863                source: err.into(),
5864            }),
5865        }
5866    }
5867}
5868impl From<crate::operation::list_edge_packaging_jobs::ListEdgePackagingJobsError> for Error {
5869    fn from(err: crate::operation::list_edge_packaging_jobs::ListEdgePackagingJobsError) -> Self {
5870        match err {
5871            crate::operation::list_edge_packaging_jobs::ListEdgePackagingJobsError::Unhandled(inner) => Error::Unhandled(inner),
5872        }
5873    }
5874}
5875impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_endpoint_configs::ListEndpointConfigsError, R>> for Error
5876where
5877    R: Send + Sync + std::fmt::Debug + 'static,
5878{
5879    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_endpoint_configs::ListEndpointConfigsError, R>) -> Self {
5880        match err {
5881            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5882            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5883                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5884                source: err.into(),
5885            }),
5886        }
5887    }
5888}
5889impl From<crate::operation::list_endpoint_configs::ListEndpointConfigsError> for Error {
5890    fn from(err: crate::operation::list_endpoint_configs::ListEndpointConfigsError) -> Self {
5891        match err {
5892            crate::operation::list_endpoint_configs::ListEndpointConfigsError::Unhandled(inner) => Error::Unhandled(inner),
5893        }
5894    }
5895}
5896impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_endpoints::ListEndpointsError, R>> for Error
5897where
5898    R: Send + Sync + std::fmt::Debug + 'static,
5899{
5900    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_endpoints::ListEndpointsError, R>) -> Self {
5901        match err {
5902            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5903            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5904                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5905                source: err.into(),
5906            }),
5907        }
5908    }
5909}
5910impl From<crate::operation::list_endpoints::ListEndpointsError> for Error {
5911    fn from(err: crate::operation::list_endpoints::ListEndpointsError) -> Self {
5912        match err {
5913            crate::operation::list_endpoints::ListEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
5914        }
5915    }
5916}
5917impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_experiments::ListExperimentsError, R>> for Error
5918where
5919    R: Send + Sync + std::fmt::Debug + 'static,
5920{
5921    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_experiments::ListExperimentsError, R>) -> Self {
5922        match err {
5923            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5924            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5925                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5926                source: err.into(),
5927            }),
5928        }
5929    }
5930}
5931impl From<crate::operation::list_experiments::ListExperimentsError> for Error {
5932    fn from(err: crate::operation::list_experiments::ListExperimentsError) -> Self {
5933        match err {
5934            crate::operation::list_experiments::ListExperimentsError::Unhandled(inner) => Error::Unhandled(inner),
5935        }
5936    }
5937}
5938impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_feature_groups::ListFeatureGroupsError, R>> for Error
5939where
5940    R: Send + Sync + std::fmt::Debug + 'static,
5941{
5942    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_feature_groups::ListFeatureGroupsError, R>) -> Self {
5943        match err {
5944            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5945            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5946                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5947                source: err.into(),
5948            }),
5949        }
5950    }
5951}
5952impl From<crate::operation::list_feature_groups::ListFeatureGroupsError> for Error {
5953    fn from(err: crate::operation::list_feature_groups::ListFeatureGroupsError) -> Self {
5954        match err {
5955            crate::operation::list_feature_groups::ListFeatureGroupsError::Unhandled(inner) => Error::Unhandled(inner),
5956        }
5957    }
5958}
5959impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_flow_definitions::ListFlowDefinitionsError, R>> for Error
5960where
5961    R: Send + Sync + std::fmt::Debug + 'static,
5962{
5963    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_flow_definitions::ListFlowDefinitionsError, R>) -> Self {
5964        match err {
5965            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5966            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5967                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5968                source: err.into(),
5969            }),
5970        }
5971    }
5972}
5973impl From<crate::operation::list_flow_definitions::ListFlowDefinitionsError> for Error {
5974    fn from(err: crate::operation::list_flow_definitions::ListFlowDefinitionsError) -> Self {
5975        match err {
5976            crate::operation::list_flow_definitions::ListFlowDefinitionsError::Unhandled(inner) => Error::Unhandled(inner),
5977        }
5978    }
5979}
5980impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_hub_contents::ListHubContentsError, R>> for Error
5981where
5982    R: Send + Sync + std::fmt::Debug + 'static,
5983{
5984    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_hub_contents::ListHubContentsError, R>) -> Self {
5985        match err {
5986            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5987            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5988                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5989                source: err.into(),
5990            }),
5991        }
5992    }
5993}
5994impl From<crate::operation::list_hub_contents::ListHubContentsError> for Error {
5995    fn from(err: crate::operation::list_hub_contents::ListHubContentsError) -> Self {
5996        match err {
5997            crate::operation::list_hub_contents::ListHubContentsError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
5998            crate::operation::list_hub_contents::ListHubContentsError::Unhandled(inner) => Error::Unhandled(inner),
5999        }
6000    }
6001}
6002impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_hub_content_versions::ListHubContentVersionsError, R>>
6003    for Error
6004where
6005    R: Send + Sync + std::fmt::Debug + 'static,
6006{
6007    fn from(
6008        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_hub_content_versions::ListHubContentVersionsError, R>,
6009    ) -> Self {
6010        match err {
6011            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6012            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6013                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6014                source: err.into(),
6015            }),
6016        }
6017    }
6018}
6019impl From<crate::operation::list_hub_content_versions::ListHubContentVersionsError> for Error {
6020    fn from(err: crate::operation::list_hub_content_versions::ListHubContentVersionsError) -> Self {
6021        match err {
6022            crate::operation::list_hub_content_versions::ListHubContentVersionsError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
6023            crate::operation::list_hub_content_versions::ListHubContentVersionsError::Unhandled(inner) => Error::Unhandled(inner),
6024        }
6025    }
6026}
6027impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_hubs::ListHubsError, R>> for Error
6028where
6029    R: Send + Sync + std::fmt::Debug + 'static,
6030{
6031    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_hubs::ListHubsError, R>) -> Self {
6032        match err {
6033            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6034            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6035                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6036                source: err.into(),
6037            }),
6038        }
6039    }
6040}
6041impl From<crate::operation::list_hubs::ListHubsError> for Error {
6042    fn from(err: crate::operation::list_hubs::ListHubsError) -> Self {
6043        match err {
6044            crate::operation::list_hubs::ListHubsError::Unhandled(inner) => Error::Unhandled(inner),
6045        }
6046    }
6047}
6048impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_human_task_uis::ListHumanTaskUisError, R>> for Error
6049where
6050    R: Send + Sync + std::fmt::Debug + 'static,
6051{
6052    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_human_task_uis::ListHumanTaskUisError, R>) -> Self {
6053        match err {
6054            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6055            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6056                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6057                source: err.into(),
6058            }),
6059        }
6060    }
6061}
6062impl From<crate::operation::list_human_task_uis::ListHumanTaskUisError> for Error {
6063    fn from(err: crate::operation::list_human_task_uis::ListHumanTaskUisError) -> Self {
6064        match err {
6065            crate::operation::list_human_task_uis::ListHumanTaskUisError::Unhandled(inner) => Error::Unhandled(inner),
6066        }
6067    }
6068}
6069impl<R>
6070    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_hyper_parameter_tuning_jobs::ListHyperParameterTuningJobsError, R>>
6071    for Error
6072where
6073    R: Send + Sync + std::fmt::Debug + 'static,
6074{
6075    fn from(
6076        err: ::aws_smithy_runtime_api::client::result::SdkError<
6077            crate::operation::list_hyper_parameter_tuning_jobs::ListHyperParameterTuningJobsError,
6078            R,
6079        >,
6080    ) -> Self {
6081        match err {
6082            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6083            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6084                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6085                source: err.into(),
6086            }),
6087        }
6088    }
6089}
6090impl From<crate::operation::list_hyper_parameter_tuning_jobs::ListHyperParameterTuningJobsError> for Error {
6091    fn from(err: crate::operation::list_hyper_parameter_tuning_jobs::ListHyperParameterTuningJobsError) -> Self {
6092        match err {
6093            crate::operation::list_hyper_parameter_tuning_jobs::ListHyperParameterTuningJobsError::Unhandled(inner) => Error::Unhandled(inner),
6094        }
6095    }
6096}
6097impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_images::ListImagesError, R>> for Error
6098where
6099    R: Send + Sync + std::fmt::Debug + 'static,
6100{
6101    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_images::ListImagesError, R>) -> Self {
6102        match err {
6103            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6104            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6105                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6106                source: err.into(),
6107            }),
6108        }
6109    }
6110}
6111impl From<crate::operation::list_images::ListImagesError> for Error {
6112    fn from(err: crate::operation::list_images::ListImagesError) -> Self {
6113        match err {
6114            crate::operation::list_images::ListImagesError::Unhandled(inner) => Error::Unhandled(inner),
6115        }
6116    }
6117}
6118impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_image_versions::ListImageVersionsError, R>> for Error
6119where
6120    R: Send + Sync + std::fmt::Debug + 'static,
6121{
6122    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_image_versions::ListImageVersionsError, R>) -> Self {
6123        match err {
6124            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6125            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6126                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6127                source: err.into(),
6128            }),
6129        }
6130    }
6131}
6132impl From<crate::operation::list_image_versions::ListImageVersionsError> for Error {
6133    fn from(err: crate::operation::list_image_versions::ListImageVersionsError) -> Self {
6134        match err {
6135            crate::operation::list_image_versions::ListImageVersionsError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
6136            crate::operation::list_image_versions::ListImageVersionsError::Unhandled(inner) => Error::Unhandled(inner),
6137        }
6138    }
6139}
6140impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_inference_components::ListInferenceComponentsError, R>>
6141    for Error
6142where
6143    R: Send + Sync + std::fmt::Debug + 'static,
6144{
6145    fn from(
6146        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_inference_components::ListInferenceComponentsError, R>,
6147    ) -> Self {
6148        match err {
6149            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6150            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6151                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6152                source: err.into(),
6153            }),
6154        }
6155    }
6156}
6157impl From<crate::operation::list_inference_components::ListInferenceComponentsError> for Error {
6158    fn from(err: crate::operation::list_inference_components::ListInferenceComponentsError) -> Self {
6159        match err {
6160            crate::operation::list_inference_components::ListInferenceComponentsError::Unhandled(inner) => Error::Unhandled(inner),
6161        }
6162    }
6163}
6164impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_inference_experiments::ListInferenceExperimentsError, R>>
6165    for Error
6166where
6167    R: Send + Sync + std::fmt::Debug + 'static,
6168{
6169    fn from(
6170        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_inference_experiments::ListInferenceExperimentsError, R>,
6171    ) -> Self {
6172        match err {
6173            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6174            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6175                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6176                source: err.into(),
6177            }),
6178        }
6179    }
6180}
6181impl From<crate::operation::list_inference_experiments::ListInferenceExperimentsError> for Error {
6182    fn from(err: crate::operation::list_inference_experiments::ListInferenceExperimentsError) -> Self {
6183        match err {
6184            crate::operation::list_inference_experiments::ListInferenceExperimentsError::Unhandled(inner) => Error::Unhandled(inner),
6185        }
6186    }
6187}
6188impl<R>
6189    From<
6190        ::aws_smithy_runtime_api::client::result::SdkError<
6191            crate::operation::list_inference_recommendations_jobs::ListInferenceRecommendationsJobsError,
6192            R,
6193        >,
6194    > for Error
6195where
6196    R: Send + Sync + std::fmt::Debug + 'static,
6197{
6198    fn from(
6199        err: ::aws_smithy_runtime_api::client::result::SdkError<
6200            crate::operation::list_inference_recommendations_jobs::ListInferenceRecommendationsJobsError,
6201            R,
6202        >,
6203    ) -> Self {
6204        match err {
6205            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6206            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6207                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6208                source: err.into(),
6209            }),
6210        }
6211    }
6212}
6213impl From<crate::operation::list_inference_recommendations_jobs::ListInferenceRecommendationsJobsError> for Error {
6214    fn from(err: crate::operation::list_inference_recommendations_jobs::ListInferenceRecommendationsJobsError) -> Self {
6215        match err {
6216            crate::operation::list_inference_recommendations_jobs::ListInferenceRecommendationsJobsError::Unhandled(inner) => Error::Unhandled(inner),
6217        }
6218    }
6219}
6220impl<R>
6221    From<
6222        ::aws_smithy_runtime_api::client::result::SdkError<
6223            crate::operation::list_inference_recommendations_job_steps::ListInferenceRecommendationsJobStepsError,
6224            R,
6225        >,
6226    > for Error
6227where
6228    R: Send + Sync + std::fmt::Debug + 'static,
6229{
6230    fn from(
6231        err: ::aws_smithy_runtime_api::client::result::SdkError<
6232            crate::operation::list_inference_recommendations_job_steps::ListInferenceRecommendationsJobStepsError,
6233            R,
6234        >,
6235    ) -> Self {
6236        match err {
6237            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6238            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6239                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6240                source: err.into(),
6241            }),
6242        }
6243    }
6244}
6245impl From<crate::operation::list_inference_recommendations_job_steps::ListInferenceRecommendationsJobStepsError> for Error {
6246    fn from(err: crate::operation::list_inference_recommendations_job_steps::ListInferenceRecommendationsJobStepsError) -> Self {
6247        match err {
6248            crate::operation::list_inference_recommendations_job_steps::ListInferenceRecommendationsJobStepsError::ResourceNotFound(inner) => {
6249                Error::ResourceNotFound(inner)
6250            }
6251            crate::operation::list_inference_recommendations_job_steps::ListInferenceRecommendationsJobStepsError::Unhandled(inner) => {
6252                Error::Unhandled(inner)
6253            }
6254        }
6255    }
6256}
6257impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_labeling_jobs::ListLabelingJobsError, R>> for Error
6258where
6259    R: Send + Sync + std::fmt::Debug + 'static,
6260{
6261    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_labeling_jobs::ListLabelingJobsError, R>) -> Self {
6262        match err {
6263            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6264            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6265                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6266                source: err.into(),
6267            }),
6268        }
6269    }
6270}
6271impl From<crate::operation::list_labeling_jobs::ListLabelingJobsError> for Error {
6272    fn from(err: crate::operation::list_labeling_jobs::ListLabelingJobsError) -> Self {
6273        match err {
6274            crate::operation::list_labeling_jobs::ListLabelingJobsError::Unhandled(inner) => Error::Unhandled(inner),
6275        }
6276    }
6277}
6278impl<R>
6279    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_labeling_jobs_for_workteam::ListLabelingJobsForWorkteamError, R>>
6280    for Error
6281where
6282    R: Send + Sync + std::fmt::Debug + 'static,
6283{
6284    fn from(
6285        err: ::aws_smithy_runtime_api::client::result::SdkError<
6286            crate::operation::list_labeling_jobs_for_workteam::ListLabelingJobsForWorkteamError,
6287            R,
6288        >,
6289    ) -> Self {
6290        match err {
6291            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6292            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6293                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6294                source: err.into(),
6295            }),
6296        }
6297    }
6298}
6299impl From<crate::operation::list_labeling_jobs_for_workteam::ListLabelingJobsForWorkteamError> for Error {
6300    fn from(err: crate::operation::list_labeling_jobs_for_workteam::ListLabelingJobsForWorkteamError) -> Self {
6301        match err {
6302            crate::operation::list_labeling_jobs_for_workteam::ListLabelingJobsForWorkteamError::ResourceNotFound(inner) => {
6303                Error::ResourceNotFound(inner)
6304            }
6305            crate::operation::list_labeling_jobs_for_workteam::ListLabelingJobsForWorkteamError::Unhandled(inner) => Error::Unhandled(inner),
6306        }
6307    }
6308}
6309impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_lineage_groups::ListLineageGroupsError, R>> for Error
6310where
6311    R: Send + Sync + std::fmt::Debug + 'static,
6312{
6313    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_lineage_groups::ListLineageGroupsError, R>) -> Self {
6314        match err {
6315            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6316            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6317                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6318                source: err.into(),
6319            }),
6320        }
6321    }
6322}
6323impl From<crate::operation::list_lineage_groups::ListLineageGroupsError> for Error {
6324    fn from(err: crate::operation::list_lineage_groups::ListLineageGroupsError) -> Self {
6325        match err {
6326            crate::operation::list_lineage_groups::ListLineageGroupsError::Unhandled(inner) => Error::Unhandled(inner),
6327        }
6328    }
6329}
6330impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_mlflow_tracking_servers::ListMlflowTrackingServersError, R>>
6331    for Error
6332where
6333    R: Send + Sync + std::fmt::Debug + 'static,
6334{
6335    fn from(
6336        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_mlflow_tracking_servers::ListMlflowTrackingServersError, R>,
6337    ) -> Self {
6338        match err {
6339            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6340            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6341                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6342                source: err.into(),
6343            }),
6344        }
6345    }
6346}
6347impl From<crate::operation::list_mlflow_tracking_servers::ListMlflowTrackingServersError> for Error {
6348    fn from(err: crate::operation::list_mlflow_tracking_servers::ListMlflowTrackingServersError) -> Self {
6349        match err {
6350            crate::operation::list_mlflow_tracking_servers::ListMlflowTrackingServersError::Unhandled(inner) => Error::Unhandled(inner),
6351        }
6352    }
6353}
6354impl<R>
6355    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_model_bias_job_definitions::ListModelBiasJobDefinitionsError, R>>
6356    for Error
6357where
6358    R: Send + Sync + std::fmt::Debug + 'static,
6359{
6360    fn from(
6361        err: ::aws_smithy_runtime_api::client::result::SdkError<
6362            crate::operation::list_model_bias_job_definitions::ListModelBiasJobDefinitionsError,
6363            R,
6364        >,
6365    ) -> Self {
6366        match err {
6367            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6368            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6369                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6370                source: err.into(),
6371            }),
6372        }
6373    }
6374}
6375impl From<crate::operation::list_model_bias_job_definitions::ListModelBiasJobDefinitionsError> for Error {
6376    fn from(err: crate::operation::list_model_bias_job_definitions::ListModelBiasJobDefinitionsError) -> Self {
6377        match err {
6378            crate::operation::list_model_bias_job_definitions::ListModelBiasJobDefinitionsError::Unhandled(inner) => Error::Unhandled(inner),
6379        }
6380    }
6381}
6382impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_model_card_export_jobs::ListModelCardExportJobsError, R>>
6383    for Error
6384where
6385    R: Send + Sync + std::fmt::Debug + 'static,
6386{
6387    fn from(
6388        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_model_card_export_jobs::ListModelCardExportJobsError, R>,
6389    ) -> Self {
6390        match err {
6391            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6392            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6393                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6394                source: err.into(),
6395            }),
6396        }
6397    }
6398}
6399impl From<crate::operation::list_model_card_export_jobs::ListModelCardExportJobsError> for Error {
6400    fn from(err: crate::operation::list_model_card_export_jobs::ListModelCardExportJobsError) -> Self {
6401        match err {
6402            crate::operation::list_model_card_export_jobs::ListModelCardExportJobsError::Unhandled(inner) => Error::Unhandled(inner),
6403        }
6404    }
6405}
6406impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_model_cards::ListModelCardsError, R>> for Error
6407where
6408    R: Send + Sync + std::fmt::Debug + 'static,
6409{
6410    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_model_cards::ListModelCardsError, R>) -> Self {
6411        match err {
6412            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6413            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6414                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6415                source: err.into(),
6416            }),
6417        }
6418    }
6419}
6420impl From<crate::operation::list_model_cards::ListModelCardsError> for Error {
6421    fn from(err: crate::operation::list_model_cards::ListModelCardsError) -> Self {
6422        match err {
6423            crate::operation::list_model_cards::ListModelCardsError::Unhandled(inner) => Error::Unhandled(inner),
6424        }
6425    }
6426}
6427impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_model_card_versions::ListModelCardVersionsError, R>> for Error
6428where
6429    R: Send + Sync + std::fmt::Debug + 'static,
6430{
6431    fn from(
6432        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_model_card_versions::ListModelCardVersionsError, R>,
6433    ) -> Self {
6434        match err {
6435            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6436            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6437                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6438                source: err.into(),
6439            }),
6440        }
6441    }
6442}
6443impl From<crate::operation::list_model_card_versions::ListModelCardVersionsError> for Error {
6444    fn from(err: crate::operation::list_model_card_versions::ListModelCardVersionsError) -> Self {
6445        match err {
6446            crate::operation::list_model_card_versions::ListModelCardVersionsError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
6447            crate::operation::list_model_card_versions::ListModelCardVersionsError::Unhandled(inner) => Error::Unhandled(inner),
6448        }
6449    }
6450}
6451impl<R>
6452    From<
6453        ::aws_smithy_runtime_api::client::result::SdkError<
6454            crate::operation::list_model_explainability_job_definitions::ListModelExplainabilityJobDefinitionsError,
6455            R,
6456        >,
6457    > for Error
6458where
6459    R: Send + Sync + std::fmt::Debug + 'static,
6460{
6461    fn from(
6462        err: ::aws_smithy_runtime_api::client::result::SdkError<
6463            crate::operation::list_model_explainability_job_definitions::ListModelExplainabilityJobDefinitionsError,
6464            R,
6465        >,
6466    ) -> Self {
6467        match err {
6468            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6469            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6470                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6471                source: err.into(),
6472            }),
6473        }
6474    }
6475}
6476impl From<crate::operation::list_model_explainability_job_definitions::ListModelExplainabilityJobDefinitionsError> for Error {
6477    fn from(err: crate::operation::list_model_explainability_job_definitions::ListModelExplainabilityJobDefinitionsError) -> Self {
6478        match err {
6479            crate::operation::list_model_explainability_job_definitions::ListModelExplainabilityJobDefinitionsError::Unhandled(inner) => {
6480                Error::Unhandled(inner)
6481            }
6482        }
6483    }
6484}
6485impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_model_metadata::ListModelMetadataError, R>> for Error
6486where
6487    R: Send + Sync + std::fmt::Debug + 'static,
6488{
6489    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_model_metadata::ListModelMetadataError, R>) -> Self {
6490        match err {
6491            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6492            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6493                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6494                source: err.into(),
6495            }),
6496        }
6497    }
6498}
6499impl From<crate::operation::list_model_metadata::ListModelMetadataError> for Error {
6500    fn from(err: crate::operation::list_model_metadata::ListModelMetadataError) -> Self {
6501        match err {
6502            crate::operation::list_model_metadata::ListModelMetadataError::Unhandled(inner) => Error::Unhandled(inner),
6503        }
6504    }
6505}
6506impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_model_package_groups::ListModelPackageGroupsError, R>>
6507    for Error
6508where
6509    R: Send + Sync + std::fmt::Debug + 'static,
6510{
6511    fn from(
6512        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_model_package_groups::ListModelPackageGroupsError, R>,
6513    ) -> Self {
6514        match err {
6515            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6516            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6517                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6518                source: err.into(),
6519            }),
6520        }
6521    }
6522}
6523impl From<crate::operation::list_model_package_groups::ListModelPackageGroupsError> for Error {
6524    fn from(err: crate::operation::list_model_package_groups::ListModelPackageGroupsError) -> Self {
6525        match err {
6526            crate::operation::list_model_package_groups::ListModelPackageGroupsError::Unhandled(inner) => Error::Unhandled(inner),
6527        }
6528    }
6529}
6530impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_model_packages::ListModelPackagesError, R>> for Error
6531where
6532    R: Send + Sync + std::fmt::Debug + 'static,
6533{
6534    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_model_packages::ListModelPackagesError, R>) -> Self {
6535        match err {
6536            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6537            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6538                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6539                source: err.into(),
6540            }),
6541        }
6542    }
6543}
6544impl From<crate::operation::list_model_packages::ListModelPackagesError> for Error {
6545    fn from(err: crate::operation::list_model_packages::ListModelPackagesError) -> Self {
6546        match err {
6547            crate::operation::list_model_packages::ListModelPackagesError::Unhandled(inner) => Error::Unhandled(inner),
6548        }
6549    }
6550}
6551impl<R>
6552    From<
6553        ::aws_smithy_runtime_api::client::result::SdkError<
6554            crate::operation::list_model_quality_job_definitions::ListModelQualityJobDefinitionsError,
6555            R,
6556        >,
6557    > for Error
6558where
6559    R: Send + Sync + std::fmt::Debug + 'static,
6560{
6561    fn from(
6562        err: ::aws_smithy_runtime_api::client::result::SdkError<
6563            crate::operation::list_model_quality_job_definitions::ListModelQualityJobDefinitionsError,
6564            R,
6565        >,
6566    ) -> Self {
6567        match err {
6568            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6569            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6570                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6571                source: err.into(),
6572            }),
6573        }
6574    }
6575}
6576impl From<crate::operation::list_model_quality_job_definitions::ListModelQualityJobDefinitionsError> for Error {
6577    fn from(err: crate::operation::list_model_quality_job_definitions::ListModelQualityJobDefinitionsError) -> Self {
6578        match err {
6579            crate::operation::list_model_quality_job_definitions::ListModelQualityJobDefinitionsError::Unhandled(inner) => Error::Unhandled(inner),
6580        }
6581    }
6582}
6583impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_models::ListModelsError, R>> for Error
6584where
6585    R: Send + Sync + std::fmt::Debug + 'static,
6586{
6587    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_models::ListModelsError, R>) -> Self {
6588        match err {
6589            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6590            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6591                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6592                source: err.into(),
6593            }),
6594        }
6595    }
6596}
6597impl From<crate::operation::list_models::ListModelsError> for Error {
6598    fn from(err: crate::operation::list_models::ListModelsError) -> Self {
6599        match err {
6600            crate::operation::list_models::ListModelsError::Unhandled(inner) => Error::Unhandled(inner),
6601        }
6602    }
6603}
6604impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_monitoring_alert_history::ListMonitoringAlertHistoryError, R>>
6605    for Error
6606where
6607    R: Send + Sync + std::fmt::Debug + 'static,
6608{
6609    fn from(
6610        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_monitoring_alert_history::ListMonitoringAlertHistoryError, R>,
6611    ) -> Self {
6612        match err {
6613            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6614            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6615                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6616                source: err.into(),
6617            }),
6618        }
6619    }
6620}
6621impl From<crate::operation::list_monitoring_alert_history::ListMonitoringAlertHistoryError> for Error {
6622    fn from(err: crate::operation::list_monitoring_alert_history::ListMonitoringAlertHistoryError) -> Self {
6623        match err {
6624            crate::operation::list_monitoring_alert_history::ListMonitoringAlertHistoryError::ResourceNotFound(inner) => {
6625                Error::ResourceNotFound(inner)
6626            }
6627            crate::operation::list_monitoring_alert_history::ListMonitoringAlertHistoryError::Unhandled(inner) => Error::Unhandled(inner),
6628        }
6629    }
6630}
6631impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_monitoring_alerts::ListMonitoringAlertsError, R>> for Error
6632where
6633    R: Send + Sync + std::fmt::Debug + 'static,
6634{
6635    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_monitoring_alerts::ListMonitoringAlertsError, R>) -> Self {
6636        match err {
6637            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6638            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6639                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6640                source: err.into(),
6641            }),
6642        }
6643    }
6644}
6645impl From<crate::operation::list_monitoring_alerts::ListMonitoringAlertsError> for Error {
6646    fn from(err: crate::operation::list_monitoring_alerts::ListMonitoringAlertsError) -> Self {
6647        match err {
6648            crate::operation::list_monitoring_alerts::ListMonitoringAlertsError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
6649            crate::operation::list_monitoring_alerts::ListMonitoringAlertsError::Unhandled(inner) => Error::Unhandled(inner),
6650        }
6651    }
6652}
6653impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_monitoring_executions::ListMonitoringExecutionsError, R>>
6654    for Error
6655where
6656    R: Send + Sync + std::fmt::Debug + 'static,
6657{
6658    fn from(
6659        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_monitoring_executions::ListMonitoringExecutionsError, R>,
6660    ) -> Self {
6661        match err {
6662            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6663            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6664                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6665                source: err.into(),
6666            }),
6667        }
6668    }
6669}
6670impl From<crate::operation::list_monitoring_executions::ListMonitoringExecutionsError> for Error {
6671    fn from(err: crate::operation::list_monitoring_executions::ListMonitoringExecutionsError) -> Self {
6672        match err {
6673            crate::operation::list_monitoring_executions::ListMonitoringExecutionsError::Unhandled(inner) => Error::Unhandled(inner),
6674        }
6675    }
6676}
6677impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_monitoring_schedules::ListMonitoringSchedulesError, R>>
6678    for Error
6679where
6680    R: Send + Sync + std::fmt::Debug + 'static,
6681{
6682    fn from(
6683        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_monitoring_schedules::ListMonitoringSchedulesError, R>,
6684    ) -> Self {
6685        match err {
6686            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6687            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6688                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6689                source: err.into(),
6690            }),
6691        }
6692    }
6693}
6694impl From<crate::operation::list_monitoring_schedules::ListMonitoringSchedulesError> for Error {
6695    fn from(err: crate::operation::list_monitoring_schedules::ListMonitoringSchedulesError) -> Self {
6696        match err {
6697            crate::operation::list_monitoring_schedules::ListMonitoringSchedulesError::Unhandled(inner) => Error::Unhandled(inner),
6698        }
6699    }
6700}
6701impl<R>
6702    From<
6703        ::aws_smithy_runtime_api::client::result::SdkError<
6704            crate::operation::list_notebook_instance_lifecycle_configs::ListNotebookInstanceLifecycleConfigsError,
6705            R,
6706        >,
6707    > for Error
6708where
6709    R: Send + Sync + std::fmt::Debug + 'static,
6710{
6711    fn from(
6712        err: ::aws_smithy_runtime_api::client::result::SdkError<
6713            crate::operation::list_notebook_instance_lifecycle_configs::ListNotebookInstanceLifecycleConfigsError,
6714            R,
6715        >,
6716    ) -> Self {
6717        match err {
6718            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6719            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6720                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6721                source: err.into(),
6722            }),
6723        }
6724    }
6725}
6726impl From<crate::operation::list_notebook_instance_lifecycle_configs::ListNotebookInstanceLifecycleConfigsError> for Error {
6727    fn from(err: crate::operation::list_notebook_instance_lifecycle_configs::ListNotebookInstanceLifecycleConfigsError) -> Self {
6728        match err {
6729            crate::operation::list_notebook_instance_lifecycle_configs::ListNotebookInstanceLifecycleConfigsError::Unhandled(inner) => {
6730                Error::Unhandled(inner)
6731            }
6732        }
6733    }
6734}
6735impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_notebook_instances::ListNotebookInstancesError, R>> for Error
6736where
6737    R: Send + Sync + std::fmt::Debug + 'static,
6738{
6739    fn from(
6740        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_notebook_instances::ListNotebookInstancesError, R>,
6741    ) -> Self {
6742        match err {
6743            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6744            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6745                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6746                source: err.into(),
6747            }),
6748        }
6749    }
6750}
6751impl From<crate::operation::list_notebook_instances::ListNotebookInstancesError> for Error {
6752    fn from(err: crate::operation::list_notebook_instances::ListNotebookInstancesError) -> Self {
6753        match err {
6754            crate::operation::list_notebook_instances::ListNotebookInstancesError::Unhandled(inner) => Error::Unhandled(inner),
6755        }
6756    }
6757}
6758impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_optimization_jobs::ListOptimizationJobsError, R>> for Error
6759where
6760    R: Send + Sync + std::fmt::Debug + 'static,
6761{
6762    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_optimization_jobs::ListOptimizationJobsError, R>) -> Self {
6763        match err {
6764            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6765            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6766                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6767                source: err.into(),
6768            }),
6769        }
6770    }
6771}
6772impl From<crate::operation::list_optimization_jobs::ListOptimizationJobsError> for Error {
6773    fn from(err: crate::operation::list_optimization_jobs::ListOptimizationJobsError) -> Self {
6774        match err {
6775            crate::operation::list_optimization_jobs::ListOptimizationJobsError::Unhandled(inner) => Error::Unhandled(inner),
6776        }
6777    }
6778}
6779impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_partner_apps::ListPartnerAppsError, R>> for Error
6780where
6781    R: Send + Sync + std::fmt::Debug + 'static,
6782{
6783    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_partner_apps::ListPartnerAppsError, R>) -> Self {
6784        match err {
6785            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6786            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6787                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6788                source: err.into(),
6789            }),
6790        }
6791    }
6792}
6793impl From<crate::operation::list_partner_apps::ListPartnerAppsError> for Error {
6794    fn from(err: crate::operation::list_partner_apps::ListPartnerAppsError) -> Self {
6795        match err {
6796            crate::operation::list_partner_apps::ListPartnerAppsError::Unhandled(inner) => Error::Unhandled(inner),
6797        }
6798    }
6799}
6800impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_pipeline_executions::ListPipelineExecutionsError, R>> for Error
6801where
6802    R: Send + Sync + std::fmt::Debug + 'static,
6803{
6804    fn from(
6805        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_pipeline_executions::ListPipelineExecutionsError, R>,
6806    ) -> Self {
6807        match err {
6808            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6809            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6810                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6811                source: err.into(),
6812            }),
6813        }
6814    }
6815}
6816impl From<crate::operation::list_pipeline_executions::ListPipelineExecutionsError> for Error {
6817    fn from(err: crate::operation::list_pipeline_executions::ListPipelineExecutionsError) -> Self {
6818        match err {
6819            crate::operation::list_pipeline_executions::ListPipelineExecutionsError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
6820            crate::operation::list_pipeline_executions::ListPipelineExecutionsError::Unhandled(inner) => Error::Unhandled(inner),
6821        }
6822    }
6823}
6824impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_pipeline_execution_steps::ListPipelineExecutionStepsError, R>>
6825    for Error
6826where
6827    R: Send + Sync + std::fmt::Debug + 'static,
6828{
6829    fn from(
6830        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_pipeline_execution_steps::ListPipelineExecutionStepsError, R>,
6831    ) -> Self {
6832        match err {
6833            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6834            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6835                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6836                source: err.into(),
6837            }),
6838        }
6839    }
6840}
6841impl From<crate::operation::list_pipeline_execution_steps::ListPipelineExecutionStepsError> for Error {
6842    fn from(err: crate::operation::list_pipeline_execution_steps::ListPipelineExecutionStepsError) -> Self {
6843        match err {
6844            crate::operation::list_pipeline_execution_steps::ListPipelineExecutionStepsError::ResourceNotFound(inner) => {
6845                Error::ResourceNotFound(inner)
6846            }
6847            crate::operation::list_pipeline_execution_steps::ListPipelineExecutionStepsError::Unhandled(inner) => Error::Unhandled(inner),
6848        }
6849    }
6850}
6851impl<R>
6852    From<
6853        ::aws_smithy_runtime_api::client::result::SdkError<
6854            crate::operation::list_pipeline_parameters_for_execution::ListPipelineParametersForExecutionError,
6855            R,
6856        >,
6857    > for Error
6858where
6859    R: Send + Sync + std::fmt::Debug + 'static,
6860{
6861    fn from(
6862        err: ::aws_smithy_runtime_api::client::result::SdkError<
6863            crate::operation::list_pipeline_parameters_for_execution::ListPipelineParametersForExecutionError,
6864            R,
6865        >,
6866    ) -> Self {
6867        match err {
6868            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6869            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6870                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6871                source: err.into(),
6872            }),
6873        }
6874    }
6875}
6876impl From<crate::operation::list_pipeline_parameters_for_execution::ListPipelineParametersForExecutionError> for Error {
6877    fn from(err: crate::operation::list_pipeline_parameters_for_execution::ListPipelineParametersForExecutionError) -> Self {
6878        match err {
6879            crate::operation::list_pipeline_parameters_for_execution::ListPipelineParametersForExecutionError::ResourceNotFound(inner) => {
6880                Error::ResourceNotFound(inner)
6881            }
6882            crate::operation::list_pipeline_parameters_for_execution::ListPipelineParametersForExecutionError::Unhandled(inner) => {
6883                Error::Unhandled(inner)
6884            }
6885        }
6886    }
6887}
6888impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_pipelines::ListPipelinesError, R>> for Error
6889where
6890    R: Send + Sync + std::fmt::Debug + 'static,
6891{
6892    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_pipelines::ListPipelinesError, R>) -> Self {
6893        match err {
6894            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6895            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6896                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6897                source: err.into(),
6898            }),
6899        }
6900    }
6901}
6902impl From<crate::operation::list_pipelines::ListPipelinesError> for Error {
6903    fn from(err: crate::operation::list_pipelines::ListPipelinesError) -> Self {
6904        match err {
6905            crate::operation::list_pipelines::ListPipelinesError::Unhandled(inner) => Error::Unhandled(inner),
6906        }
6907    }
6908}
6909impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_pipeline_versions::ListPipelineVersionsError, R>> for Error
6910where
6911    R: Send + Sync + std::fmt::Debug + 'static,
6912{
6913    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_pipeline_versions::ListPipelineVersionsError, R>) -> Self {
6914        match err {
6915            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6916            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6917                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6918                source: err.into(),
6919            }),
6920        }
6921    }
6922}
6923impl From<crate::operation::list_pipeline_versions::ListPipelineVersionsError> for Error {
6924    fn from(err: crate::operation::list_pipeline_versions::ListPipelineVersionsError) -> Self {
6925        match err {
6926            crate::operation::list_pipeline_versions::ListPipelineVersionsError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
6927            crate::operation::list_pipeline_versions::ListPipelineVersionsError::Unhandled(inner) => Error::Unhandled(inner),
6928        }
6929    }
6930}
6931impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_processing_jobs::ListProcessingJobsError, R>> for Error
6932where
6933    R: Send + Sync + std::fmt::Debug + 'static,
6934{
6935    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_processing_jobs::ListProcessingJobsError, R>) -> Self {
6936        match err {
6937            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6938            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6939                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6940                source: err.into(),
6941            }),
6942        }
6943    }
6944}
6945impl From<crate::operation::list_processing_jobs::ListProcessingJobsError> for Error {
6946    fn from(err: crate::operation::list_processing_jobs::ListProcessingJobsError) -> Self {
6947        match err {
6948            crate::operation::list_processing_jobs::ListProcessingJobsError::Unhandled(inner) => Error::Unhandled(inner),
6949        }
6950    }
6951}
6952impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_projects::ListProjectsError, R>> for Error
6953where
6954    R: Send + Sync + std::fmt::Debug + 'static,
6955{
6956    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_projects::ListProjectsError, R>) -> Self {
6957        match err {
6958            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6959            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6960                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6961                source: err.into(),
6962            }),
6963        }
6964    }
6965}
6966impl From<crate::operation::list_projects::ListProjectsError> for Error {
6967    fn from(err: crate::operation::list_projects::ListProjectsError) -> Self {
6968        match err {
6969            crate::operation::list_projects::ListProjectsError::Unhandled(inner) => Error::Unhandled(inner),
6970        }
6971    }
6972}
6973impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_resource_catalogs::ListResourceCatalogsError, R>> for Error
6974where
6975    R: Send + Sync + std::fmt::Debug + 'static,
6976{
6977    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_resource_catalogs::ListResourceCatalogsError, R>) -> Self {
6978        match err {
6979            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6980            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6981                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6982                source: err.into(),
6983            }),
6984        }
6985    }
6986}
6987impl From<crate::operation::list_resource_catalogs::ListResourceCatalogsError> for Error {
6988    fn from(err: crate::operation::list_resource_catalogs::ListResourceCatalogsError) -> Self {
6989        match err {
6990            crate::operation::list_resource_catalogs::ListResourceCatalogsError::Unhandled(inner) => Error::Unhandled(inner),
6991        }
6992    }
6993}
6994impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_spaces::ListSpacesError, R>> for Error
6995where
6996    R: Send + Sync + std::fmt::Debug + 'static,
6997{
6998    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_spaces::ListSpacesError, R>) -> Self {
6999        match err {
7000            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7001            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7002                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7003                source: err.into(),
7004            }),
7005        }
7006    }
7007}
7008impl From<crate::operation::list_spaces::ListSpacesError> for Error {
7009    fn from(err: crate::operation::list_spaces::ListSpacesError) -> Self {
7010        match err {
7011            crate::operation::list_spaces::ListSpacesError::Unhandled(inner) => Error::Unhandled(inner),
7012        }
7013    }
7014}
7015impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_stage_devices::ListStageDevicesError, R>> for Error
7016where
7017    R: Send + Sync + std::fmt::Debug + 'static,
7018{
7019    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_stage_devices::ListStageDevicesError, R>) -> Self {
7020        match err {
7021            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7022            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7023                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7024                source: err.into(),
7025            }),
7026        }
7027    }
7028}
7029impl From<crate::operation::list_stage_devices::ListStageDevicesError> for Error {
7030    fn from(err: crate::operation::list_stage_devices::ListStageDevicesError) -> Self {
7031        match err {
7032            crate::operation::list_stage_devices::ListStageDevicesError::Unhandled(inner) => Error::Unhandled(inner),
7033        }
7034    }
7035}
7036impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_studio_lifecycle_configs::ListStudioLifecycleConfigsError, R>>
7037    for Error
7038where
7039    R: Send + Sync + std::fmt::Debug + 'static,
7040{
7041    fn from(
7042        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_studio_lifecycle_configs::ListStudioLifecycleConfigsError, R>,
7043    ) -> Self {
7044        match err {
7045            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7046            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7047                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7048                source: err.into(),
7049            }),
7050        }
7051    }
7052}
7053impl From<crate::operation::list_studio_lifecycle_configs::ListStudioLifecycleConfigsError> for Error {
7054    fn from(err: crate::operation::list_studio_lifecycle_configs::ListStudioLifecycleConfigsError) -> Self {
7055        match err {
7056            crate::operation::list_studio_lifecycle_configs::ListStudioLifecycleConfigsError::ResourceInUse(inner) => Error::ResourceInUse(inner),
7057            crate::operation::list_studio_lifecycle_configs::ListStudioLifecycleConfigsError::Unhandled(inner) => Error::Unhandled(inner),
7058        }
7059    }
7060}
7061impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_subscribed_workteams::ListSubscribedWorkteamsError, R>>
7062    for Error
7063where
7064    R: Send + Sync + std::fmt::Debug + 'static,
7065{
7066    fn from(
7067        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_subscribed_workteams::ListSubscribedWorkteamsError, R>,
7068    ) -> Self {
7069        match err {
7070            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7071            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7072                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7073                source: err.into(),
7074            }),
7075        }
7076    }
7077}
7078impl From<crate::operation::list_subscribed_workteams::ListSubscribedWorkteamsError> for Error {
7079    fn from(err: crate::operation::list_subscribed_workteams::ListSubscribedWorkteamsError) -> Self {
7080        match err {
7081            crate::operation::list_subscribed_workteams::ListSubscribedWorkteamsError::Unhandled(inner) => Error::Unhandled(inner),
7082        }
7083    }
7084}
7085impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_tags::ListTagsError, R>> for Error
7086where
7087    R: Send + Sync + std::fmt::Debug + 'static,
7088{
7089    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_tags::ListTagsError, R>) -> Self {
7090        match err {
7091            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7092            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7093                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7094                source: err.into(),
7095            }),
7096        }
7097    }
7098}
7099impl From<crate::operation::list_tags::ListTagsError> for Error {
7100    fn from(err: crate::operation::list_tags::ListTagsError) -> Self {
7101        match err {
7102            crate::operation::list_tags::ListTagsError::Unhandled(inner) => Error::Unhandled(inner),
7103        }
7104    }
7105}
7106impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_training_jobs::ListTrainingJobsError, R>> for Error
7107where
7108    R: Send + Sync + std::fmt::Debug + 'static,
7109{
7110    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_training_jobs::ListTrainingJobsError, R>) -> Self {
7111        match err {
7112            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7113            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7114                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7115                source: err.into(),
7116            }),
7117        }
7118    }
7119}
7120impl From<crate::operation::list_training_jobs::ListTrainingJobsError> for Error {
7121    fn from(err: crate::operation::list_training_jobs::ListTrainingJobsError) -> Self {
7122        match err {
7123            crate::operation::list_training_jobs::ListTrainingJobsError::Unhandled(inner) => Error::Unhandled(inner),
7124        }
7125    }
7126}
7127impl<R>
7128    From<
7129        ::aws_smithy_runtime_api::client::result::SdkError<
7130            crate::operation::list_training_jobs_for_hyper_parameter_tuning_job::ListTrainingJobsForHyperParameterTuningJobError,
7131            R,
7132        >,
7133    > for Error
7134where
7135    R: Send + Sync + std::fmt::Debug + 'static,
7136{
7137    fn from(
7138        err: ::aws_smithy_runtime_api::client::result::SdkError<
7139            crate::operation::list_training_jobs_for_hyper_parameter_tuning_job::ListTrainingJobsForHyperParameterTuningJobError,
7140            R,
7141        >,
7142    ) -> Self {
7143        match err {
7144            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7145            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7146                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7147                source: err.into(),
7148            }),
7149        }
7150    }
7151}
7152impl From<crate::operation::list_training_jobs_for_hyper_parameter_tuning_job::ListTrainingJobsForHyperParameterTuningJobError> for Error {
7153    fn from(err: crate::operation::list_training_jobs_for_hyper_parameter_tuning_job::ListTrainingJobsForHyperParameterTuningJobError) -> Self {
7154        match err {
7155            crate::operation::list_training_jobs_for_hyper_parameter_tuning_job::ListTrainingJobsForHyperParameterTuningJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
7156            crate::operation::list_training_jobs_for_hyper_parameter_tuning_job::ListTrainingJobsForHyperParameterTuningJobError::Unhandled(inner) => Error::Unhandled(inner),
7157        }
7158    }
7159}
7160impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_training_plans::ListTrainingPlansError, R>> for Error
7161where
7162    R: Send + Sync + std::fmt::Debug + 'static,
7163{
7164    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_training_plans::ListTrainingPlansError, R>) -> Self {
7165        match err {
7166            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7167            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7168                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7169                source: err.into(),
7170            }),
7171        }
7172    }
7173}
7174impl From<crate::operation::list_training_plans::ListTrainingPlansError> for Error {
7175    fn from(err: crate::operation::list_training_plans::ListTrainingPlansError) -> Self {
7176        match err {
7177            crate::operation::list_training_plans::ListTrainingPlansError::Unhandled(inner) => Error::Unhandled(inner),
7178        }
7179    }
7180}
7181impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_transform_jobs::ListTransformJobsError, R>> for Error
7182where
7183    R: Send + Sync + std::fmt::Debug + 'static,
7184{
7185    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_transform_jobs::ListTransformJobsError, R>) -> Self {
7186        match err {
7187            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7188            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7189                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7190                source: err.into(),
7191            }),
7192        }
7193    }
7194}
7195impl From<crate::operation::list_transform_jobs::ListTransformJobsError> for Error {
7196    fn from(err: crate::operation::list_transform_jobs::ListTransformJobsError) -> Self {
7197        match err {
7198            crate::operation::list_transform_jobs::ListTransformJobsError::Unhandled(inner) => Error::Unhandled(inner),
7199        }
7200    }
7201}
7202impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_trial_components::ListTrialComponentsError, R>> for Error
7203where
7204    R: Send + Sync + std::fmt::Debug + 'static,
7205{
7206    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_trial_components::ListTrialComponentsError, R>) -> Self {
7207        match err {
7208            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7209            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7210                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7211                source: err.into(),
7212            }),
7213        }
7214    }
7215}
7216impl From<crate::operation::list_trial_components::ListTrialComponentsError> for Error {
7217    fn from(err: crate::operation::list_trial_components::ListTrialComponentsError) -> Self {
7218        match err {
7219            crate::operation::list_trial_components::ListTrialComponentsError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
7220            crate::operation::list_trial_components::ListTrialComponentsError::Unhandled(inner) => Error::Unhandled(inner),
7221        }
7222    }
7223}
7224impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_trials::ListTrialsError, R>> for Error
7225where
7226    R: Send + Sync + std::fmt::Debug + 'static,
7227{
7228    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_trials::ListTrialsError, R>) -> Self {
7229        match err {
7230            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7231            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7232                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7233                source: err.into(),
7234            }),
7235        }
7236    }
7237}
7238impl From<crate::operation::list_trials::ListTrialsError> for Error {
7239    fn from(err: crate::operation::list_trials::ListTrialsError) -> Self {
7240        match err {
7241            crate::operation::list_trials::ListTrialsError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
7242            crate::operation::list_trials::ListTrialsError::Unhandled(inner) => Error::Unhandled(inner),
7243        }
7244    }
7245}
7246impl<R>
7247    From<
7248        ::aws_smithy_runtime_api::client::result::SdkError<
7249            crate::operation::list_ultra_servers_by_reserved_capacity::ListUltraServersByReservedCapacityError,
7250            R,
7251        >,
7252    > for Error
7253where
7254    R: Send + Sync + std::fmt::Debug + 'static,
7255{
7256    fn from(
7257        err: ::aws_smithy_runtime_api::client::result::SdkError<
7258            crate::operation::list_ultra_servers_by_reserved_capacity::ListUltraServersByReservedCapacityError,
7259            R,
7260        >,
7261    ) -> Self {
7262        match err {
7263            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7264            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7265                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7266                source: err.into(),
7267            }),
7268        }
7269    }
7270}
7271impl From<crate::operation::list_ultra_servers_by_reserved_capacity::ListUltraServersByReservedCapacityError> for Error {
7272    fn from(err: crate::operation::list_ultra_servers_by_reserved_capacity::ListUltraServersByReservedCapacityError) -> Self {
7273        match err {
7274            crate::operation::list_ultra_servers_by_reserved_capacity::ListUltraServersByReservedCapacityError::ResourceNotFound(inner) => {
7275                Error::ResourceNotFound(inner)
7276            }
7277            crate::operation::list_ultra_servers_by_reserved_capacity::ListUltraServersByReservedCapacityError::Unhandled(inner) => {
7278                Error::Unhandled(inner)
7279            }
7280        }
7281    }
7282}
7283impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_user_profiles::ListUserProfilesError, R>> for Error
7284where
7285    R: Send + Sync + std::fmt::Debug + 'static,
7286{
7287    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_user_profiles::ListUserProfilesError, R>) -> Self {
7288        match err {
7289            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7290            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7291                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7292                source: err.into(),
7293            }),
7294        }
7295    }
7296}
7297impl From<crate::operation::list_user_profiles::ListUserProfilesError> for Error {
7298    fn from(err: crate::operation::list_user_profiles::ListUserProfilesError) -> Self {
7299        match err {
7300            crate::operation::list_user_profiles::ListUserProfilesError::Unhandled(inner) => Error::Unhandled(inner),
7301        }
7302    }
7303}
7304impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_workforces::ListWorkforcesError, R>> for Error
7305where
7306    R: Send + Sync + std::fmt::Debug + 'static,
7307{
7308    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_workforces::ListWorkforcesError, R>) -> Self {
7309        match err {
7310            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7311            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7312                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7313                source: err.into(),
7314            }),
7315        }
7316    }
7317}
7318impl From<crate::operation::list_workforces::ListWorkforcesError> for Error {
7319    fn from(err: crate::operation::list_workforces::ListWorkforcesError) -> Self {
7320        match err {
7321            crate::operation::list_workforces::ListWorkforcesError::Unhandled(inner) => Error::Unhandled(inner),
7322        }
7323    }
7324}
7325impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_workteams::ListWorkteamsError, R>> for Error
7326where
7327    R: Send + Sync + std::fmt::Debug + 'static,
7328{
7329    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_workteams::ListWorkteamsError, R>) -> Self {
7330        match err {
7331            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7332            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7333                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7334                source: err.into(),
7335            }),
7336        }
7337    }
7338}
7339impl From<crate::operation::list_workteams::ListWorkteamsError> for Error {
7340    fn from(err: crate::operation::list_workteams::ListWorkteamsError) -> Self {
7341        match err {
7342            crate::operation::list_workteams::ListWorkteamsError::Unhandled(inner) => Error::Unhandled(inner),
7343        }
7344    }
7345}
7346impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_model_package_group_policy::PutModelPackageGroupPolicyError, R>>
7347    for Error
7348where
7349    R: Send + Sync + std::fmt::Debug + 'static,
7350{
7351    fn from(
7352        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_model_package_group_policy::PutModelPackageGroupPolicyError, R>,
7353    ) -> Self {
7354        match err {
7355            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7356            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7357                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7358                source: err.into(),
7359            }),
7360        }
7361    }
7362}
7363impl From<crate::operation::put_model_package_group_policy::PutModelPackageGroupPolicyError> for Error {
7364    fn from(err: crate::operation::put_model_package_group_policy::PutModelPackageGroupPolicyError) -> Self {
7365        match err {
7366            crate::operation::put_model_package_group_policy::PutModelPackageGroupPolicyError::ConflictException(inner) => {
7367                Error::ConflictException(inner)
7368            }
7369            crate::operation::put_model_package_group_policy::PutModelPackageGroupPolicyError::Unhandled(inner) => Error::Unhandled(inner),
7370        }
7371    }
7372}
7373impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::query_lineage::QueryLineageError, R>> for Error
7374where
7375    R: Send + Sync + std::fmt::Debug + 'static,
7376{
7377    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::query_lineage::QueryLineageError, R>) -> Self {
7378        match err {
7379            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7380            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7381                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7382                source: err.into(),
7383            }),
7384        }
7385    }
7386}
7387impl From<crate::operation::query_lineage::QueryLineageError> for Error {
7388    fn from(err: crate::operation::query_lineage::QueryLineageError) -> Self {
7389        match err {
7390            crate::operation::query_lineage::QueryLineageError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
7391            crate::operation::query_lineage::QueryLineageError::Unhandled(inner) => Error::Unhandled(inner),
7392        }
7393    }
7394}
7395impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::register_devices::RegisterDevicesError, R>> for Error
7396where
7397    R: Send + Sync + std::fmt::Debug + 'static,
7398{
7399    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::register_devices::RegisterDevicesError, R>) -> Self {
7400        match err {
7401            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7402            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7403                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7404                source: err.into(),
7405            }),
7406        }
7407    }
7408}
7409impl From<crate::operation::register_devices::RegisterDevicesError> for Error {
7410    fn from(err: crate::operation::register_devices::RegisterDevicesError) -> Self {
7411        match err {
7412            crate::operation::register_devices::RegisterDevicesError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
7413            crate::operation::register_devices::RegisterDevicesError::Unhandled(inner) => Error::Unhandled(inner),
7414        }
7415    }
7416}
7417impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::render_ui_template::RenderUiTemplateError, R>> for Error
7418where
7419    R: Send + Sync + std::fmt::Debug + 'static,
7420{
7421    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::render_ui_template::RenderUiTemplateError, R>) -> Self {
7422        match err {
7423            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7424            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7425                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7426                source: err.into(),
7427            }),
7428        }
7429    }
7430}
7431impl From<crate::operation::render_ui_template::RenderUiTemplateError> for Error {
7432    fn from(err: crate::operation::render_ui_template::RenderUiTemplateError) -> Self {
7433        match err {
7434            crate::operation::render_ui_template::RenderUiTemplateError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
7435            crate::operation::render_ui_template::RenderUiTemplateError::Unhandled(inner) => Error::Unhandled(inner),
7436        }
7437    }
7438}
7439impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::retry_pipeline_execution::RetryPipelineExecutionError, R>> for Error
7440where
7441    R: Send + Sync + std::fmt::Debug + 'static,
7442{
7443    fn from(
7444        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::retry_pipeline_execution::RetryPipelineExecutionError, R>,
7445    ) -> Self {
7446        match err {
7447            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7448            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7449                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7450                source: err.into(),
7451            }),
7452        }
7453    }
7454}
7455impl From<crate::operation::retry_pipeline_execution::RetryPipelineExecutionError> for Error {
7456    fn from(err: crate::operation::retry_pipeline_execution::RetryPipelineExecutionError) -> Self {
7457        match err {
7458            crate::operation::retry_pipeline_execution::RetryPipelineExecutionError::ConflictException(inner) => Error::ConflictException(inner),
7459            crate::operation::retry_pipeline_execution::RetryPipelineExecutionError::ResourceLimitExceeded(inner) => {
7460                Error::ResourceLimitExceeded(inner)
7461            }
7462            crate::operation::retry_pipeline_execution::RetryPipelineExecutionError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
7463            crate::operation::retry_pipeline_execution::RetryPipelineExecutionError::Unhandled(inner) => Error::Unhandled(inner),
7464        }
7465    }
7466}
7467impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::search::SearchError, R>> for Error
7468where
7469    R: Send + Sync + std::fmt::Debug + 'static,
7470{
7471    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::search::SearchError, R>) -> Self {
7472        match err {
7473            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7474            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7475                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7476                source: err.into(),
7477            }),
7478        }
7479    }
7480}
7481impl From<crate::operation::search::SearchError> for Error {
7482    fn from(err: crate::operation::search::SearchError) -> Self {
7483        match err {
7484            crate::operation::search::SearchError::Unhandled(inner) => Error::Unhandled(inner),
7485        }
7486    }
7487}
7488impl<R>
7489    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::search_training_plan_offerings::SearchTrainingPlanOfferingsError, R>>
7490    for Error
7491where
7492    R: Send + Sync + std::fmt::Debug + 'static,
7493{
7494    fn from(
7495        err: ::aws_smithy_runtime_api::client::result::SdkError<
7496            crate::operation::search_training_plan_offerings::SearchTrainingPlanOfferingsError,
7497            R,
7498        >,
7499    ) -> Self {
7500        match err {
7501            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7502            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7503                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7504                source: err.into(),
7505            }),
7506        }
7507    }
7508}
7509impl From<crate::operation::search_training_plan_offerings::SearchTrainingPlanOfferingsError> for Error {
7510    fn from(err: crate::operation::search_training_plan_offerings::SearchTrainingPlanOfferingsError) -> Self {
7511        match err {
7512            crate::operation::search_training_plan_offerings::SearchTrainingPlanOfferingsError::ResourceLimitExceeded(inner) => {
7513                Error::ResourceLimitExceeded(inner)
7514            }
7515            crate::operation::search_training_plan_offerings::SearchTrainingPlanOfferingsError::Unhandled(inner) => Error::Unhandled(inner),
7516        }
7517    }
7518}
7519impl<R>
7520    From<
7521        ::aws_smithy_runtime_api::client::result::SdkError<
7522            crate::operation::send_pipeline_execution_step_failure::SendPipelineExecutionStepFailureError,
7523            R,
7524        >,
7525    > for Error
7526where
7527    R: Send + Sync + std::fmt::Debug + 'static,
7528{
7529    fn from(
7530        err: ::aws_smithy_runtime_api::client::result::SdkError<
7531            crate::operation::send_pipeline_execution_step_failure::SendPipelineExecutionStepFailureError,
7532            R,
7533        >,
7534    ) -> Self {
7535        match err {
7536            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7537            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7538                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7539                source: err.into(),
7540            }),
7541        }
7542    }
7543}
7544impl From<crate::operation::send_pipeline_execution_step_failure::SendPipelineExecutionStepFailureError> for Error {
7545    fn from(err: crate::operation::send_pipeline_execution_step_failure::SendPipelineExecutionStepFailureError) -> Self {
7546        match err {
7547            crate::operation::send_pipeline_execution_step_failure::SendPipelineExecutionStepFailureError::ConflictException(inner) => {
7548                Error::ConflictException(inner)
7549            }
7550            crate::operation::send_pipeline_execution_step_failure::SendPipelineExecutionStepFailureError::ResourceLimitExceeded(inner) => {
7551                Error::ResourceLimitExceeded(inner)
7552            }
7553            crate::operation::send_pipeline_execution_step_failure::SendPipelineExecutionStepFailureError::ResourceNotFound(inner) => {
7554                Error::ResourceNotFound(inner)
7555            }
7556            crate::operation::send_pipeline_execution_step_failure::SendPipelineExecutionStepFailureError::Unhandled(inner) => {
7557                Error::Unhandled(inner)
7558            }
7559        }
7560    }
7561}
7562impl<R>
7563    From<
7564        ::aws_smithy_runtime_api::client::result::SdkError<
7565            crate::operation::send_pipeline_execution_step_success::SendPipelineExecutionStepSuccessError,
7566            R,
7567        >,
7568    > for Error
7569where
7570    R: Send + Sync + std::fmt::Debug + 'static,
7571{
7572    fn from(
7573        err: ::aws_smithy_runtime_api::client::result::SdkError<
7574            crate::operation::send_pipeline_execution_step_success::SendPipelineExecutionStepSuccessError,
7575            R,
7576        >,
7577    ) -> Self {
7578        match err {
7579            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7580            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7581                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7582                source: err.into(),
7583            }),
7584        }
7585    }
7586}
7587impl From<crate::operation::send_pipeline_execution_step_success::SendPipelineExecutionStepSuccessError> for Error {
7588    fn from(err: crate::operation::send_pipeline_execution_step_success::SendPipelineExecutionStepSuccessError) -> Self {
7589        match err {
7590            crate::operation::send_pipeline_execution_step_success::SendPipelineExecutionStepSuccessError::ConflictException(inner) => {
7591                Error::ConflictException(inner)
7592            }
7593            crate::operation::send_pipeline_execution_step_success::SendPipelineExecutionStepSuccessError::ResourceLimitExceeded(inner) => {
7594                Error::ResourceLimitExceeded(inner)
7595            }
7596            crate::operation::send_pipeline_execution_step_success::SendPipelineExecutionStepSuccessError::ResourceNotFound(inner) => {
7597                Error::ResourceNotFound(inner)
7598            }
7599            crate::operation::send_pipeline_execution_step_success::SendPipelineExecutionStepSuccessError::Unhandled(inner) => {
7600                Error::Unhandled(inner)
7601            }
7602        }
7603    }
7604}
7605impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_edge_deployment_stage::StartEdgeDeploymentStageError, R>>
7606    for Error
7607where
7608    R: Send + Sync + std::fmt::Debug + 'static,
7609{
7610    fn from(
7611        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_edge_deployment_stage::StartEdgeDeploymentStageError, R>,
7612    ) -> Self {
7613        match err {
7614            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7615            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7616                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7617                source: err.into(),
7618            }),
7619        }
7620    }
7621}
7622impl From<crate::operation::start_edge_deployment_stage::StartEdgeDeploymentStageError> for Error {
7623    fn from(err: crate::operation::start_edge_deployment_stage::StartEdgeDeploymentStageError) -> Self {
7624        match err {
7625            crate::operation::start_edge_deployment_stage::StartEdgeDeploymentStageError::Unhandled(inner) => Error::Unhandled(inner),
7626        }
7627    }
7628}
7629impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_inference_experiment::StartInferenceExperimentError, R>>
7630    for Error
7631where
7632    R: Send + Sync + std::fmt::Debug + 'static,
7633{
7634    fn from(
7635        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_inference_experiment::StartInferenceExperimentError, R>,
7636    ) -> Self {
7637        match err {
7638            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7639            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7640                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7641                source: err.into(),
7642            }),
7643        }
7644    }
7645}
7646impl From<crate::operation::start_inference_experiment::StartInferenceExperimentError> for Error {
7647    fn from(err: crate::operation::start_inference_experiment::StartInferenceExperimentError) -> Self {
7648        match err {
7649            crate::operation::start_inference_experiment::StartInferenceExperimentError::ConflictException(inner) => Error::ConflictException(inner),
7650            crate::operation::start_inference_experiment::StartInferenceExperimentError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
7651            crate::operation::start_inference_experiment::StartInferenceExperimentError::Unhandled(inner) => Error::Unhandled(inner),
7652        }
7653    }
7654}
7655impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_mlflow_tracking_server::StartMlflowTrackingServerError, R>>
7656    for Error
7657where
7658    R: Send + Sync + std::fmt::Debug + 'static,
7659{
7660    fn from(
7661        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_mlflow_tracking_server::StartMlflowTrackingServerError, R>,
7662    ) -> Self {
7663        match err {
7664            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7665            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7666                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7667                source: err.into(),
7668            }),
7669        }
7670    }
7671}
7672impl From<crate::operation::start_mlflow_tracking_server::StartMlflowTrackingServerError> for Error {
7673    fn from(err: crate::operation::start_mlflow_tracking_server::StartMlflowTrackingServerError) -> Self {
7674        match err {
7675            crate::operation::start_mlflow_tracking_server::StartMlflowTrackingServerError::ConflictException(inner) => {
7676                Error::ConflictException(inner)
7677            }
7678            crate::operation::start_mlflow_tracking_server::StartMlflowTrackingServerError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
7679            crate::operation::start_mlflow_tracking_server::StartMlflowTrackingServerError::Unhandled(inner) => Error::Unhandled(inner),
7680        }
7681    }
7682}
7683impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_monitoring_schedule::StartMonitoringScheduleError, R>>
7684    for Error
7685where
7686    R: Send + Sync + std::fmt::Debug + 'static,
7687{
7688    fn from(
7689        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_monitoring_schedule::StartMonitoringScheduleError, R>,
7690    ) -> Self {
7691        match err {
7692            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7693            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7694                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7695                source: err.into(),
7696            }),
7697        }
7698    }
7699}
7700impl From<crate::operation::start_monitoring_schedule::StartMonitoringScheduleError> for Error {
7701    fn from(err: crate::operation::start_monitoring_schedule::StartMonitoringScheduleError) -> Self {
7702        match err {
7703            crate::operation::start_monitoring_schedule::StartMonitoringScheduleError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
7704            crate::operation::start_monitoring_schedule::StartMonitoringScheduleError::Unhandled(inner) => Error::Unhandled(inner),
7705        }
7706    }
7707}
7708impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_notebook_instance::StartNotebookInstanceError, R>> for Error
7709where
7710    R: Send + Sync + std::fmt::Debug + 'static,
7711{
7712    fn from(
7713        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_notebook_instance::StartNotebookInstanceError, R>,
7714    ) -> Self {
7715        match err {
7716            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7717            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7718                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7719                source: err.into(),
7720            }),
7721        }
7722    }
7723}
7724impl From<crate::operation::start_notebook_instance::StartNotebookInstanceError> for Error {
7725    fn from(err: crate::operation::start_notebook_instance::StartNotebookInstanceError) -> Self {
7726        match err {
7727            crate::operation::start_notebook_instance::StartNotebookInstanceError::ResourceLimitExceeded(inner) => {
7728                Error::ResourceLimitExceeded(inner)
7729            }
7730            crate::operation::start_notebook_instance::StartNotebookInstanceError::Unhandled(inner) => Error::Unhandled(inner),
7731        }
7732    }
7733}
7734impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_pipeline_execution::StartPipelineExecutionError, R>> for Error
7735where
7736    R: Send + Sync + std::fmt::Debug + 'static,
7737{
7738    fn from(
7739        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_pipeline_execution::StartPipelineExecutionError, R>,
7740    ) -> Self {
7741        match err {
7742            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7743            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7744                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7745                source: err.into(),
7746            }),
7747        }
7748    }
7749}
7750impl From<crate::operation::start_pipeline_execution::StartPipelineExecutionError> for Error {
7751    fn from(err: crate::operation::start_pipeline_execution::StartPipelineExecutionError) -> Self {
7752        match err {
7753            crate::operation::start_pipeline_execution::StartPipelineExecutionError::ConflictException(inner) => Error::ConflictException(inner),
7754            crate::operation::start_pipeline_execution::StartPipelineExecutionError::ResourceLimitExceeded(inner) => {
7755                Error::ResourceLimitExceeded(inner)
7756            }
7757            crate::operation::start_pipeline_execution::StartPipelineExecutionError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
7758            crate::operation::start_pipeline_execution::StartPipelineExecutionError::Unhandled(inner) => Error::Unhandled(inner),
7759        }
7760    }
7761}
7762impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_session::StartSessionError, R>> for Error
7763where
7764    R: Send + Sync + std::fmt::Debug + 'static,
7765{
7766    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_session::StartSessionError, R>) -> Self {
7767        match err {
7768            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7769            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7770                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7771                source: err.into(),
7772            }),
7773        }
7774    }
7775}
7776impl From<crate::operation::start_session::StartSessionError> for Error {
7777    fn from(err: crate::operation::start_session::StartSessionError) -> Self {
7778        match err {
7779            crate::operation::start_session::StartSessionError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
7780            crate::operation::start_session::StartSessionError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
7781            crate::operation::start_session::StartSessionError::Unhandled(inner) => Error::Unhandled(inner),
7782        }
7783    }
7784}
7785impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_auto_ml_job::StopAutoMLJobError, R>> for Error
7786where
7787    R: Send + Sync + std::fmt::Debug + 'static,
7788{
7789    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_auto_ml_job::StopAutoMLJobError, R>) -> Self {
7790        match err {
7791            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7792            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7793                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7794                source: err.into(),
7795            }),
7796        }
7797    }
7798}
7799impl From<crate::operation::stop_auto_ml_job::StopAutoMLJobError> for Error {
7800    fn from(err: crate::operation::stop_auto_ml_job::StopAutoMLJobError) -> Self {
7801        match err {
7802            crate::operation::stop_auto_ml_job::StopAutoMLJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
7803            crate::operation::stop_auto_ml_job::StopAutoMLJobError::Unhandled(inner) => Error::Unhandled(inner),
7804        }
7805    }
7806}
7807impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_compilation_job::StopCompilationJobError, R>> for Error
7808where
7809    R: Send + Sync + std::fmt::Debug + 'static,
7810{
7811    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_compilation_job::StopCompilationJobError, R>) -> Self {
7812        match err {
7813            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7814            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7815                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7816                source: err.into(),
7817            }),
7818        }
7819    }
7820}
7821impl From<crate::operation::stop_compilation_job::StopCompilationJobError> for Error {
7822    fn from(err: crate::operation::stop_compilation_job::StopCompilationJobError) -> Self {
7823        match err {
7824            crate::operation::stop_compilation_job::StopCompilationJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
7825            crate::operation::stop_compilation_job::StopCompilationJobError::Unhandled(inner) => Error::Unhandled(inner),
7826        }
7827    }
7828}
7829impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_edge_deployment_stage::StopEdgeDeploymentStageError, R>>
7830    for Error
7831where
7832    R: Send + Sync + std::fmt::Debug + 'static,
7833{
7834    fn from(
7835        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_edge_deployment_stage::StopEdgeDeploymentStageError, R>,
7836    ) -> Self {
7837        match err {
7838            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7839            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7840                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7841                source: err.into(),
7842            }),
7843        }
7844    }
7845}
7846impl From<crate::operation::stop_edge_deployment_stage::StopEdgeDeploymentStageError> for Error {
7847    fn from(err: crate::operation::stop_edge_deployment_stage::StopEdgeDeploymentStageError) -> Self {
7848        match err {
7849            crate::operation::stop_edge_deployment_stage::StopEdgeDeploymentStageError::Unhandled(inner) => Error::Unhandled(inner),
7850        }
7851    }
7852}
7853impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_edge_packaging_job::StopEdgePackagingJobError, R>> for Error
7854where
7855    R: Send + Sync + std::fmt::Debug + 'static,
7856{
7857    fn from(
7858        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_edge_packaging_job::StopEdgePackagingJobError, R>,
7859    ) -> Self {
7860        match err {
7861            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7862            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7863                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7864                source: err.into(),
7865            }),
7866        }
7867    }
7868}
7869impl From<crate::operation::stop_edge_packaging_job::StopEdgePackagingJobError> for Error {
7870    fn from(err: crate::operation::stop_edge_packaging_job::StopEdgePackagingJobError) -> Self {
7871        match err {
7872            crate::operation::stop_edge_packaging_job::StopEdgePackagingJobError::Unhandled(inner) => Error::Unhandled(inner),
7873        }
7874    }
7875}
7876impl<R>
7877    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_hyper_parameter_tuning_job::StopHyperParameterTuningJobError, R>>
7878    for Error
7879where
7880    R: Send + Sync + std::fmt::Debug + 'static,
7881{
7882    fn from(
7883        err: ::aws_smithy_runtime_api::client::result::SdkError<
7884            crate::operation::stop_hyper_parameter_tuning_job::StopHyperParameterTuningJobError,
7885            R,
7886        >,
7887    ) -> Self {
7888        match err {
7889            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7890            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7891                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7892                source: err.into(),
7893            }),
7894        }
7895    }
7896}
7897impl From<crate::operation::stop_hyper_parameter_tuning_job::StopHyperParameterTuningJobError> for Error {
7898    fn from(err: crate::operation::stop_hyper_parameter_tuning_job::StopHyperParameterTuningJobError) -> Self {
7899        match err {
7900            crate::operation::stop_hyper_parameter_tuning_job::StopHyperParameterTuningJobError::ResourceNotFound(inner) => {
7901                Error::ResourceNotFound(inner)
7902            }
7903            crate::operation::stop_hyper_parameter_tuning_job::StopHyperParameterTuningJobError::Unhandled(inner) => Error::Unhandled(inner),
7904        }
7905    }
7906}
7907impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_inference_experiment::StopInferenceExperimentError, R>>
7908    for Error
7909where
7910    R: Send + Sync + std::fmt::Debug + 'static,
7911{
7912    fn from(
7913        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_inference_experiment::StopInferenceExperimentError, R>,
7914    ) -> Self {
7915        match err {
7916            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7917            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7918                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7919                source: err.into(),
7920            }),
7921        }
7922    }
7923}
7924impl From<crate::operation::stop_inference_experiment::StopInferenceExperimentError> for Error {
7925    fn from(err: crate::operation::stop_inference_experiment::StopInferenceExperimentError) -> Self {
7926        match err {
7927            crate::operation::stop_inference_experiment::StopInferenceExperimentError::ConflictException(inner) => Error::ConflictException(inner),
7928            crate::operation::stop_inference_experiment::StopInferenceExperimentError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
7929            crate::operation::stop_inference_experiment::StopInferenceExperimentError::Unhandled(inner) => Error::Unhandled(inner),
7930        }
7931    }
7932}
7933impl<R>
7934    From<
7935        ::aws_smithy_runtime_api::client::result::SdkError<
7936            crate::operation::stop_inference_recommendations_job::StopInferenceRecommendationsJobError,
7937            R,
7938        >,
7939    > for Error
7940where
7941    R: Send + Sync + std::fmt::Debug + 'static,
7942{
7943    fn from(
7944        err: ::aws_smithy_runtime_api::client::result::SdkError<
7945            crate::operation::stop_inference_recommendations_job::StopInferenceRecommendationsJobError,
7946            R,
7947        >,
7948    ) -> Self {
7949        match err {
7950            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7951            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7952                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7953                source: err.into(),
7954            }),
7955        }
7956    }
7957}
7958impl From<crate::operation::stop_inference_recommendations_job::StopInferenceRecommendationsJobError> for Error {
7959    fn from(err: crate::operation::stop_inference_recommendations_job::StopInferenceRecommendationsJobError) -> Self {
7960        match err {
7961            crate::operation::stop_inference_recommendations_job::StopInferenceRecommendationsJobError::ResourceNotFound(inner) => {
7962                Error::ResourceNotFound(inner)
7963            }
7964            crate::operation::stop_inference_recommendations_job::StopInferenceRecommendationsJobError::Unhandled(inner) => Error::Unhandled(inner),
7965        }
7966    }
7967}
7968impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_labeling_job::StopLabelingJobError, R>> for Error
7969where
7970    R: Send + Sync + std::fmt::Debug + 'static,
7971{
7972    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_labeling_job::StopLabelingJobError, R>) -> Self {
7973        match err {
7974            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7975            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7976                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7977                source: err.into(),
7978            }),
7979        }
7980    }
7981}
7982impl From<crate::operation::stop_labeling_job::StopLabelingJobError> for Error {
7983    fn from(err: crate::operation::stop_labeling_job::StopLabelingJobError) -> Self {
7984        match err {
7985            crate::operation::stop_labeling_job::StopLabelingJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
7986            crate::operation::stop_labeling_job::StopLabelingJobError::Unhandled(inner) => Error::Unhandled(inner),
7987        }
7988    }
7989}
7990impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_mlflow_tracking_server::StopMlflowTrackingServerError, R>>
7991    for Error
7992where
7993    R: Send + Sync + std::fmt::Debug + 'static,
7994{
7995    fn from(
7996        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_mlflow_tracking_server::StopMlflowTrackingServerError, R>,
7997    ) -> Self {
7998        match err {
7999            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8000            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8001                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8002                source: err.into(),
8003            }),
8004        }
8005    }
8006}
8007impl From<crate::operation::stop_mlflow_tracking_server::StopMlflowTrackingServerError> for Error {
8008    fn from(err: crate::operation::stop_mlflow_tracking_server::StopMlflowTrackingServerError) -> Self {
8009        match err {
8010            crate::operation::stop_mlflow_tracking_server::StopMlflowTrackingServerError::ConflictException(inner) => Error::ConflictException(inner),
8011            crate::operation::stop_mlflow_tracking_server::StopMlflowTrackingServerError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8012            crate::operation::stop_mlflow_tracking_server::StopMlflowTrackingServerError::Unhandled(inner) => Error::Unhandled(inner),
8013        }
8014    }
8015}
8016impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_monitoring_schedule::StopMonitoringScheduleError, R>> for Error
8017where
8018    R: Send + Sync + std::fmt::Debug + 'static,
8019{
8020    fn from(
8021        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_monitoring_schedule::StopMonitoringScheduleError, R>,
8022    ) -> Self {
8023        match err {
8024            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8025            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8026                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8027                source: err.into(),
8028            }),
8029        }
8030    }
8031}
8032impl From<crate::operation::stop_monitoring_schedule::StopMonitoringScheduleError> for Error {
8033    fn from(err: crate::operation::stop_monitoring_schedule::StopMonitoringScheduleError) -> Self {
8034        match err {
8035            crate::operation::stop_monitoring_schedule::StopMonitoringScheduleError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8036            crate::operation::stop_monitoring_schedule::StopMonitoringScheduleError::Unhandled(inner) => Error::Unhandled(inner),
8037        }
8038    }
8039}
8040impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_notebook_instance::StopNotebookInstanceError, R>> for Error
8041where
8042    R: Send + Sync + std::fmt::Debug + 'static,
8043{
8044    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_notebook_instance::StopNotebookInstanceError, R>) -> Self {
8045        match err {
8046            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8047            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8048                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8049                source: err.into(),
8050            }),
8051        }
8052    }
8053}
8054impl From<crate::operation::stop_notebook_instance::StopNotebookInstanceError> for Error {
8055    fn from(err: crate::operation::stop_notebook_instance::StopNotebookInstanceError) -> Self {
8056        match err {
8057            crate::operation::stop_notebook_instance::StopNotebookInstanceError::Unhandled(inner) => Error::Unhandled(inner),
8058        }
8059    }
8060}
8061impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_optimization_job::StopOptimizationJobError, R>> for Error
8062where
8063    R: Send + Sync + std::fmt::Debug + 'static,
8064{
8065    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_optimization_job::StopOptimizationJobError, R>) -> Self {
8066        match err {
8067            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8068            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8069                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8070                source: err.into(),
8071            }),
8072        }
8073    }
8074}
8075impl From<crate::operation::stop_optimization_job::StopOptimizationJobError> for Error {
8076    fn from(err: crate::operation::stop_optimization_job::StopOptimizationJobError) -> Self {
8077        match err {
8078            crate::operation::stop_optimization_job::StopOptimizationJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8079            crate::operation::stop_optimization_job::StopOptimizationJobError::Unhandled(inner) => Error::Unhandled(inner),
8080        }
8081    }
8082}
8083impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_pipeline_execution::StopPipelineExecutionError, R>> for Error
8084where
8085    R: Send + Sync + std::fmt::Debug + 'static,
8086{
8087    fn from(
8088        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_pipeline_execution::StopPipelineExecutionError, R>,
8089    ) -> Self {
8090        match err {
8091            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8092            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8093                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8094                source: err.into(),
8095            }),
8096        }
8097    }
8098}
8099impl From<crate::operation::stop_pipeline_execution::StopPipelineExecutionError> for Error {
8100    fn from(err: crate::operation::stop_pipeline_execution::StopPipelineExecutionError) -> Self {
8101        match err {
8102            crate::operation::stop_pipeline_execution::StopPipelineExecutionError::ConflictException(inner) => Error::ConflictException(inner),
8103            crate::operation::stop_pipeline_execution::StopPipelineExecutionError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8104            crate::operation::stop_pipeline_execution::StopPipelineExecutionError::Unhandled(inner) => Error::Unhandled(inner),
8105        }
8106    }
8107}
8108impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_processing_job::StopProcessingJobError, R>> for Error
8109where
8110    R: Send + Sync + std::fmt::Debug + 'static,
8111{
8112    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_processing_job::StopProcessingJobError, R>) -> Self {
8113        match err {
8114            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8115            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8116                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8117                source: err.into(),
8118            }),
8119        }
8120    }
8121}
8122impl From<crate::operation::stop_processing_job::StopProcessingJobError> for Error {
8123    fn from(err: crate::operation::stop_processing_job::StopProcessingJobError) -> Self {
8124        match err {
8125            crate::operation::stop_processing_job::StopProcessingJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8126            crate::operation::stop_processing_job::StopProcessingJobError::Unhandled(inner) => Error::Unhandled(inner),
8127        }
8128    }
8129}
8130impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_training_job::StopTrainingJobError, R>> for Error
8131where
8132    R: Send + Sync + std::fmt::Debug + 'static,
8133{
8134    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_training_job::StopTrainingJobError, R>) -> Self {
8135        match err {
8136            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8137            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8138                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8139                source: err.into(),
8140            }),
8141        }
8142    }
8143}
8144impl From<crate::operation::stop_training_job::StopTrainingJobError> for Error {
8145    fn from(err: crate::operation::stop_training_job::StopTrainingJobError) -> Self {
8146        match err {
8147            crate::operation::stop_training_job::StopTrainingJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8148            crate::operation::stop_training_job::StopTrainingJobError::Unhandled(inner) => Error::Unhandled(inner),
8149        }
8150    }
8151}
8152impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_transform_job::StopTransformJobError, R>> for Error
8153where
8154    R: Send + Sync + std::fmt::Debug + 'static,
8155{
8156    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_transform_job::StopTransformJobError, R>) -> Self {
8157        match err {
8158            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8159            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8160                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8161                source: err.into(),
8162            }),
8163        }
8164    }
8165}
8166impl From<crate::operation::stop_transform_job::StopTransformJobError> for Error {
8167    fn from(err: crate::operation::stop_transform_job::StopTransformJobError) -> Self {
8168        match err {
8169            crate::operation::stop_transform_job::StopTransformJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8170            crate::operation::stop_transform_job::StopTransformJobError::Unhandled(inner) => Error::Unhandled(inner),
8171        }
8172    }
8173}
8174impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_action::UpdateActionError, R>> for Error
8175where
8176    R: Send + Sync + std::fmt::Debug + 'static,
8177{
8178    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_action::UpdateActionError, R>) -> Self {
8179        match err {
8180            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8181            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8182                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8183                source: err.into(),
8184            }),
8185        }
8186    }
8187}
8188impl From<crate::operation::update_action::UpdateActionError> for Error {
8189    fn from(err: crate::operation::update_action::UpdateActionError) -> Self {
8190        match err {
8191            crate::operation::update_action::UpdateActionError::ConflictException(inner) => Error::ConflictException(inner),
8192            crate::operation::update_action::UpdateActionError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8193            crate::operation::update_action::UpdateActionError::Unhandled(inner) => Error::Unhandled(inner),
8194        }
8195    }
8196}
8197impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_app_image_config::UpdateAppImageConfigError, R>> for Error
8198where
8199    R: Send + Sync + std::fmt::Debug + 'static,
8200{
8201    fn from(
8202        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_app_image_config::UpdateAppImageConfigError, R>,
8203    ) -> Self {
8204        match err {
8205            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8206            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8207                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8208                source: err.into(),
8209            }),
8210        }
8211    }
8212}
8213impl From<crate::operation::update_app_image_config::UpdateAppImageConfigError> for Error {
8214    fn from(err: crate::operation::update_app_image_config::UpdateAppImageConfigError) -> Self {
8215        match err {
8216            crate::operation::update_app_image_config::UpdateAppImageConfigError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8217            crate::operation::update_app_image_config::UpdateAppImageConfigError::Unhandled(inner) => Error::Unhandled(inner),
8218        }
8219    }
8220}
8221impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_artifact::UpdateArtifactError, R>> for Error
8222where
8223    R: Send + Sync + std::fmt::Debug + 'static,
8224{
8225    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_artifact::UpdateArtifactError, R>) -> Self {
8226        match err {
8227            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8228            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8229                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8230                source: err.into(),
8231            }),
8232        }
8233    }
8234}
8235impl From<crate::operation::update_artifact::UpdateArtifactError> for Error {
8236    fn from(err: crate::operation::update_artifact::UpdateArtifactError) -> Self {
8237        match err {
8238            crate::operation::update_artifact::UpdateArtifactError::ConflictException(inner) => Error::ConflictException(inner),
8239            crate::operation::update_artifact::UpdateArtifactError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8240            crate::operation::update_artifact::UpdateArtifactError::Unhandled(inner) => Error::Unhandled(inner),
8241        }
8242    }
8243}
8244impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_cluster::UpdateClusterError, R>> for Error
8245where
8246    R: Send + Sync + std::fmt::Debug + 'static,
8247{
8248    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_cluster::UpdateClusterError, R>) -> Self {
8249        match err {
8250            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8251            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8252                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8253                source: err.into(),
8254            }),
8255        }
8256    }
8257}
8258impl From<crate::operation::update_cluster::UpdateClusterError> for Error {
8259    fn from(err: crate::operation::update_cluster::UpdateClusterError) -> Self {
8260        match err {
8261            crate::operation::update_cluster::UpdateClusterError::ConflictException(inner) => Error::ConflictException(inner),
8262            crate::operation::update_cluster::UpdateClusterError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
8263            crate::operation::update_cluster::UpdateClusterError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8264            crate::operation::update_cluster::UpdateClusterError::Unhandled(inner) => Error::Unhandled(inner),
8265        }
8266    }
8267}
8268impl<R>
8269    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_cluster_scheduler_config::UpdateClusterSchedulerConfigError, R>>
8270    for Error
8271where
8272    R: Send + Sync + std::fmt::Debug + 'static,
8273{
8274    fn from(
8275        err: ::aws_smithy_runtime_api::client::result::SdkError<
8276            crate::operation::update_cluster_scheduler_config::UpdateClusterSchedulerConfigError,
8277            R,
8278        >,
8279    ) -> Self {
8280        match err {
8281            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8282            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8283                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8284                source: err.into(),
8285            }),
8286        }
8287    }
8288}
8289impl From<crate::operation::update_cluster_scheduler_config::UpdateClusterSchedulerConfigError> for Error {
8290    fn from(err: crate::operation::update_cluster_scheduler_config::UpdateClusterSchedulerConfigError) -> Self {
8291        match err {
8292            crate::operation::update_cluster_scheduler_config::UpdateClusterSchedulerConfigError::ConflictException(inner) => {
8293                Error::ConflictException(inner)
8294            }
8295            crate::operation::update_cluster_scheduler_config::UpdateClusterSchedulerConfigError::ResourceLimitExceeded(inner) => {
8296                Error::ResourceLimitExceeded(inner)
8297            }
8298            crate::operation::update_cluster_scheduler_config::UpdateClusterSchedulerConfigError::ResourceNotFound(inner) => {
8299                Error::ResourceNotFound(inner)
8300            }
8301            crate::operation::update_cluster_scheduler_config::UpdateClusterSchedulerConfigError::Unhandled(inner) => Error::Unhandled(inner),
8302        }
8303    }
8304}
8305impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_cluster_software::UpdateClusterSoftwareError, R>> for Error
8306where
8307    R: Send + Sync + std::fmt::Debug + 'static,
8308{
8309    fn from(
8310        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_cluster_software::UpdateClusterSoftwareError, R>,
8311    ) -> Self {
8312        match err {
8313            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8314            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8315                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8316                source: err.into(),
8317            }),
8318        }
8319    }
8320}
8321impl From<crate::operation::update_cluster_software::UpdateClusterSoftwareError> for Error {
8322    fn from(err: crate::operation::update_cluster_software::UpdateClusterSoftwareError) -> Self {
8323        match err {
8324            crate::operation::update_cluster_software::UpdateClusterSoftwareError::ConflictException(inner) => Error::ConflictException(inner),
8325            crate::operation::update_cluster_software::UpdateClusterSoftwareError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8326            crate::operation::update_cluster_software::UpdateClusterSoftwareError::Unhandled(inner) => Error::Unhandled(inner),
8327        }
8328    }
8329}
8330impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_code_repository::UpdateCodeRepositoryError, R>> for Error
8331where
8332    R: Send + Sync + std::fmt::Debug + 'static,
8333{
8334    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_code_repository::UpdateCodeRepositoryError, R>) -> Self {
8335        match err {
8336            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8337            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8338                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8339                source: err.into(),
8340            }),
8341        }
8342    }
8343}
8344impl From<crate::operation::update_code_repository::UpdateCodeRepositoryError> for Error {
8345    fn from(err: crate::operation::update_code_repository::UpdateCodeRepositoryError) -> Self {
8346        match err {
8347            crate::operation::update_code_repository::UpdateCodeRepositoryError::ConflictException(inner) => Error::ConflictException(inner),
8348            crate::operation::update_code_repository::UpdateCodeRepositoryError::Unhandled(inner) => Error::Unhandled(inner),
8349        }
8350    }
8351}
8352impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_compute_quota::UpdateComputeQuotaError, R>> for Error
8353where
8354    R: Send + Sync + std::fmt::Debug + 'static,
8355{
8356    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_compute_quota::UpdateComputeQuotaError, R>) -> Self {
8357        match err {
8358            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8359            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8360                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8361                source: err.into(),
8362            }),
8363        }
8364    }
8365}
8366impl From<crate::operation::update_compute_quota::UpdateComputeQuotaError> for Error {
8367    fn from(err: crate::operation::update_compute_quota::UpdateComputeQuotaError) -> Self {
8368        match err {
8369            crate::operation::update_compute_quota::UpdateComputeQuotaError::ConflictException(inner) => Error::ConflictException(inner),
8370            crate::operation::update_compute_quota::UpdateComputeQuotaError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
8371            crate::operation::update_compute_quota::UpdateComputeQuotaError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8372            crate::operation::update_compute_quota::UpdateComputeQuotaError::Unhandled(inner) => Error::Unhandled(inner),
8373        }
8374    }
8375}
8376impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_context::UpdateContextError, R>> for Error
8377where
8378    R: Send + Sync + std::fmt::Debug + 'static,
8379{
8380    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_context::UpdateContextError, R>) -> Self {
8381        match err {
8382            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8383            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8384                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8385                source: err.into(),
8386            }),
8387        }
8388    }
8389}
8390impl From<crate::operation::update_context::UpdateContextError> for Error {
8391    fn from(err: crate::operation::update_context::UpdateContextError) -> Self {
8392        match err {
8393            crate::operation::update_context::UpdateContextError::ConflictException(inner) => Error::ConflictException(inner),
8394            crate::operation::update_context::UpdateContextError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8395            crate::operation::update_context::UpdateContextError::Unhandled(inner) => Error::Unhandled(inner),
8396        }
8397    }
8398}
8399impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_device_fleet::UpdateDeviceFleetError, R>> for Error
8400where
8401    R: Send + Sync + std::fmt::Debug + 'static,
8402{
8403    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_device_fleet::UpdateDeviceFleetError, R>) -> Self {
8404        match err {
8405            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8406            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8407                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8408                source: err.into(),
8409            }),
8410        }
8411    }
8412}
8413impl From<crate::operation::update_device_fleet::UpdateDeviceFleetError> for Error {
8414    fn from(err: crate::operation::update_device_fleet::UpdateDeviceFleetError) -> Self {
8415        match err {
8416            crate::operation::update_device_fleet::UpdateDeviceFleetError::ResourceInUse(inner) => Error::ResourceInUse(inner),
8417            crate::operation::update_device_fleet::UpdateDeviceFleetError::Unhandled(inner) => Error::Unhandled(inner),
8418        }
8419    }
8420}
8421impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_devices::UpdateDevicesError, R>> for Error
8422where
8423    R: Send + Sync + std::fmt::Debug + 'static,
8424{
8425    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_devices::UpdateDevicesError, R>) -> Self {
8426        match err {
8427            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8428            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8429                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8430                source: err.into(),
8431            }),
8432        }
8433    }
8434}
8435impl From<crate::operation::update_devices::UpdateDevicesError> for Error {
8436    fn from(err: crate::operation::update_devices::UpdateDevicesError) -> Self {
8437        match err {
8438            crate::operation::update_devices::UpdateDevicesError::Unhandled(inner) => Error::Unhandled(inner),
8439        }
8440    }
8441}
8442impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_domain::UpdateDomainError, R>> for Error
8443where
8444    R: Send + Sync + std::fmt::Debug + 'static,
8445{
8446    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_domain::UpdateDomainError, R>) -> Self {
8447        match err {
8448            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8449            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8450                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8451                source: err.into(),
8452            }),
8453        }
8454    }
8455}
8456impl From<crate::operation::update_domain::UpdateDomainError> for Error {
8457    fn from(err: crate::operation::update_domain::UpdateDomainError) -> Self {
8458        match err {
8459            crate::operation::update_domain::UpdateDomainError::ResourceInUse(inner) => Error::ResourceInUse(inner),
8460            crate::operation::update_domain::UpdateDomainError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
8461            crate::operation::update_domain::UpdateDomainError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8462            crate::operation::update_domain::UpdateDomainError::Unhandled(inner) => Error::Unhandled(inner),
8463        }
8464    }
8465}
8466impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_endpoint::UpdateEndpointError, R>> for Error
8467where
8468    R: Send + Sync + std::fmt::Debug + 'static,
8469{
8470    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_endpoint::UpdateEndpointError, R>) -> Self {
8471        match err {
8472            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8473            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8474                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8475                source: err.into(),
8476            }),
8477        }
8478    }
8479}
8480impl From<crate::operation::update_endpoint::UpdateEndpointError> for Error {
8481    fn from(err: crate::operation::update_endpoint::UpdateEndpointError) -> Self {
8482        match err {
8483            crate::operation::update_endpoint::UpdateEndpointError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
8484            crate::operation::update_endpoint::UpdateEndpointError::Unhandled(inner) => Error::Unhandled(inner),
8485        }
8486    }
8487}
8488impl<R>
8489    From<
8490        ::aws_smithy_runtime_api::client::result::SdkError<
8491            crate::operation::update_endpoint_weights_and_capacities::UpdateEndpointWeightsAndCapacitiesError,
8492            R,
8493        >,
8494    > for Error
8495where
8496    R: Send + Sync + std::fmt::Debug + 'static,
8497{
8498    fn from(
8499        err: ::aws_smithy_runtime_api::client::result::SdkError<
8500            crate::operation::update_endpoint_weights_and_capacities::UpdateEndpointWeightsAndCapacitiesError,
8501            R,
8502        >,
8503    ) -> Self {
8504        match err {
8505            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8506            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8507                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8508                source: err.into(),
8509            }),
8510        }
8511    }
8512}
8513impl From<crate::operation::update_endpoint_weights_and_capacities::UpdateEndpointWeightsAndCapacitiesError> for Error {
8514    fn from(err: crate::operation::update_endpoint_weights_and_capacities::UpdateEndpointWeightsAndCapacitiesError) -> Self {
8515        match err {
8516            crate::operation::update_endpoint_weights_and_capacities::UpdateEndpointWeightsAndCapacitiesError::ResourceLimitExceeded(inner) => {
8517                Error::ResourceLimitExceeded(inner)
8518            }
8519            crate::operation::update_endpoint_weights_and_capacities::UpdateEndpointWeightsAndCapacitiesError::Unhandled(inner) => {
8520                Error::Unhandled(inner)
8521            }
8522        }
8523    }
8524}
8525impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_experiment::UpdateExperimentError, R>> for Error
8526where
8527    R: Send + Sync + std::fmt::Debug + 'static,
8528{
8529    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_experiment::UpdateExperimentError, R>) -> Self {
8530        match err {
8531            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8532            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8533                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8534                source: err.into(),
8535            }),
8536        }
8537    }
8538}
8539impl From<crate::operation::update_experiment::UpdateExperimentError> for Error {
8540    fn from(err: crate::operation::update_experiment::UpdateExperimentError) -> Self {
8541        match err {
8542            crate::operation::update_experiment::UpdateExperimentError::ConflictException(inner) => Error::ConflictException(inner),
8543            crate::operation::update_experiment::UpdateExperimentError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8544            crate::operation::update_experiment::UpdateExperimentError::Unhandled(inner) => Error::Unhandled(inner),
8545        }
8546    }
8547}
8548impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_feature_group::UpdateFeatureGroupError, R>> for Error
8549where
8550    R: Send + Sync + std::fmt::Debug + 'static,
8551{
8552    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_feature_group::UpdateFeatureGroupError, R>) -> Self {
8553        match err {
8554            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8555            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8556                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8557                source: err.into(),
8558            }),
8559        }
8560    }
8561}
8562impl From<crate::operation::update_feature_group::UpdateFeatureGroupError> for Error {
8563    fn from(err: crate::operation::update_feature_group::UpdateFeatureGroupError) -> Self {
8564        match err {
8565            crate::operation::update_feature_group::UpdateFeatureGroupError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
8566            crate::operation::update_feature_group::UpdateFeatureGroupError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8567            crate::operation::update_feature_group::UpdateFeatureGroupError::Unhandled(inner) => Error::Unhandled(inner),
8568        }
8569    }
8570}
8571impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_feature_metadata::UpdateFeatureMetadataError, R>> for Error
8572where
8573    R: Send + Sync + std::fmt::Debug + 'static,
8574{
8575    fn from(
8576        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_feature_metadata::UpdateFeatureMetadataError, R>,
8577    ) -> Self {
8578        match err {
8579            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8580            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8581                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8582                source: err.into(),
8583            }),
8584        }
8585    }
8586}
8587impl From<crate::operation::update_feature_metadata::UpdateFeatureMetadataError> for Error {
8588    fn from(err: crate::operation::update_feature_metadata::UpdateFeatureMetadataError) -> Self {
8589        match err {
8590            crate::operation::update_feature_metadata::UpdateFeatureMetadataError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8591            crate::operation::update_feature_metadata::UpdateFeatureMetadataError::Unhandled(inner) => Error::Unhandled(inner),
8592        }
8593    }
8594}
8595impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_hub::UpdateHubError, R>> for Error
8596where
8597    R: Send + Sync + std::fmt::Debug + 'static,
8598{
8599    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_hub::UpdateHubError, R>) -> Self {
8600        match err {
8601            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8602            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8603                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8604                source: err.into(),
8605            }),
8606        }
8607    }
8608}
8609impl From<crate::operation::update_hub::UpdateHubError> for Error {
8610    fn from(err: crate::operation::update_hub::UpdateHubError) -> Self {
8611        match err {
8612            crate::operation::update_hub::UpdateHubError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8613            crate::operation::update_hub::UpdateHubError::Unhandled(inner) => Error::Unhandled(inner),
8614        }
8615    }
8616}
8617impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_hub_content::UpdateHubContentError, R>> for Error
8618where
8619    R: Send + Sync + std::fmt::Debug + 'static,
8620{
8621    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_hub_content::UpdateHubContentError, R>) -> Self {
8622        match err {
8623            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8624            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8625                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8626                source: err.into(),
8627            }),
8628        }
8629    }
8630}
8631impl From<crate::operation::update_hub_content::UpdateHubContentError> for Error {
8632    fn from(err: crate::operation::update_hub_content::UpdateHubContentError) -> Self {
8633        match err {
8634            crate::operation::update_hub_content::UpdateHubContentError::ResourceInUse(inner) => Error::ResourceInUse(inner),
8635            crate::operation::update_hub_content::UpdateHubContentError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8636            crate::operation::update_hub_content::UpdateHubContentError::Unhandled(inner) => Error::Unhandled(inner),
8637        }
8638    }
8639}
8640impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_hub_content_reference::UpdateHubContentReferenceError, R>>
8641    for Error
8642where
8643    R: Send + Sync + std::fmt::Debug + 'static,
8644{
8645    fn from(
8646        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_hub_content_reference::UpdateHubContentReferenceError, R>,
8647    ) -> Self {
8648        match err {
8649            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8650            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8651                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8652                source: err.into(),
8653            }),
8654        }
8655    }
8656}
8657impl From<crate::operation::update_hub_content_reference::UpdateHubContentReferenceError> for Error {
8658    fn from(err: crate::operation::update_hub_content_reference::UpdateHubContentReferenceError) -> Self {
8659        match err {
8660            crate::operation::update_hub_content_reference::UpdateHubContentReferenceError::ResourceInUse(inner) => Error::ResourceInUse(inner),
8661            crate::operation::update_hub_content_reference::UpdateHubContentReferenceError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8662            crate::operation::update_hub_content_reference::UpdateHubContentReferenceError::Unhandled(inner) => Error::Unhandled(inner),
8663        }
8664    }
8665}
8666impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_image::UpdateImageError, R>> for Error
8667where
8668    R: Send + Sync + std::fmt::Debug + 'static,
8669{
8670    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_image::UpdateImageError, R>) -> Self {
8671        match err {
8672            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8673            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8674                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8675                source: err.into(),
8676            }),
8677        }
8678    }
8679}
8680impl From<crate::operation::update_image::UpdateImageError> for Error {
8681    fn from(err: crate::operation::update_image::UpdateImageError) -> Self {
8682        match err {
8683            crate::operation::update_image::UpdateImageError::ResourceInUse(inner) => Error::ResourceInUse(inner),
8684            crate::operation::update_image::UpdateImageError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8685            crate::operation::update_image::UpdateImageError::Unhandled(inner) => Error::Unhandled(inner),
8686        }
8687    }
8688}
8689impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_image_version::UpdateImageVersionError, R>> for Error
8690where
8691    R: Send + Sync + std::fmt::Debug + 'static,
8692{
8693    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_image_version::UpdateImageVersionError, R>) -> Self {
8694        match err {
8695            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8696            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8697                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8698                source: err.into(),
8699            }),
8700        }
8701    }
8702}
8703impl From<crate::operation::update_image_version::UpdateImageVersionError> for Error {
8704    fn from(err: crate::operation::update_image_version::UpdateImageVersionError) -> Self {
8705        match err {
8706            crate::operation::update_image_version::UpdateImageVersionError::ResourceInUse(inner) => Error::ResourceInUse(inner),
8707            crate::operation::update_image_version::UpdateImageVersionError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8708            crate::operation::update_image_version::UpdateImageVersionError::Unhandled(inner) => Error::Unhandled(inner),
8709        }
8710    }
8711}
8712impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_inference_component::UpdateInferenceComponentError, R>>
8713    for Error
8714where
8715    R: Send + Sync + std::fmt::Debug + 'static,
8716{
8717    fn from(
8718        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_inference_component::UpdateInferenceComponentError, R>,
8719    ) -> Self {
8720        match err {
8721            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8722            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8723                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8724                source: err.into(),
8725            }),
8726        }
8727    }
8728}
8729impl From<crate::operation::update_inference_component::UpdateInferenceComponentError> for Error {
8730    fn from(err: crate::operation::update_inference_component::UpdateInferenceComponentError) -> Self {
8731        match err {
8732            crate::operation::update_inference_component::UpdateInferenceComponentError::ResourceLimitExceeded(inner) => {
8733                Error::ResourceLimitExceeded(inner)
8734            }
8735            crate::operation::update_inference_component::UpdateInferenceComponentError::Unhandled(inner) => Error::Unhandled(inner),
8736        }
8737    }
8738}
8739impl<R>
8740    From<
8741        ::aws_smithy_runtime_api::client::result::SdkError<
8742            crate::operation::update_inference_component_runtime_config::UpdateInferenceComponentRuntimeConfigError,
8743            R,
8744        >,
8745    > for Error
8746where
8747    R: Send + Sync + std::fmt::Debug + 'static,
8748{
8749    fn from(
8750        err: ::aws_smithy_runtime_api::client::result::SdkError<
8751            crate::operation::update_inference_component_runtime_config::UpdateInferenceComponentRuntimeConfigError,
8752            R,
8753        >,
8754    ) -> Self {
8755        match err {
8756            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8757            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8758                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8759                source: err.into(),
8760            }),
8761        }
8762    }
8763}
8764impl From<crate::operation::update_inference_component_runtime_config::UpdateInferenceComponentRuntimeConfigError> for Error {
8765    fn from(err: crate::operation::update_inference_component_runtime_config::UpdateInferenceComponentRuntimeConfigError) -> Self {
8766        match err {
8767            crate::operation::update_inference_component_runtime_config::UpdateInferenceComponentRuntimeConfigError::ResourceLimitExceeded(inner) => {
8768                Error::ResourceLimitExceeded(inner)
8769            }
8770            crate::operation::update_inference_component_runtime_config::UpdateInferenceComponentRuntimeConfigError::Unhandled(inner) => {
8771                Error::Unhandled(inner)
8772            }
8773        }
8774    }
8775}
8776impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_inference_experiment::UpdateInferenceExperimentError, R>>
8777    for Error
8778where
8779    R: Send + Sync + std::fmt::Debug + 'static,
8780{
8781    fn from(
8782        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_inference_experiment::UpdateInferenceExperimentError, R>,
8783    ) -> Self {
8784        match err {
8785            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8786            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8787                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8788                source: err.into(),
8789            }),
8790        }
8791    }
8792}
8793impl From<crate::operation::update_inference_experiment::UpdateInferenceExperimentError> for Error {
8794    fn from(err: crate::operation::update_inference_experiment::UpdateInferenceExperimentError) -> Self {
8795        match err {
8796            crate::operation::update_inference_experiment::UpdateInferenceExperimentError::ConflictException(inner) => {
8797                Error::ConflictException(inner)
8798            }
8799            crate::operation::update_inference_experiment::UpdateInferenceExperimentError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8800            crate::operation::update_inference_experiment::UpdateInferenceExperimentError::Unhandled(inner) => Error::Unhandled(inner),
8801        }
8802    }
8803}
8804impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_mlflow_tracking_server::UpdateMlflowTrackingServerError, R>>
8805    for Error
8806where
8807    R: Send + Sync + std::fmt::Debug + 'static,
8808{
8809    fn from(
8810        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_mlflow_tracking_server::UpdateMlflowTrackingServerError, R>,
8811    ) -> Self {
8812        match err {
8813            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8814            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8815                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8816                source: err.into(),
8817            }),
8818        }
8819    }
8820}
8821impl From<crate::operation::update_mlflow_tracking_server::UpdateMlflowTrackingServerError> for Error {
8822    fn from(err: crate::operation::update_mlflow_tracking_server::UpdateMlflowTrackingServerError) -> Self {
8823        match err {
8824            crate::operation::update_mlflow_tracking_server::UpdateMlflowTrackingServerError::ConflictException(inner) => {
8825                Error::ConflictException(inner)
8826            }
8827            crate::operation::update_mlflow_tracking_server::UpdateMlflowTrackingServerError::ResourceLimitExceeded(inner) => {
8828                Error::ResourceLimitExceeded(inner)
8829            }
8830            crate::operation::update_mlflow_tracking_server::UpdateMlflowTrackingServerError::ResourceNotFound(inner) => {
8831                Error::ResourceNotFound(inner)
8832            }
8833            crate::operation::update_mlflow_tracking_server::UpdateMlflowTrackingServerError::Unhandled(inner) => Error::Unhandled(inner),
8834        }
8835    }
8836}
8837impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_model_card::UpdateModelCardError, R>> for Error
8838where
8839    R: Send + Sync + std::fmt::Debug + 'static,
8840{
8841    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_model_card::UpdateModelCardError, R>) -> Self {
8842        match err {
8843            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8844            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8845                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8846                source: err.into(),
8847            }),
8848        }
8849    }
8850}
8851impl From<crate::operation::update_model_card::UpdateModelCardError> for Error {
8852    fn from(err: crate::operation::update_model_card::UpdateModelCardError) -> Self {
8853        match err {
8854            crate::operation::update_model_card::UpdateModelCardError::ConflictException(inner) => Error::ConflictException(inner),
8855            crate::operation::update_model_card::UpdateModelCardError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
8856            crate::operation::update_model_card::UpdateModelCardError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8857            crate::operation::update_model_card::UpdateModelCardError::Unhandled(inner) => Error::Unhandled(inner),
8858        }
8859    }
8860}
8861impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_model_package::UpdateModelPackageError, R>> for Error
8862where
8863    R: Send + Sync + std::fmt::Debug + 'static,
8864{
8865    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_model_package::UpdateModelPackageError, R>) -> Self {
8866        match err {
8867            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8868            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8869                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8870                source: err.into(),
8871            }),
8872        }
8873    }
8874}
8875impl From<crate::operation::update_model_package::UpdateModelPackageError> for Error {
8876    fn from(err: crate::operation::update_model_package::UpdateModelPackageError) -> Self {
8877        match err {
8878            crate::operation::update_model_package::UpdateModelPackageError::ConflictException(inner) => Error::ConflictException(inner),
8879            crate::operation::update_model_package::UpdateModelPackageError::Unhandled(inner) => Error::Unhandled(inner),
8880        }
8881    }
8882}
8883impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_monitoring_alert::UpdateMonitoringAlertError, R>> for Error
8884where
8885    R: Send + Sync + std::fmt::Debug + 'static,
8886{
8887    fn from(
8888        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_monitoring_alert::UpdateMonitoringAlertError, R>,
8889    ) -> Self {
8890        match err {
8891            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8892            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8893                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8894                source: err.into(),
8895            }),
8896        }
8897    }
8898}
8899impl From<crate::operation::update_monitoring_alert::UpdateMonitoringAlertError> for Error {
8900    fn from(err: crate::operation::update_monitoring_alert::UpdateMonitoringAlertError) -> Self {
8901        match err {
8902            crate::operation::update_monitoring_alert::UpdateMonitoringAlertError::ResourceLimitExceeded(inner) => {
8903                Error::ResourceLimitExceeded(inner)
8904            }
8905            crate::operation::update_monitoring_alert::UpdateMonitoringAlertError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8906            crate::operation::update_monitoring_alert::UpdateMonitoringAlertError::Unhandled(inner) => Error::Unhandled(inner),
8907        }
8908    }
8909}
8910impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_monitoring_schedule::UpdateMonitoringScheduleError, R>>
8911    for Error
8912where
8913    R: Send + Sync + std::fmt::Debug + 'static,
8914{
8915    fn from(
8916        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_monitoring_schedule::UpdateMonitoringScheduleError, R>,
8917    ) -> Self {
8918        match err {
8919            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8920            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8921                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8922                source: err.into(),
8923            }),
8924        }
8925    }
8926}
8927impl From<crate::operation::update_monitoring_schedule::UpdateMonitoringScheduleError> for Error {
8928    fn from(err: crate::operation::update_monitoring_schedule::UpdateMonitoringScheduleError) -> Self {
8929        match err {
8930            crate::operation::update_monitoring_schedule::UpdateMonitoringScheduleError::ResourceLimitExceeded(inner) => {
8931                Error::ResourceLimitExceeded(inner)
8932            }
8933            crate::operation::update_monitoring_schedule::UpdateMonitoringScheduleError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8934            crate::operation::update_monitoring_schedule::UpdateMonitoringScheduleError::Unhandled(inner) => Error::Unhandled(inner),
8935        }
8936    }
8937}
8938impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_notebook_instance::UpdateNotebookInstanceError, R>> for Error
8939where
8940    R: Send + Sync + std::fmt::Debug + 'static,
8941{
8942    fn from(
8943        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_notebook_instance::UpdateNotebookInstanceError, R>,
8944    ) -> Self {
8945        match err {
8946            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8947            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8948                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8949                source: err.into(),
8950            }),
8951        }
8952    }
8953}
8954impl From<crate::operation::update_notebook_instance::UpdateNotebookInstanceError> for Error {
8955    fn from(err: crate::operation::update_notebook_instance::UpdateNotebookInstanceError) -> Self {
8956        match err {
8957            crate::operation::update_notebook_instance::UpdateNotebookInstanceError::ResourceLimitExceeded(inner) => {
8958                Error::ResourceLimitExceeded(inner)
8959            }
8960            crate::operation::update_notebook_instance::UpdateNotebookInstanceError::Unhandled(inner) => Error::Unhandled(inner),
8961        }
8962    }
8963}
8964impl<R>
8965    From<
8966        ::aws_smithy_runtime_api::client::result::SdkError<
8967            crate::operation::update_notebook_instance_lifecycle_config::UpdateNotebookInstanceLifecycleConfigError,
8968            R,
8969        >,
8970    > for Error
8971where
8972    R: Send + Sync + std::fmt::Debug + 'static,
8973{
8974    fn from(
8975        err: ::aws_smithy_runtime_api::client::result::SdkError<
8976            crate::operation::update_notebook_instance_lifecycle_config::UpdateNotebookInstanceLifecycleConfigError,
8977            R,
8978        >,
8979    ) -> Self {
8980        match err {
8981            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8982            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8983                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8984                source: err.into(),
8985            }),
8986        }
8987    }
8988}
8989impl From<crate::operation::update_notebook_instance_lifecycle_config::UpdateNotebookInstanceLifecycleConfigError> for Error {
8990    fn from(err: crate::operation::update_notebook_instance_lifecycle_config::UpdateNotebookInstanceLifecycleConfigError) -> Self {
8991        match err {
8992            crate::operation::update_notebook_instance_lifecycle_config::UpdateNotebookInstanceLifecycleConfigError::ResourceLimitExceeded(inner) => {
8993                Error::ResourceLimitExceeded(inner)
8994            }
8995            crate::operation::update_notebook_instance_lifecycle_config::UpdateNotebookInstanceLifecycleConfigError::Unhandled(inner) => {
8996                Error::Unhandled(inner)
8997            }
8998        }
8999    }
9000}
9001impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_partner_app::UpdatePartnerAppError, R>> for Error
9002where
9003    R: Send + Sync + std::fmt::Debug + 'static,
9004{
9005    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_partner_app::UpdatePartnerAppError, R>) -> Self {
9006        match err {
9007            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9008            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9009                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9010                source: err.into(),
9011            }),
9012        }
9013    }
9014}
9015impl From<crate::operation::update_partner_app::UpdatePartnerAppError> for Error {
9016    fn from(err: crate::operation::update_partner_app::UpdatePartnerAppError) -> Self {
9017        match err {
9018            crate::operation::update_partner_app::UpdatePartnerAppError::ConflictException(inner) => Error::ConflictException(inner),
9019            crate::operation::update_partner_app::UpdatePartnerAppError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
9020            crate::operation::update_partner_app::UpdatePartnerAppError::Unhandled(inner) => Error::Unhandled(inner),
9021        }
9022    }
9023}
9024impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_pipeline::UpdatePipelineError, R>> for Error
9025where
9026    R: Send + Sync + std::fmt::Debug + 'static,
9027{
9028    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_pipeline::UpdatePipelineError, R>) -> Self {
9029        match err {
9030            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9031            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9032                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9033                source: err.into(),
9034            }),
9035        }
9036    }
9037}
9038impl From<crate::operation::update_pipeline::UpdatePipelineError> for Error {
9039    fn from(err: crate::operation::update_pipeline::UpdatePipelineError) -> Self {
9040        match err {
9041            crate::operation::update_pipeline::UpdatePipelineError::ConflictException(inner) => Error::ConflictException(inner),
9042            crate::operation::update_pipeline::UpdatePipelineError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
9043            crate::operation::update_pipeline::UpdatePipelineError::Unhandled(inner) => Error::Unhandled(inner),
9044        }
9045    }
9046}
9047impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_pipeline_execution::UpdatePipelineExecutionError, R>>
9048    for Error
9049where
9050    R: Send + Sync + std::fmt::Debug + 'static,
9051{
9052    fn from(
9053        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_pipeline_execution::UpdatePipelineExecutionError, R>,
9054    ) -> Self {
9055        match err {
9056            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9057            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9058                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9059                source: err.into(),
9060            }),
9061        }
9062    }
9063}
9064impl From<crate::operation::update_pipeline_execution::UpdatePipelineExecutionError> for Error {
9065    fn from(err: crate::operation::update_pipeline_execution::UpdatePipelineExecutionError) -> Self {
9066        match err {
9067            crate::operation::update_pipeline_execution::UpdatePipelineExecutionError::ConflictException(inner) => Error::ConflictException(inner),
9068            crate::operation::update_pipeline_execution::UpdatePipelineExecutionError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
9069            crate::operation::update_pipeline_execution::UpdatePipelineExecutionError::Unhandled(inner) => Error::Unhandled(inner),
9070        }
9071    }
9072}
9073impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_pipeline_version::UpdatePipelineVersionError, R>> for Error
9074where
9075    R: Send + Sync + std::fmt::Debug + 'static,
9076{
9077    fn from(
9078        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_pipeline_version::UpdatePipelineVersionError, R>,
9079    ) -> Self {
9080        match err {
9081            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9082            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9083                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9084                source: err.into(),
9085            }),
9086        }
9087    }
9088}
9089impl From<crate::operation::update_pipeline_version::UpdatePipelineVersionError> for Error {
9090    fn from(err: crate::operation::update_pipeline_version::UpdatePipelineVersionError) -> Self {
9091        match err {
9092            crate::operation::update_pipeline_version::UpdatePipelineVersionError::ConflictException(inner) => Error::ConflictException(inner),
9093            crate::operation::update_pipeline_version::UpdatePipelineVersionError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
9094            crate::operation::update_pipeline_version::UpdatePipelineVersionError::Unhandled(inner) => Error::Unhandled(inner),
9095        }
9096    }
9097}
9098impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_project::UpdateProjectError, R>> for Error
9099where
9100    R: Send + Sync + std::fmt::Debug + 'static,
9101{
9102    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_project::UpdateProjectError, R>) -> Self {
9103        match err {
9104            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9105            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9106                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9107                source: err.into(),
9108            }),
9109        }
9110    }
9111}
9112impl From<crate::operation::update_project::UpdateProjectError> for Error {
9113    fn from(err: crate::operation::update_project::UpdateProjectError) -> Self {
9114        match err {
9115            crate::operation::update_project::UpdateProjectError::ConflictException(inner) => Error::ConflictException(inner),
9116            crate::operation::update_project::UpdateProjectError::Unhandled(inner) => Error::Unhandled(inner),
9117        }
9118    }
9119}
9120impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_space::UpdateSpaceError, R>> for Error
9121where
9122    R: Send + Sync + std::fmt::Debug + 'static,
9123{
9124    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_space::UpdateSpaceError, R>) -> Self {
9125        match err {
9126            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9127            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9128                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9129                source: err.into(),
9130            }),
9131        }
9132    }
9133}
9134impl From<crate::operation::update_space::UpdateSpaceError> for Error {
9135    fn from(err: crate::operation::update_space::UpdateSpaceError) -> Self {
9136        match err {
9137            crate::operation::update_space::UpdateSpaceError::ResourceInUse(inner) => Error::ResourceInUse(inner),
9138            crate::operation::update_space::UpdateSpaceError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
9139            crate::operation::update_space::UpdateSpaceError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
9140            crate::operation::update_space::UpdateSpaceError::Unhandled(inner) => Error::Unhandled(inner),
9141        }
9142    }
9143}
9144impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_training_job::UpdateTrainingJobError, R>> for Error
9145where
9146    R: Send + Sync + std::fmt::Debug + 'static,
9147{
9148    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_training_job::UpdateTrainingJobError, R>) -> Self {
9149        match err {
9150            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9151            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9152                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9153                source: err.into(),
9154            }),
9155        }
9156    }
9157}
9158impl From<crate::operation::update_training_job::UpdateTrainingJobError> for Error {
9159    fn from(err: crate::operation::update_training_job::UpdateTrainingJobError) -> Self {
9160        match err {
9161            crate::operation::update_training_job::UpdateTrainingJobError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
9162            crate::operation::update_training_job::UpdateTrainingJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
9163            crate::operation::update_training_job::UpdateTrainingJobError::Unhandled(inner) => Error::Unhandled(inner),
9164        }
9165    }
9166}
9167impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_trial::UpdateTrialError, R>> for Error
9168where
9169    R: Send + Sync + std::fmt::Debug + 'static,
9170{
9171    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_trial::UpdateTrialError, R>) -> Self {
9172        match err {
9173            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9174            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9175                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9176                source: err.into(),
9177            }),
9178        }
9179    }
9180}
9181impl From<crate::operation::update_trial::UpdateTrialError> for Error {
9182    fn from(err: crate::operation::update_trial::UpdateTrialError) -> Self {
9183        match err {
9184            crate::operation::update_trial::UpdateTrialError::ConflictException(inner) => Error::ConflictException(inner),
9185            crate::operation::update_trial::UpdateTrialError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
9186            crate::operation::update_trial::UpdateTrialError::Unhandled(inner) => Error::Unhandled(inner),
9187        }
9188    }
9189}
9190impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_trial_component::UpdateTrialComponentError, R>> for Error
9191where
9192    R: Send + Sync + std::fmt::Debug + 'static,
9193{
9194    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_trial_component::UpdateTrialComponentError, R>) -> Self {
9195        match err {
9196            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9197            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9198                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9199                source: err.into(),
9200            }),
9201        }
9202    }
9203}
9204impl From<crate::operation::update_trial_component::UpdateTrialComponentError> for Error {
9205    fn from(err: crate::operation::update_trial_component::UpdateTrialComponentError) -> Self {
9206        match err {
9207            crate::operation::update_trial_component::UpdateTrialComponentError::ConflictException(inner) => Error::ConflictException(inner),
9208            crate::operation::update_trial_component::UpdateTrialComponentError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
9209            crate::operation::update_trial_component::UpdateTrialComponentError::Unhandled(inner) => Error::Unhandled(inner),
9210        }
9211    }
9212}
9213impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_user_profile::UpdateUserProfileError, R>> for Error
9214where
9215    R: Send + Sync + std::fmt::Debug + 'static,
9216{
9217    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_user_profile::UpdateUserProfileError, R>) -> Self {
9218        match err {
9219            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9220            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9221                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9222                source: err.into(),
9223            }),
9224        }
9225    }
9226}
9227impl From<crate::operation::update_user_profile::UpdateUserProfileError> for Error {
9228    fn from(err: crate::operation::update_user_profile::UpdateUserProfileError) -> Self {
9229        match err {
9230            crate::operation::update_user_profile::UpdateUserProfileError::ResourceInUse(inner) => Error::ResourceInUse(inner),
9231            crate::operation::update_user_profile::UpdateUserProfileError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
9232            crate::operation::update_user_profile::UpdateUserProfileError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
9233            crate::operation::update_user_profile::UpdateUserProfileError::Unhandled(inner) => Error::Unhandled(inner),
9234        }
9235    }
9236}
9237impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_workforce::UpdateWorkforceError, R>> for Error
9238where
9239    R: Send + Sync + std::fmt::Debug + 'static,
9240{
9241    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_workforce::UpdateWorkforceError, R>) -> Self {
9242        match err {
9243            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9244            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9245                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9246                source: err.into(),
9247            }),
9248        }
9249    }
9250}
9251impl From<crate::operation::update_workforce::UpdateWorkforceError> for Error {
9252    fn from(err: crate::operation::update_workforce::UpdateWorkforceError) -> Self {
9253        match err {
9254            crate::operation::update_workforce::UpdateWorkforceError::ConflictException(inner) => Error::ConflictException(inner),
9255            crate::operation::update_workforce::UpdateWorkforceError::Unhandled(inner) => Error::Unhandled(inner),
9256        }
9257    }
9258}
9259impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_workteam::UpdateWorkteamError, R>> for Error
9260where
9261    R: Send + Sync + std::fmt::Debug + 'static,
9262{
9263    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_workteam::UpdateWorkteamError, R>) -> Self {
9264        match err {
9265            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9266            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9267                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9268                source: err.into(),
9269            }),
9270        }
9271    }
9272}
9273impl From<crate::operation::update_workteam::UpdateWorkteamError> for Error {
9274    fn from(err: crate::operation::update_workteam::UpdateWorkteamError) -> Self {
9275        match err {
9276            crate::operation::update_workteam::UpdateWorkteamError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
9277            crate::operation::update_workteam::UpdateWorkteamError::Unhandled(inner) => Error::Unhandled(inner),
9278        }
9279    }
9280}
9281impl<O, E> ::std::convert::From<::aws_smithy_runtime_api::client::waiters::error::WaiterError<O, E>> for Error
9282where
9283    O: ::std::fmt::Debug + ::std::marker::Send + ::std::marker::Sync + 'static,
9284    E: ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static,
9285{
9286    fn from(err: ::aws_smithy_runtime_api::client::waiters::error::WaiterError<O, E>) -> Self {
9287        Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9288            meta: ::std::default::Default::default(),
9289            source: err.into(),
9290        })
9291    }
9292}
9293impl ::std::error::Error for Error {
9294    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
9295        match self {
9296            Error::ConflictException(inner) => inner.source(),
9297            Error::ResourceInUse(inner) => inner.source(),
9298            Error::ResourceLimitExceeded(inner) => inner.source(),
9299            Error::ResourceNotFound(inner) => inner.source(),
9300            Error::Unhandled(inner) => ::std::option::Option::Some(&*inner.source),
9301        }
9302    }
9303}
9304impl ::aws_types::request_id::RequestId for Error {
9305    fn request_id(&self) -> Option<&str> {
9306        match self {
9307            Self::ConflictException(e) => e.request_id(),
9308            Self::ResourceInUse(e) => e.request_id(),
9309            Self::ResourceLimitExceeded(e) => e.request_id(),
9310            Self::ResourceNotFound(e) => e.request_id(),
9311            Self::Unhandled(e) => e.meta.request_id(),
9312        }
9313    }
9314}