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::batch_reboot_cluster_nodes::BatchRebootClusterNodesError, R>>
231    for Error
232where
233    R: Send + Sync + std::fmt::Debug + 'static,
234{
235    fn from(
236        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_reboot_cluster_nodes::BatchRebootClusterNodesError, R>,
237    ) -> Self {
238        match err {
239            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
240            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
241                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
242                source: err.into(),
243            }),
244        }
245    }
246}
247impl From<crate::operation::batch_reboot_cluster_nodes::BatchRebootClusterNodesError> for Error {
248    fn from(err: crate::operation::batch_reboot_cluster_nodes::BatchRebootClusterNodesError) -> Self {
249        match err {
250            crate::operation::batch_reboot_cluster_nodes::BatchRebootClusterNodesError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
251            crate::operation::batch_reboot_cluster_nodes::BatchRebootClusterNodesError::Unhandled(inner) => Error::Unhandled(inner),
252        }
253    }
254}
255impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_replace_cluster_nodes::BatchReplaceClusterNodesError, R>>
256    for Error
257where
258    R: Send + Sync + std::fmt::Debug + 'static,
259{
260    fn from(
261        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_replace_cluster_nodes::BatchReplaceClusterNodesError, R>,
262    ) -> Self {
263        match err {
264            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
265            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
266                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
267                source: err.into(),
268            }),
269        }
270    }
271}
272impl From<crate::operation::batch_replace_cluster_nodes::BatchReplaceClusterNodesError> for Error {
273    fn from(err: crate::operation::batch_replace_cluster_nodes::BatchReplaceClusterNodesError) -> Self {
274        match err {
275            crate::operation::batch_replace_cluster_nodes::BatchReplaceClusterNodesError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
276            crate::operation::batch_replace_cluster_nodes::BatchReplaceClusterNodesError::Unhandled(inner) => Error::Unhandled(inner),
277        }
278    }
279}
280impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_action::CreateActionError, R>> for Error
281where
282    R: Send + Sync + std::fmt::Debug + 'static,
283{
284    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_action::CreateActionError, R>) -> Self {
285        match err {
286            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
287            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
288                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
289                source: err.into(),
290            }),
291        }
292    }
293}
294impl From<crate::operation::create_action::CreateActionError> for Error {
295    fn from(err: crate::operation::create_action::CreateActionError) -> Self {
296        match err {
297            crate::operation::create_action::CreateActionError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
298            crate::operation::create_action::CreateActionError::Unhandled(inner) => Error::Unhandled(inner),
299        }
300    }
301}
302impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_algorithm::CreateAlgorithmError, R>> for Error
303where
304    R: Send + Sync + std::fmt::Debug + 'static,
305{
306    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_algorithm::CreateAlgorithmError, R>) -> Self {
307        match err {
308            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
309            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
310                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
311                source: err.into(),
312            }),
313        }
314    }
315}
316impl From<crate::operation::create_algorithm::CreateAlgorithmError> for Error {
317    fn from(err: crate::operation::create_algorithm::CreateAlgorithmError) -> Self {
318        match err {
319            crate::operation::create_algorithm::CreateAlgorithmError::Unhandled(inner) => Error::Unhandled(inner),
320        }
321    }
322}
323impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_app::CreateAppError, R>> for Error
324where
325    R: Send + Sync + std::fmt::Debug + 'static,
326{
327    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_app::CreateAppError, R>) -> Self {
328        match err {
329            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
330            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
331                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
332                source: err.into(),
333            }),
334        }
335    }
336}
337impl From<crate::operation::create_app::CreateAppError> for Error {
338    fn from(err: crate::operation::create_app::CreateAppError) -> Self {
339        match err {
340            crate::operation::create_app::CreateAppError::ResourceInUse(inner) => Error::ResourceInUse(inner),
341            crate::operation::create_app::CreateAppError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
342            crate::operation::create_app::CreateAppError::Unhandled(inner) => Error::Unhandled(inner),
343        }
344    }
345}
346impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_app_image_config::CreateAppImageConfigError, R>> for Error
347where
348    R: Send + Sync + std::fmt::Debug + 'static,
349{
350    fn from(
351        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_app_image_config::CreateAppImageConfigError, R>,
352    ) -> Self {
353        match err {
354            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
355            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
356                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
357                source: err.into(),
358            }),
359        }
360    }
361}
362impl From<crate::operation::create_app_image_config::CreateAppImageConfigError> for Error {
363    fn from(err: crate::operation::create_app_image_config::CreateAppImageConfigError) -> Self {
364        match err {
365            crate::operation::create_app_image_config::CreateAppImageConfigError::ResourceInUse(inner) => Error::ResourceInUse(inner),
366            crate::operation::create_app_image_config::CreateAppImageConfigError::Unhandled(inner) => Error::Unhandled(inner),
367        }
368    }
369}
370impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_artifact::CreateArtifactError, R>> for Error
371where
372    R: Send + Sync + std::fmt::Debug + 'static,
373{
374    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_artifact::CreateArtifactError, R>) -> Self {
375        match err {
376            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
377            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
378                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
379                source: err.into(),
380            }),
381        }
382    }
383}
384impl From<crate::operation::create_artifact::CreateArtifactError> for Error {
385    fn from(err: crate::operation::create_artifact::CreateArtifactError) -> Self {
386        match err {
387            crate::operation::create_artifact::CreateArtifactError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
388            crate::operation::create_artifact::CreateArtifactError::Unhandled(inner) => Error::Unhandled(inner),
389        }
390    }
391}
392impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_auto_ml_job::CreateAutoMLJobError, R>> for Error
393where
394    R: Send + Sync + std::fmt::Debug + 'static,
395{
396    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_auto_ml_job::CreateAutoMLJobError, R>) -> Self {
397        match err {
398            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
399            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
400                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
401                source: err.into(),
402            }),
403        }
404    }
405}
406impl From<crate::operation::create_auto_ml_job::CreateAutoMLJobError> for Error {
407    fn from(err: crate::operation::create_auto_ml_job::CreateAutoMLJobError) -> Self {
408        match err {
409            crate::operation::create_auto_ml_job::CreateAutoMLJobError::ResourceInUse(inner) => Error::ResourceInUse(inner),
410            crate::operation::create_auto_ml_job::CreateAutoMLJobError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
411            crate::operation::create_auto_ml_job::CreateAutoMLJobError::Unhandled(inner) => Error::Unhandled(inner),
412        }
413    }
414}
415impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_auto_ml_job_v2::CreateAutoMLJobV2Error, R>> for Error
416where
417    R: Send + Sync + std::fmt::Debug + 'static,
418{
419    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_auto_ml_job_v2::CreateAutoMLJobV2Error, R>) -> Self {
420        match err {
421            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
422            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
423                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
424                source: err.into(),
425            }),
426        }
427    }
428}
429impl From<crate::operation::create_auto_ml_job_v2::CreateAutoMLJobV2Error> for Error {
430    fn from(err: crate::operation::create_auto_ml_job_v2::CreateAutoMLJobV2Error) -> Self {
431        match err {
432            crate::operation::create_auto_ml_job_v2::CreateAutoMLJobV2Error::ResourceInUse(inner) => Error::ResourceInUse(inner),
433            crate::operation::create_auto_ml_job_v2::CreateAutoMLJobV2Error::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
434            crate::operation::create_auto_ml_job_v2::CreateAutoMLJobV2Error::Unhandled(inner) => Error::Unhandled(inner),
435        }
436    }
437}
438impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_cluster::CreateClusterError, R>> for Error
439where
440    R: Send + Sync + std::fmt::Debug + 'static,
441{
442    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_cluster::CreateClusterError, R>) -> Self {
443        match err {
444            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
445            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
446                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
447                source: err.into(),
448            }),
449        }
450    }
451}
452impl From<crate::operation::create_cluster::CreateClusterError> for Error {
453    fn from(err: crate::operation::create_cluster::CreateClusterError) -> Self {
454        match err {
455            crate::operation::create_cluster::CreateClusterError::ResourceInUse(inner) => Error::ResourceInUse(inner),
456            crate::operation::create_cluster::CreateClusterError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
457            crate::operation::create_cluster::CreateClusterError::Unhandled(inner) => Error::Unhandled(inner),
458        }
459    }
460}
461impl<R>
462    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_cluster_scheduler_config::CreateClusterSchedulerConfigError, R>>
463    for Error
464where
465    R: Send + Sync + std::fmt::Debug + 'static,
466{
467    fn from(
468        err: ::aws_smithy_runtime_api::client::result::SdkError<
469            crate::operation::create_cluster_scheduler_config::CreateClusterSchedulerConfigError,
470            R,
471        >,
472    ) -> Self {
473        match err {
474            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
475            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
476                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
477                source: err.into(),
478            }),
479        }
480    }
481}
482impl From<crate::operation::create_cluster_scheduler_config::CreateClusterSchedulerConfigError> for Error {
483    fn from(err: crate::operation::create_cluster_scheduler_config::CreateClusterSchedulerConfigError) -> Self {
484        match err {
485            crate::operation::create_cluster_scheduler_config::CreateClusterSchedulerConfigError::ConflictException(inner) => {
486                Error::ConflictException(inner)
487            }
488            crate::operation::create_cluster_scheduler_config::CreateClusterSchedulerConfigError::ResourceLimitExceeded(inner) => {
489                Error::ResourceLimitExceeded(inner)
490            }
491            crate::operation::create_cluster_scheduler_config::CreateClusterSchedulerConfigError::Unhandled(inner) => Error::Unhandled(inner),
492        }
493    }
494}
495impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_code_repository::CreateCodeRepositoryError, R>> for Error
496where
497    R: Send + Sync + std::fmt::Debug + 'static,
498{
499    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_code_repository::CreateCodeRepositoryError, R>) -> Self {
500        match err {
501            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
502            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
503                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
504                source: err.into(),
505            }),
506        }
507    }
508}
509impl From<crate::operation::create_code_repository::CreateCodeRepositoryError> for Error {
510    fn from(err: crate::operation::create_code_repository::CreateCodeRepositoryError) -> Self {
511        match err {
512            crate::operation::create_code_repository::CreateCodeRepositoryError::Unhandled(inner) => Error::Unhandled(inner),
513        }
514    }
515}
516impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_compilation_job::CreateCompilationJobError, R>> for Error
517where
518    R: Send + Sync + std::fmt::Debug + 'static,
519{
520    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_compilation_job::CreateCompilationJobError, R>) -> Self {
521        match err {
522            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
523            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
524                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
525                source: err.into(),
526            }),
527        }
528    }
529}
530impl From<crate::operation::create_compilation_job::CreateCompilationJobError> for Error {
531    fn from(err: crate::operation::create_compilation_job::CreateCompilationJobError) -> Self {
532        match err {
533            crate::operation::create_compilation_job::CreateCompilationJobError::ResourceInUse(inner) => Error::ResourceInUse(inner),
534            crate::operation::create_compilation_job::CreateCompilationJobError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
535            crate::operation::create_compilation_job::CreateCompilationJobError::Unhandled(inner) => Error::Unhandled(inner),
536        }
537    }
538}
539impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_compute_quota::CreateComputeQuotaError, R>> for Error
540where
541    R: Send + Sync + std::fmt::Debug + 'static,
542{
543    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_compute_quota::CreateComputeQuotaError, R>) -> Self {
544        match err {
545            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
546            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
547                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
548                source: err.into(),
549            }),
550        }
551    }
552}
553impl From<crate::operation::create_compute_quota::CreateComputeQuotaError> for Error {
554    fn from(err: crate::operation::create_compute_quota::CreateComputeQuotaError) -> Self {
555        match err {
556            crate::operation::create_compute_quota::CreateComputeQuotaError::ConflictException(inner) => Error::ConflictException(inner),
557            crate::operation::create_compute_quota::CreateComputeQuotaError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
558            crate::operation::create_compute_quota::CreateComputeQuotaError::Unhandled(inner) => Error::Unhandled(inner),
559        }
560    }
561}
562impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_context::CreateContextError, R>> for Error
563where
564    R: Send + Sync + std::fmt::Debug + 'static,
565{
566    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_context::CreateContextError, R>) -> Self {
567        match err {
568            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
569            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
570                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
571                source: err.into(),
572            }),
573        }
574    }
575}
576impl From<crate::operation::create_context::CreateContextError> for Error {
577    fn from(err: crate::operation::create_context::CreateContextError) -> Self {
578        match err {
579            crate::operation::create_context::CreateContextError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
580            crate::operation::create_context::CreateContextError::Unhandled(inner) => Error::Unhandled(inner),
581        }
582    }
583}
584impl<R>
585    From<
586        ::aws_smithy_runtime_api::client::result::SdkError<
587            crate::operation::create_data_quality_job_definition::CreateDataQualityJobDefinitionError,
588            R,
589        >,
590    > for Error
591where
592    R: Send + Sync + std::fmt::Debug + 'static,
593{
594    fn from(
595        err: ::aws_smithy_runtime_api::client::result::SdkError<
596            crate::operation::create_data_quality_job_definition::CreateDataQualityJobDefinitionError,
597            R,
598        >,
599    ) -> 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_data_quality_job_definition::CreateDataQualityJobDefinitionError> for Error {
610    fn from(err: crate::operation::create_data_quality_job_definition::CreateDataQualityJobDefinitionError) -> Self {
611        match err {
612            crate::operation::create_data_quality_job_definition::CreateDataQualityJobDefinitionError::ResourceInUse(inner) => {
613                Error::ResourceInUse(inner)
614            }
615            crate::operation::create_data_quality_job_definition::CreateDataQualityJobDefinitionError::ResourceLimitExceeded(inner) => {
616                Error::ResourceLimitExceeded(inner)
617            }
618            crate::operation::create_data_quality_job_definition::CreateDataQualityJobDefinitionError::Unhandled(inner) => Error::Unhandled(inner),
619        }
620    }
621}
622impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_device_fleet::CreateDeviceFleetError, R>> for Error
623where
624    R: Send + Sync + std::fmt::Debug + 'static,
625{
626    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_device_fleet::CreateDeviceFleetError, R>) -> Self {
627        match err {
628            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
629            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
630                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
631                source: err.into(),
632            }),
633        }
634    }
635}
636impl From<crate::operation::create_device_fleet::CreateDeviceFleetError> for Error {
637    fn from(err: crate::operation::create_device_fleet::CreateDeviceFleetError) -> Self {
638        match err {
639            crate::operation::create_device_fleet::CreateDeviceFleetError::ResourceInUse(inner) => Error::ResourceInUse(inner),
640            crate::operation::create_device_fleet::CreateDeviceFleetError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
641            crate::operation::create_device_fleet::CreateDeviceFleetError::Unhandled(inner) => Error::Unhandled(inner),
642        }
643    }
644}
645impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_domain::CreateDomainError, R>> for Error
646where
647    R: Send + Sync + std::fmt::Debug + 'static,
648{
649    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_domain::CreateDomainError, R>) -> Self {
650        match err {
651            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
652            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
653                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
654                source: err.into(),
655            }),
656        }
657    }
658}
659impl From<crate::operation::create_domain::CreateDomainError> for Error {
660    fn from(err: crate::operation::create_domain::CreateDomainError) -> Self {
661        match err {
662            crate::operation::create_domain::CreateDomainError::ResourceInUse(inner) => Error::ResourceInUse(inner),
663            crate::operation::create_domain::CreateDomainError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
664            crate::operation::create_domain::CreateDomainError::Unhandled(inner) => Error::Unhandled(inner),
665        }
666    }
667}
668impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_edge_deployment_plan::CreateEdgeDeploymentPlanError, R>>
669    for Error
670where
671    R: Send + Sync + std::fmt::Debug + 'static,
672{
673    fn from(
674        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_edge_deployment_plan::CreateEdgeDeploymentPlanError, R>,
675    ) -> Self {
676        match err {
677            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
678            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
679                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
680                source: err.into(),
681            }),
682        }
683    }
684}
685impl From<crate::operation::create_edge_deployment_plan::CreateEdgeDeploymentPlanError> for Error {
686    fn from(err: crate::operation::create_edge_deployment_plan::CreateEdgeDeploymentPlanError) -> Self {
687        match err {
688            crate::operation::create_edge_deployment_plan::CreateEdgeDeploymentPlanError::ResourceLimitExceeded(inner) => {
689                Error::ResourceLimitExceeded(inner)
690            }
691            crate::operation::create_edge_deployment_plan::CreateEdgeDeploymentPlanError::Unhandled(inner) => Error::Unhandled(inner),
692        }
693    }
694}
695impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_edge_deployment_stage::CreateEdgeDeploymentStageError, R>>
696    for Error
697where
698    R: Send + Sync + std::fmt::Debug + 'static,
699{
700    fn from(
701        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_edge_deployment_stage::CreateEdgeDeploymentStageError, R>,
702    ) -> Self {
703        match err {
704            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
705            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
706                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
707                source: err.into(),
708            }),
709        }
710    }
711}
712impl From<crate::operation::create_edge_deployment_stage::CreateEdgeDeploymentStageError> for Error {
713    fn from(err: crate::operation::create_edge_deployment_stage::CreateEdgeDeploymentStageError) -> Self {
714        match err {
715            crate::operation::create_edge_deployment_stage::CreateEdgeDeploymentStageError::ResourceLimitExceeded(inner) => {
716                Error::ResourceLimitExceeded(inner)
717            }
718            crate::operation::create_edge_deployment_stage::CreateEdgeDeploymentStageError::Unhandled(inner) => Error::Unhandled(inner),
719        }
720    }
721}
722impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_edge_packaging_job::CreateEdgePackagingJobError, R>>
723    for Error
724where
725    R: Send + Sync + std::fmt::Debug + 'static,
726{
727    fn from(
728        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_edge_packaging_job::CreateEdgePackagingJobError, R>,
729    ) -> Self {
730        match err {
731            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
732            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
733                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
734                source: err.into(),
735            }),
736        }
737    }
738}
739impl From<crate::operation::create_edge_packaging_job::CreateEdgePackagingJobError> for Error {
740    fn from(err: crate::operation::create_edge_packaging_job::CreateEdgePackagingJobError) -> Self {
741        match err {
742            crate::operation::create_edge_packaging_job::CreateEdgePackagingJobError::ResourceLimitExceeded(inner) => {
743                Error::ResourceLimitExceeded(inner)
744            }
745            crate::operation::create_edge_packaging_job::CreateEdgePackagingJobError::Unhandled(inner) => Error::Unhandled(inner),
746        }
747    }
748}
749impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_endpoint::CreateEndpointError, R>> for Error
750where
751    R: Send + Sync + std::fmt::Debug + 'static,
752{
753    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_endpoint::CreateEndpointError, R>) -> Self {
754        match err {
755            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
756            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
757                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
758                source: err.into(),
759            }),
760        }
761    }
762}
763impl From<crate::operation::create_endpoint::CreateEndpointError> for Error {
764    fn from(err: crate::operation::create_endpoint::CreateEndpointError) -> Self {
765        match err {
766            crate::operation::create_endpoint::CreateEndpointError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
767            crate::operation::create_endpoint::CreateEndpointError::Unhandled(inner) => Error::Unhandled(inner),
768        }
769    }
770}
771impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_endpoint_config::CreateEndpointConfigError, R>> for Error
772where
773    R: Send + Sync + std::fmt::Debug + 'static,
774{
775    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_endpoint_config::CreateEndpointConfigError, R>) -> Self {
776        match err {
777            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
778            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
779                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
780                source: err.into(),
781            }),
782        }
783    }
784}
785impl From<crate::operation::create_endpoint_config::CreateEndpointConfigError> for Error {
786    fn from(err: crate::operation::create_endpoint_config::CreateEndpointConfigError) -> Self {
787        match err {
788            crate::operation::create_endpoint_config::CreateEndpointConfigError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
789            crate::operation::create_endpoint_config::CreateEndpointConfigError::Unhandled(inner) => Error::Unhandled(inner),
790        }
791    }
792}
793impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_experiment::CreateExperimentError, R>> for Error
794where
795    R: Send + Sync + std::fmt::Debug + 'static,
796{
797    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_experiment::CreateExperimentError, R>) -> Self {
798        match err {
799            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
800            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
801                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
802                source: err.into(),
803            }),
804        }
805    }
806}
807impl From<crate::operation::create_experiment::CreateExperimentError> for Error {
808    fn from(err: crate::operation::create_experiment::CreateExperimentError) -> Self {
809        match err {
810            crate::operation::create_experiment::CreateExperimentError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
811            crate::operation::create_experiment::CreateExperimentError::Unhandled(inner) => Error::Unhandled(inner),
812        }
813    }
814}
815impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_feature_group::CreateFeatureGroupError, R>> for Error
816where
817    R: Send + Sync + std::fmt::Debug + 'static,
818{
819    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_feature_group::CreateFeatureGroupError, R>) -> Self {
820        match err {
821            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
822            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
823                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
824                source: err.into(),
825            }),
826        }
827    }
828}
829impl From<crate::operation::create_feature_group::CreateFeatureGroupError> for Error {
830    fn from(err: crate::operation::create_feature_group::CreateFeatureGroupError) -> Self {
831        match err {
832            crate::operation::create_feature_group::CreateFeatureGroupError::ResourceInUse(inner) => Error::ResourceInUse(inner),
833            crate::operation::create_feature_group::CreateFeatureGroupError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
834            crate::operation::create_feature_group::CreateFeatureGroupError::Unhandled(inner) => Error::Unhandled(inner),
835        }
836    }
837}
838impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_flow_definition::CreateFlowDefinitionError, R>> for Error
839where
840    R: Send + Sync + std::fmt::Debug + 'static,
841{
842    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_flow_definition::CreateFlowDefinitionError, R>) -> Self {
843        match err {
844            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
845            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
846                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
847                source: err.into(),
848            }),
849        }
850    }
851}
852impl From<crate::operation::create_flow_definition::CreateFlowDefinitionError> for Error {
853    fn from(err: crate::operation::create_flow_definition::CreateFlowDefinitionError) -> Self {
854        match err {
855            crate::operation::create_flow_definition::CreateFlowDefinitionError::ResourceInUse(inner) => Error::ResourceInUse(inner),
856            crate::operation::create_flow_definition::CreateFlowDefinitionError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
857            crate::operation::create_flow_definition::CreateFlowDefinitionError::Unhandled(inner) => Error::Unhandled(inner),
858        }
859    }
860}
861impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_hub::CreateHubError, R>> for Error
862where
863    R: Send + Sync + std::fmt::Debug + 'static,
864{
865    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_hub::CreateHubError, R>) -> Self {
866        match err {
867            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
868            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
869                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
870                source: err.into(),
871            }),
872        }
873    }
874}
875impl From<crate::operation::create_hub::CreateHubError> for Error {
876    fn from(err: crate::operation::create_hub::CreateHubError) -> Self {
877        match err {
878            crate::operation::create_hub::CreateHubError::ResourceInUse(inner) => Error::ResourceInUse(inner),
879            crate::operation::create_hub::CreateHubError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
880            crate::operation::create_hub::CreateHubError::Unhandled(inner) => Error::Unhandled(inner),
881        }
882    }
883}
884impl<R>
885    From<
886        ::aws_smithy_runtime_api::client::result::SdkError<
887            crate::operation::create_hub_content_presigned_urls::CreateHubContentPresignedUrlsError,
888            R,
889        >,
890    > for Error
891where
892    R: Send + Sync + std::fmt::Debug + 'static,
893{
894    fn from(
895        err: ::aws_smithy_runtime_api::client::result::SdkError<
896            crate::operation::create_hub_content_presigned_urls::CreateHubContentPresignedUrlsError,
897            R,
898        >,
899    ) -> 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_hub_content_presigned_urls::CreateHubContentPresignedUrlsError> for Error {
910    fn from(err: crate::operation::create_hub_content_presigned_urls::CreateHubContentPresignedUrlsError) -> Self {
911        match err {
912            crate::operation::create_hub_content_presigned_urls::CreateHubContentPresignedUrlsError::Unhandled(inner) => Error::Unhandled(inner),
913        }
914    }
915}
916impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_hub_content_reference::CreateHubContentReferenceError, R>>
917    for Error
918where
919    R: Send + Sync + std::fmt::Debug + 'static,
920{
921    fn from(
922        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_hub_content_reference::CreateHubContentReferenceError, R>,
923    ) -> Self {
924        match err {
925            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
926            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
927                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
928                source: err.into(),
929            }),
930        }
931    }
932}
933impl From<crate::operation::create_hub_content_reference::CreateHubContentReferenceError> for Error {
934    fn from(err: crate::operation::create_hub_content_reference::CreateHubContentReferenceError) -> Self {
935        match err {
936            crate::operation::create_hub_content_reference::CreateHubContentReferenceError::ResourceInUse(inner) => Error::ResourceInUse(inner),
937            crate::operation::create_hub_content_reference::CreateHubContentReferenceError::ResourceLimitExceeded(inner) => {
938                Error::ResourceLimitExceeded(inner)
939            }
940            crate::operation::create_hub_content_reference::CreateHubContentReferenceError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
941            crate::operation::create_hub_content_reference::CreateHubContentReferenceError::Unhandled(inner) => Error::Unhandled(inner),
942        }
943    }
944}
945impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_human_task_ui::CreateHumanTaskUiError, R>> for Error
946where
947    R: Send + Sync + std::fmt::Debug + 'static,
948{
949    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_human_task_ui::CreateHumanTaskUiError, R>) -> Self {
950        match err {
951            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
952            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
953                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
954                source: err.into(),
955            }),
956        }
957    }
958}
959impl From<crate::operation::create_human_task_ui::CreateHumanTaskUiError> for Error {
960    fn from(err: crate::operation::create_human_task_ui::CreateHumanTaskUiError) -> Self {
961        match err {
962            crate::operation::create_human_task_ui::CreateHumanTaskUiError::ResourceInUse(inner) => Error::ResourceInUse(inner),
963            crate::operation::create_human_task_ui::CreateHumanTaskUiError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
964            crate::operation::create_human_task_ui::CreateHumanTaskUiError::Unhandled(inner) => Error::Unhandled(inner),
965        }
966    }
967}
968impl<R>
969    From<
970        ::aws_smithy_runtime_api::client::result::SdkError<
971            crate::operation::create_hyper_parameter_tuning_job::CreateHyperParameterTuningJobError,
972            R,
973        >,
974    > for Error
975where
976    R: Send + Sync + std::fmt::Debug + 'static,
977{
978    fn from(
979        err: ::aws_smithy_runtime_api::client::result::SdkError<
980            crate::operation::create_hyper_parameter_tuning_job::CreateHyperParameterTuningJobError,
981            R,
982        >,
983    ) -> 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_hyper_parameter_tuning_job::CreateHyperParameterTuningJobError> for Error {
994    fn from(err: crate::operation::create_hyper_parameter_tuning_job::CreateHyperParameterTuningJobError) -> Self {
995        match err {
996            crate::operation::create_hyper_parameter_tuning_job::CreateHyperParameterTuningJobError::ResourceInUse(inner) => {
997                Error::ResourceInUse(inner)
998            }
999            crate::operation::create_hyper_parameter_tuning_job::CreateHyperParameterTuningJobError::ResourceLimitExceeded(inner) => {
1000                Error::ResourceLimitExceeded(inner)
1001            }
1002            crate::operation::create_hyper_parameter_tuning_job::CreateHyperParameterTuningJobError::Unhandled(inner) => Error::Unhandled(inner),
1003        }
1004    }
1005}
1006impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_image::CreateImageError, R>> for Error
1007where
1008    R: Send + Sync + std::fmt::Debug + 'static,
1009{
1010    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_image::CreateImageError, R>) -> 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_image::CreateImageError> for Error {
1021    fn from(err: crate::operation::create_image::CreateImageError) -> Self {
1022        match err {
1023            crate::operation::create_image::CreateImageError::ResourceInUse(inner) => Error::ResourceInUse(inner),
1024            crate::operation::create_image::CreateImageError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
1025            crate::operation::create_image::CreateImageError::Unhandled(inner) => Error::Unhandled(inner),
1026        }
1027    }
1028}
1029impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_image_version::CreateImageVersionError, R>> for Error
1030where
1031    R: Send + Sync + std::fmt::Debug + 'static,
1032{
1033    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_image_version::CreateImageVersionError, R>) -> Self {
1034        match err {
1035            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1036            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1037                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1038                source: err.into(),
1039            }),
1040        }
1041    }
1042}
1043impl From<crate::operation::create_image_version::CreateImageVersionError> for Error {
1044    fn from(err: crate::operation::create_image_version::CreateImageVersionError) -> Self {
1045        match err {
1046            crate::operation::create_image_version::CreateImageVersionError::ResourceInUse(inner) => Error::ResourceInUse(inner),
1047            crate::operation::create_image_version::CreateImageVersionError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
1048            crate::operation::create_image_version::CreateImageVersionError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
1049            crate::operation::create_image_version::CreateImageVersionError::Unhandled(inner) => Error::Unhandled(inner),
1050        }
1051    }
1052}
1053impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_inference_component::CreateInferenceComponentError, R>>
1054    for Error
1055where
1056    R: Send + Sync + std::fmt::Debug + 'static,
1057{
1058    fn from(
1059        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_inference_component::CreateInferenceComponentError, R>,
1060    ) -> Self {
1061        match err {
1062            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1063            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1064                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1065                source: err.into(),
1066            }),
1067        }
1068    }
1069}
1070impl From<crate::operation::create_inference_component::CreateInferenceComponentError> for Error {
1071    fn from(err: crate::operation::create_inference_component::CreateInferenceComponentError) -> Self {
1072        match err {
1073            crate::operation::create_inference_component::CreateInferenceComponentError::ResourceLimitExceeded(inner) => {
1074                Error::ResourceLimitExceeded(inner)
1075            }
1076            crate::operation::create_inference_component::CreateInferenceComponentError::Unhandled(inner) => Error::Unhandled(inner),
1077        }
1078    }
1079}
1080impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_inference_experiment::CreateInferenceExperimentError, R>>
1081    for Error
1082where
1083    R: Send + Sync + std::fmt::Debug + 'static,
1084{
1085    fn from(
1086        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_inference_experiment::CreateInferenceExperimentError, R>,
1087    ) -> Self {
1088        match err {
1089            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1090            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1091                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1092                source: err.into(),
1093            }),
1094        }
1095    }
1096}
1097impl From<crate::operation::create_inference_experiment::CreateInferenceExperimentError> for Error {
1098    fn from(err: crate::operation::create_inference_experiment::CreateInferenceExperimentError) -> Self {
1099        match err {
1100            crate::operation::create_inference_experiment::CreateInferenceExperimentError::ResourceInUse(inner) => Error::ResourceInUse(inner),
1101            crate::operation::create_inference_experiment::CreateInferenceExperimentError::ResourceLimitExceeded(inner) => {
1102                Error::ResourceLimitExceeded(inner)
1103            }
1104            crate::operation::create_inference_experiment::CreateInferenceExperimentError::Unhandled(inner) => Error::Unhandled(inner),
1105        }
1106    }
1107}
1108impl<R>
1109    From<
1110        ::aws_smithy_runtime_api::client::result::SdkError<
1111            crate::operation::create_inference_recommendations_job::CreateInferenceRecommendationsJobError,
1112            R,
1113        >,
1114    > for Error
1115where
1116    R: Send + Sync + std::fmt::Debug + 'static,
1117{
1118    fn from(
1119        err: ::aws_smithy_runtime_api::client::result::SdkError<
1120            crate::operation::create_inference_recommendations_job::CreateInferenceRecommendationsJobError,
1121            R,
1122        >,
1123    ) -> Self {
1124        match err {
1125            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1126            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1127                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1128                source: err.into(),
1129            }),
1130        }
1131    }
1132}
1133impl From<crate::operation::create_inference_recommendations_job::CreateInferenceRecommendationsJobError> for Error {
1134    fn from(err: crate::operation::create_inference_recommendations_job::CreateInferenceRecommendationsJobError) -> Self {
1135        match err {
1136            crate::operation::create_inference_recommendations_job::CreateInferenceRecommendationsJobError::ResourceInUse(inner) => {
1137                Error::ResourceInUse(inner)
1138            }
1139            crate::operation::create_inference_recommendations_job::CreateInferenceRecommendationsJobError::ResourceLimitExceeded(inner) => {
1140                Error::ResourceLimitExceeded(inner)
1141            }
1142            crate::operation::create_inference_recommendations_job::CreateInferenceRecommendationsJobError::Unhandled(inner) => {
1143                Error::Unhandled(inner)
1144            }
1145        }
1146    }
1147}
1148impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_labeling_job::CreateLabelingJobError, 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_labeling_job::CreateLabelingJobError, 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_labeling_job::CreateLabelingJobError> for Error {
1163    fn from(err: crate::operation::create_labeling_job::CreateLabelingJobError) -> Self {
1164        match err {
1165            crate::operation::create_labeling_job::CreateLabelingJobError::ResourceInUse(inner) => Error::ResourceInUse(inner),
1166            crate::operation::create_labeling_job::CreateLabelingJobError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
1167            crate::operation::create_labeling_job::CreateLabelingJobError::Unhandled(inner) => Error::Unhandled(inner),
1168        }
1169    }
1170}
1171impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_mlflow_tracking_server::CreateMlflowTrackingServerError, 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<crate::operation::create_mlflow_tracking_server::CreateMlflowTrackingServerError, R>,
1178    ) -> Self {
1179        match err {
1180            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1181            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1182                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1183                source: err.into(),
1184            }),
1185        }
1186    }
1187}
1188impl From<crate::operation::create_mlflow_tracking_server::CreateMlflowTrackingServerError> for Error {
1189    fn from(err: crate::operation::create_mlflow_tracking_server::CreateMlflowTrackingServerError) -> Self {
1190        match err {
1191            crate::operation::create_mlflow_tracking_server::CreateMlflowTrackingServerError::ResourceLimitExceeded(inner) => {
1192                Error::ResourceLimitExceeded(inner)
1193            }
1194            crate::operation::create_mlflow_tracking_server::CreateMlflowTrackingServerError::Unhandled(inner) => Error::Unhandled(inner),
1195        }
1196    }
1197}
1198impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_model::CreateModelError, R>> for Error
1199where
1200    R: Send + Sync + std::fmt::Debug + 'static,
1201{
1202    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_model::CreateModelError, R>) -> Self {
1203        match err {
1204            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1205            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1206                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1207                source: err.into(),
1208            }),
1209        }
1210    }
1211}
1212impl From<crate::operation::create_model::CreateModelError> for Error {
1213    fn from(err: crate::operation::create_model::CreateModelError) -> Self {
1214        match err {
1215            crate::operation::create_model::CreateModelError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
1216            crate::operation::create_model::CreateModelError::Unhandled(inner) => Error::Unhandled(inner),
1217        }
1218    }
1219}
1220impl<R>
1221    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_model_bias_job_definition::CreateModelBiasJobDefinitionError, R>>
1222    for Error
1223where
1224    R: Send + Sync + std::fmt::Debug + 'static,
1225{
1226    fn from(
1227        err: ::aws_smithy_runtime_api::client::result::SdkError<
1228            crate::operation::create_model_bias_job_definition::CreateModelBiasJobDefinitionError,
1229            R,
1230        >,
1231    ) -> Self {
1232        match err {
1233            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1234            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1235                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1236                source: err.into(),
1237            }),
1238        }
1239    }
1240}
1241impl From<crate::operation::create_model_bias_job_definition::CreateModelBiasJobDefinitionError> for Error {
1242    fn from(err: crate::operation::create_model_bias_job_definition::CreateModelBiasJobDefinitionError) -> Self {
1243        match err {
1244            crate::operation::create_model_bias_job_definition::CreateModelBiasJobDefinitionError::ResourceInUse(inner) => {
1245                Error::ResourceInUse(inner)
1246            }
1247            crate::operation::create_model_bias_job_definition::CreateModelBiasJobDefinitionError::ResourceLimitExceeded(inner) => {
1248                Error::ResourceLimitExceeded(inner)
1249            }
1250            crate::operation::create_model_bias_job_definition::CreateModelBiasJobDefinitionError::Unhandled(inner) => Error::Unhandled(inner),
1251        }
1252    }
1253}
1254impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_model_card::CreateModelCardError, R>> for Error
1255where
1256    R: Send + Sync + std::fmt::Debug + 'static,
1257{
1258    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_model_card::CreateModelCardError, R>) -> Self {
1259        match err {
1260            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1261            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1262                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1263                source: err.into(),
1264            }),
1265        }
1266    }
1267}
1268impl From<crate::operation::create_model_card::CreateModelCardError> for Error {
1269    fn from(err: crate::operation::create_model_card::CreateModelCardError) -> Self {
1270        match err {
1271            crate::operation::create_model_card::CreateModelCardError::ConflictException(inner) => Error::ConflictException(inner),
1272            crate::operation::create_model_card::CreateModelCardError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
1273            crate::operation::create_model_card::CreateModelCardError::Unhandled(inner) => Error::Unhandled(inner),
1274        }
1275    }
1276}
1277impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_model_card_export_job::CreateModelCardExportJobError, R>>
1278    for Error
1279where
1280    R: Send + Sync + std::fmt::Debug + 'static,
1281{
1282    fn from(
1283        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_model_card_export_job::CreateModelCardExportJobError, R>,
1284    ) -> Self {
1285        match err {
1286            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1287            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1288                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1289                source: err.into(),
1290            }),
1291        }
1292    }
1293}
1294impl From<crate::operation::create_model_card_export_job::CreateModelCardExportJobError> for Error {
1295    fn from(err: crate::operation::create_model_card_export_job::CreateModelCardExportJobError) -> Self {
1296        match err {
1297            crate::operation::create_model_card_export_job::CreateModelCardExportJobError::ConflictException(inner) => {
1298                Error::ConflictException(inner)
1299            }
1300            crate::operation::create_model_card_export_job::CreateModelCardExportJobError::ResourceLimitExceeded(inner) => {
1301                Error::ResourceLimitExceeded(inner)
1302            }
1303            crate::operation::create_model_card_export_job::CreateModelCardExportJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
1304            crate::operation::create_model_card_export_job::CreateModelCardExportJobError::Unhandled(inner) => Error::Unhandled(inner),
1305        }
1306    }
1307}
1308impl<R>
1309    From<
1310        ::aws_smithy_runtime_api::client::result::SdkError<
1311            crate::operation::create_model_explainability_job_definition::CreateModelExplainabilityJobDefinitionError,
1312            R,
1313        >,
1314    > for Error
1315where
1316    R: Send + Sync + std::fmt::Debug + 'static,
1317{
1318    fn from(
1319        err: ::aws_smithy_runtime_api::client::result::SdkError<
1320            crate::operation::create_model_explainability_job_definition::CreateModelExplainabilityJobDefinitionError,
1321            R,
1322        >,
1323    ) -> Self {
1324        match err {
1325            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1326            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1327                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1328                source: err.into(),
1329            }),
1330        }
1331    }
1332}
1333impl From<crate::operation::create_model_explainability_job_definition::CreateModelExplainabilityJobDefinitionError> for Error {
1334    fn from(err: crate::operation::create_model_explainability_job_definition::CreateModelExplainabilityJobDefinitionError) -> Self {
1335        match err {
1336            crate::operation::create_model_explainability_job_definition::CreateModelExplainabilityJobDefinitionError::ResourceInUse(inner) => {
1337                Error::ResourceInUse(inner)
1338            }
1339            crate::operation::create_model_explainability_job_definition::CreateModelExplainabilityJobDefinitionError::ResourceLimitExceeded(
1340                inner,
1341            ) => Error::ResourceLimitExceeded(inner),
1342            crate::operation::create_model_explainability_job_definition::CreateModelExplainabilityJobDefinitionError::Unhandled(inner) => {
1343                Error::Unhandled(inner)
1344            }
1345        }
1346    }
1347}
1348impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_model_package::CreateModelPackageError, R>> for Error
1349where
1350    R: Send + Sync + std::fmt::Debug + 'static,
1351{
1352    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_model_package::CreateModelPackageError, R>) -> Self {
1353        match err {
1354            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1355            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1356                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1357                source: err.into(),
1358            }),
1359        }
1360    }
1361}
1362impl From<crate::operation::create_model_package::CreateModelPackageError> for Error {
1363    fn from(err: crate::operation::create_model_package::CreateModelPackageError) -> Self {
1364        match err {
1365            crate::operation::create_model_package::CreateModelPackageError::ConflictException(inner) => Error::ConflictException(inner),
1366            crate::operation::create_model_package::CreateModelPackageError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
1367            crate::operation::create_model_package::CreateModelPackageError::Unhandled(inner) => Error::Unhandled(inner),
1368        }
1369    }
1370}
1371impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_model_package_group::CreateModelPackageGroupError, R>>
1372    for Error
1373where
1374    R: Send + Sync + std::fmt::Debug + 'static,
1375{
1376    fn from(
1377        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_model_package_group::CreateModelPackageGroupError, R>,
1378    ) -> Self {
1379        match err {
1380            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1381            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1382                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1383                source: err.into(),
1384            }),
1385        }
1386    }
1387}
1388impl From<crate::operation::create_model_package_group::CreateModelPackageGroupError> for Error {
1389    fn from(err: crate::operation::create_model_package_group::CreateModelPackageGroupError) -> Self {
1390        match err {
1391            crate::operation::create_model_package_group::CreateModelPackageGroupError::ResourceLimitExceeded(inner) => {
1392                Error::ResourceLimitExceeded(inner)
1393            }
1394            crate::operation::create_model_package_group::CreateModelPackageGroupError::Unhandled(inner) => Error::Unhandled(inner),
1395        }
1396    }
1397}
1398impl<R>
1399    From<
1400        ::aws_smithy_runtime_api::client::result::SdkError<
1401            crate::operation::create_model_quality_job_definition::CreateModelQualityJobDefinitionError,
1402            R,
1403        >,
1404    > for Error
1405where
1406    R: Send + Sync + std::fmt::Debug + 'static,
1407{
1408    fn from(
1409        err: ::aws_smithy_runtime_api::client::result::SdkError<
1410            crate::operation::create_model_quality_job_definition::CreateModelQualityJobDefinitionError,
1411            R,
1412        >,
1413    ) -> Self {
1414        match err {
1415            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1416            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1417                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1418                source: err.into(),
1419            }),
1420        }
1421    }
1422}
1423impl From<crate::operation::create_model_quality_job_definition::CreateModelQualityJobDefinitionError> for Error {
1424    fn from(err: crate::operation::create_model_quality_job_definition::CreateModelQualityJobDefinitionError) -> Self {
1425        match err {
1426            crate::operation::create_model_quality_job_definition::CreateModelQualityJobDefinitionError::ResourceInUse(inner) => {
1427                Error::ResourceInUse(inner)
1428            }
1429            crate::operation::create_model_quality_job_definition::CreateModelQualityJobDefinitionError::ResourceLimitExceeded(inner) => {
1430                Error::ResourceLimitExceeded(inner)
1431            }
1432            crate::operation::create_model_quality_job_definition::CreateModelQualityJobDefinitionError::Unhandled(inner) => Error::Unhandled(inner),
1433        }
1434    }
1435}
1436impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_monitoring_schedule::CreateMonitoringScheduleError, R>>
1437    for Error
1438where
1439    R: Send + Sync + std::fmt::Debug + 'static,
1440{
1441    fn from(
1442        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_monitoring_schedule::CreateMonitoringScheduleError, R>,
1443    ) -> Self {
1444        match err {
1445            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1446            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1447                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1448                source: err.into(),
1449            }),
1450        }
1451    }
1452}
1453impl From<crate::operation::create_monitoring_schedule::CreateMonitoringScheduleError> for Error {
1454    fn from(err: crate::operation::create_monitoring_schedule::CreateMonitoringScheduleError) -> Self {
1455        match err {
1456            crate::operation::create_monitoring_schedule::CreateMonitoringScheduleError::ResourceInUse(inner) => Error::ResourceInUse(inner),
1457            crate::operation::create_monitoring_schedule::CreateMonitoringScheduleError::ResourceLimitExceeded(inner) => {
1458                Error::ResourceLimitExceeded(inner)
1459            }
1460            crate::operation::create_monitoring_schedule::CreateMonitoringScheduleError::Unhandled(inner) => Error::Unhandled(inner),
1461        }
1462    }
1463}
1464impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_notebook_instance::CreateNotebookInstanceError, R>> for Error
1465where
1466    R: Send + Sync + std::fmt::Debug + 'static,
1467{
1468    fn from(
1469        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_notebook_instance::CreateNotebookInstanceError, R>,
1470    ) -> Self {
1471        match err {
1472            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1473            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1474                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1475                source: err.into(),
1476            }),
1477        }
1478    }
1479}
1480impl From<crate::operation::create_notebook_instance::CreateNotebookInstanceError> for Error {
1481    fn from(err: crate::operation::create_notebook_instance::CreateNotebookInstanceError) -> Self {
1482        match err {
1483            crate::operation::create_notebook_instance::CreateNotebookInstanceError::ResourceLimitExceeded(inner) => {
1484                Error::ResourceLimitExceeded(inner)
1485            }
1486            crate::operation::create_notebook_instance::CreateNotebookInstanceError::Unhandled(inner) => Error::Unhandled(inner),
1487        }
1488    }
1489}
1490impl<R>
1491    From<
1492        ::aws_smithy_runtime_api::client::result::SdkError<
1493            crate::operation::create_notebook_instance_lifecycle_config::CreateNotebookInstanceLifecycleConfigError,
1494            R,
1495        >,
1496    > for Error
1497where
1498    R: Send + Sync + std::fmt::Debug + 'static,
1499{
1500    fn from(
1501        err: ::aws_smithy_runtime_api::client::result::SdkError<
1502            crate::operation::create_notebook_instance_lifecycle_config::CreateNotebookInstanceLifecycleConfigError,
1503            R,
1504        >,
1505    ) -> Self {
1506        match err {
1507            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1508            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1509                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1510                source: err.into(),
1511            }),
1512        }
1513    }
1514}
1515impl From<crate::operation::create_notebook_instance_lifecycle_config::CreateNotebookInstanceLifecycleConfigError> for Error {
1516    fn from(err: crate::operation::create_notebook_instance_lifecycle_config::CreateNotebookInstanceLifecycleConfigError) -> Self {
1517        match err {
1518            crate::operation::create_notebook_instance_lifecycle_config::CreateNotebookInstanceLifecycleConfigError::ResourceLimitExceeded(inner) => {
1519                Error::ResourceLimitExceeded(inner)
1520            }
1521            crate::operation::create_notebook_instance_lifecycle_config::CreateNotebookInstanceLifecycleConfigError::Unhandled(inner) => {
1522                Error::Unhandled(inner)
1523            }
1524        }
1525    }
1526}
1527impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_optimization_job::CreateOptimizationJobError, R>> for Error
1528where
1529    R: Send + Sync + std::fmt::Debug + 'static,
1530{
1531    fn from(
1532        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_optimization_job::CreateOptimizationJobError, R>,
1533    ) -> Self {
1534        match err {
1535            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1536            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1537                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1538                source: err.into(),
1539            }),
1540        }
1541    }
1542}
1543impl From<crate::operation::create_optimization_job::CreateOptimizationJobError> for Error {
1544    fn from(err: crate::operation::create_optimization_job::CreateOptimizationJobError) -> Self {
1545        match err {
1546            crate::operation::create_optimization_job::CreateOptimizationJobError::ResourceInUse(inner) => Error::ResourceInUse(inner),
1547            crate::operation::create_optimization_job::CreateOptimizationJobError::ResourceLimitExceeded(inner) => {
1548                Error::ResourceLimitExceeded(inner)
1549            }
1550            crate::operation::create_optimization_job::CreateOptimizationJobError::Unhandled(inner) => Error::Unhandled(inner),
1551        }
1552    }
1553}
1554impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_partner_app::CreatePartnerAppError, R>> for Error
1555where
1556    R: Send + Sync + std::fmt::Debug + 'static,
1557{
1558    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_partner_app::CreatePartnerAppError, R>) -> Self {
1559        match err {
1560            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1561            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1562                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1563                source: err.into(),
1564            }),
1565        }
1566    }
1567}
1568impl From<crate::operation::create_partner_app::CreatePartnerAppError> for Error {
1569    fn from(err: crate::operation::create_partner_app::CreatePartnerAppError) -> Self {
1570        match err {
1571            crate::operation::create_partner_app::CreatePartnerAppError::ConflictException(inner) => Error::ConflictException(inner),
1572            crate::operation::create_partner_app::CreatePartnerAppError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
1573            crate::operation::create_partner_app::CreatePartnerAppError::Unhandled(inner) => Error::Unhandled(inner),
1574        }
1575    }
1576}
1577impl<R>
1578    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_partner_app_presigned_url::CreatePartnerAppPresignedUrlError, R>>
1579    for Error
1580where
1581    R: Send + Sync + std::fmt::Debug + 'static,
1582{
1583    fn from(
1584        err: ::aws_smithy_runtime_api::client::result::SdkError<
1585            crate::operation::create_partner_app_presigned_url::CreatePartnerAppPresignedUrlError,
1586            R,
1587        >,
1588    ) -> Self {
1589        match err {
1590            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1591            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1592                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1593                source: err.into(),
1594            }),
1595        }
1596    }
1597}
1598impl From<crate::operation::create_partner_app_presigned_url::CreatePartnerAppPresignedUrlError> for Error {
1599    fn from(err: crate::operation::create_partner_app_presigned_url::CreatePartnerAppPresignedUrlError) -> Self {
1600        match err {
1601            crate::operation::create_partner_app_presigned_url::CreatePartnerAppPresignedUrlError::ResourceNotFound(inner) => {
1602                Error::ResourceNotFound(inner)
1603            }
1604            crate::operation::create_partner_app_presigned_url::CreatePartnerAppPresignedUrlError::Unhandled(inner) => Error::Unhandled(inner),
1605        }
1606    }
1607}
1608impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_pipeline::CreatePipelineError, R>> for Error
1609where
1610    R: Send + Sync + std::fmt::Debug + 'static,
1611{
1612    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_pipeline::CreatePipelineError, R>) -> Self {
1613        match err {
1614            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1615            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1616                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1617                source: err.into(),
1618            }),
1619        }
1620    }
1621}
1622impl From<crate::operation::create_pipeline::CreatePipelineError> for Error {
1623    fn from(err: crate::operation::create_pipeline::CreatePipelineError) -> Self {
1624        match err {
1625            crate::operation::create_pipeline::CreatePipelineError::ConflictException(inner) => Error::ConflictException(inner),
1626            crate::operation::create_pipeline::CreatePipelineError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
1627            crate::operation::create_pipeline::CreatePipelineError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
1628            crate::operation::create_pipeline::CreatePipelineError::Unhandled(inner) => Error::Unhandled(inner),
1629        }
1630    }
1631}
1632impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_presigned_domain_url::CreatePresignedDomainUrlError, R>>
1633    for Error
1634where
1635    R: Send + Sync + std::fmt::Debug + 'static,
1636{
1637    fn from(
1638        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_presigned_domain_url::CreatePresignedDomainUrlError, R>,
1639    ) -> Self {
1640        match err {
1641            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1642            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1643                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1644                source: err.into(),
1645            }),
1646        }
1647    }
1648}
1649impl From<crate::operation::create_presigned_domain_url::CreatePresignedDomainUrlError> for Error {
1650    fn from(err: crate::operation::create_presigned_domain_url::CreatePresignedDomainUrlError) -> Self {
1651        match err {
1652            crate::operation::create_presigned_domain_url::CreatePresignedDomainUrlError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
1653            crate::operation::create_presigned_domain_url::CreatePresignedDomainUrlError::Unhandled(inner) => Error::Unhandled(inner),
1654        }
1655    }
1656}
1657impl<R>
1658    From<
1659        ::aws_smithy_runtime_api::client::result::SdkError<
1660            crate::operation::create_presigned_mlflow_tracking_server_url::CreatePresignedMlflowTrackingServerUrlError,
1661            R,
1662        >,
1663    > for Error
1664where
1665    R: Send + Sync + std::fmt::Debug + 'static,
1666{
1667    fn from(
1668        err: ::aws_smithy_runtime_api::client::result::SdkError<
1669            crate::operation::create_presigned_mlflow_tracking_server_url::CreatePresignedMlflowTrackingServerUrlError,
1670            R,
1671        >,
1672    ) -> Self {
1673        match err {
1674            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1675            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1676                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1677                source: err.into(),
1678            }),
1679        }
1680    }
1681}
1682impl From<crate::operation::create_presigned_mlflow_tracking_server_url::CreatePresignedMlflowTrackingServerUrlError> for Error {
1683    fn from(err: crate::operation::create_presigned_mlflow_tracking_server_url::CreatePresignedMlflowTrackingServerUrlError) -> Self {
1684        match err {
1685            crate::operation::create_presigned_mlflow_tracking_server_url::CreatePresignedMlflowTrackingServerUrlError::ResourceNotFound(inner) => {
1686                Error::ResourceNotFound(inner)
1687            }
1688            crate::operation::create_presigned_mlflow_tracking_server_url::CreatePresignedMlflowTrackingServerUrlError::Unhandled(inner) => {
1689                Error::Unhandled(inner)
1690            }
1691        }
1692    }
1693}
1694impl<R>
1695    From<
1696        ::aws_smithy_runtime_api::client::result::SdkError<
1697            crate::operation::create_presigned_notebook_instance_url::CreatePresignedNotebookInstanceUrlError,
1698            R,
1699        >,
1700    > for Error
1701where
1702    R: Send + Sync + std::fmt::Debug + 'static,
1703{
1704    fn from(
1705        err: ::aws_smithy_runtime_api::client::result::SdkError<
1706            crate::operation::create_presigned_notebook_instance_url::CreatePresignedNotebookInstanceUrlError,
1707            R,
1708        >,
1709    ) -> Self {
1710        match err {
1711            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1712            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1713                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1714                source: err.into(),
1715            }),
1716        }
1717    }
1718}
1719impl From<crate::operation::create_presigned_notebook_instance_url::CreatePresignedNotebookInstanceUrlError> for Error {
1720    fn from(err: crate::operation::create_presigned_notebook_instance_url::CreatePresignedNotebookInstanceUrlError) -> Self {
1721        match err {
1722            crate::operation::create_presigned_notebook_instance_url::CreatePresignedNotebookInstanceUrlError::Unhandled(inner) => {
1723                Error::Unhandled(inner)
1724            }
1725        }
1726    }
1727}
1728impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_processing_job::CreateProcessingJobError, R>> for Error
1729where
1730    R: Send + Sync + std::fmt::Debug + 'static,
1731{
1732    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_processing_job::CreateProcessingJobError, R>) -> Self {
1733        match err {
1734            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1735            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1736                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1737                source: err.into(),
1738            }),
1739        }
1740    }
1741}
1742impl From<crate::operation::create_processing_job::CreateProcessingJobError> for Error {
1743    fn from(err: crate::operation::create_processing_job::CreateProcessingJobError) -> Self {
1744        match err {
1745            crate::operation::create_processing_job::CreateProcessingJobError::ResourceInUse(inner) => Error::ResourceInUse(inner),
1746            crate::operation::create_processing_job::CreateProcessingJobError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
1747            crate::operation::create_processing_job::CreateProcessingJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
1748            crate::operation::create_processing_job::CreateProcessingJobError::Unhandled(inner) => Error::Unhandled(inner),
1749        }
1750    }
1751}
1752impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_project::CreateProjectError, R>> for Error
1753where
1754    R: Send + Sync + std::fmt::Debug + 'static,
1755{
1756    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_project::CreateProjectError, R>) -> Self {
1757        match err {
1758            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1759            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1760                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1761                source: err.into(),
1762            }),
1763        }
1764    }
1765}
1766impl From<crate::operation::create_project::CreateProjectError> for Error {
1767    fn from(err: crate::operation::create_project::CreateProjectError) -> Self {
1768        match err {
1769            crate::operation::create_project::CreateProjectError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
1770            crate::operation::create_project::CreateProjectError::Unhandled(inner) => Error::Unhandled(inner),
1771        }
1772    }
1773}
1774impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_space::CreateSpaceError, R>> for Error
1775where
1776    R: Send + Sync + std::fmt::Debug + 'static,
1777{
1778    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_space::CreateSpaceError, R>) -> Self {
1779        match err {
1780            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1781            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1782                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1783                source: err.into(),
1784            }),
1785        }
1786    }
1787}
1788impl From<crate::operation::create_space::CreateSpaceError> for Error {
1789    fn from(err: crate::operation::create_space::CreateSpaceError) -> Self {
1790        match err {
1791            crate::operation::create_space::CreateSpaceError::ResourceInUse(inner) => Error::ResourceInUse(inner),
1792            crate::operation::create_space::CreateSpaceError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
1793            crate::operation::create_space::CreateSpaceError::Unhandled(inner) => Error::Unhandled(inner),
1794        }
1795    }
1796}
1797impl<R>
1798    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_studio_lifecycle_config::CreateStudioLifecycleConfigError, R>>
1799    for Error
1800where
1801    R: Send + Sync + std::fmt::Debug + 'static,
1802{
1803    fn from(
1804        err: ::aws_smithy_runtime_api::client::result::SdkError<
1805            crate::operation::create_studio_lifecycle_config::CreateStudioLifecycleConfigError,
1806            R,
1807        >,
1808    ) -> Self {
1809        match err {
1810            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1811            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1812                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1813                source: err.into(),
1814            }),
1815        }
1816    }
1817}
1818impl From<crate::operation::create_studio_lifecycle_config::CreateStudioLifecycleConfigError> for Error {
1819    fn from(err: crate::operation::create_studio_lifecycle_config::CreateStudioLifecycleConfigError) -> Self {
1820        match err {
1821            crate::operation::create_studio_lifecycle_config::CreateStudioLifecycleConfigError::ResourceInUse(inner) => Error::ResourceInUse(inner),
1822            crate::operation::create_studio_lifecycle_config::CreateStudioLifecycleConfigError::Unhandled(inner) => Error::Unhandled(inner),
1823        }
1824    }
1825}
1826impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_training_job::CreateTrainingJobError, R>> for Error
1827where
1828    R: Send + Sync + std::fmt::Debug + 'static,
1829{
1830    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_training_job::CreateTrainingJobError, R>) -> Self {
1831        match err {
1832            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1833            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1834                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1835                source: err.into(),
1836            }),
1837        }
1838    }
1839}
1840impl From<crate::operation::create_training_job::CreateTrainingJobError> for Error {
1841    fn from(err: crate::operation::create_training_job::CreateTrainingJobError) -> Self {
1842        match err {
1843            crate::operation::create_training_job::CreateTrainingJobError::ResourceInUse(inner) => Error::ResourceInUse(inner),
1844            crate::operation::create_training_job::CreateTrainingJobError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
1845            crate::operation::create_training_job::CreateTrainingJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
1846            crate::operation::create_training_job::CreateTrainingJobError::Unhandled(inner) => Error::Unhandled(inner),
1847        }
1848    }
1849}
1850impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_training_plan::CreateTrainingPlanError, R>> for Error
1851where
1852    R: Send + Sync + std::fmt::Debug + 'static,
1853{
1854    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_training_plan::CreateTrainingPlanError, R>) -> Self {
1855        match err {
1856            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1857            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1858                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1859                source: err.into(),
1860            }),
1861        }
1862    }
1863}
1864impl From<crate::operation::create_training_plan::CreateTrainingPlanError> for Error {
1865    fn from(err: crate::operation::create_training_plan::CreateTrainingPlanError) -> Self {
1866        match err {
1867            crate::operation::create_training_plan::CreateTrainingPlanError::ResourceInUse(inner) => Error::ResourceInUse(inner),
1868            crate::operation::create_training_plan::CreateTrainingPlanError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
1869            crate::operation::create_training_plan::CreateTrainingPlanError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
1870            crate::operation::create_training_plan::CreateTrainingPlanError::Unhandled(inner) => Error::Unhandled(inner),
1871        }
1872    }
1873}
1874impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_transform_job::CreateTransformJobError, R>> for Error
1875where
1876    R: Send + Sync + std::fmt::Debug + 'static,
1877{
1878    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_transform_job::CreateTransformJobError, R>) -> Self {
1879        match err {
1880            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1881            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1882                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1883                source: err.into(),
1884            }),
1885        }
1886    }
1887}
1888impl From<crate::operation::create_transform_job::CreateTransformJobError> for Error {
1889    fn from(err: crate::operation::create_transform_job::CreateTransformJobError) -> Self {
1890        match err {
1891            crate::operation::create_transform_job::CreateTransformJobError::ResourceInUse(inner) => Error::ResourceInUse(inner),
1892            crate::operation::create_transform_job::CreateTransformJobError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
1893            crate::operation::create_transform_job::CreateTransformJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
1894            crate::operation::create_transform_job::CreateTransformJobError::Unhandled(inner) => Error::Unhandled(inner),
1895        }
1896    }
1897}
1898impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_trial::CreateTrialError, R>> for Error
1899where
1900    R: Send + Sync + std::fmt::Debug + 'static,
1901{
1902    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_trial::CreateTrialError, R>) -> Self {
1903        match err {
1904            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1905            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1906                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1907                source: err.into(),
1908            }),
1909        }
1910    }
1911}
1912impl From<crate::operation::create_trial::CreateTrialError> for Error {
1913    fn from(err: crate::operation::create_trial::CreateTrialError) -> Self {
1914        match err {
1915            crate::operation::create_trial::CreateTrialError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
1916            crate::operation::create_trial::CreateTrialError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
1917            crate::operation::create_trial::CreateTrialError::Unhandled(inner) => Error::Unhandled(inner),
1918        }
1919    }
1920}
1921impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_trial_component::CreateTrialComponentError, R>> for Error
1922where
1923    R: Send + Sync + std::fmt::Debug + 'static,
1924{
1925    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_trial_component::CreateTrialComponentError, R>) -> Self {
1926        match err {
1927            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1928            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1929                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1930                source: err.into(),
1931            }),
1932        }
1933    }
1934}
1935impl From<crate::operation::create_trial_component::CreateTrialComponentError> for Error {
1936    fn from(err: crate::operation::create_trial_component::CreateTrialComponentError) -> Self {
1937        match err {
1938            crate::operation::create_trial_component::CreateTrialComponentError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
1939            crate::operation::create_trial_component::CreateTrialComponentError::Unhandled(inner) => Error::Unhandled(inner),
1940        }
1941    }
1942}
1943impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_user_profile::CreateUserProfileError, R>> for Error
1944where
1945    R: Send + Sync + std::fmt::Debug + 'static,
1946{
1947    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_user_profile::CreateUserProfileError, R>) -> Self {
1948        match err {
1949            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1950            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1951                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1952                source: err.into(),
1953            }),
1954        }
1955    }
1956}
1957impl From<crate::operation::create_user_profile::CreateUserProfileError> for Error {
1958    fn from(err: crate::operation::create_user_profile::CreateUserProfileError) -> Self {
1959        match err {
1960            crate::operation::create_user_profile::CreateUserProfileError::ResourceInUse(inner) => Error::ResourceInUse(inner),
1961            crate::operation::create_user_profile::CreateUserProfileError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
1962            crate::operation::create_user_profile::CreateUserProfileError::Unhandled(inner) => Error::Unhandled(inner),
1963        }
1964    }
1965}
1966impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_workforce::CreateWorkforceError, R>> for Error
1967where
1968    R: Send + Sync + std::fmt::Debug + 'static,
1969{
1970    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_workforce::CreateWorkforceError, R>) -> Self {
1971        match err {
1972            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1973            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1974                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1975                source: err.into(),
1976            }),
1977        }
1978    }
1979}
1980impl From<crate::operation::create_workforce::CreateWorkforceError> for Error {
1981    fn from(err: crate::operation::create_workforce::CreateWorkforceError) -> Self {
1982        match err {
1983            crate::operation::create_workforce::CreateWorkforceError::Unhandled(inner) => Error::Unhandled(inner),
1984        }
1985    }
1986}
1987impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_workteam::CreateWorkteamError, R>> for Error
1988where
1989    R: Send + Sync + std::fmt::Debug + 'static,
1990{
1991    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_workteam::CreateWorkteamError, R>) -> Self {
1992        match err {
1993            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1994            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1995                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1996                source: err.into(),
1997            }),
1998        }
1999    }
2000}
2001impl From<crate::operation::create_workteam::CreateWorkteamError> for Error {
2002    fn from(err: crate::operation::create_workteam::CreateWorkteamError) -> Self {
2003        match err {
2004            crate::operation::create_workteam::CreateWorkteamError::ResourceInUse(inner) => Error::ResourceInUse(inner),
2005            crate::operation::create_workteam::CreateWorkteamError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
2006            crate::operation::create_workteam::CreateWorkteamError::Unhandled(inner) => Error::Unhandled(inner),
2007        }
2008    }
2009}
2010impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_action::DeleteActionError, R>> for Error
2011where
2012    R: Send + Sync + std::fmt::Debug + 'static,
2013{
2014    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_action::DeleteActionError, R>) -> Self {
2015        match err {
2016            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2017            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2018                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2019                source: err.into(),
2020            }),
2021        }
2022    }
2023}
2024impl From<crate::operation::delete_action::DeleteActionError> for Error {
2025    fn from(err: crate::operation::delete_action::DeleteActionError) -> Self {
2026        match err {
2027            crate::operation::delete_action::DeleteActionError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2028            crate::operation::delete_action::DeleteActionError::Unhandled(inner) => Error::Unhandled(inner),
2029        }
2030    }
2031}
2032impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_algorithm::DeleteAlgorithmError, R>> for Error
2033where
2034    R: Send + Sync + std::fmt::Debug + 'static,
2035{
2036    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_algorithm::DeleteAlgorithmError, R>) -> Self {
2037        match err {
2038            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2039            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2040                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2041                source: err.into(),
2042            }),
2043        }
2044    }
2045}
2046impl From<crate::operation::delete_algorithm::DeleteAlgorithmError> for Error {
2047    fn from(err: crate::operation::delete_algorithm::DeleteAlgorithmError) -> Self {
2048        match err {
2049            crate::operation::delete_algorithm::DeleteAlgorithmError::ConflictException(inner) => Error::ConflictException(inner),
2050            crate::operation::delete_algorithm::DeleteAlgorithmError::Unhandled(inner) => Error::Unhandled(inner),
2051        }
2052    }
2053}
2054impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_app::DeleteAppError, R>> for Error
2055where
2056    R: Send + Sync + std::fmt::Debug + 'static,
2057{
2058    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_app::DeleteAppError, R>) -> Self {
2059        match err {
2060            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2061            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2062                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2063                source: err.into(),
2064            }),
2065        }
2066    }
2067}
2068impl From<crate::operation::delete_app::DeleteAppError> for Error {
2069    fn from(err: crate::operation::delete_app::DeleteAppError) -> Self {
2070        match err {
2071            crate::operation::delete_app::DeleteAppError::ResourceInUse(inner) => Error::ResourceInUse(inner),
2072            crate::operation::delete_app::DeleteAppError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2073            crate::operation::delete_app::DeleteAppError::Unhandled(inner) => Error::Unhandled(inner),
2074        }
2075    }
2076}
2077impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_app_image_config::DeleteAppImageConfigError, R>> for Error
2078where
2079    R: Send + Sync + std::fmt::Debug + 'static,
2080{
2081    fn from(
2082        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_app_image_config::DeleteAppImageConfigError, R>,
2083    ) -> Self {
2084        match err {
2085            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2086            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2087                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2088                source: err.into(),
2089            }),
2090        }
2091    }
2092}
2093impl From<crate::operation::delete_app_image_config::DeleteAppImageConfigError> for Error {
2094    fn from(err: crate::operation::delete_app_image_config::DeleteAppImageConfigError) -> Self {
2095        match err {
2096            crate::operation::delete_app_image_config::DeleteAppImageConfigError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2097            crate::operation::delete_app_image_config::DeleteAppImageConfigError::Unhandled(inner) => Error::Unhandled(inner),
2098        }
2099    }
2100}
2101impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_artifact::DeleteArtifactError, R>> for Error
2102where
2103    R: Send + Sync + std::fmt::Debug + 'static,
2104{
2105    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_artifact::DeleteArtifactError, R>) -> Self {
2106        match err {
2107            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2108            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2109                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2110                source: err.into(),
2111            }),
2112        }
2113    }
2114}
2115impl From<crate::operation::delete_artifact::DeleteArtifactError> for Error {
2116    fn from(err: crate::operation::delete_artifact::DeleteArtifactError) -> Self {
2117        match err {
2118            crate::operation::delete_artifact::DeleteArtifactError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2119            crate::operation::delete_artifact::DeleteArtifactError::Unhandled(inner) => Error::Unhandled(inner),
2120        }
2121    }
2122}
2123impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_association::DeleteAssociationError, R>> for Error
2124where
2125    R: Send + Sync + std::fmt::Debug + 'static,
2126{
2127    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_association::DeleteAssociationError, R>) -> Self {
2128        match err {
2129            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2130            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2131                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2132                source: err.into(),
2133            }),
2134        }
2135    }
2136}
2137impl From<crate::operation::delete_association::DeleteAssociationError> for Error {
2138    fn from(err: crate::operation::delete_association::DeleteAssociationError) -> Self {
2139        match err {
2140            crate::operation::delete_association::DeleteAssociationError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2141            crate::operation::delete_association::DeleteAssociationError::Unhandled(inner) => Error::Unhandled(inner),
2142        }
2143    }
2144}
2145impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_cluster::DeleteClusterError, R>> for Error
2146where
2147    R: Send + Sync + std::fmt::Debug + 'static,
2148{
2149    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_cluster::DeleteClusterError, R>) -> Self {
2150        match err {
2151            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2152            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2153                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2154                source: err.into(),
2155            }),
2156        }
2157    }
2158}
2159impl From<crate::operation::delete_cluster::DeleteClusterError> for Error {
2160    fn from(err: crate::operation::delete_cluster::DeleteClusterError) -> Self {
2161        match err {
2162            crate::operation::delete_cluster::DeleteClusterError::ConflictException(inner) => Error::ConflictException(inner),
2163            crate::operation::delete_cluster::DeleteClusterError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2164            crate::operation::delete_cluster::DeleteClusterError::Unhandled(inner) => Error::Unhandled(inner),
2165        }
2166    }
2167}
2168impl<R>
2169    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_cluster_scheduler_config::DeleteClusterSchedulerConfigError, R>>
2170    for Error
2171where
2172    R: Send + Sync + std::fmt::Debug + 'static,
2173{
2174    fn from(
2175        err: ::aws_smithy_runtime_api::client::result::SdkError<
2176            crate::operation::delete_cluster_scheduler_config::DeleteClusterSchedulerConfigError,
2177            R,
2178        >,
2179    ) -> Self {
2180        match err {
2181            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2182            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2183                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2184                source: err.into(),
2185            }),
2186        }
2187    }
2188}
2189impl From<crate::operation::delete_cluster_scheduler_config::DeleteClusterSchedulerConfigError> for Error {
2190    fn from(err: crate::operation::delete_cluster_scheduler_config::DeleteClusterSchedulerConfigError) -> Self {
2191        match err {
2192            crate::operation::delete_cluster_scheduler_config::DeleteClusterSchedulerConfigError::ResourceNotFound(inner) => {
2193                Error::ResourceNotFound(inner)
2194            }
2195            crate::operation::delete_cluster_scheduler_config::DeleteClusterSchedulerConfigError::Unhandled(inner) => Error::Unhandled(inner),
2196        }
2197    }
2198}
2199impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_code_repository::DeleteCodeRepositoryError, R>> for Error
2200where
2201    R: Send + Sync + std::fmt::Debug + 'static,
2202{
2203    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_code_repository::DeleteCodeRepositoryError, R>) -> Self {
2204        match err {
2205            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2206            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2207                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2208                source: err.into(),
2209            }),
2210        }
2211    }
2212}
2213impl From<crate::operation::delete_code_repository::DeleteCodeRepositoryError> for Error {
2214    fn from(err: crate::operation::delete_code_repository::DeleteCodeRepositoryError) -> Self {
2215        match err {
2216            crate::operation::delete_code_repository::DeleteCodeRepositoryError::Unhandled(inner) => Error::Unhandled(inner),
2217        }
2218    }
2219}
2220impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_compilation_job::DeleteCompilationJobError, R>> for Error
2221where
2222    R: Send + Sync + std::fmt::Debug + 'static,
2223{
2224    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_compilation_job::DeleteCompilationJobError, R>) -> Self {
2225        match err {
2226            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2227            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2228                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2229                source: err.into(),
2230            }),
2231        }
2232    }
2233}
2234impl From<crate::operation::delete_compilation_job::DeleteCompilationJobError> for Error {
2235    fn from(err: crate::operation::delete_compilation_job::DeleteCompilationJobError) -> Self {
2236        match err {
2237            crate::operation::delete_compilation_job::DeleteCompilationJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2238            crate::operation::delete_compilation_job::DeleteCompilationJobError::Unhandled(inner) => Error::Unhandled(inner),
2239        }
2240    }
2241}
2242impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_compute_quota::DeleteComputeQuotaError, R>> for Error
2243where
2244    R: Send + Sync + std::fmt::Debug + 'static,
2245{
2246    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_compute_quota::DeleteComputeQuotaError, R>) -> Self {
2247        match err {
2248            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2249            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2250                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2251                source: err.into(),
2252            }),
2253        }
2254    }
2255}
2256impl From<crate::operation::delete_compute_quota::DeleteComputeQuotaError> for Error {
2257    fn from(err: crate::operation::delete_compute_quota::DeleteComputeQuotaError) -> Self {
2258        match err {
2259            crate::operation::delete_compute_quota::DeleteComputeQuotaError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2260            crate::operation::delete_compute_quota::DeleteComputeQuotaError::Unhandled(inner) => Error::Unhandled(inner),
2261        }
2262    }
2263}
2264impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_context::DeleteContextError, R>> for Error
2265where
2266    R: Send + Sync + std::fmt::Debug + 'static,
2267{
2268    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_context::DeleteContextError, R>) -> Self {
2269        match err {
2270            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2271            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2272                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2273                source: err.into(),
2274            }),
2275        }
2276    }
2277}
2278impl From<crate::operation::delete_context::DeleteContextError> for Error {
2279    fn from(err: crate::operation::delete_context::DeleteContextError) -> Self {
2280        match err {
2281            crate::operation::delete_context::DeleteContextError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2282            crate::operation::delete_context::DeleteContextError::Unhandled(inner) => Error::Unhandled(inner),
2283        }
2284    }
2285}
2286impl<R>
2287    From<
2288        ::aws_smithy_runtime_api::client::result::SdkError<
2289            crate::operation::delete_data_quality_job_definition::DeleteDataQualityJobDefinitionError,
2290            R,
2291        >,
2292    > for Error
2293where
2294    R: Send + Sync + std::fmt::Debug + 'static,
2295{
2296    fn from(
2297        err: ::aws_smithy_runtime_api::client::result::SdkError<
2298            crate::operation::delete_data_quality_job_definition::DeleteDataQualityJobDefinitionError,
2299            R,
2300        >,
2301    ) -> Self {
2302        match err {
2303            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2304            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2305                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2306                source: err.into(),
2307            }),
2308        }
2309    }
2310}
2311impl From<crate::operation::delete_data_quality_job_definition::DeleteDataQualityJobDefinitionError> for Error {
2312    fn from(err: crate::operation::delete_data_quality_job_definition::DeleteDataQualityJobDefinitionError) -> Self {
2313        match err {
2314            crate::operation::delete_data_quality_job_definition::DeleteDataQualityJobDefinitionError::ResourceNotFound(inner) => {
2315                Error::ResourceNotFound(inner)
2316            }
2317            crate::operation::delete_data_quality_job_definition::DeleteDataQualityJobDefinitionError::Unhandled(inner) => Error::Unhandled(inner),
2318        }
2319    }
2320}
2321impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_device_fleet::DeleteDeviceFleetError, R>> for Error
2322where
2323    R: Send + Sync + std::fmt::Debug + 'static,
2324{
2325    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_device_fleet::DeleteDeviceFleetError, R>) -> Self {
2326        match err {
2327            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2328            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2329                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2330                source: err.into(),
2331            }),
2332        }
2333    }
2334}
2335impl From<crate::operation::delete_device_fleet::DeleteDeviceFleetError> for Error {
2336    fn from(err: crate::operation::delete_device_fleet::DeleteDeviceFleetError) -> Self {
2337        match err {
2338            crate::operation::delete_device_fleet::DeleteDeviceFleetError::ResourceInUse(inner) => Error::ResourceInUse(inner),
2339            crate::operation::delete_device_fleet::DeleteDeviceFleetError::Unhandled(inner) => Error::Unhandled(inner),
2340        }
2341    }
2342}
2343impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_domain::DeleteDomainError, R>> for Error
2344where
2345    R: Send + Sync + std::fmt::Debug + 'static,
2346{
2347    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_domain::DeleteDomainError, R>) -> Self {
2348        match err {
2349            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2350            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2351                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2352                source: err.into(),
2353            }),
2354        }
2355    }
2356}
2357impl From<crate::operation::delete_domain::DeleteDomainError> for Error {
2358    fn from(err: crate::operation::delete_domain::DeleteDomainError) -> Self {
2359        match err {
2360            crate::operation::delete_domain::DeleteDomainError::ResourceInUse(inner) => Error::ResourceInUse(inner),
2361            crate::operation::delete_domain::DeleteDomainError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2362            crate::operation::delete_domain::DeleteDomainError::Unhandled(inner) => Error::Unhandled(inner),
2363        }
2364    }
2365}
2366impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_edge_deployment_plan::DeleteEdgeDeploymentPlanError, R>>
2367    for Error
2368where
2369    R: Send + Sync + std::fmt::Debug + 'static,
2370{
2371    fn from(
2372        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_edge_deployment_plan::DeleteEdgeDeploymentPlanError, R>,
2373    ) -> Self {
2374        match err {
2375            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2376            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2377                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2378                source: err.into(),
2379            }),
2380        }
2381    }
2382}
2383impl From<crate::operation::delete_edge_deployment_plan::DeleteEdgeDeploymentPlanError> for Error {
2384    fn from(err: crate::operation::delete_edge_deployment_plan::DeleteEdgeDeploymentPlanError) -> Self {
2385        match err {
2386            crate::operation::delete_edge_deployment_plan::DeleteEdgeDeploymentPlanError::ResourceInUse(inner) => Error::ResourceInUse(inner),
2387            crate::operation::delete_edge_deployment_plan::DeleteEdgeDeploymentPlanError::Unhandled(inner) => Error::Unhandled(inner),
2388        }
2389    }
2390}
2391impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_edge_deployment_stage::DeleteEdgeDeploymentStageError, R>>
2392    for Error
2393where
2394    R: Send + Sync + std::fmt::Debug + 'static,
2395{
2396    fn from(
2397        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_edge_deployment_stage::DeleteEdgeDeploymentStageError, R>,
2398    ) -> Self {
2399        match err {
2400            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2401            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2402                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2403                source: err.into(),
2404            }),
2405        }
2406    }
2407}
2408impl From<crate::operation::delete_edge_deployment_stage::DeleteEdgeDeploymentStageError> for Error {
2409    fn from(err: crate::operation::delete_edge_deployment_stage::DeleteEdgeDeploymentStageError) -> Self {
2410        match err {
2411            crate::operation::delete_edge_deployment_stage::DeleteEdgeDeploymentStageError::ResourceInUse(inner) => Error::ResourceInUse(inner),
2412            crate::operation::delete_edge_deployment_stage::DeleteEdgeDeploymentStageError::Unhandled(inner) => Error::Unhandled(inner),
2413        }
2414    }
2415}
2416impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_endpoint::DeleteEndpointError, R>> for Error
2417where
2418    R: Send + Sync + std::fmt::Debug + 'static,
2419{
2420    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_endpoint::DeleteEndpointError, R>) -> Self {
2421        match err {
2422            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2423            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2424                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2425                source: err.into(),
2426            }),
2427        }
2428    }
2429}
2430impl From<crate::operation::delete_endpoint::DeleteEndpointError> for Error {
2431    fn from(err: crate::operation::delete_endpoint::DeleteEndpointError) -> Self {
2432        match err {
2433            crate::operation::delete_endpoint::DeleteEndpointError::Unhandled(inner) => Error::Unhandled(inner),
2434        }
2435    }
2436}
2437impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_endpoint_config::DeleteEndpointConfigError, R>> for Error
2438where
2439    R: Send + Sync + std::fmt::Debug + 'static,
2440{
2441    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_endpoint_config::DeleteEndpointConfigError, R>) -> Self {
2442        match err {
2443            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2444            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2445                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2446                source: err.into(),
2447            }),
2448        }
2449    }
2450}
2451impl From<crate::operation::delete_endpoint_config::DeleteEndpointConfigError> for Error {
2452    fn from(err: crate::operation::delete_endpoint_config::DeleteEndpointConfigError) -> Self {
2453        match err {
2454            crate::operation::delete_endpoint_config::DeleteEndpointConfigError::Unhandled(inner) => Error::Unhandled(inner),
2455        }
2456    }
2457}
2458impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_experiment::DeleteExperimentError, R>> for Error
2459where
2460    R: Send + Sync + std::fmt::Debug + 'static,
2461{
2462    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_experiment::DeleteExperimentError, R>) -> Self {
2463        match err {
2464            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2465            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2466                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2467                source: err.into(),
2468            }),
2469        }
2470    }
2471}
2472impl From<crate::operation::delete_experiment::DeleteExperimentError> for Error {
2473    fn from(err: crate::operation::delete_experiment::DeleteExperimentError) -> Self {
2474        match err {
2475            crate::operation::delete_experiment::DeleteExperimentError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2476            crate::operation::delete_experiment::DeleteExperimentError::Unhandled(inner) => Error::Unhandled(inner),
2477        }
2478    }
2479}
2480impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_feature_group::DeleteFeatureGroupError, R>> for Error
2481where
2482    R: Send + Sync + std::fmt::Debug + 'static,
2483{
2484    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_feature_group::DeleteFeatureGroupError, R>) -> Self {
2485        match err {
2486            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2487            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2488                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2489                source: err.into(),
2490            }),
2491        }
2492    }
2493}
2494impl From<crate::operation::delete_feature_group::DeleteFeatureGroupError> for Error {
2495    fn from(err: crate::operation::delete_feature_group::DeleteFeatureGroupError) -> Self {
2496        match err {
2497            crate::operation::delete_feature_group::DeleteFeatureGroupError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2498            crate::operation::delete_feature_group::DeleteFeatureGroupError::Unhandled(inner) => Error::Unhandled(inner),
2499        }
2500    }
2501}
2502impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_flow_definition::DeleteFlowDefinitionError, R>> for Error
2503where
2504    R: Send + Sync + std::fmt::Debug + 'static,
2505{
2506    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_flow_definition::DeleteFlowDefinitionError, R>) -> Self {
2507        match err {
2508            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2509            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2510                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2511                source: err.into(),
2512            }),
2513        }
2514    }
2515}
2516impl From<crate::operation::delete_flow_definition::DeleteFlowDefinitionError> for Error {
2517    fn from(err: crate::operation::delete_flow_definition::DeleteFlowDefinitionError) -> Self {
2518        match err {
2519            crate::operation::delete_flow_definition::DeleteFlowDefinitionError::ResourceInUse(inner) => Error::ResourceInUse(inner),
2520            crate::operation::delete_flow_definition::DeleteFlowDefinitionError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2521            crate::operation::delete_flow_definition::DeleteFlowDefinitionError::Unhandled(inner) => Error::Unhandled(inner),
2522        }
2523    }
2524}
2525impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_hub::DeleteHubError, R>> for Error
2526where
2527    R: Send + Sync + std::fmt::Debug + 'static,
2528{
2529    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_hub::DeleteHubError, R>) -> Self {
2530        match err {
2531            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2532            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2533                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2534                source: err.into(),
2535            }),
2536        }
2537    }
2538}
2539impl From<crate::operation::delete_hub::DeleteHubError> for Error {
2540    fn from(err: crate::operation::delete_hub::DeleteHubError) -> Self {
2541        match err {
2542            crate::operation::delete_hub::DeleteHubError::ResourceInUse(inner) => Error::ResourceInUse(inner),
2543            crate::operation::delete_hub::DeleteHubError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2544            crate::operation::delete_hub::DeleteHubError::Unhandled(inner) => Error::Unhandled(inner),
2545        }
2546    }
2547}
2548impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_hub_content::DeleteHubContentError, R>> for Error
2549where
2550    R: Send + Sync + std::fmt::Debug + 'static,
2551{
2552    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_hub_content::DeleteHubContentError, R>) -> Self {
2553        match err {
2554            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2555            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2556                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2557                source: err.into(),
2558            }),
2559        }
2560    }
2561}
2562impl From<crate::operation::delete_hub_content::DeleteHubContentError> for Error {
2563    fn from(err: crate::operation::delete_hub_content::DeleteHubContentError) -> Self {
2564        match err {
2565            crate::operation::delete_hub_content::DeleteHubContentError::ResourceInUse(inner) => Error::ResourceInUse(inner),
2566            crate::operation::delete_hub_content::DeleteHubContentError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2567            crate::operation::delete_hub_content::DeleteHubContentError::Unhandled(inner) => Error::Unhandled(inner),
2568        }
2569    }
2570}
2571impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_hub_content_reference::DeleteHubContentReferenceError, R>>
2572    for Error
2573where
2574    R: Send + Sync + std::fmt::Debug + 'static,
2575{
2576    fn from(
2577        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_hub_content_reference::DeleteHubContentReferenceError, R>,
2578    ) -> Self {
2579        match err {
2580            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2581            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2582                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2583                source: err.into(),
2584            }),
2585        }
2586    }
2587}
2588impl From<crate::operation::delete_hub_content_reference::DeleteHubContentReferenceError> for Error {
2589    fn from(err: crate::operation::delete_hub_content_reference::DeleteHubContentReferenceError) -> Self {
2590        match err {
2591            crate::operation::delete_hub_content_reference::DeleteHubContentReferenceError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2592            crate::operation::delete_hub_content_reference::DeleteHubContentReferenceError::Unhandled(inner) => Error::Unhandled(inner),
2593        }
2594    }
2595}
2596impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_human_task_ui::DeleteHumanTaskUiError, R>> for Error
2597where
2598    R: Send + Sync + std::fmt::Debug + 'static,
2599{
2600    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_human_task_ui::DeleteHumanTaskUiError, R>) -> Self {
2601        match err {
2602            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2603            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2604                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2605                source: err.into(),
2606            }),
2607        }
2608    }
2609}
2610impl From<crate::operation::delete_human_task_ui::DeleteHumanTaskUiError> for Error {
2611    fn from(err: crate::operation::delete_human_task_ui::DeleteHumanTaskUiError) -> Self {
2612        match err {
2613            crate::operation::delete_human_task_ui::DeleteHumanTaskUiError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2614            crate::operation::delete_human_task_ui::DeleteHumanTaskUiError::Unhandled(inner) => Error::Unhandled(inner),
2615        }
2616    }
2617}
2618impl<R>
2619    From<
2620        ::aws_smithy_runtime_api::client::result::SdkError<
2621            crate::operation::delete_hyper_parameter_tuning_job::DeleteHyperParameterTuningJobError,
2622            R,
2623        >,
2624    > for Error
2625where
2626    R: Send + Sync + std::fmt::Debug + 'static,
2627{
2628    fn from(
2629        err: ::aws_smithy_runtime_api::client::result::SdkError<
2630            crate::operation::delete_hyper_parameter_tuning_job::DeleteHyperParameterTuningJobError,
2631            R,
2632        >,
2633    ) -> Self {
2634        match err {
2635            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2636            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2637                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2638                source: err.into(),
2639            }),
2640        }
2641    }
2642}
2643impl From<crate::operation::delete_hyper_parameter_tuning_job::DeleteHyperParameterTuningJobError> for Error {
2644    fn from(err: crate::operation::delete_hyper_parameter_tuning_job::DeleteHyperParameterTuningJobError) -> Self {
2645        match err {
2646            crate::operation::delete_hyper_parameter_tuning_job::DeleteHyperParameterTuningJobError::Unhandled(inner) => Error::Unhandled(inner),
2647        }
2648    }
2649}
2650impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_image::DeleteImageError, R>> for Error
2651where
2652    R: Send + Sync + std::fmt::Debug + 'static,
2653{
2654    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_image::DeleteImageError, R>) -> Self {
2655        match err {
2656            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2657            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2658                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2659                source: err.into(),
2660            }),
2661        }
2662    }
2663}
2664impl From<crate::operation::delete_image::DeleteImageError> for Error {
2665    fn from(err: crate::operation::delete_image::DeleteImageError) -> Self {
2666        match err {
2667            crate::operation::delete_image::DeleteImageError::ResourceInUse(inner) => Error::ResourceInUse(inner),
2668            crate::operation::delete_image::DeleteImageError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2669            crate::operation::delete_image::DeleteImageError::Unhandled(inner) => Error::Unhandled(inner),
2670        }
2671    }
2672}
2673impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_image_version::DeleteImageVersionError, R>> for Error
2674where
2675    R: Send + Sync + std::fmt::Debug + 'static,
2676{
2677    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_image_version::DeleteImageVersionError, R>) -> 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_image_version::DeleteImageVersionError> for Error {
2688    fn from(err: crate::operation::delete_image_version::DeleteImageVersionError) -> Self {
2689        match err {
2690            crate::operation::delete_image_version::DeleteImageVersionError::ResourceInUse(inner) => Error::ResourceInUse(inner),
2691            crate::operation::delete_image_version::DeleteImageVersionError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2692            crate::operation::delete_image_version::DeleteImageVersionError::Unhandled(inner) => Error::Unhandled(inner),
2693        }
2694    }
2695}
2696impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_inference_component::DeleteInferenceComponentError, R>>
2697    for Error
2698where
2699    R: Send + Sync + std::fmt::Debug + 'static,
2700{
2701    fn from(
2702        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_inference_component::DeleteInferenceComponentError, R>,
2703    ) -> Self {
2704        match err {
2705            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2706            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2707                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2708                source: err.into(),
2709            }),
2710        }
2711    }
2712}
2713impl From<crate::operation::delete_inference_component::DeleteInferenceComponentError> for Error {
2714    fn from(err: crate::operation::delete_inference_component::DeleteInferenceComponentError) -> Self {
2715        match err {
2716            crate::operation::delete_inference_component::DeleteInferenceComponentError::Unhandled(inner) => Error::Unhandled(inner),
2717        }
2718    }
2719}
2720impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_inference_experiment::DeleteInferenceExperimentError, R>>
2721    for Error
2722where
2723    R: Send + Sync + std::fmt::Debug + 'static,
2724{
2725    fn from(
2726        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_inference_experiment::DeleteInferenceExperimentError, R>,
2727    ) -> Self {
2728        match err {
2729            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2730            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2731                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2732                source: err.into(),
2733            }),
2734        }
2735    }
2736}
2737impl From<crate::operation::delete_inference_experiment::DeleteInferenceExperimentError> for Error {
2738    fn from(err: crate::operation::delete_inference_experiment::DeleteInferenceExperimentError) -> Self {
2739        match err {
2740            crate::operation::delete_inference_experiment::DeleteInferenceExperimentError::ConflictException(inner) => {
2741                Error::ConflictException(inner)
2742            }
2743            crate::operation::delete_inference_experiment::DeleteInferenceExperimentError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2744            crate::operation::delete_inference_experiment::DeleteInferenceExperimentError::Unhandled(inner) => Error::Unhandled(inner),
2745        }
2746    }
2747}
2748impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_mlflow_tracking_server::DeleteMlflowTrackingServerError, R>>
2749    for Error
2750where
2751    R: Send + Sync + std::fmt::Debug + 'static,
2752{
2753    fn from(
2754        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_mlflow_tracking_server::DeleteMlflowTrackingServerError, R>,
2755    ) -> Self {
2756        match err {
2757            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2758            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2759                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2760                source: err.into(),
2761            }),
2762        }
2763    }
2764}
2765impl From<crate::operation::delete_mlflow_tracking_server::DeleteMlflowTrackingServerError> for Error {
2766    fn from(err: crate::operation::delete_mlflow_tracking_server::DeleteMlflowTrackingServerError) -> Self {
2767        match err {
2768            crate::operation::delete_mlflow_tracking_server::DeleteMlflowTrackingServerError::ResourceNotFound(inner) => {
2769                Error::ResourceNotFound(inner)
2770            }
2771            crate::operation::delete_mlflow_tracking_server::DeleteMlflowTrackingServerError::Unhandled(inner) => Error::Unhandled(inner),
2772        }
2773    }
2774}
2775impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_model::DeleteModelError, R>> for Error
2776where
2777    R: Send + Sync + std::fmt::Debug + 'static,
2778{
2779    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_model::DeleteModelError, R>) -> Self {
2780        match err {
2781            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2782            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2783                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2784                source: err.into(),
2785            }),
2786        }
2787    }
2788}
2789impl From<crate::operation::delete_model::DeleteModelError> for Error {
2790    fn from(err: crate::operation::delete_model::DeleteModelError) -> Self {
2791        match err {
2792            crate::operation::delete_model::DeleteModelError::Unhandled(inner) => Error::Unhandled(inner),
2793        }
2794    }
2795}
2796impl<R>
2797    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_model_bias_job_definition::DeleteModelBiasJobDefinitionError, R>>
2798    for Error
2799where
2800    R: Send + Sync + std::fmt::Debug + 'static,
2801{
2802    fn from(
2803        err: ::aws_smithy_runtime_api::client::result::SdkError<
2804            crate::operation::delete_model_bias_job_definition::DeleteModelBiasJobDefinitionError,
2805            R,
2806        >,
2807    ) -> Self {
2808        match err {
2809            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2810            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2811                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2812                source: err.into(),
2813            }),
2814        }
2815    }
2816}
2817impl From<crate::operation::delete_model_bias_job_definition::DeleteModelBiasJobDefinitionError> for Error {
2818    fn from(err: crate::operation::delete_model_bias_job_definition::DeleteModelBiasJobDefinitionError) -> Self {
2819        match err {
2820            crate::operation::delete_model_bias_job_definition::DeleteModelBiasJobDefinitionError::ResourceNotFound(inner) => {
2821                Error::ResourceNotFound(inner)
2822            }
2823            crate::operation::delete_model_bias_job_definition::DeleteModelBiasJobDefinitionError::Unhandled(inner) => Error::Unhandled(inner),
2824        }
2825    }
2826}
2827impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_model_card::DeleteModelCardError, R>> for Error
2828where
2829    R: Send + Sync + std::fmt::Debug + 'static,
2830{
2831    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_model_card::DeleteModelCardError, R>) -> Self {
2832        match err {
2833            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2834            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2835                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2836                source: err.into(),
2837            }),
2838        }
2839    }
2840}
2841impl From<crate::operation::delete_model_card::DeleteModelCardError> for Error {
2842    fn from(err: crate::operation::delete_model_card::DeleteModelCardError) -> Self {
2843        match err {
2844            crate::operation::delete_model_card::DeleteModelCardError::ConflictException(inner) => Error::ConflictException(inner),
2845            crate::operation::delete_model_card::DeleteModelCardError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2846            crate::operation::delete_model_card::DeleteModelCardError::Unhandled(inner) => Error::Unhandled(inner),
2847        }
2848    }
2849}
2850impl<R>
2851    From<
2852        ::aws_smithy_runtime_api::client::result::SdkError<
2853            crate::operation::delete_model_explainability_job_definition::DeleteModelExplainabilityJobDefinitionError,
2854            R,
2855        >,
2856    > for Error
2857where
2858    R: Send + Sync + std::fmt::Debug + 'static,
2859{
2860    fn from(
2861        err: ::aws_smithy_runtime_api::client::result::SdkError<
2862            crate::operation::delete_model_explainability_job_definition::DeleteModelExplainabilityJobDefinitionError,
2863            R,
2864        >,
2865    ) -> Self {
2866        match err {
2867            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2868            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2869                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2870                source: err.into(),
2871            }),
2872        }
2873    }
2874}
2875impl From<crate::operation::delete_model_explainability_job_definition::DeleteModelExplainabilityJobDefinitionError> for Error {
2876    fn from(err: crate::operation::delete_model_explainability_job_definition::DeleteModelExplainabilityJobDefinitionError) -> Self {
2877        match err {
2878            crate::operation::delete_model_explainability_job_definition::DeleteModelExplainabilityJobDefinitionError::ResourceNotFound(inner) => {
2879                Error::ResourceNotFound(inner)
2880            }
2881            crate::operation::delete_model_explainability_job_definition::DeleteModelExplainabilityJobDefinitionError::Unhandled(inner) => {
2882                Error::Unhandled(inner)
2883            }
2884        }
2885    }
2886}
2887impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_model_package::DeleteModelPackageError, R>> for Error
2888where
2889    R: Send + Sync + std::fmt::Debug + 'static,
2890{
2891    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_model_package::DeleteModelPackageError, R>) -> Self {
2892        match err {
2893            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2894            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2895                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2896                source: err.into(),
2897            }),
2898        }
2899    }
2900}
2901impl From<crate::operation::delete_model_package::DeleteModelPackageError> for Error {
2902    fn from(err: crate::operation::delete_model_package::DeleteModelPackageError) -> Self {
2903        match err {
2904            crate::operation::delete_model_package::DeleteModelPackageError::ConflictException(inner) => Error::ConflictException(inner),
2905            crate::operation::delete_model_package::DeleteModelPackageError::Unhandled(inner) => Error::Unhandled(inner),
2906        }
2907    }
2908}
2909impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_model_package_group::DeleteModelPackageGroupError, R>>
2910    for Error
2911where
2912    R: Send + Sync + std::fmt::Debug + 'static,
2913{
2914    fn from(
2915        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_model_package_group::DeleteModelPackageGroupError, R>,
2916    ) -> Self {
2917        match err {
2918            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2919            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2920                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2921                source: err.into(),
2922            }),
2923        }
2924    }
2925}
2926impl From<crate::operation::delete_model_package_group::DeleteModelPackageGroupError> for Error {
2927    fn from(err: crate::operation::delete_model_package_group::DeleteModelPackageGroupError) -> Self {
2928        match err {
2929            crate::operation::delete_model_package_group::DeleteModelPackageGroupError::ConflictException(inner) => Error::ConflictException(inner),
2930            crate::operation::delete_model_package_group::DeleteModelPackageGroupError::Unhandled(inner) => Error::Unhandled(inner),
2931        }
2932    }
2933}
2934impl<R>
2935    From<
2936        ::aws_smithy_runtime_api::client::result::SdkError<
2937            crate::operation::delete_model_package_group_policy::DeleteModelPackageGroupPolicyError,
2938            R,
2939        >,
2940    > for Error
2941where
2942    R: Send + Sync + std::fmt::Debug + 'static,
2943{
2944    fn from(
2945        err: ::aws_smithy_runtime_api::client::result::SdkError<
2946            crate::operation::delete_model_package_group_policy::DeleteModelPackageGroupPolicyError,
2947            R,
2948        >,
2949    ) -> Self {
2950        match err {
2951            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2952            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2953                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2954                source: err.into(),
2955            }),
2956        }
2957    }
2958}
2959impl From<crate::operation::delete_model_package_group_policy::DeleteModelPackageGroupPolicyError> for Error {
2960    fn from(err: crate::operation::delete_model_package_group_policy::DeleteModelPackageGroupPolicyError) -> Self {
2961        match err {
2962            crate::operation::delete_model_package_group_policy::DeleteModelPackageGroupPolicyError::Unhandled(inner) => Error::Unhandled(inner),
2963        }
2964    }
2965}
2966impl<R>
2967    From<
2968        ::aws_smithy_runtime_api::client::result::SdkError<
2969            crate::operation::delete_model_quality_job_definition::DeleteModelQualityJobDefinitionError,
2970            R,
2971        >,
2972    > for Error
2973where
2974    R: Send + Sync + std::fmt::Debug + 'static,
2975{
2976    fn from(
2977        err: ::aws_smithy_runtime_api::client::result::SdkError<
2978            crate::operation::delete_model_quality_job_definition::DeleteModelQualityJobDefinitionError,
2979            R,
2980        >,
2981    ) -> Self {
2982        match err {
2983            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2984            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2985                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2986                source: err.into(),
2987            }),
2988        }
2989    }
2990}
2991impl From<crate::operation::delete_model_quality_job_definition::DeleteModelQualityJobDefinitionError> for Error {
2992    fn from(err: crate::operation::delete_model_quality_job_definition::DeleteModelQualityJobDefinitionError) -> Self {
2993        match err {
2994            crate::operation::delete_model_quality_job_definition::DeleteModelQualityJobDefinitionError::ResourceNotFound(inner) => {
2995                Error::ResourceNotFound(inner)
2996            }
2997            crate::operation::delete_model_quality_job_definition::DeleteModelQualityJobDefinitionError::Unhandled(inner) => Error::Unhandled(inner),
2998        }
2999    }
3000}
3001impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_monitoring_schedule::DeleteMonitoringScheduleError, R>>
3002    for Error
3003where
3004    R: Send + Sync + std::fmt::Debug + 'static,
3005{
3006    fn from(
3007        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_monitoring_schedule::DeleteMonitoringScheduleError, R>,
3008    ) -> Self {
3009        match err {
3010            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3011            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3012                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3013                source: err.into(),
3014            }),
3015        }
3016    }
3017}
3018impl From<crate::operation::delete_monitoring_schedule::DeleteMonitoringScheduleError> for Error {
3019    fn from(err: crate::operation::delete_monitoring_schedule::DeleteMonitoringScheduleError) -> Self {
3020        match err {
3021            crate::operation::delete_monitoring_schedule::DeleteMonitoringScheduleError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3022            crate::operation::delete_monitoring_schedule::DeleteMonitoringScheduleError::Unhandled(inner) => Error::Unhandled(inner),
3023        }
3024    }
3025}
3026impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_notebook_instance::DeleteNotebookInstanceError, R>> for Error
3027where
3028    R: Send + Sync + std::fmt::Debug + 'static,
3029{
3030    fn from(
3031        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_notebook_instance::DeleteNotebookInstanceError, R>,
3032    ) -> Self {
3033        match err {
3034            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3035            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3036                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3037                source: err.into(),
3038            }),
3039        }
3040    }
3041}
3042impl From<crate::operation::delete_notebook_instance::DeleteNotebookInstanceError> for Error {
3043    fn from(err: crate::operation::delete_notebook_instance::DeleteNotebookInstanceError) -> Self {
3044        match err {
3045            crate::operation::delete_notebook_instance::DeleteNotebookInstanceError::Unhandled(inner) => Error::Unhandled(inner),
3046        }
3047    }
3048}
3049impl<R>
3050    From<
3051        ::aws_smithy_runtime_api::client::result::SdkError<
3052            crate::operation::delete_notebook_instance_lifecycle_config::DeleteNotebookInstanceLifecycleConfigError,
3053            R,
3054        >,
3055    > for Error
3056where
3057    R: Send + Sync + std::fmt::Debug + 'static,
3058{
3059    fn from(
3060        err: ::aws_smithy_runtime_api::client::result::SdkError<
3061            crate::operation::delete_notebook_instance_lifecycle_config::DeleteNotebookInstanceLifecycleConfigError,
3062            R,
3063        >,
3064    ) -> Self {
3065        match err {
3066            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3067            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3068                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3069                source: err.into(),
3070            }),
3071        }
3072    }
3073}
3074impl From<crate::operation::delete_notebook_instance_lifecycle_config::DeleteNotebookInstanceLifecycleConfigError> for Error {
3075    fn from(err: crate::operation::delete_notebook_instance_lifecycle_config::DeleteNotebookInstanceLifecycleConfigError) -> Self {
3076        match err {
3077            crate::operation::delete_notebook_instance_lifecycle_config::DeleteNotebookInstanceLifecycleConfigError::Unhandled(inner) => {
3078                Error::Unhandled(inner)
3079            }
3080        }
3081    }
3082}
3083impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_optimization_job::DeleteOptimizationJobError, R>> for Error
3084where
3085    R: Send + Sync + std::fmt::Debug + 'static,
3086{
3087    fn from(
3088        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_optimization_job::DeleteOptimizationJobError, R>,
3089    ) -> Self {
3090        match err {
3091            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3092            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3093                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3094                source: err.into(),
3095            }),
3096        }
3097    }
3098}
3099impl From<crate::operation::delete_optimization_job::DeleteOptimizationJobError> for Error {
3100    fn from(err: crate::operation::delete_optimization_job::DeleteOptimizationJobError) -> Self {
3101        match err {
3102            crate::operation::delete_optimization_job::DeleteOptimizationJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3103            crate::operation::delete_optimization_job::DeleteOptimizationJobError::Unhandled(inner) => Error::Unhandled(inner),
3104        }
3105    }
3106}
3107impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_partner_app::DeletePartnerAppError, R>> for Error
3108where
3109    R: Send + Sync + std::fmt::Debug + 'static,
3110{
3111    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_partner_app::DeletePartnerAppError, R>) -> Self {
3112        match err {
3113            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3114            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3115                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3116                source: err.into(),
3117            }),
3118        }
3119    }
3120}
3121impl From<crate::operation::delete_partner_app::DeletePartnerAppError> for Error {
3122    fn from(err: crate::operation::delete_partner_app::DeletePartnerAppError) -> Self {
3123        match err {
3124            crate::operation::delete_partner_app::DeletePartnerAppError::ConflictException(inner) => Error::ConflictException(inner),
3125            crate::operation::delete_partner_app::DeletePartnerAppError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3126            crate::operation::delete_partner_app::DeletePartnerAppError::Unhandled(inner) => Error::Unhandled(inner),
3127        }
3128    }
3129}
3130impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_pipeline::DeletePipelineError, R>> for Error
3131where
3132    R: Send + Sync + std::fmt::Debug + 'static,
3133{
3134    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_pipeline::DeletePipelineError, R>) -> Self {
3135        match err {
3136            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3137            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3138                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3139                source: err.into(),
3140            }),
3141        }
3142    }
3143}
3144impl From<crate::operation::delete_pipeline::DeletePipelineError> for Error {
3145    fn from(err: crate::operation::delete_pipeline::DeletePipelineError) -> Self {
3146        match err {
3147            crate::operation::delete_pipeline::DeletePipelineError::ConflictException(inner) => Error::ConflictException(inner),
3148            crate::operation::delete_pipeline::DeletePipelineError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3149            crate::operation::delete_pipeline::DeletePipelineError::Unhandled(inner) => Error::Unhandled(inner),
3150        }
3151    }
3152}
3153impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_processing_job::DeleteProcessingJobError, R>> for Error
3154where
3155    R: Send + Sync + std::fmt::Debug + 'static,
3156{
3157    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_processing_job::DeleteProcessingJobError, R>) -> Self {
3158        match err {
3159            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3160            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3161                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3162                source: err.into(),
3163            }),
3164        }
3165    }
3166}
3167impl From<crate::operation::delete_processing_job::DeleteProcessingJobError> for Error {
3168    fn from(err: crate::operation::delete_processing_job::DeleteProcessingJobError) -> Self {
3169        match err {
3170            crate::operation::delete_processing_job::DeleteProcessingJobError::ResourceInUse(inner) => Error::ResourceInUse(inner),
3171            crate::operation::delete_processing_job::DeleteProcessingJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3172            crate::operation::delete_processing_job::DeleteProcessingJobError::Unhandled(inner) => Error::Unhandled(inner),
3173        }
3174    }
3175}
3176impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_project::DeleteProjectError, R>> for Error
3177where
3178    R: Send + Sync + std::fmt::Debug + 'static,
3179{
3180    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_project::DeleteProjectError, R>) -> Self {
3181        match err {
3182            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3183            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3184                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3185                source: err.into(),
3186            }),
3187        }
3188    }
3189}
3190impl From<crate::operation::delete_project::DeleteProjectError> for Error {
3191    fn from(err: crate::operation::delete_project::DeleteProjectError) -> Self {
3192        match err {
3193            crate::operation::delete_project::DeleteProjectError::ConflictException(inner) => Error::ConflictException(inner),
3194            crate::operation::delete_project::DeleteProjectError::Unhandled(inner) => Error::Unhandled(inner),
3195        }
3196    }
3197}
3198impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_space::DeleteSpaceError, R>> for Error
3199where
3200    R: Send + Sync + std::fmt::Debug + 'static,
3201{
3202    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_space::DeleteSpaceError, R>) -> Self {
3203        match err {
3204            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3205            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3206                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3207                source: err.into(),
3208            }),
3209        }
3210    }
3211}
3212impl From<crate::operation::delete_space::DeleteSpaceError> for Error {
3213    fn from(err: crate::operation::delete_space::DeleteSpaceError) -> Self {
3214        match err {
3215            crate::operation::delete_space::DeleteSpaceError::ResourceInUse(inner) => Error::ResourceInUse(inner),
3216            crate::operation::delete_space::DeleteSpaceError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3217            crate::operation::delete_space::DeleteSpaceError::Unhandled(inner) => Error::Unhandled(inner),
3218        }
3219    }
3220}
3221impl<R>
3222    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_studio_lifecycle_config::DeleteStudioLifecycleConfigError, R>>
3223    for Error
3224where
3225    R: Send + Sync + std::fmt::Debug + 'static,
3226{
3227    fn from(
3228        err: ::aws_smithy_runtime_api::client::result::SdkError<
3229            crate::operation::delete_studio_lifecycle_config::DeleteStudioLifecycleConfigError,
3230            R,
3231        >,
3232    ) -> Self {
3233        match err {
3234            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3235            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3236                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3237                source: err.into(),
3238            }),
3239        }
3240    }
3241}
3242impl From<crate::operation::delete_studio_lifecycle_config::DeleteStudioLifecycleConfigError> for Error {
3243    fn from(err: crate::operation::delete_studio_lifecycle_config::DeleteStudioLifecycleConfigError) -> Self {
3244        match err {
3245            crate::operation::delete_studio_lifecycle_config::DeleteStudioLifecycleConfigError::ResourceInUse(inner) => Error::ResourceInUse(inner),
3246            crate::operation::delete_studio_lifecycle_config::DeleteStudioLifecycleConfigError::ResourceNotFound(inner) => {
3247                Error::ResourceNotFound(inner)
3248            }
3249            crate::operation::delete_studio_lifecycle_config::DeleteStudioLifecycleConfigError::Unhandled(inner) => Error::Unhandled(inner),
3250        }
3251    }
3252}
3253impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_tags::DeleteTagsError, R>> for Error
3254where
3255    R: Send + Sync + std::fmt::Debug + 'static,
3256{
3257    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_tags::DeleteTagsError, R>) -> Self {
3258        match err {
3259            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3260            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3261                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3262                source: err.into(),
3263            }),
3264        }
3265    }
3266}
3267impl From<crate::operation::delete_tags::DeleteTagsError> for Error {
3268    fn from(err: crate::operation::delete_tags::DeleteTagsError) -> Self {
3269        match err {
3270            crate::operation::delete_tags::DeleteTagsError::Unhandled(inner) => Error::Unhandled(inner),
3271        }
3272    }
3273}
3274impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_training_job::DeleteTrainingJobError, R>> for Error
3275where
3276    R: Send + Sync + std::fmt::Debug + 'static,
3277{
3278    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_training_job::DeleteTrainingJobError, R>) -> Self {
3279        match err {
3280            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3281            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3282                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3283                source: err.into(),
3284            }),
3285        }
3286    }
3287}
3288impl From<crate::operation::delete_training_job::DeleteTrainingJobError> for Error {
3289    fn from(err: crate::operation::delete_training_job::DeleteTrainingJobError) -> Self {
3290        match err {
3291            crate::operation::delete_training_job::DeleteTrainingJobError::ResourceInUse(inner) => Error::ResourceInUse(inner),
3292            crate::operation::delete_training_job::DeleteTrainingJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3293            crate::operation::delete_training_job::DeleteTrainingJobError::Unhandled(inner) => Error::Unhandled(inner),
3294        }
3295    }
3296}
3297impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_trial::DeleteTrialError, R>> for Error
3298where
3299    R: Send + Sync + std::fmt::Debug + 'static,
3300{
3301    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_trial::DeleteTrialError, R>) -> Self {
3302        match err {
3303            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3304            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3305                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3306                source: err.into(),
3307            }),
3308        }
3309    }
3310}
3311impl From<crate::operation::delete_trial::DeleteTrialError> for Error {
3312    fn from(err: crate::operation::delete_trial::DeleteTrialError) -> Self {
3313        match err {
3314            crate::operation::delete_trial::DeleteTrialError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3315            crate::operation::delete_trial::DeleteTrialError::Unhandled(inner) => Error::Unhandled(inner),
3316        }
3317    }
3318}
3319impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_trial_component::DeleteTrialComponentError, R>> for Error
3320where
3321    R: Send + Sync + std::fmt::Debug + 'static,
3322{
3323    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_trial_component::DeleteTrialComponentError, R>) -> Self {
3324        match err {
3325            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3326            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3327                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3328                source: err.into(),
3329            }),
3330        }
3331    }
3332}
3333impl From<crate::operation::delete_trial_component::DeleteTrialComponentError> for Error {
3334    fn from(err: crate::operation::delete_trial_component::DeleteTrialComponentError) -> Self {
3335        match err {
3336            crate::operation::delete_trial_component::DeleteTrialComponentError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3337            crate::operation::delete_trial_component::DeleteTrialComponentError::Unhandled(inner) => Error::Unhandled(inner),
3338        }
3339    }
3340}
3341impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_user_profile::DeleteUserProfileError, R>> for Error
3342where
3343    R: Send + Sync + std::fmt::Debug + 'static,
3344{
3345    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_user_profile::DeleteUserProfileError, R>) -> Self {
3346        match err {
3347            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3348            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3349                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3350                source: err.into(),
3351            }),
3352        }
3353    }
3354}
3355impl From<crate::operation::delete_user_profile::DeleteUserProfileError> for Error {
3356    fn from(err: crate::operation::delete_user_profile::DeleteUserProfileError) -> Self {
3357        match err {
3358            crate::operation::delete_user_profile::DeleteUserProfileError::ResourceInUse(inner) => Error::ResourceInUse(inner),
3359            crate::operation::delete_user_profile::DeleteUserProfileError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3360            crate::operation::delete_user_profile::DeleteUserProfileError::Unhandled(inner) => Error::Unhandled(inner),
3361        }
3362    }
3363}
3364impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_workforce::DeleteWorkforceError, R>> for Error
3365where
3366    R: Send + Sync + std::fmt::Debug + 'static,
3367{
3368    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_workforce::DeleteWorkforceError, R>) -> Self {
3369        match err {
3370            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3371            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3372                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3373                source: err.into(),
3374            }),
3375        }
3376    }
3377}
3378impl From<crate::operation::delete_workforce::DeleteWorkforceError> for Error {
3379    fn from(err: crate::operation::delete_workforce::DeleteWorkforceError) -> Self {
3380        match err {
3381            crate::operation::delete_workforce::DeleteWorkforceError::Unhandled(inner) => Error::Unhandled(inner),
3382        }
3383    }
3384}
3385impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_workteam::DeleteWorkteamError, R>> for Error
3386where
3387    R: Send + Sync + std::fmt::Debug + 'static,
3388{
3389    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_workteam::DeleteWorkteamError, R>) -> Self {
3390        match err {
3391            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3392            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3393                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3394                source: err.into(),
3395            }),
3396        }
3397    }
3398}
3399impl From<crate::operation::delete_workteam::DeleteWorkteamError> for Error {
3400    fn from(err: crate::operation::delete_workteam::DeleteWorkteamError) -> Self {
3401        match err {
3402            crate::operation::delete_workteam::DeleteWorkteamError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
3403            crate::operation::delete_workteam::DeleteWorkteamError::Unhandled(inner) => Error::Unhandled(inner),
3404        }
3405    }
3406}
3407impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deregister_devices::DeregisterDevicesError, R>> for Error
3408where
3409    R: Send + Sync + std::fmt::Debug + 'static,
3410{
3411    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deregister_devices::DeregisterDevicesError, R>) -> Self {
3412        match err {
3413            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3414            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3415                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3416                source: err.into(),
3417            }),
3418        }
3419    }
3420}
3421impl From<crate::operation::deregister_devices::DeregisterDevicesError> for Error {
3422    fn from(err: crate::operation::deregister_devices::DeregisterDevicesError) -> Self {
3423        match err {
3424            crate::operation::deregister_devices::DeregisterDevicesError::Unhandled(inner) => Error::Unhandled(inner),
3425        }
3426    }
3427}
3428impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_action::DescribeActionError, R>> for Error
3429where
3430    R: Send + Sync + std::fmt::Debug + 'static,
3431{
3432    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_action::DescribeActionError, R>) -> Self {
3433        match err {
3434            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3435            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3436                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3437                source: err.into(),
3438            }),
3439        }
3440    }
3441}
3442impl From<crate::operation::describe_action::DescribeActionError> for Error {
3443    fn from(err: crate::operation::describe_action::DescribeActionError) -> Self {
3444        match err {
3445            crate::operation::describe_action::DescribeActionError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3446            crate::operation::describe_action::DescribeActionError::Unhandled(inner) => Error::Unhandled(inner),
3447        }
3448    }
3449}
3450impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_algorithm::DescribeAlgorithmError, R>> for Error
3451where
3452    R: Send + Sync + std::fmt::Debug + 'static,
3453{
3454    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_algorithm::DescribeAlgorithmError, R>) -> Self {
3455        match err {
3456            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3457            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3458                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3459                source: err.into(),
3460            }),
3461        }
3462    }
3463}
3464impl From<crate::operation::describe_algorithm::DescribeAlgorithmError> for Error {
3465    fn from(err: crate::operation::describe_algorithm::DescribeAlgorithmError) -> Self {
3466        match err {
3467            crate::operation::describe_algorithm::DescribeAlgorithmError::Unhandled(inner) => Error::Unhandled(inner),
3468        }
3469    }
3470}
3471impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_app::DescribeAppError, R>> for Error
3472where
3473    R: Send + Sync + std::fmt::Debug + 'static,
3474{
3475    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_app::DescribeAppError, R>) -> Self {
3476        match err {
3477            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3478            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3479                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3480                source: err.into(),
3481            }),
3482        }
3483    }
3484}
3485impl From<crate::operation::describe_app::DescribeAppError> for Error {
3486    fn from(err: crate::operation::describe_app::DescribeAppError) -> Self {
3487        match err {
3488            crate::operation::describe_app::DescribeAppError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3489            crate::operation::describe_app::DescribeAppError::Unhandled(inner) => Error::Unhandled(inner),
3490        }
3491    }
3492}
3493impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_app_image_config::DescribeAppImageConfigError, R>>
3494    for Error
3495where
3496    R: Send + Sync + std::fmt::Debug + 'static,
3497{
3498    fn from(
3499        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_app_image_config::DescribeAppImageConfigError, R>,
3500    ) -> Self {
3501        match err {
3502            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3503            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3504                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3505                source: err.into(),
3506            }),
3507        }
3508    }
3509}
3510impl From<crate::operation::describe_app_image_config::DescribeAppImageConfigError> for Error {
3511    fn from(err: crate::operation::describe_app_image_config::DescribeAppImageConfigError) -> Self {
3512        match err {
3513            crate::operation::describe_app_image_config::DescribeAppImageConfigError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3514            crate::operation::describe_app_image_config::DescribeAppImageConfigError::Unhandled(inner) => Error::Unhandled(inner),
3515        }
3516    }
3517}
3518impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_artifact::DescribeArtifactError, R>> for Error
3519where
3520    R: Send + Sync + std::fmt::Debug + 'static,
3521{
3522    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_artifact::DescribeArtifactError, R>) -> Self {
3523        match err {
3524            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3525            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3526                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3527                source: err.into(),
3528            }),
3529        }
3530    }
3531}
3532impl From<crate::operation::describe_artifact::DescribeArtifactError> for Error {
3533    fn from(err: crate::operation::describe_artifact::DescribeArtifactError) -> Self {
3534        match err {
3535            crate::operation::describe_artifact::DescribeArtifactError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3536            crate::operation::describe_artifact::DescribeArtifactError::Unhandled(inner) => Error::Unhandled(inner),
3537        }
3538    }
3539}
3540impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_auto_ml_job::DescribeAutoMLJobError, R>> for Error
3541where
3542    R: Send + Sync + std::fmt::Debug + 'static,
3543{
3544    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_auto_ml_job::DescribeAutoMLJobError, R>) -> Self {
3545        match err {
3546            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3547            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3548                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3549                source: err.into(),
3550            }),
3551        }
3552    }
3553}
3554impl From<crate::operation::describe_auto_ml_job::DescribeAutoMLJobError> for Error {
3555    fn from(err: crate::operation::describe_auto_ml_job::DescribeAutoMLJobError) -> Self {
3556        match err {
3557            crate::operation::describe_auto_ml_job::DescribeAutoMLJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3558            crate::operation::describe_auto_ml_job::DescribeAutoMLJobError::Unhandled(inner) => Error::Unhandled(inner),
3559        }
3560    }
3561}
3562impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_auto_ml_job_v2::DescribeAutoMLJobV2Error, R>> for Error
3563where
3564    R: Send + Sync + std::fmt::Debug + 'static,
3565{
3566    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_auto_ml_job_v2::DescribeAutoMLJobV2Error, R>) -> Self {
3567        match err {
3568            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3569            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3570                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3571                source: err.into(),
3572            }),
3573        }
3574    }
3575}
3576impl From<crate::operation::describe_auto_ml_job_v2::DescribeAutoMLJobV2Error> for Error {
3577    fn from(err: crate::operation::describe_auto_ml_job_v2::DescribeAutoMLJobV2Error) -> Self {
3578        match err {
3579            crate::operation::describe_auto_ml_job_v2::DescribeAutoMLJobV2Error::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3580            crate::operation::describe_auto_ml_job_v2::DescribeAutoMLJobV2Error::Unhandled(inner) => Error::Unhandled(inner),
3581        }
3582    }
3583}
3584impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_cluster::DescribeClusterError, R>> for Error
3585where
3586    R: Send + Sync + std::fmt::Debug + 'static,
3587{
3588    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_cluster::DescribeClusterError, R>) -> Self {
3589        match err {
3590            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3591            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3592                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3593                source: err.into(),
3594            }),
3595        }
3596    }
3597}
3598impl From<crate::operation::describe_cluster::DescribeClusterError> for Error {
3599    fn from(err: crate::operation::describe_cluster::DescribeClusterError) -> Self {
3600        match err {
3601            crate::operation::describe_cluster::DescribeClusterError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3602            crate::operation::describe_cluster::DescribeClusterError::Unhandled(inner) => Error::Unhandled(inner),
3603        }
3604    }
3605}
3606impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_cluster_event::DescribeClusterEventError, R>> for Error
3607where
3608    R: Send + Sync + std::fmt::Debug + 'static,
3609{
3610    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_cluster_event::DescribeClusterEventError, R>) -> Self {
3611        match err {
3612            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3613            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3614                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3615                source: err.into(),
3616            }),
3617        }
3618    }
3619}
3620impl From<crate::operation::describe_cluster_event::DescribeClusterEventError> for Error {
3621    fn from(err: crate::operation::describe_cluster_event::DescribeClusterEventError) -> Self {
3622        match err {
3623            crate::operation::describe_cluster_event::DescribeClusterEventError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3624            crate::operation::describe_cluster_event::DescribeClusterEventError::Unhandled(inner) => Error::Unhandled(inner),
3625        }
3626    }
3627}
3628impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_cluster_node::DescribeClusterNodeError, R>> for Error
3629where
3630    R: Send + Sync + std::fmt::Debug + 'static,
3631{
3632    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_cluster_node::DescribeClusterNodeError, R>) -> Self {
3633        match err {
3634            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3635            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3636                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3637                source: err.into(),
3638            }),
3639        }
3640    }
3641}
3642impl From<crate::operation::describe_cluster_node::DescribeClusterNodeError> for Error {
3643    fn from(err: crate::operation::describe_cluster_node::DescribeClusterNodeError) -> Self {
3644        match err {
3645            crate::operation::describe_cluster_node::DescribeClusterNodeError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3646            crate::operation::describe_cluster_node::DescribeClusterNodeError::Unhandled(inner) => Error::Unhandled(inner),
3647        }
3648    }
3649}
3650impl<R>
3651    From<
3652        ::aws_smithy_runtime_api::client::result::SdkError<
3653            crate::operation::describe_cluster_scheduler_config::DescribeClusterSchedulerConfigError,
3654            R,
3655        >,
3656    > for Error
3657where
3658    R: Send + Sync + std::fmt::Debug + 'static,
3659{
3660    fn from(
3661        err: ::aws_smithy_runtime_api::client::result::SdkError<
3662            crate::operation::describe_cluster_scheduler_config::DescribeClusterSchedulerConfigError,
3663            R,
3664        >,
3665    ) -> Self {
3666        match err {
3667            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3668            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3669                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3670                source: err.into(),
3671            }),
3672        }
3673    }
3674}
3675impl From<crate::operation::describe_cluster_scheduler_config::DescribeClusterSchedulerConfigError> for Error {
3676    fn from(err: crate::operation::describe_cluster_scheduler_config::DescribeClusterSchedulerConfigError) -> Self {
3677        match err {
3678            crate::operation::describe_cluster_scheduler_config::DescribeClusterSchedulerConfigError::ResourceNotFound(inner) => {
3679                Error::ResourceNotFound(inner)
3680            }
3681            crate::operation::describe_cluster_scheduler_config::DescribeClusterSchedulerConfigError::Unhandled(inner) => Error::Unhandled(inner),
3682        }
3683    }
3684}
3685impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_code_repository::DescribeCodeRepositoryError, R>> for Error
3686where
3687    R: Send + Sync + std::fmt::Debug + 'static,
3688{
3689    fn from(
3690        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_code_repository::DescribeCodeRepositoryError, R>,
3691    ) -> Self {
3692        match err {
3693            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3694            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3695                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3696                source: err.into(),
3697            }),
3698        }
3699    }
3700}
3701impl From<crate::operation::describe_code_repository::DescribeCodeRepositoryError> for Error {
3702    fn from(err: crate::operation::describe_code_repository::DescribeCodeRepositoryError) -> Self {
3703        match err {
3704            crate::operation::describe_code_repository::DescribeCodeRepositoryError::Unhandled(inner) => Error::Unhandled(inner),
3705        }
3706    }
3707}
3708impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_compilation_job::DescribeCompilationJobError, R>> for Error
3709where
3710    R: Send + Sync + std::fmt::Debug + 'static,
3711{
3712    fn from(
3713        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_compilation_job::DescribeCompilationJobError, R>,
3714    ) -> Self {
3715        match err {
3716            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3717            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3718                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3719                source: err.into(),
3720            }),
3721        }
3722    }
3723}
3724impl From<crate::operation::describe_compilation_job::DescribeCompilationJobError> for Error {
3725    fn from(err: crate::operation::describe_compilation_job::DescribeCompilationJobError) -> Self {
3726        match err {
3727            crate::operation::describe_compilation_job::DescribeCompilationJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3728            crate::operation::describe_compilation_job::DescribeCompilationJobError::Unhandled(inner) => Error::Unhandled(inner),
3729        }
3730    }
3731}
3732impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_compute_quota::DescribeComputeQuotaError, R>> for Error
3733where
3734    R: Send + Sync + std::fmt::Debug + 'static,
3735{
3736    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_compute_quota::DescribeComputeQuotaError, R>) -> Self {
3737        match err {
3738            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3739            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3740                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3741                source: err.into(),
3742            }),
3743        }
3744    }
3745}
3746impl From<crate::operation::describe_compute_quota::DescribeComputeQuotaError> for Error {
3747    fn from(err: crate::operation::describe_compute_quota::DescribeComputeQuotaError) -> Self {
3748        match err {
3749            crate::operation::describe_compute_quota::DescribeComputeQuotaError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3750            crate::operation::describe_compute_quota::DescribeComputeQuotaError::Unhandled(inner) => Error::Unhandled(inner),
3751        }
3752    }
3753}
3754impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_context::DescribeContextError, R>> for Error
3755where
3756    R: Send + Sync + std::fmt::Debug + 'static,
3757{
3758    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_context::DescribeContextError, R>) -> Self {
3759        match err {
3760            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3761            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3762                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3763                source: err.into(),
3764            }),
3765        }
3766    }
3767}
3768impl From<crate::operation::describe_context::DescribeContextError> for Error {
3769    fn from(err: crate::operation::describe_context::DescribeContextError) -> Self {
3770        match err {
3771            crate::operation::describe_context::DescribeContextError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3772            crate::operation::describe_context::DescribeContextError::Unhandled(inner) => Error::Unhandled(inner),
3773        }
3774    }
3775}
3776impl<R>
3777    From<
3778        ::aws_smithy_runtime_api::client::result::SdkError<
3779            crate::operation::describe_data_quality_job_definition::DescribeDataQualityJobDefinitionError,
3780            R,
3781        >,
3782    > for Error
3783where
3784    R: Send + Sync + std::fmt::Debug + 'static,
3785{
3786    fn from(
3787        err: ::aws_smithy_runtime_api::client::result::SdkError<
3788            crate::operation::describe_data_quality_job_definition::DescribeDataQualityJobDefinitionError,
3789            R,
3790        >,
3791    ) -> Self {
3792        match err {
3793            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3794            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3795                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3796                source: err.into(),
3797            }),
3798        }
3799    }
3800}
3801impl From<crate::operation::describe_data_quality_job_definition::DescribeDataQualityJobDefinitionError> for Error {
3802    fn from(err: crate::operation::describe_data_quality_job_definition::DescribeDataQualityJobDefinitionError) -> Self {
3803        match err {
3804            crate::operation::describe_data_quality_job_definition::DescribeDataQualityJobDefinitionError::ResourceNotFound(inner) => {
3805                Error::ResourceNotFound(inner)
3806            }
3807            crate::operation::describe_data_quality_job_definition::DescribeDataQualityJobDefinitionError::Unhandled(inner) => {
3808                Error::Unhandled(inner)
3809            }
3810        }
3811    }
3812}
3813impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_device::DescribeDeviceError, R>> for Error
3814where
3815    R: Send + Sync + std::fmt::Debug + 'static,
3816{
3817    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_device::DescribeDeviceError, R>) -> 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_device::DescribeDeviceError> for Error {
3828    fn from(err: crate::operation::describe_device::DescribeDeviceError) -> Self {
3829        match err {
3830            crate::operation::describe_device::DescribeDeviceError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3831            crate::operation::describe_device::DescribeDeviceError::Unhandled(inner) => Error::Unhandled(inner),
3832        }
3833    }
3834}
3835impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_device_fleet::DescribeDeviceFleetError, 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_device_fleet::DescribeDeviceFleetError, 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_device_fleet::DescribeDeviceFleetError> for Error {
3850    fn from(err: crate::operation::describe_device_fleet::DescribeDeviceFleetError) -> Self {
3851        match err {
3852            crate::operation::describe_device_fleet::DescribeDeviceFleetError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3853            crate::operation::describe_device_fleet::DescribeDeviceFleetError::Unhandled(inner) => Error::Unhandled(inner),
3854        }
3855    }
3856}
3857impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_domain::DescribeDomainError, R>> for Error
3858where
3859    R: Send + Sync + std::fmt::Debug + 'static,
3860{
3861    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_domain::DescribeDomainError, R>) -> Self {
3862        match err {
3863            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3864            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3865                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3866                source: err.into(),
3867            }),
3868        }
3869    }
3870}
3871impl From<crate::operation::describe_domain::DescribeDomainError> for Error {
3872    fn from(err: crate::operation::describe_domain::DescribeDomainError) -> Self {
3873        match err {
3874            crate::operation::describe_domain::DescribeDomainError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3875            crate::operation::describe_domain::DescribeDomainError::Unhandled(inner) => Error::Unhandled(inner),
3876        }
3877    }
3878}
3879impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_edge_deployment_plan::DescribeEdgeDeploymentPlanError, R>>
3880    for Error
3881where
3882    R: Send + Sync + std::fmt::Debug + 'static,
3883{
3884    fn from(
3885        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_edge_deployment_plan::DescribeEdgeDeploymentPlanError, R>,
3886    ) -> Self {
3887        match err {
3888            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3889            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3890                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3891                source: err.into(),
3892            }),
3893        }
3894    }
3895}
3896impl From<crate::operation::describe_edge_deployment_plan::DescribeEdgeDeploymentPlanError> for Error {
3897    fn from(err: crate::operation::describe_edge_deployment_plan::DescribeEdgeDeploymentPlanError) -> Self {
3898        match err {
3899            crate::operation::describe_edge_deployment_plan::DescribeEdgeDeploymentPlanError::ResourceNotFound(inner) => {
3900                Error::ResourceNotFound(inner)
3901            }
3902            crate::operation::describe_edge_deployment_plan::DescribeEdgeDeploymentPlanError::Unhandled(inner) => Error::Unhandled(inner),
3903        }
3904    }
3905}
3906impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_edge_packaging_job::DescribeEdgePackagingJobError, R>>
3907    for Error
3908where
3909    R: Send + Sync + std::fmt::Debug + 'static,
3910{
3911    fn from(
3912        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_edge_packaging_job::DescribeEdgePackagingJobError, R>,
3913    ) -> Self {
3914        match err {
3915            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3916            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3917                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3918                source: err.into(),
3919            }),
3920        }
3921    }
3922}
3923impl From<crate::operation::describe_edge_packaging_job::DescribeEdgePackagingJobError> for Error {
3924    fn from(err: crate::operation::describe_edge_packaging_job::DescribeEdgePackagingJobError) -> Self {
3925        match err {
3926            crate::operation::describe_edge_packaging_job::DescribeEdgePackagingJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3927            crate::operation::describe_edge_packaging_job::DescribeEdgePackagingJobError::Unhandled(inner) => Error::Unhandled(inner),
3928        }
3929    }
3930}
3931impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_endpoint::DescribeEndpointError, R>> for Error
3932where
3933    R: Send + Sync + std::fmt::Debug + 'static,
3934{
3935    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_endpoint::DescribeEndpointError, R>) -> Self {
3936        match err {
3937            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3938            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3939                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3940                source: err.into(),
3941            }),
3942        }
3943    }
3944}
3945impl From<crate::operation::describe_endpoint::DescribeEndpointError> for Error {
3946    fn from(err: crate::operation::describe_endpoint::DescribeEndpointError) -> Self {
3947        match err {
3948            crate::operation::describe_endpoint::DescribeEndpointError::Unhandled(inner) => Error::Unhandled(inner),
3949        }
3950    }
3951}
3952impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_endpoint_config::DescribeEndpointConfigError, R>> for Error
3953where
3954    R: Send + Sync + std::fmt::Debug + 'static,
3955{
3956    fn from(
3957        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_endpoint_config::DescribeEndpointConfigError, R>,
3958    ) -> Self {
3959        match err {
3960            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3961            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3962                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3963                source: err.into(),
3964            }),
3965        }
3966    }
3967}
3968impl From<crate::operation::describe_endpoint_config::DescribeEndpointConfigError> for Error {
3969    fn from(err: crate::operation::describe_endpoint_config::DescribeEndpointConfigError) -> Self {
3970        match err {
3971            crate::operation::describe_endpoint_config::DescribeEndpointConfigError::Unhandled(inner) => Error::Unhandled(inner),
3972        }
3973    }
3974}
3975impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_experiment::DescribeExperimentError, R>> for Error
3976where
3977    R: Send + Sync + std::fmt::Debug + 'static,
3978{
3979    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_experiment::DescribeExperimentError, R>) -> Self {
3980        match err {
3981            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3982            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3983                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3984                source: err.into(),
3985            }),
3986        }
3987    }
3988}
3989impl From<crate::operation::describe_experiment::DescribeExperimentError> for Error {
3990    fn from(err: crate::operation::describe_experiment::DescribeExperimentError) -> Self {
3991        match err {
3992            crate::operation::describe_experiment::DescribeExperimentError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3993            crate::operation::describe_experiment::DescribeExperimentError::Unhandled(inner) => Error::Unhandled(inner),
3994        }
3995    }
3996}
3997impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_feature_group::DescribeFeatureGroupError, R>> for Error
3998where
3999    R: Send + Sync + std::fmt::Debug + 'static,
4000{
4001    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_feature_group::DescribeFeatureGroupError, R>) -> Self {
4002        match err {
4003            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4004            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4005                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4006                source: err.into(),
4007            }),
4008        }
4009    }
4010}
4011impl From<crate::operation::describe_feature_group::DescribeFeatureGroupError> for Error {
4012    fn from(err: crate::operation::describe_feature_group::DescribeFeatureGroupError) -> Self {
4013        match err {
4014            crate::operation::describe_feature_group::DescribeFeatureGroupError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
4015            crate::operation::describe_feature_group::DescribeFeatureGroupError::Unhandled(inner) => Error::Unhandled(inner),
4016        }
4017    }
4018}
4019impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_feature_metadata::DescribeFeatureMetadataError, R>>
4020    for Error
4021where
4022    R: Send + Sync + std::fmt::Debug + 'static,
4023{
4024    fn from(
4025        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_feature_metadata::DescribeFeatureMetadataError, R>,
4026    ) -> Self {
4027        match err {
4028            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4029            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4030                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4031                source: err.into(),
4032            }),
4033        }
4034    }
4035}
4036impl From<crate::operation::describe_feature_metadata::DescribeFeatureMetadataError> for Error {
4037    fn from(err: crate::operation::describe_feature_metadata::DescribeFeatureMetadataError) -> Self {
4038        match err {
4039            crate::operation::describe_feature_metadata::DescribeFeatureMetadataError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
4040            crate::operation::describe_feature_metadata::DescribeFeatureMetadataError::Unhandled(inner) => Error::Unhandled(inner),
4041        }
4042    }
4043}
4044impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_flow_definition::DescribeFlowDefinitionError, R>> for Error
4045where
4046    R: Send + Sync + std::fmt::Debug + 'static,
4047{
4048    fn from(
4049        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_flow_definition::DescribeFlowDefinitionError, R>,
4050    ) -> Self {
4051        match err {
4052            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4053            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4054                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4055                source: err.into(),
4056            }),
4057        }
4058    }
4059}
4060impl From<crate::operation::describe_flow_definition::DescribeFlowDefinitionError> for Error {
4061    fn from(err: crate::operation::describe_flow_definition::DescribeFlowDefinitionError) -> Self {
4062        match err {
4063            crate::operation::describe_flow_definition::DescribeFlowDefinitionError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
4064            crate::operation::describe_flow_definition::DescribeFlowDefinitionError::Unhandled(inner) => Error::Unhandled(inner),
4065        }
4066    }
4067}
4068impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_hub::DescribeHubError, R>> for Error
4069where
4070    R: Send + Sync + std::fmt::Debug + 'static,
4071{
4072    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_hub::DescribeHubError, R>) -> Self {
4073        match err {
4074            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4075            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4076                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4077                source: err.into(),
4078            }),
4079        }
4080    }
4081}
4082impl From<crate::operation::describe_hub::DescribeHubError> for Error {
4083    fn from(err: crate::operation::describe_hub::DescribeHubError) -> Self {
4084        match err {
4085            crate::operation::describe_hub::DescribeHubError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
4086            crate::operation::describe_hub::DescribeHubError::Unhandled(inner) => Error::Unhandled(inner),
4087        }
4088    }
4089}
4090impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_hub_content::DescribeHubContentError, R>> for Error
4091where
4092    R: Send + Sync + std::fmt::Debug + 'static,
4093{
4094    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_hub_content::DescribeHubContentError, R>) -> Self {
4095        match err {
4096            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4097            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4098                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4099                source: err.into(),
4100            }),
4101        }
4102    }
4103}
4104impl From<crate::operation::describe_hub_content::DescribeHubContentError> for Error {
4105    fn from(err: crate::operation::describe_hub_content::DescribeHubContentError) -> Self {
4106        match err {
4107            crate::operation::describe_hub_content::DescribeHubContentError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
4108            crate::operation::describe_hub_content::DescribeHubContentError::Unhandled(inner) => Error::Unhandled(inner),
4109        }
4110    }
4111}
4112impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_human_task_ui::DescribeHumanTaskUiError, R>> for Error
4113where
4114    R: Send + Sync + std::fmt::Debug + 'static,
4115{
4116    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_human_task_ui::DescribeHumanTaskUiError, R>) -> Self {
4117        match err {
4118            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4119            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4120                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4121                source: err.into(),
4122            }),
4123        }
4124    }
4125}
4126impl From<crate::operation::describe_human_task_ui::DescribeHumanTaskUiError> for Error {
4127    fn from(err: crate::operation::describe_human_task_ui::DescribeHumanTaskUiError) -> Self {
4128        match err {
4129            crate::operation::describe_human_task_ui::DescribeHumanTaskUiError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
4130            crate::operation::describe_human_task_ui::DescribeHumanTaskUiError::Unhandled(inner) => Error::Unhandled(inner),
4131        }
4132    }
4133}
4134impl<R>
4135    From<
4136        ::aws_smithy_runtime_api::client::result::SdkError<
4137            crate::operation::describe_hyper_parameter_tuning_job::DescribeHyperParameterTuningJobError,
4138            R,
4139        >,
4140    > for Error
4141where
4142    R: Send + Sync + std::fmt::Debug + 'static,
4143{
4144    fn from(
4145        err: ::aws_smithy_runtime_api::client::result::SdkError<
4146            crate::operation::describe_hyper_parameter_tuning_job::DescribeHyperParameterTuningJobError,
4147            R,
4148        >,
4149    ) -> Self {
4150        match err {
4151            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4152            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4153                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4154                source: err.into(),
4155            }),
4156        }
4157    }
4158}
4159impl From<crate::operation::describe_hyper_parameter_tuning_job::DescribeHyperParameterTuningJobError> for Error {
4160    fn from(err: crate::operation::describe_hyper_parameter_tuning_job::DescribeHyperParameterTuningJobError) -> Self {
4161        match err {
4162            crate::operation::describe_hyper_parameter_tuning_job::DescribeHyperParameterTuningJobError::ResourceNotFound(inner) => {
4163                Error::ResourceNotFound(inner)
4164            }
4165            crate::operation::describe_hyper_parameter_tuning_job::DescribeHyperParameterTuningJobError::Unhandled(inner) => Error::Unhandled(inner),
4166        }
4167    }
4168}
4169impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_image::DescribeImageError, R>> for Error
4170where
4171    R: Send + Sync + std::fmt::Debug + 'static,
4172{
4173    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_image::DescribeImageError, R>) -> Self {
4174        match err {
4175            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4176            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4177                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4178                source: err.into(),
4179            }),
4180        }
4181    }
4182}
4183impl From<crate::operation::describe_image::DescribeImageError> for Error {
4184    fn from(err: crate::operation::describe_image::DescribeImageError) -> Self {
4185        match err {
4186            crate::operation::describe_image::DescribeImageError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
4187            crate::operation::describe_image::DescribeImageError::Unhandled(inner) => Error::Unhandled(inner),
4188        }
4189    }
4190}
4191impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_image_version::DescribeImageVersionError, R>> for Error
4192where
4193    R: Send + Sync + std::fmt::Debug + 'static,
4194{
4195    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_image_version::DescribeImageVersionError, R>) -> Self {
4196        match err {
4197            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4198            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4199                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4200                source: err.into(),
4201            }),
4202        }
4203    }
4204}
4205impl From<crate::operation::describe_image_version::DescribeImageVersionError> for Error {
4206    fn from(err: crate::operation::describe_image_version::DescribeImageVersionError) -> Self {
4207        match err {
4208            crate::operation::describe_image_version::DescribeImageVersionError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
4209            crate::operation::describe_image_version::DescribeImageVersionError::Unhandled(inner) => Error::Unhandled(inner),
4210        }
4211    }
4212}
4213impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_inference_component::DescribeInferenceComponentError, R>>
4214    for Error
4215where
4216    R: Send + Sync + std::fmt::Debug + 'static,
4217{
4218    fn from(
4219        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_inference_component::DescribeInferenceComponentError, R>,
4220    ) -> Self {
4221        match err {
4222            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4223            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4224                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4225                source: err.into(),
4226            }),
4227        }
4228    }
4229}
4230impl From<crate::operation::describe_inference_component::DescribeInferenceComponentError> for Error {
4231    fn from(err: crate::operation::describe_inference_component::DescribeInferenceComponentError) -> Self {
4232        match err {
4233            crate::operation::describe_inference_component::DescribeInferenceComponentError::Unhandled(inner) => Error::Unhandled(inner),
4234        }
4235    }
4236}
4237impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_inference_experiment::DescribeInferenceExperimentError, R>>
4238    for Error
4239where
4240    R: Send + Sync + std::fmt::Debug + 'static,
4241{
4242    fn from(
4243        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_inference_experiment::DescribeInferenceExperimentError, R>,
4244    ) -> Self {
4245        match err {
4246            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4247            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4248                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4249                source: err.into(),
4250            }),
4251        }
4252    }
4253}
4254impl From<crate::operation::describe_inference_experiment::DescribeInferenceExperimentError> for Error {
4255    fn from(err: crate::operation::describe_inference_experiment::DescribeInferenceExperimentError) -> Self {
4256        match err {
4257            crate::operation::describe_inference_experiment::DescribeInferenceExperimentError::ResourceNotFound(inner) => {
4258                Error::ResourceNotFound(inner)
4259            }
4260            crate::operation::describe_inference_experiment::DescribeInferenceExperimentError::Unhandled(inner) => Error::Unhandled(inner),
4261        }
4262    }
4263}
4264impl<R>
4265    From<
4266        ::aws_smithy_runtime_api::client::result::SdkError<
4267            crate::operation::describe_inference_recommendations_job::DescribeInferenceRecommendationsJobError,
4268            R,
4269        >,
4270    > for Error
4271where
4272    R: Send + Sync + std::fmt::Debug + 'static,
4273{
4274    fn from(
4275        err: ::aws_smithy_runtime_api::client::result::SdkError<
4276            crate::operation::describe_inference_recommendations_job::DescribeInferenceRecommendationsJobError,
4277            R,
4278        >,
4279    ) -> Self {
4280        match err {
4281            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4282            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4283                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4284                source: err.into(),
4285            }),
4286        }
4287    }
4288}
4289impl From<crate::operation::describe_inference_recommendations_job::DescribeInferenceRecommendationsJobError> for Error {
4290    fn from(err: crate::operation::describe_inference_recommendations_job::DescribeInferenceRecommendationsJobError) -> Self {
4291        match err {
4292            crate::operation::describe_inference_recommendations_job::DescribeInferenceRecommendationsJobError::ResourceNotFound(inner) => {
4293                Error::ResourceNotFound(inner)
4294            }
4295            crate::operation::describe_inference_recommendations_job::DescribeInferenceRecommendationsJobError::Unhandled(inner) => {
4296                Error::Unhandled(inner)
4297            }
4298        }
4299    }
4300}
4301impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_labeling_job::DescribeLabelingJobError, R>> for Error
4302where
4303    R: Send + Sync + std::fmt::Debug + 'static,
4304{
4305    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_labeling_job::DescribeLabelingJobError, R>) -> Self {
4306        match err {
4307            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4308            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4309                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4310                source: err.into(),
4311            }),
4312        }
4313    }
4314}
4315impl From<crate::operation::describe_labeling_job::DescribeLabelingJobError> for Error {
4316    fn from(err: crate::operation::describe_labeling_job::DescribeLabelingJobError) -> Self {
4317        match err {
4318            crate::operation::describe_labeling_job::DescribeLabelingJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
4319            crate::operation::describe_labeling_job::DescribeLabelingJobError::Unhandled(inner) => Error::Unhandled(inner),
4320        }
4321    }
4322}
4323impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_lineage_group::DescribeLineageGroupError, R>> for Error
4324where
4325    R: Send + Sync + std::fmt::Debug + 'static,
4326{
4327    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_lineage_group::DescribeLineageGroupError, R>) -> Self {
4328        match err {
4329            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4330            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4331                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4332                source: err.into(),
4333            }),
4334        }
4335    }
4336}
4337impl From<crate::operation::describe_lineage_group::DescribeLineageGroupError> for Error {
4338    fn from(err: crate::operation::describe_lineage_group::DescribeLineageGroupError) -> Self {
4339        match err {
4340            crate::operation::describe_lineage_group::DescribeLineageGroupError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
4341            crate::operation::describe_lineage_group::DescribeLineageGroupError::Unhandled(inner) => Error::Unhandled(inner),
4342        }
4343    }
4344}
4345impl<R>
4346    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_mlflow_tracking_server::DescribeMlflowTrackingServerError, R>>
4347    for Error
4348where
4349    R: Send + Sync + std::fmt::Debug + 'static,
4350{
4351    fn from(
4352        err: ::aws_smithy_runtime_api::client::result::SdkError<
4353            crate::operation::describe_mlflow_tracking_server::DescribeMlflowTrackingServerError,
4354            R,
4355        >,
4356    ) -> Self {
4357        match err {
4358            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4359            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4360                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4361                source: err.into(),
4362            }),
4363        }
4364    }
4365}
4366impl From<crate::operation::describe_mlflow_tracking_server::DescribeMlflowTrackingServerError> for Error {
4367    fn from(err: crate::operation::describe_mlflow_tracking_server::DescribeMlflowTrackingServerError) -> Self {
4368        match err {
4369            crate::operation::describe_mlflow_tracking_server::DescribeMlflowTrackingServerError::ResourceNotFound(inner) => {
4370                Error::ResourceNotFound(inner)
4371            }
4372            crate::operation::describe_mlflow_tracking_server::DescribeMlflowTrackingServerError::Unhandled(inner) => Error::Unhandled(inner),
4373        }
4374    }
4375}
4376impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_model::DescribeModelError, R>> for Error
4377where
4378    R: Send + Sync + std::fmt::Debug + 'static,
4379{
4380    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_model::DescribeModelError, R>) -> Self {
4381        match err {
4382            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4383            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4384                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4385                source: err.into(),
4386            }),
4387        }
4388    }
4389}
4390impl From<crate::operation::describe_model::DescribeModelError> for Error {
4391    fn from(err: crate::operation::describe_model::DescribeModelError) -> Self {
4392        match err {
4393            crate::operation::describe_model::DescribeModelError::Unhandled(inner) => Error::Unhandled(inner),
4394        }
4395    }
4396}
4397impl<R>
4398    From<
4399        ::aws_smithy_runtime_api::client::result::SdkError<
4400            crate::operation::describe_model_bias_job_definition::DescribeModelBiasJobDefinitionError,
4401            R,
4402        >,
4403    > for Error
4404where
4405    R: Send + Sync + std::fmt::Debug + 'static,
4406{
4407    fn from(
4408        err: ::aws_smithy_runtime_api::client::result::SdkError<
4409            crate::operation::describe_model_bias_job_definition::DescribeModelBiasJobDefinitionError,
4410            R,
4411        >,
4412    ) -> Self {
4413        match err {
4414            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4415            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4416                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4417                source: err.into(),
4418            }),
4419        }
4420    }
4421}
4422impl From<crate::operation::describe_model_bias_job_definition::DescribeModelBiasJobDefinitionError> for Error {
4423    fn from(err: crate::operation::describe_model_bias_job_definition::DescribeModelBiasJobDefinitionError) -> Self {
4424        match err {
4425            crate::operation::describe_model_bias_job_definition::DescribeModelBiasJobDefinitionError::ResourceNotFound(inner) => {
4426                Error::ResourceNotFound(inner)
4427            }
4428            crate::operation::describe_model_bias_job_definition::DescribeModelBiasJobDefinitionError::Unhandled(inner) => Error::Unhandled(inner),
4429        }
4430    }
4431}
4432impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_model_card::DescribeModelCardError, R>> for Error
4433where
4434    R: Send + Sync + std::fmt::Debug + 'static,
4435{
4436    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_model_card::DescribeModelCardError, R>) -> Self {
4437        match err {
4438            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4439            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4440                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4441                source: err.into(),
4442            }),
4443        }
4444    }
4445}
4446impl From<crate::operation::describe_model_card::DescribeModelCardError> for Error {
4447    fn from(err: crate::operation::describe_model_card::DescribeModelCardError) -> Self {
4448        match err {
4449            crate::operation::describe_model_card::DescribeModelCardError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
4450            crate::operation::describe_model_card::DescribeModelCardError::Unhandled(inner) => Error::Unhandled(inner),
4451        }
4452    }
4453}
4454impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_model_card_export_job::DescribeModelCardExportJobError, R>>
4455    for Error
4456where
4457    R: Send + Sync + std::fmt::Debug + 'static,
4458{
4459    fn from(
4460        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_model_card_export_job::DescribeModelCardExportJobError, R>,
4461    ) -> Self {
4462        match err {
4463            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4464            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4465                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4466                source: err.into(),
4467            }),
4468        }
4469    }
4470}
4471impl From<crate::operation::describe_model_card_export_job::DescribeModelCardExportJobError> for Error {
4472    fn from(err: crate::operation::describe_model_card_export_job::DescribeModelCardExportJobError) -> Self {
4473        match err {
4474            crate::operation::describe_model_card_export_job::DescribeModelCardExportJobError::ResourceNotFound(inner) => {
4475                Error::ResourceNotFound(inner)
4476            }
4477            crate::operation::describe_model_card_export_job::DescribeModelCardExportJobError::Unhandled(inner) => Error::Unhandled(inner),
4478        }
4479    }
4480}
4481impl<R>
4482    From<
4483        ::aws_smithy_runtime_api::client::result::SdkError<
4484            crate::operation::describe_model_explainability_job_definition::DescribeModelExplainabilityJobDefinitionError,
4485            R,
4486        >,
4487    > for Error
4488where
4489    R: Send + Sync + std::fmt::Debug + 'static,
4490{
4491    fn from(
4492        err: ::aws_smithy_runtime_api::client::result::SdkError<
4493            crate::operation::describe_model_explainability_job_definition::DescribeModelExplainabilityJobDefinitionError,
4494            R,
4495        >,
4496    ) -> Self {
4497        match err {
4498            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4499            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4500                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4501                source: err.into(),
4502            }),
4503        }
4504    }
4505}
4506impl From<crate::operation::describe_model_explainability_job_definition::DescribeModelExplainabilityJobDefinitionError> for Error {
4507    fn from(err: crate::operation::describe_model_explainability_job_definition::DescribeModelExplainabilityJobDefinitionError) -> Self {
4508        match err {
4509            crate::operation::describe_model_explainability_job_definition::DescribeModelExplainabilityJobDefinitionError::ResourceNotFound(
4510                inner,
4511            ) => Error::ResourceNotFound(inner),
4512            crate::operation::describe_model_explainability_job_definition::DescribeModelExplainabilityJobDefinitionError::Unhandled(inner) => {
4513                Error::Unhandled(inner)
4514            }
4515        }
4516    }
4517}
4518impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_model_package::DescribeModelPackageError, R>> for Error
4519where
4520    R: Send + Sync + std::fmt::Debug + 'static,
4521{
4522    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_model_package::DescribeModelPackageError, R>) -> Self {
4523        match err {
4524            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4525            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4526                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4527                source: err.into(),
4528            }),
4529        }
4530    }
4531}
4532impl From<crate::operation::describe_model_package::DescribeModelPackageError> for Error {
4533    fn from(err: crate::operation::describe_model_package::DescribeModelPackageError) -> Self {
4534        match err {
4535            crate::operation::describe_model_package::DescribeModelPackageError::Unhandled(inner) => Error::Unhandled(inner),
4536        }
4537    }
4538}
4539impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_model_package_group::DescribeModelPackageGroupError, R>>
4540    for Error
4541where
4542    R: Send + Sync + std::fmt::Debug + 'static,
4543{
4544    fn from(
4545        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_model_package_group::DescribeModelPackageGroupError, R>,
4546    ) -> Self {
4547        match err {
4548            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4549            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4550                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4551                source: err.into(),
4552            }),
4553        }
4554    }
4555}
4556impl From<crate::operation::describe_model_package_group::DescribeModelPackageGroupError> for Error {
4557    fn from(err: crate::operation::describe_model_package_group::DescribeModelPackageGroupError) -> Self {
4558        match err {
4559            crate::operation::describe_model_package_group::DescribeModelPackageGroupError::Unhandled(inner) => Error::Unhandled(inner),
4560        }
4561    }
4562}
4563impl<R>
4564    From<
4565        ::aws_smithy_runtime_api::client::result::SdkError<
4566            crate::operation::describe_model_quality_job_definition::DescribeModelQualityJobDefinitionError,
4567            R,
4568        >,
4569    > for Error
4570where
4571    R: Send + Sync + std::fmt::Debug + 'static,
4572{
4573    fn from(
4574        err: ::aws_smithy_runtime_api::client::result::SdkError<
4575            crate::operation::describe_model_quality_job_definition::DescribeModelQualityJobDefinitionError,
4576            R,
4577        >,
4578    ) -> Self {
4579        match err {
4580            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4581            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4582                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4583                source: err.into(),
4584            }),
4585        }
4586    }
4587}
4588impl From<crate::operation::describe_model_quality_job_definition::DescribeModelQualityJobDefinitionError> for Error {
4589    fn from(err: crate::operation::describe_model_quality_job_definition::DescribeModelQualityJobDefinitionError) -> Self {
4590        match err {
4591            crate::operation::describe_model_quality_job_definition::DescribeModelQualityJobDefinitionError::ResourceNotFound(inner) => {
4592                Error::ResourceNotFound(inner)
4593            }
4594            crate::operation::describe_model_quality_job_definition::DescribeModelQualityJobDefinitionError::Unhandled(inner) => {
4595                Error::Unhandled(inner)
4596            }
4597        }
4598    }
4599}
4600impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_monitoring_schedule::DescribeMonitoringScheduleError, R>>
4601    for Error
4602where
4603    R: Send + Sync + std::fmt::Debug + 'static,
4604{
4605    fn from(
4606        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_monitoring_schedule::DescribeMonitoringScheduleError, R>,
4607    ) -> Self {
4608        match err {
4609            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4610            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4611                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4612                source: err.into(),
4613            }),
4614        }
4615    }
4616}
4617impl From<crate::operation::describe_monitoring_schedule::DescribeMonitoringScheduleError> for Error {
4618    fn from(err: crate::operation::describe_monitoring_schedule::DescribeMonitoringScheduleError) -> Self {
4619        match err {
4620            crate::operation::describe_monitoring_schedule::DescribeMonitoringScheduleError::ResourceNotFound(inner) => {
4621                Error::ResourceNotFound(inner)
4622            }
4623            crate::operation::describe_monitoring_schedule::DescribeMonitoringScheduleError::Unhandled(inner) => Error::Unhandled(inner),
4624        }
4625    }
4626}
4627impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_notebook_instance::DescribeNotebookInstanceError, R>>
4628    for Error
4629where
4630    R: Send + Sync + std::fmt::Debug + 'static,
4631{
4632    fn from(
4633        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_notebook_instance::DescribeNotebookInstanceError, R>,
4634    ) -> Self {
4635        match err {
4636            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4637            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4638                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4639                source: err.into(),
4640            }),
4641        }
4642    }
4643}
4644impl From<crate::operation::describe_notebook_instance::DescribeNotebookInstanceError> for Error {
4645    fn from(err: crate::operation::describe_notebook_instance::DescribeNotebookInstanceError) -> Self {
4646        match err {
4647            crate::operation::describe_notebook_instance::DescribeNotebookInstanceError::Unhandled(inner) => Error::Unhandled(inner),
4648        }
4649    }
4650}
4651impl<R>
4652    From<
4653        ::aws_smithy_runtime_api::client::result::SdkError<
4654            crate::operation::describe_notebook_instance_lifecycle_config::DescribeNotebookInstanceLifecycleConfigError,
4655            R,
4656        >,
4657    > for Error
4658where
4659    R: Send + Sync + std::fmt::Debug + 'static,
4660{
4661    fn from(
4662        err: ::aws_smithy_runtime_api::client::result::SdkError<
4663            crate::operation::describe_notebook_instance_lifecycle_config::DescribeNotebookInstanceLifecycleConfigError,
4664            R,
4665        >,
4666    ) -> Self {
4667        match err {
4668            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4669            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4670                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4671                source: err.into(),
4672            }),
4673        }
4674    }
4675}
4676impl From<crate::operation::describe_notebook_instance_lifecycle_config::DescribeNotebookInstanceLifecycleConfigError> for Error {
4677    fn from(err: crate::operation::describe_notebook_instance_lifecycle_config::DescribeNotebookInstanceLifecycleConfigError) -> Self {
4678        match err {
4679            crate::operation::describe_notebook_instance_lifecycle_config::DescribeNotebookInstanceLifecycleConfigError::Unhandled(inner) => {
4680                Error::Unhandled(inner)
4681            }
4682        }
4683    }
4684}
4685impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_optimization_job::DescribeOptimizationJobError, R>>
4686    for Error
4687where
4688    R: Send + Sync + std::fmt::Debug + 'static,
4689{
4690    fn from(
4691        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_optimization_job::DescribeOptimizationJobError, R>,
4692    ) -> Self {
4693        match err {
4694            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4695            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4696                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4697                source: err.into(),
4698            }),
4699        }
4700    }
4701}
4702impl From<crate::operation::describe_optimization_job::DescribeOptimizationJobError> for Error {
4703    fn from(err: crate::operation::describe_optimization_job::DescribeOptimizationJobError) -> Self {
4704        match err {
4705            crate::operation::describe_optimization_job::DescribeOptimizationJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
4706            crate::operation::describe_optimization_job::DescribeOptimizationJobError::Unhandled(inner) => Error::Unhandled(inner),
4707        }
4708    }
4709}
4710impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_partner_app::DescribePartnerAppError, R>> for Error
4711where
4712    R: Send + Sync + std::fmt::Debug + 'static,
4713{
4714    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_partner_app::DescribePartnerAppError, R>) -> Self {
4715        match err {
4716            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4717            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4718                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4719                source: err.into(),
4720            }),
4721        }
4722    }
4723}
4724impl From<crate::operation::describe_partner_app::DescribePartnerAppError> for Error {
4725    fn from(err: crate::operation::describe_partner_app::DescribePartnerAppError) -> Self {
4726        match err {
4727            crate::operation::describe_partner_app::DescribePartnerAppError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
4728            crate::operation::describe_partner_app::DescribePartnerAppError::Unhandled(inner) => Error::Unhandled(inner),
4729        }
4730    }
4731}
4732impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_pipeline::DescribePipelineError, R>> for Error
4733where
4734    R: Send + Sync + std::fmt::Debug + 'static,
4735{
4736    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_pipeline::DescribePipelineError, R>) -> Self {
4737        match err {
4738            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4739            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4740                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4741                source: err.into(),
4742            }),
4743        }
4744    }
4745}
4746impl From<crate::operation::describe_pipeline::DescribePipelineError> for Error {
4747    fn from(err: crate::operation::describe_pipeline::DescribePipelineError) -> Self {
4748        match err {
4749            crate::operation::describe_pipeline::DescribePipelineError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
4750            crate::operation::describe_pipeline::DescribePipelineError::Unhandled(inner) => Error::Unhandled(inner),
4751        }
4752    }
4753}
4754impl<R>
4755    From<
4756        ::aws_smithy_runtime_api::client::result::SdkError<
4757            crate::operation::describe_pipeline_definition_for_execution::DescribePipelineDefinitionForExecutionError,
4758            R,
4759        >,
4760    > for Error
4761where
4762    R: Send + Sync + std::fmt::Debug + 'static,
4763{
4764    fn from(
4765        err: ::aws_smithy_runtime_api::client::result::SdkError<
4766            crate::operation::describe_pipeline_definition_for_execution::DescribePipelineDefinitionForExecutionError,
4767            R,
4768        >,
4769    ) -> Self {
4770        match err {
4771            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4772            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4773                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4774                source: err.into(),
4775            }),
4776        }
4777    }
4778}
4779impl From<crate::operation::describe_pipeline_definition_for_execution::DescribePipelineDefinitionForExecutionError> for Error {
4780    fn from(err: crate::operation::describe_pipeline_definition_for_execution::DescribePipelineDefinitionForExecutionError) -> Self {
4781        match err {
4782            crate::operation::describe_pipeline_definition_for_execution::DescribePipelineDefinitionForExecutionError::ResourceNotFound(inner) => {
4783                Error::ResourceNotFound(inner)
4784            }
4785            crate::operation::describe_pipeline_definition_for_execution::DescribePipelineDefinitionForExecutionError::Unhandled(inner) => {
4786                Error::Unhandled(inner)
4787            }
4788        }
4789    }
4790}
4791impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_pipeline_execution::DescribePipelineExecutionError, R>>
4792    for Error
4793where
4794    R: Send + Sync + std::fmt::Debug + 'static,
4795{
4796    fn from(
4797        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_pipeline_execution::DescribePipelineExecutionError, R>,
4798    ) -> Self {
4799        match err {
4800            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4801            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4802                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4803                source: err.into(),
4804            }),
4805        }
4806    }
4807}
4808impl From<crate::operation::describe_pipeline_execution::DescribePipelineExecutionError> for Error {
4809    fn from(err: crate::operation::describe_pipeline_execution::DescribePipelineExecutionError) -> Self {
4810        match err {
4811            crate::operation::describe_pipeline_execution::DescribePipelineExecutionError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
4812            crate::operation::describe_pipeline_execution::DescribePipelineExecutionError::Unhandled(inner) => Error::Unhandled(inner),
4813        }
4814    }
4815}
4816impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_processing_job::DescribeProcessingJobError, R>> for Error
4817where
4818    R: Send + Sync + std::fmt::Debug + 'static,
4819{
4820    fn from(
4821        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_processing_job::DescribeProcessingJobError, R>,
4822    ) -> Self {
4823        match err {
4824            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4825            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4826                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4827                source: err.into(),
4828            }),
4829        }
4830    }
4831}
4832impl From<crate::operation::describe_processing_job::DescribeProcessingJobError> for Error {
4833    fn from(err: crate::operation::describe_processing_job::DescribeProcessingJobError) -> Self {
4834        match err {
4835            crate::operation::describe_processing_job::DescribeProcessingJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
4836            crate::operation::describe_processing_job::DescribeProcessingJobError::Unhandled(inner) => Error::Unhandled(inner),
4837        }
4838    }
4839}
4840impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_project::DescribeProjectError, R>> for Error
4841where
4842    R: Send + Sync + std::fmt::Debug + 'static,
4843{
4844    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_project::DescribeProjectError, R>) -> Self {
4845        match err {
4846            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4847            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4848                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4849                source: err.into(),
4850            }),
4851        }
4852    }
4853}
4854impl From<crate::operation::describe_project::DescribeProjectError> for Error {
4855    fn from(err: crate::operation::describe_project::DescribeProjectError) -> Self {
4856        match err {
4857            crate::operation::describe_project::DescribeProjectError::Unhandled(inner) => Error::Unhandled(inner),
4858        }
4859    }
4860}
4861impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_reserved_capacity::DescribeReservedCapacityError, R>>
4862    for Error
4863where
4864    R: Send + Sync + std::fmt::Debug + 'static,
4865{
4866    fn from(
4867        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_reserved_capacity::DescribeReservedCapacityError, R>,
4868    ) -> Self {
4869        match err {
4870            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4871            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4872                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4873                source: err.into(),
4874            }),
4875        }
4876    }
4877}
4878impl From<crate::operation::describe_reserved_capacity::DescribeReservedCapacityError> for Error {
4879    fn from(err: crate::operation::describe_reserved_capacity::DescribeReservedCapacityError) -> Self {
4880        match err {
4881            crate::operation::describe_reserved_capacity::DescribeReservedCapacityError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
4882            crate::operation::describe_reserved_capacity::DescribeReservedCapacityError::Unhandled(inner) => Error::Unhandled(inner),
4883        }
4884    }
4885}
4886impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_space::DescribeSpaceError, R>> for Error
4887where
4888    R: Send + Sync + std::fmt::Debug + 'static,
4889{
4890    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_space::DescribeSpaceError, R>) -> Self {
4891        match err {
4892            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4893            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4894                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4895                source: err.into(),
4896            }),
4897        }
4898    }
4899}
4900impl From<crate::operation::describe_space::DescribeSpaceError> for Error {
4901    fn from(err: crate::operation::describe_space::DescribeSpaceError) -> Self {
4902        match err {
4903            crate::operation::describe_space::DescribeSpaceError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
4904            crate::operation::describe_space::DescribeSpaceError::Unhandled(inner) => Error::Unhandled(inner),
4905        }
4906    }
4907}
4908impl<R>
4909    From<
4910        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_studio_lifecycle_config::DescribeStudioLifecycleConfigError, R>,
4911    > for Error
4912where
4913    R: Send + Sync + std::fmt::Debug + 'static,
4914{
4915    fn from(
4916        err: ::aws_smithy_runtime_api::client::result::SdkError<
4917            crate::operation::describe_studio_lifecycle_config::DescribeStudioLifecycleConfigError,
4918            R,
4919        >,
4920    ) -> Self {
4921        match err {
4922            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4923            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4924                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4925                source: err.into(),
4926            }),
4927        }
4928    }
4929}
4930impl From<crate::operation::describe_studio_lifecycle_config::DescribeStudioLifecycleConfigError> for Error {
4931    fn from(err: crate::operation::describe_studio_lifecycle_config::DescribeStudioLifecycleConfigError) -> Self {
4932        match err {
4933            crate::operation::describe_studio_lifecycle_config::DescribeStudioLifecycleConfigError::ResourceNotFound(inner) => {
4934                Error::ResourceNotFound(inner)
4935            }
4936            crate::operation::describe_studio_lifecycle_config::DescribeStudioLifecycleConfigError::Unhandled(inner) => Error::Unhandled(inner),
4937        }
4938    }
4939}
4940impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_subscribed_workteam::DescribeSubscribedWorkteamError, R>>
4941    for Error
4942where
4943    R: Send + Sync + std::fmt::Debug + 'static,
4944{
4945    fn from(
4946        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_subscribed_workteam::DescribeSubscribedWorkteamError, R>,
4947    ) -> Self {
4948        match err {
4949            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4950            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4951                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4952                source: err.into(),
4953            }),
4954        }
4955    }
4956}
4957impl From<crate::operation::describe_subscribed_workteam::DescribeSubscribedWorkteamError> for Error {
4958    fn from(err: crate::operation::describe_subscribed_workteam::DescribeSubscribedWorkteamError) -> Self {
4959        match err {
4960            crate::operation::describe_subscribed_workteam::DescribeSubscribedWorkteamError::Unhandled(inner) => Error::Unhandled(inner),
4961        }
4962    }
4963}
4964impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_training_job::DescribeTrainingJobError, R>> for Error
4965where
4966    R: Send + Sync + std::fmt::Debug + 'static,
4967{
4968    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_training_job::DescribeTrainingJobError, R>) -> Self {
4969        match err {
4970            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4971            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4972                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4973                source: err.into(),
4974            }),
4975        }
4976    }
4977}
4978impl From<crate::operation::describe_training_job::DescribeTrainingJobError> for Error {
4979    fn from(err: crate::operation::describe_training_job::DescribeTrainingJobError) -> Self {
4980        match err {
4981            crate::operation::describe_training_job::DescribeTrainingJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
4982            crate::operation::describe_training_job::DescribeTrainingJobError::Unhandled(inner) => Error::Unhandled(inner),
4983        }
4984    }
4985}
4986impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_training_plan::DescribeTrainingPlanError, R>> for Error
4987where
4988    R: Send + Sync + std::fmt::Debug + 'static,
4989{
4990    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_training_plan::DescribeTrainingPlanError, R>) -> Self {
4991        match err {
4992            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4993            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4994                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4995                source: err.into(),
4996            }),
4997        }
4998    }
4999}
5000impl From<crate::operation::describe_training_plan::DescribeTrainingPlanError> for Error {
5001    fn from(err: crate::operation::describe_training_plan::DescribeTrainingPlanError) -> Self {
5002        match err {
5003            crate::operation::describe_training_plan::DescribeTrainingPlanError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
5004            crate::operation::describe_training_plan::DescribeTrainingPlanError::Unhandled(inner) => Error::Unhandled(inner),
5005        }
5006    }
5007}
5008impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_transform_job::DescribeTransformJobError, R>> for Error
5009where
5010    R: Send + Sync + std::fmt::Debug + 'static,
5011{
5012    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_transform_job::DescribeTransformJobError, R>) -> Self {
5013        match err {
5014            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5015            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5016                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5017                source: err.into(),
5018            }),
5019        }
5020    }
5021}
5022impl From<crate::operation::describe_transform_job::DescribeTransformJobError> for Error {
5023    fn from(err: crate::operation::describe_transform_job::DescribeTransformJobError) -> Self {
5024        match err {
5025            crate::operation::describe_transform_job::DescribeTransformJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
5026            crate::operation::describe_transform_job::DescribeTransformJobError::Unhandled(inner) => Error::Unhandled(inner),
5027        }
5028    }
5029}
5030impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_trial::DescribeTrialError, R>> for Error
5031where
5032    R: Send + Sync + std::fmt::Debug + 'static,
5033{
5034    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_trial::DescribeTrialError, R>) -> Self {
5035        match err {
5036            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5037            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5038                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5039                source: err.into(),
5040            }),
5041        }
5042    }
5043}
5044impl From<crate::operation::describe_trial::DescribeTrialError> for Error {
5045    fn from(err: crate::operation::describe_trial::DescribeTrialError) -> Self {
5046        match err {
5047            crate::operation::describe_trial::DescribeTrialError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
5048            crate::operation::describe_trial::DescribeTrialError::Unhandled(inner) => Error::Unhandled(inner),
5049        }
5050    }
5051}
5052impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_trial_component::DescribeTrialComponentError, R>> for Error
5053where
5054    R: Send + Sync + std::fmt::Debug + 'static,
5055{
5056    fn from(
5057        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_trial_component::DescribeTrialComponentError, R>,
5058    ) -> Self {
5059        match err {
5060            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5061            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5062                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5063                source: err.into(),
5064            }),
5065        }
5066    }
5067}
5068impl From<crate::operation::describe_trial_component::DescribeTrialComponentError> for Error {
5069    fn from(err: crate::operation::describe_trial_component::DescribeTrialComponentError) -> Self {
5070        match err {
5071            crate::operation::describe_trial_component::DescribeTrialComponentError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
5072            crate::operation::describe_trial_component::DescribeTrialComponentError::Unhandled(inner) => Error::Unhandled(inner),
5073        }
5074    }
5075}
5076impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_user_profile::DescribeUserProfileError, R>> for Error
5077where
5078    R: Send + Sync + std::fmt::Debug + 'static,
5079{
5080    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_user_profile::DescribeUserProfileError, R>) -> Self {
5081        match err {
5082            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5083            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5084                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5085                source: err.into(),
5086            }),
5087        }
5088    }
5089}
5090impl From<crate::operation::describe_user_profile::DescribeUserProfileError> for Error {
5091    fn from(err: crate::operation::describe_user_profile::DescribeUserProfileError) -> Self {
5092        match err {
5093            crate::operation::describe_user_profile::DescribeUserProfileError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
5094            crate::operation::describe_user_profile::DescribeUserProfileError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
5095            crate::operation::describe_user_profile::DescribeUserProfileError::Unhandled(inner) => Error::Unhandled(inner),
5096        }
5097    }
5098}
5099impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_workforce::DescribeWorkforceError, R>> for Error
5100where
5101    R: Send + Sync + std::fmt::Debug + 'static,
5102{
5103    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_workforce::DescribeWorkforceError, R>) -> Self {
5104        match err {
5105            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5106            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5107                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5108                source: err.into(),
5109            }),
5110        }
5111    }
5112}
5113impl From<crate::operation::describe_workforce::DescribeWorkforceError> for Error {
5114    fn from(err: crate::operation::describe_workforce::DescribeWorkforceError) -> Self {
5115        match err {
5116            crate::operation::describe_workforce::DescribeWorkforceError::Unhandled(inner) => Error::Unhandled(inner),
5117        }
5118    }
5119}
5120impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_workteam::DescribeWorkteamError, R>> for Error
5121where
5122    R: Send + Sync + std::fmt::Debug + 'static,
5123{
5124    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_workteam::DescribeWorkteamError, R>) -> Self {
5125        match err {
5126            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5127            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5128                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5129                source: err.into(),
5130            }),
5131        }
5132    }
5133}
5134impl From<crate::operation::describe_workteam::DescribeWorkteamError> for Error {
5135    fn from(err: crate::operation::describe_workteam::DescribeWorkteamError) -> Self {
5136        match err {
5137            crate::operation::describe_workteam::DescribeWorkteamError::Unhandled(inner) => Error::Unhandled(inner),
5138        }
5139    }
5140}
5141impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_cluster_node_volume::DetachClusterNodeVolumeError, R>>
5142    for Error
5143where
5144    R: Send + Sync + std::fmt::Debug + 'static,
5145{
5146    fn from(
5147        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_cluster_node_volume::DetachClusterNodeVolumeError, R>,
5148    ) -> Self {
5149        match err {
5150            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5151            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5152                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5153                source: err.into(),
5154            }),
5155        }
5156    }
5157}
5158impl From<crate::operation::detach_cluster_node_volume::DetachClusterNodeVolumeError> for Error {
5159    fn from(err: crate::operation::detach_cluster_node_volume::DetachClusterNodeVolumeError) -> Self {
5160        match err {
5161            crate::operation::detach_cluster_node_volume::DetachClusterNodeVolumeError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
5162            crate::operation::detach_cluster_node_volume::DetachClusterNodeVolumeError::Unhandled(inner) => Error::Unhandled(inner),
5163        }
5164    }
5165}
5166impl<R>
5167    From<
5168        ::aws_smithy_runtime_api::client::result::SdkError<
5169            crate::operation::disable_sagemaker_servicecatalog_portfolio::DisableSagemakerServicecatalogPortfolioError,
5170            R,
5171        >,
5172    > for Error
5173where
5174    R: Send + Sync + std::fmt::Debug + 'static,
5175{
5176    fn from(
5177        err: ::aws_smithy_runtime_api::client::result::SdkError<
5178            crate::operation::disable_sagemaker_servicecatalog_portfolio::DisableSagemakerServicecatalogPortfolioError,
5179            R,
5180        >,
5181    ) -> Self {
5182        match err {
5183            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5184            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5185                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5186                source: err.into(),
5187            }),
5188        }
5189    }
5190}
5191impl From<crate::operation::disable_sagemaker_servicecatalog_portfolio::DisableSagemakerServicecatalogPortfolioError> for Error {
5192    fn from(err: crate::operation::disable_sagemaker_servicecatalog_portfolio::DisableSagemakerServicecatalogPortfolioError) -> Self {
5193        match err {
5194            crate::operation::disable_sagemaker_servicecatalog_portfolio::DisableSagemakerServicecatalogPortfolioError::Unhandled(inner) => {
5195                Error::Unhandled(inner)
5196            }
5197        }
5198    }
5199}
5200impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_trial_component::DisassociateTrialComponentError, R>>
5201    for Error
5202where
5203    R: Send + Sync + std::fmt::Debug + 'static,
5204{
5205    fn from(
5206        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_trial_component::DisassociateTrialComponentError, R>,
5207    ) -> Self {
5208        match err {
5209            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5210            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5211                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5212                source: err.into(),
5213            }),
5214        }
5215    }
5216}
5217impl From<crate::operation::disassociate_trial_component::DisassociateTrialComponentError> for Error {
5218    fn from(err: crate::operation::disassociate_trial_component::DisassociateTrialComponentError) -> Self {
5219        match err {
5220            crate::operation::disassociate_trial_component::DisassociateTrialComponentError::ResourceNotFound(inner) => {
5221                Error::ResourceNotFound(inner)
5222            }
5223            crate::operation::disassociate_trial_component::DisassociateTrialComponentError::Unhandled(inner) => Error::Unhandled(inner),
5224        }
5225    }
5226}
5227impl<R>
5228    From<
5229        ::aws_smithy_runtime_api::client::result::SdkError<
5230            crate::operation::enable_sagemaker_servicecatalog_portfolio::EnableSagemakerServicecatalogPortfolioError,
5231            R,
5232        >,
5233    > for Error
5234where
5235    R: Send + Sync + std::fmt::Debug + 'static,
5236{
5237    fn from(
5238        err: ::aws_smithy_runtime_api::client::result::SdkError<
5239            crate::operation::enable_sagemaker_servicecatalog_portfolio::EnableSagemakerServicecatalogPortfolioError,
5240            R,
5241        >,
5242    ) -> Self {
5243        match err {
5244            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5245            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5246                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5247                source: err.into(),
5248            }),
5249        }
5250    }
5251}
5252impl From<crate::operation::enable_sagemaker_servicecatalog_portfolio::EnableSagemakerServicecatalogPortfolioError> for Error {
5253    fn from(err: crate::operation::enable_sagemaker_servicecatalog_portfolio::EnableSagemakerServicecatalogPortfolioError) -> Self {
5254        match err {
5255            crate::operation::enable_sagemaker_servicecatalog_portfolio::EnableSagemakerServicecatalogPortfolioError::Unhandled(inner) => {
5256                Error::Unhandled(inner)
5257            }
5258        }
5259    }
5260}
5261impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_device_fleet_report::GetDeviceFleetReportError, R>> for Error
5262where
5263    R: Send + Sync + std::fmt::Debug + 'static,
5264{
5265    fn from(
5266        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_device_fleet_report::GetDeviceFleetReportError, R>,
5267    ) -> Self {
5268        match err {
5269            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5270            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5271                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5272                source: err.into(),
5273            }),
5274        }
5275    }
5276}
5277impl From<crate::operation::get_device_fleet_report::GetDeviceFleetReportError> for Error {
5278    fn from(err: crate::operation::get_device_fleet_report::GetDeviceFleetReportError) -> Self {
5279        match err {
5280            crate::operation::get_device_fleet_report::GetDeviceFleetReportError::Unhandled(inner) => Error::Unhandled(inner),
5281        }
5282    }
5283}
5284impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_lineage_group_policy::GetLineageGroupPolicyError, R>> for Error
5285where
5286    R: Send + Sync + std::fmt::Debug + 'static,
5287{
5288    fn from(
5289        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_lineage_group_policy::GetLineageGroupPolicyError, R>,
5290    ) -> Self {
5291        match err {
5292            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5293            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5294                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5295                source: err.into(),
5296            }),
5297        }
5298    }
5299}
5300impl From<crate::operation::get_lineage_group_policy::GetLineageGroupPolicyError> for Error {
5301    fn from(err: crate::operation::get_lineage_group_policy::GetLineageGroupPolicyError) -> Self {
5302        match err {
5303            crate::operation::get_lineage_group_policy::GetLineageGroupPolicyError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
5304            crate::operation::get_lineage_group_policy::GetLineageGroupPolicyError::Unhandled(inner) => Error::Unhandled(inner),
5305        }
5306    }
5307}
5308impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_model_package_group_policy::GetModelPackageGroupPolicyError, R>>
5309    for Error
5310where
5311    R: Send + Sync + std::fmt::Debug + 'static,
5312{
5313    fn from(
5314        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_model_package_group_policy::GetModelPackageGroupPolicyError, R>,
5315    ) -> Self {
5316        match err {
5317            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5318            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5319                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5320                source: err.into(),
5321            }),
5322        }
5323    }
5324}
5325impl From<crate::operation::get_model_package_group_policy::GetModelPackageGroupPolicyError> for Error {
5326    fn from(err: crate::operation::get_model_package_group_policy::GetModelPackageGroupPolicyError) -> Self {
5327        match err {
5328            crate::operation::get_model_package_group_policy::GetModelPackageGroupPolicyError::Unhandled(inner) => Error::Unhandled(inner),
5329        }
5330    }
5331}
5332impl<R>
5333    From<
5334        ::aws_smithy_runtime_api::client::result::SdkError<
5335            crate::operation::get_sagemaker_servicecatalog_portfolio_status::GetSagemakerServicecatalogPortfolioStatusError,
5336            R,
5337        >,
5338    > for Error
5339where
5340    R: Send + Sync + std::fmt::Debug + 'static,
5341{
5342    fn from(
5343        err: ::aws_smithy_runtime_api::client::result::SdkError<
5344            crate::operation::get_sagemaker_servicecatalog_portfolio_status::GetSagemakerServicecatalogPortfolioStatusError,
5345            R,
5346        >,
5347    ) -> Self {
5348        match err {
5349            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5350            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5351                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5352                source: err.into(),
5353            }),
5354        }
5355    }
5356}
5357impl From<crate::operation::get_sagemaker_servicecatalog_portfolio_status::GetSagemakerServicecatalogPortfolioStatusError> for Error {
5358    fn from(err: crate::operation::get_sagemaker_servicecatalog_portfolio_status::GetSagemakerServicecatalogPortfolioStatusError) -> Self {
5359        match err {
5360            crate::operation::get_sagemaker_servicecatalog_portfolio_status::GetSagemakerServicecatalogPortfolioStatusError::Unhandled(inner) => {
5361                Error::Unhandled(inner)
5362            }
5363        }
5364    }
5365}
5366impl<R>
5367    From<
5368        ::aws_smithy_runtime_api::client::result::SdkError<
5369            crate::operation::get_scaling_configuration_recommendation::GetScalingConfigurationRecommendationError,
5370            R,
5371        >,
5372    > for Error
5373where
5374    R: Send + Sync + std::fmt::Debug + 'static,
5375{
5376    fn from(
5377        err: ::aws_smithy_runtime_api::client::result::SdkError<
5378            crate::operation::get_scaling_configuration_recommendation::GetScalingConfigurationRecommendationError,
5379            R,
5380        >,
5381    ) -> Self {
5382        match err {
5383            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5384            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5385                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5386                source: err.into(),
5387            }),
5388        }
5389    }
5390}
5391impl From<crate::operation::get_scaling_configuration_recommendation::GetScalingConfigurationRecommendationError> for Error {
5392    fn from(err: crate::operation::get_scaling_configuration_recommendation::GetScalingConfigurationRecommendationError) -> Self {
5393        match err {
5394            crate::operation::get_scaling_configuration_recommendation::GetScalingConfigurationRecommendationError::ResourceNotFound(inner) => {
5395                Error::ResourceNotFound(inner)
5396            }
5397            crate::operation::get_scaling_configuration_recommendation::GetScalingConfigurationRecommendationError::Unhandled(inner) => {
5398                Error::Unhandled(inner)
5399            }
5400        }
5401    }
5402}
5403impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_search_suggestions::GetSearchSuggestionsError, R>> for Error
5404where
5405    R: Send + Sync + std::fmt::Debug + 'static,
5406{
5407    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_search_suggestions::GetSearchSuggestionsError, R>) -> Self {
5408        match err {
5409            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5410            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5411                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5412                source: err.into(),
5413            }),
5414        }
5415    }
5416}
5417impl From<crate::operation::get_search_suggestions::GetSearchSuggestionsError> for Error {
5418    fn from(err: crate::operation::get_search_suggestions::GetSearchSuggestionsError) -> Self {
5419        match err {
5420            crate::operation::get_search_suggestions::GetSearchSuggestionsError::Unhandled(inner) => Error::Unhandled(inner),
5421        }
5422    }
5423}
5424impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_hub_content::ImportHubContentError, R>> for Error
5425where
5426    R: Send + Sync + std::fmt::Debug + 'static,
5427{
5428    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_hub_content::ImportHubContentError, R>) -> Self {
5429        match err {
5430            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5431            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5432                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5433                source: err.into(),
5434            }),
5435        }
5436    }
5437}
5438impl From<crate::operation::import_hub_content::ImportHubContentError> for Error {
5439    fn from(err: crate::operation::import_hub_content::ImportHubContentError) -> Self {
5440        match err {
5441            crate::operation::import_hub_content::ImportHubContentError::ResourceInUse(inner) => Error::ResourceInUse(inner),
5442            crate::operation::import_hub_content::ImportHubContentError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
5443            crate::operation::import_hub_content::ImportHubContentError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
5444            crate::operation::import_hub_content::ImportHubContentError::Unhandled(inner) => Error::Unhandled(inner),
5445        }
5446    }
5447}
5448impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_actions::ListActionsError, R>> for Error
5449where
5450    R: Send + Sync + std::fmt::Debug + 'static,
5451{
5452    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_actions::ListActionsError, R>) -> Self {
5453        match err {
5454            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5455            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5456                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5457                source: err.into(),
5458            }),
5459        }
5460    }
5461}
5462impl From<crate::operation::list_actions::ListActionsError> for Error {
5463    fn from(err: crate::operation::list_actions::ListActionsError) -> Self {
5464        match err {
5465            crate::operation::list_actions::ListActionsError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
5466            crate::operation::list_actions::ListActionsError::Unhandled(inner) => Error::Unhandled(inner),
5467        }
5468    }
5469}
5470impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_algorithms::ListAlgorithmsError, R>> for Error
5471where
5472    R: Send + Sync + std::fmt::Debug + 'static,
5473{
5474    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_algorithms::ListAlgorithmsError, R>) -> Self {
5475        match err {
5476            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5477            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5478                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5479                source: err.into(),
5480            }),
5481        }
5482    }
5483}
5484impl From<crate::operation::list_algorithms::ListAlgorithmsError> for Error {
5485    fn from(err: crate::operation::list_algorithms::ListAlgorithmsError) -> Self {
5486        match err {
5487            crate::operation::list_algorithms::ListAlgorithmsError::Unhandled(inner) => Error::Unhandled(inner),
5488        }
5489    }
5490}
5491impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_aliases::ListAliasesError, R>> for Error
5492where
5493    R: Send + Sync + std::fmt::Debug + 'static,
5494{
5495    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_aliases::ListAliasesError, R>) -> Self {
5496        match err {
5497            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5498            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5499                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5500                source: err.into(),
5501            }),
5502        }
5503    }
5504}
5505impl From<crate::operation::list_aliases::ListAliasesError> for Error {
5506    fn from(err: crate::operation::list_aliases::ListAliasesError) -> Self {
5507        match err {
5508            crate::operation::list_aliases::ListAliasesError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
5509            crate::operation::list_aliases::ListAliasesError::Unhandled(inner) => Error::Unhandled(inner),
5510        }
5511    }
5512}
5513impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_app_image_configs::ListAppImageConfigsError, R>> for Error
5514where
5515    R: Send + Sync + std::fmt::Debug + 'static,
5516{
5517    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_app_image_configs::ListAppImageConfigsError, R>) -> Self {
5518        match err {
5519            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5520            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5521                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5522                source: err.into(),
5523            }),
5524        }
5525    }
5526}
5527impl From<crate::operation::list_app_image_configs::ListAppImageConfigsError> for Error {
5528    fn from(err: crate::operation::list_app_image_configs::ListAppImageConfigsError) -> Self {
5529        match err {
5530            crate::operation::list_app_image_configs::ListAppImageConfigsError::Unhandled(inner) => Error::Unhandled(inner),
5531        }
5532    }
5533}
5534impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_apps::ListAppsError, R>> for Error
5535where
5536    R: Send + Sync + std::fmt::Debug + 'static,
5537{
5538    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_apps::ListAppsError, R>) -> Self {
5539        match err {
5540            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5541            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5542                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5543                source: err.into(),
5544            }),
5545        }
5546    }
5547}
5548impl From<crate::operation::list_apps::ListAppsError> for Error {
5549    fn from(err: crate::operation::list_apps::ListAppsError) -> Self {
5550        match err {
5551            crate::operation::list_apps::ListAppsError::Unhandled(inner) => Error::Unhandled(inner),
5552        }
5553    }
5554}
5555impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_artifacts::ListArtifactsError, 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_artifacts::ListArtifactsError, 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_artifacts::ListArtifactsError> for Error {
5570    fn from(err: crate::operation::list_artifacts::ListArtifactsError) -> Self {
5571        match err {
5572            crate::operation::list_artifacts::ListArtifactsError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
5573            crate::operation::list_artifacts::ListArtifactsError::Unhandled(inner) => Error::Unhandled(inner),
5574        }
5575    }
5576}
5577impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_associations::ListAssociationsError, 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_associations::ListAssociationsError, 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_associations::ListAssociationsError> for Error {
5592    fn from(err: crate::operation::list_associations::ListAssociationsError) -> Self {
5593        match err {
5594            crate::operation::list_associations::ListAssociationsError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
5595            crate::operation::list_associations::ListAssociationsError::Unhandled(inner) => Error::Unhandled(inner),
5596        }
5597    }
5598}
5599impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_auto_ml_jobs::ListAutoMLJobsError, 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_auto_ml_jobs::ListAutoMLJobsError, 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_auto_ml_jobs::ListAutoMLJobsError> for Error {
5614    fn from(err: crate::operation::list_auto_ml_jobs::ListAutoMLJobsError) -> Self {
5615        match err {
5616            crate::operation::list_auto_ml_jobs::ListAutoMLJobsError::Unhandled(inner) => Error::Unhandled(inner),
5617        }
5618    }
5619}
5620impl<R>
5621    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_candidates_for_auto_ml_job::ListCandidatesForAutoMLJobError, 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_candidates_for_auto_ml_job::ListCandidatesForAutoMLJobError,
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_candidates_for_auto_ml_job::ListCandidatesForAutoMLJobError> for Error {
5642    fn from(err: crate::operation::list_candidates_for_auto_ml_job::ListCandidatesForAutoMLJobError) -> Self {
5643        match err {
5644            crate::operation::list_candidates_for_auto_ml_job::ListCandidatesForAutoMLJobError::ResourceNotFound(inner) => {
5645                Error::ResourceNotFound(inner)
5646            }
5647            crate::operation::list_candidates_for_auto_ml_job::ListCandidatesForAutoMLJobError::Unhandled(inner) => Error::Unhandled(inner),
5648        }
5649    }
5650}
5651impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_cluster_events::ListClusterEventsError, R>> for Error
5652where
5653    R: Send + Sync + std::fmt::Debug + 'static,
5654{
5655    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_cluster_events::ListClusterEventsError, R>) -> Self {
5656        match err {
5657            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5658            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5659                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5660                source: err.into(),
5661            }),
5662        }
5663    }
5664}
5665impl From<crate::operation::list_cluster_events::ListClusterEventsError> for Error {
5666    fn from(err: crate::operation::list_cluster_events::ListClusterEventsError) -> Self {
5667        match err {
5668            crate::operation::list_cluster_events::ListClusterEventsError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
5669            crate::operation::list_cluster_events::ListClusterEventsError::Unhandled(inner) => Error::Unhandled(inner),
5670        }
5671    }
5672}
5673impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_cluster_nodes::ListClusterNodesError, R>> for Error
5674where
5675    R: Send + Sync + std::fmt::Debug + 'static,
5676{
5677    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_cluster_nodes::ListClusterNodesError, R>) -> Self {
5678        match err {
5679            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5680            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5681                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5682                source: err.into(),
5683            }),
5684        }
5685    }
5686}
5687impl From<crate::operation::list_cluster_nodes::ListClusterNodesError> for Error {
5688    fn from(err: crate::operation::list_cluster_nodes::ListClusterNodesError) -> Self {
5689        match err {
5690            crate::operation::list_cluster_nodes::ListClusterNodesError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
5691            crate::operation::list_cluster_nodes::ListClusterNodesError::Unhandled(inner) => Error::Unhandled(inner),
5692        }
5693    }
5694}
5695impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_clusters::ListClustersError, R>> for Error
5696where
5697    R: Send + Sync + std::fmt::Debug + 'static,
5698{
5699    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_clusters::ListClustersError, R>) -> Self {
5700        match err {
5701            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5702            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5703                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5704                source: err.into(),
5705            }),
5706        }
5707    }
5708}
5709impl From<crate::operation::list_clusters::ListClustersError> for Error {
5710    fn from(err: crate::operation::list_clusters::ListClustersError) -> Self {
5711        match err {
5712            crate::operation::list_clusters::ListClustersError::Unhandled(inner) => Error::Unhandled(inner),
5713        }
5714    }
5715}
5716impl<R>
5717    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_cluster_scheduler_configs::ListClusterSchedulerConfigsError, R>>
5718    for Error
5719where
5720    R: Send + Sync + std::fmt::Debug + 'static,
5721{
5722    fn from(
5723        err: ::aws_smithy_runtime_api::client::result::SdkError<
5724            crate::operation::list_cluster_scheduler_configs::ListClusterSchedulerConfigsError,
5725            R,
5726        >,
5727    ) -> Self {
5728        match err {
5729            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5730            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5731                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5732                source: err.into(),
5733            }),
5734        }
5735    }
5736}
5737impl From<crate::operation::list_cluster_scheduler_configs::ListClusterSchedulerConfigsError> for Error {
5738    fn from(err: crate::operation::list_cluster_scheduler_configs::ListClusterSchedulerConfigsError) -> Self {
5739        match err {
5740            crate::operation::list_cluster_scheduler_configs::ListClusterSchedulerConfigsError::Unhandled(inner) => Error::Unhandled(inner),
5741        }
5742    }
5743}
5744impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_code_repositories::ListCodeRepositoriesError, R>> for Error
5745where
5746    R: Send + Sync + std::fmt::Debug + 'static,
5747{
5748    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_code_repositories::ListCodeRepositoriesError, R>) -> 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_code_repositories::ListCodeRepositoriesError> for Error {
5759    fn from(err: crate::operation::list_code_repositories::ListCodeRepositoriesError) -> Self {
5760        match err {
5761            crate::operation::list_code_repositories::ListCodeRepositoriesError::Unhandled(inner) => Error::Unhandled(inner),
5762        }
5763    }
5764}
5765impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_compilation_jobs::ListCompilationJobsError, 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_compilation_jobs::ListCompilationJobsError, 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_compilation_jobs::ListCompilationJobsError> for Error {
5780    fn from(err: crate::operation::list_compilation_jobs::ListCompilationJobsError) -> Self {
5781        match err {
5782            crate::operation::list_compilation_jobs::ListCompilationJobsError::Unhandled(inner) => Error::Unhandled(inner),
5783        }
5784    }
5785}
5786impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_compute_quotas::ListComputeQuotasError, 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_compute_quotas::ListComputeQuotasError, 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_compute_quotas::ListComputeQuotasError> for Error {
5801    fn from(err: crate::operation::list_compute_quotas::ListComputeQuotasError) -> Self {
5802        match err {
5803            crate::operation::list_compute_quotas::ListComputeQuotasError::Unhandled(inner) => Error::Unhandled(inner),
5804        }
5805    }
5806}
5807impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_contexts::ListContextsError, 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_contexts::ListContextsError, 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_contexts::ListContextsError> for Error {
5822    fn from(err: crate::operation::list_contexts::ListContextsError) -> Self {
5823        match err {
5824            crate::operation::list_contexts::ListContextsError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
5825            crate::operation::list_contexts::ListContextsError::Unhandled(inner) => Error::Unhandled(inner),
5826        }
5827    }
5828}
5829impl<R>
5830    From<
5831        ::aws_smithy_runtime_api::client::result::SdkError<
5832            crate::operation::list_data_quality_job_definitions::ListDataQualityJobDefinitionsError,
5833            R,
5834        >,
5835    > for Error
5836where
5837    R: Send + Sync + std::fmt::Debug + 'static,
5838{
5839    fn from(
5840        err: ::aws_smithy_runtime_api::client::result::SdkError<
5841            crate::operation::list_data_quality_job_definitions::ListDataQualityJobDefinitionsError,
5842            R,
5843        >,
5844    ) -> Self {
5845        match err {
5846            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5847            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5848                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5849                source: err.into(),
5850            }),
5851        }
5852    }
5853}
5854impl From<crate::operation::list_data_quality_job_definitions::ListDataQualityJobDefinitionsError> for Error {
5855    fn from(err: crate::operation::list_data_quality_job_definitions::ListDataQualityJobDefinitionsError) -> Self {
5856        match err {
5857            crate::operation::list_data_quality_job_definitions::ListDataQualityJobDefinitionsError::Unhandled(inner) => Error::Unhandled(inner),
5858        }
5859    }
5860}
5861impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_device_fleets::ListDeviceFleetsError, R>> for Error
5862where
5863    R: Send + Sync + std::fmt::Debug + 'static,
5864{
5865    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_device_fleets::ListDeviceFleetsError, R>) -> Self {
5866        match err {
5867            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5868            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5869                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5870                source: err.into(),
5871            }),
5872        }
5873    }
5874}
5875impl From<crate::operation::list_device_fleets::ListDeviceFleetsError> for Error {
5876    fn from(err: crate::operation::list_device_fleets::ListDeviceFleetsError) -> Self {
5877        match err {
5878            crate::operation::list_device_fleets::ListDeviceFleetsError::Unhandled(inner) => Error::Unhandled(inner),
5879        }
5880    }
5881}
5882impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_devices::ListDevicesError, R>> for Error
5883where
5884    R: Send + Sync + std::fmt::Debug + 'static,
5885{
5886    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_devices::ListDevicesError, R>) -> Self {
5887        match err {
5888            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5889            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5890                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5891                source: err.into(),
5892            }),
5893        }
5894    }
5895}
5896impl From<crate::operation::list_devices::ListDevicesError> for Error {
5897    fn from(err: crate::operation::list_devices::ListDevicesError) -> Self {
5898        match err {
5899            crate::operation::list_devices::ListDevicesError::Unhandled(inner) => Error::Unhandled(inner),
5900        }
5901    }
5902}
5903impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_domains::ListDomainsError, R>> for Error
5904where
5905    R: Send + Sync + std::fmt::Debug + 'static,
5906{
5907    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_domains::ListDomainsError, R>) -> Self {
5908        match err {
5909            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5910            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5911                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5912                source: err.into(),
5913            }),
5914        }
5915    }
5916}
5917impl From<crate::operation::list_domains::ListDomainsError> for Error {
5918    fn from(err: crate::operation::list_domains::ListDomainsError) -> Self {
5919        match err {
5920            crate::operation::list_domains::ListDomainsError::Unhandled(inner) => Error::Unhandled(inner),
5921        }
5922    }
5923}
5924impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_edge_deployment_plans::ListEdgeDeploymentPlansError, R>>
5925    for Error
5926where
5927    R: Send + Sync + std::fmt::Debug + 'static,
5928{
5929    fn from(
5930        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_edge_deployment_plans::ListEdgeDeploymentPlansError, R>,
5931    ) -> Self {
5932        match err {
5933            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5934            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5935                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5936                source: err.into(),
5937            }),
5938        }
5939    }
5940}
5941impl From<crate::operation::list_edge_deployment_plans::ListEdgeDeploymentPlansError> for Error {
5942    fn from(err: crate::operation::list_edge_deployment_plans::ListEdgeDeploymentPlansError) -> Self {
5943        match err {
5944            crate::operation::list_edge_deployment_plans::ListEdgeDeploymentPlansError::Unhandled(inner) => Error::Unhandled(inner),
5945        }
5946    }
5947}
5948impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_edge_packaging_jobs::ListEdgePackagingJobsError, R>> for Error
5949where
5950    R: Send + Sync + std::fmt::Debug + 'static,
5951{
5952    fn from(
5953        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_edge_packaging_jobs::ListEdgePackagingJobsError, R>,
5954    ) -> Self {
5955        match err {
5956            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5957            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5958                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5959                source: err.into(),
5960            }),
5961        }
5962    }
5963}
5964impl From<crate::operation::list_edge_packaging_jobs::ListEdgePackagingJobsError> for Error {
5965    fn from(err: crate::operation::list_edge_packaging_jobs::ListEdgePackagingJobsError) -> Self {
5966        match err {
5967            crate::operation::list_edge_packaging_jobs::ListEdgePackagingJobsError::Unhandled(inner) => Error::Unhandled(inner),
5968        }
5969    }
5970}
5971impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_endpoint_configs::ListEndpointConfigsError, R>> for Error
5972where
5973    R: Send + Sync + std::fmt::Debug + 'static,
5974{
5975    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_endpoint_configs::ListEndpointConfigsError, R>) -> Self {
5976        match err {
5977            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5978            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5979                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5980                source: err.into(),
5981            }),
5982        }
5983    }
5984}
5985impl From<crate::operation::list_endpoint_configs::ListEndpointConfigsError> for Error {
5986    fn from(err: crate::operation::list_endpoint_configs::ListEndpointConfigsError) -> Self {
5987        match err {
5988            crate::operation::list_endpoint_configs::ListEndpointConfigsError::Unhandled(inner) => Error::Unhandled(inner),
5989        }
5990    }
5991}
5992impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_endpoints::ListEndpointsError, R>> for Error
5993where
5994    R: Send + Sync + std::fmt::Debug + 'static,
5995{
5996    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_endpoints::ListEndpointsError, R>) -> Self {
5997        match err {
5998            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5999            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6000                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6001                source: err.into(),
6002            }),
6003        }
6004    }
6005}
6006impl From<crate::operation::list_endpoints::ListEndpointsError> for Error {
6007    fn from(err: crate::operation::list_endpoints::ListEndpointsError) -> Self {
6008        match err {
6009            crate::operation::list_endpoints::ListEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
6010        }
6011    }
6012}
6013impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_experiments::ListExperimentsError, R>> for Error
6014where
6015    R: Send + Sync + std::fmt::Debug + 'static,
6016{
6017    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_experiments::ListExperimentsError, R>) -> Self {
6018        match err {
6019            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6020            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6021                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6022                source: err.into(),
6023            }),
6024        }
6025    }
6026}
6027impl From<crate::operation::list_experiments::ListExperimentsError> for Error {
6028    fn from(err: crate::operation::list_experiments::ListExperimentsError) -> Self {
6029        match err {
6030            crate::operation::list_experiments::ListExperimentsError::Unhandled(inner) => Error::Unhandled(inner),
6031        }
6032    }
6033}
6034impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_feature_groups::ListFeatureGroupsError, R>> for Error
6035where
6036    R: Send + Sync + std::fmt::Debug + 'static,
6037{
6038    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_feature_groups::ListFeatureGroupsError, R>) -> Self {
6039        match err {
6040            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6041            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6042                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6043                source: err.into(),
6044            }),
6045        }
6046    }
6047}
6048impl From<crate::operation::list_feature_groups::ListFeatureGroupsError> for Error {
6049    fn from(err: crate::operation::list_feature_groups::ListFeatureGroupsError) -> Self {
6050        match err {
6051            crate::operation::list_feature_groups::ListFeatureGroupsError::Unhandled(inner) => Error::Unhandled(inner),
6052        }
6053    }
6054}
6055impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_flow_definitions::ListFlowDefinitionsError, R>> for Error
6056where
6057    R: Send + Sync + std::fmt::Debug + 'static,
6058{
6059    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_flow_definitions::ListFlowDefinitionsError, R>) -> Self {
6060        match err {
6061            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6062            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6063                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6064                source: err.into(),
6065            }),
6066        }
6067    }
6068}
6069impl From<crate::operation::list_flow_definitions::ListFlowDefinitionsError> for Error {
6070    fn from(err: crate::operation::list_flow_definitions::ListFlowDefinitionsError) -> Self {
6071        match err {
6072            crate::operation::list_flow_definitions::ListFlowDefinitionsError::Unhandled(inner) => Error::Unhandled(inner),
6073        }
6074    }
6075}
6076impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_hub_contents::ListHubContentsError, R>> for Error
6077where
6078    R: Send + Sync + std::fmt::Debug + 'static,
6079{
6080    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_hub_contents::ListHubContentsError, R>) -> 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_hub_contents::ListHubContentsError> for Error {
6091    fn from(err: crate::operation::list_hub_contents::ListHubContentsError) -> Self {
6092        match err {
6093            crate::operation::list_hub_contents::ListHubContentsError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
6094            crate::operation::list_hub_contents::ListHubContentsError::Unhandled(inner) => Error::Unhandled(inner),
6095        }
6096    }
6097}
6098impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_hub_content_versions::ListHubContentVersionsError, R>>
6099    for Error
6100where
6101    R: Send + Sync + std::fmt::Debug + 'static,
6102{
6103    fn from(
6104        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_hub_content_versions::ListHubContentVersionsError, R>,
6105    ) -> Self {
6106        match err {
6107            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6108            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6109                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6110                source: err.into(),
6111            }),
6112        }
6113    }
6114}
6115impl From<crate::operation::list_hub_content_versions::ListHubContentVersionsError> for Error {
6116    fn from(err: crate::operation::list_hub_content_versions::ListHubContentVersionsError) -> Self {
6117        match err {
6118            crate::operation::list_hub_content_versions::ListHubContentVersionsError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
6119            crate::operation::list_hub_content_versions::ListHubContentVersionsError::Unhandled(inner) => Error::Unhandled(inner),
6120        }
6121    }
6122}
6123impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_hubs::ListHubsError, R>> for Error
6124where
6125    R: Send + Sync + std::fmt::Debug + 'static,
6126{
6127    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_hubs::ListHubsError, R>) -> Self {
6128        match err {
6129            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6130            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6131                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6132                source: err.into(),
6133            }),
6134        }
6135    }
6136}
6137impl From<crate::operation::list_hubs::ListHubsError> for Error {
6138    fn from(err: crate::operation::list_hubs::ListHubsError) -> Self {
6139        match err {
6140            crate::operation::list_hubs::ListHubsError::Unhandled(inner) => Error::Unhandled(inner),
6141        }
6142    }
6143}
6144impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_human_task_uis::ListHumanTaskUisError, R>> for Error
6145where
6146    R: Send + Sync + std::fmt::Debug + 'static,
6147{
6148    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_human_task_uis::ListHumanTaskUisError, R>) -> Self {
6149        match err {
6150            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6151            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6152                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6153                source: err.into(),
6154            }),
6155        }
6156    }
6157}
6158impl From<crate::operation::list_human_task_uis::ListHumanTaskUisError> for Error {
6159    fn from(err: crate::operation::list_human_task_uis::ListHumanTaskUisError) -> Self {
6160        match err {
6161            crate::operation::list_human_task_uis::ListHumanTaskUisError::Unhandled(inner) => Error::Unhandled(inner),
6162        }
6163    }
6164}
6165impl<R>
6166    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_hyper_parameter_tuning_jobs::ListHyperParameterTuningJobsError, R>>
6167    for Error
6168where
6169    R: Send + Sync + std::fmt::Debug + 'static,
6170{
6171    fn from(
6172        err: ::aws_smithy_runtime_api::client::result::SdkError<
6173            crate::operation::list_hyper_parameter_tuning_jobs::ListHyperParameterTuningJobsError,
6174            R,
6175        >,
6176    ) -> Self {
6177        match err {
6178            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6179            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6180                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6181                source: err.into(),
6182            }),
6183        }
6184    }
6185}
6186impl From<crate::operation::list_hyper_parameter_tuning_jobs::ListHyperParameterTuningJobsError> for Error {
6187    fn from(err: crate::operation::list_hyper_parameter_tuning_jobs::ListHyperParameterTuningJobsError) -> Self {
6188        match err {
6189            crate::operation::list_hyper_parameter_tuning_jobs::ListHyperParameterTuningJobsError::Unhandled(inner) => Error::Unhandled(inner),
6190        }
6191    }
6192}
6193impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_images::ListImagesError, R>> for Error
6194where
6195    R: Send + Sync + std::fmt::Debug + 'static,
6196{
6197    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_images::ListImagesError, R>) -> Self {
6198        match err {
6199            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6200            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6201                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6202                source: err.into(),
6203            }),
6204        }
6205    }
6206}
6207impl From<crate::operation::list_images::ListImagesError> for Error {
6208    fn from(err: crate::operation::list_images::ListImagesError) -> Self {
6209        match err {
6210            crate::operation::list_images::ListImagesError::Unhandled(inner) => Error::Unhandled(inner),
6211        }
6212    }
6213}
6214impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_image_versions::ListImageVersionsError, R>> for Error
6215where
6216    R: Send + Sync + std::fmt::Debug + 'static,
6217{
6218    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_image_versions::ListImageVersionsError, R>) -> Self {
6219        match err {
6220            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6221            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6222                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6223                source: err.into(),
6224            }),
6225        }
6226    }
6227}
6228impl From<crate::operation::list_image_versions::ListImageVersionsError> for Error {
6229    fn from(err: crate::operation::list_image_versions::ListImageVersionsError) -> Self {
6230        match err {
6231            crate::operation::list_image_versions::ListImageVersionsError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
6232            crate::operation::list_image_versions::ListImageVersionsError::Unhandled(inner) => Error::Unhandled(inner),
6233        }
6234    }
6235}
6236impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_inference_components::ListInferenceComponentsError, R>>
6237    for Error
6238where
6239    R: Send + Sync + std::fmt::Debug + 'static,
6240{
6241    fn from(
6242        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_inference_components::ListInferenceComponentsError, R>,
6243    ) -> Self {
6244        match err {
6245            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6246            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6247                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6248                source: err.into(),
6249            }),
6250        }
6251    }
6252}
6253impl From<crate::operation::list_inference_components::ListInferenceComponentsError> for Error {
6254    fn from(err: crate::operation::list_inference_components::ListInferenceComponentsError) -> Self {
6255        match err {
6256            crate::operation::list_inference_components::ListInferenceComponentsError::Unhandled(inner) => Error::Unhandled(inner),
6257        }
6258    }
6259}
6260impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_inference_experiments::ListInferenceExperimentsError, R>>
6261    for Error
6262where
6263    R: Send + Sync + std::fmt::Debug + 'static,
6264{
6265    fn from(
6266        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_inference_experiments::ListInferenceExperimentsError, R>,
6267    ) -> Self {
6268        match err {
6269            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6270            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6271                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6272                source: err.into(),
6273            }),
6274        }
6275    }
6276}
6277impl From<crate::operation::list_inference_experiments::ListInferenceExperimentsError> for Error {
6278    fn from(err: crate::operation::list_inference_experiments::ListInferenceExperimentsError) -> Self {
6279        match err {
6280            crate::operation::list_inference_experiments::ListInferenceExperimentsError::Unhandled(inner) => Error::Unhandled(inner),
6281        }
6282    }
6283}
6284impl<R>
6285    From<
6286        ::aws_smithy_runtime_api::client::result::SdkError<
6287            crate::operation::list_inference_recommendations_jobs::ListInferenceRecommendationsJobsError,
6288            R,
6289        >,
6290    > for Error
6291where
6292    R: Send + Sync + std::fmt::Debug + 'static,
6293{
6294    fn from(
6295        err: ::aws_smithy_runtime_api::client::result::SdkError<
6296            crate::operation::list_inference_recommendations_jobs::ListInferenceRecommendationsJobsError,
6297            R,
6298        >,
6299    ) -> Self {
6300        match err {
6301            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6302            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6303                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6304                source: err.into(),
6305            }),
6306        }
6307    }
6308}
6309impl From<crate::operation::list_inference_recommendations_jobs::ListInferenceRecommendationsJobsError> for Error {
6310    fn from(err: crate::operation::list_inference_recommendations_jobs::ListInferenceRecommendationsJobsError) -> Self {
6311        match err {
6312            crate::operation::list_inference_recommendations_jobs::ListInferenceRecommendationsJobsError::Unhandled(inner) => Error::Unhandled(inner),
6313        }
6314    }
6315}
6316impl<R>
6317    From<
6318        ::aws_smithy_runtime_api::client::result::SdkError<
6319            crate::operation::list_inference_recommendations_job_steps::ListInferenceRecommendationsJobStepsError,
6320            R,
6321        >,
6322    > for Error
6323where
6324    R: Send + Sync + std::fmt::Debug + 'static,
6325{
6326    fn from(
6327        err: ::aws_smithy_runtime_api::client::result::SdkError<
6328            crate::operation::list_inference_recommendations_job_steps::ListInferenceRecommendationsJobStepsError,
6329            R,
6330        >,
6331    ) -> Self {
6332        match err {
6333            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6334            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6335                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6336                source: err.into(),
6337            }),
6338        }
6339    }
6340}
6341impl From<crate::operation::list_inference_recommendations_job_steps::ListInferenceRecommendationsJobStepsError> for Error {
6342    fn from(err: crate::operation::list_inference_recommendations_job_steps::ListInferenceRecommendationsJobStepsError) -> Self {
6343        match err {
6344            crate::operation::list_inference_recommendations_job_steps::ListInferenceRecommendationsJobStepsError::ResourceNotFound(inner) => {
6345                Error::ResourceNotFound(inner)
6346            }
6347            crate::operation::list_inference_recommendations_job_steps::ListInferenceRecommendationsJobStepsError::Unhandled(inner) => {
6348                Error::Unhandled(inner)
6349            }
6350        }
6351    }
6352}
6353impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_labeling_jobs::ListLabelingJobsError, R>> for Error
6354where
6355    R: Send + Sync + std::fmt::Debug + 'static,
6356{
6357    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_labeling_jobs::ListLabelingJobsError, R>) -> Self {
6358        match err {
6359            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6360            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6361                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6362                source: err.into(),
6363            }),
6364        }
6365    }
6366}
6367impl From<crate::operation::list_labeling_jobs::ListLabelingJobsError> for Error {
6368    fn from(err: crate::operation::list_labeling_jobs::ListLabelingJobsError) -> Self {
6369        match err {
6370            crate::operation::list_labeling_jobs::ListLabelingJobsError::Unhandled(inner) => Error::Unhandled(inner),
6371        }
6372    }
6373}
6374impl<R>
6375    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_labeling_jobs_for_workteam::ListLabelingJobsForWorkteamError, R>>
6376    for Error
6377where
6378    R: Send + Sync + std::fmt::Debug + 'static,
6379{
6380    fn from(
6381        err: ::aws_smithy_runtime_api::client::result::SdkError<
6382            crate::operation::list_labeling_jobs_for_workteam::ListLabelingJobsForWorkteamError,
6383            R,
6384        >,
6385    ) -> Self {
6386        match err {
6387            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6388            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6389                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6390                source: err.into(),
6391            }),
6392        }
6393    }
6394}
6395impl From<crate::operation::list_labeling_jobs_for_workteam::ListLabelingJobsForWorkteamError> for Error {
6396    fn from(err: crate::operation::list_labeling_jobs_for_workteam::ListLabelingJobsForWorkteamError) -> Self {
6397        match err {
6398            crate::operation::list_labeling_jobs_for_workteam::ListLabelingJobsForWorkteamError::ResourceNotFound(inner) => {
6399                Error::ResourceNotFound(inner)
6400            }
6401            crate::operation::list_labeling_jobs_for_workteam::ListLabelingJobsForWorkteamError::Unhandled(inner) => Error::Unhandled(inner),
6402        }
6403    }
6404}
6405impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_lineage_groups::ListLineageGroupsError, R>> for Error
6406where
6407    R: Send + Sync + std::fmt::Debug + 'static,
6408{
6409    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_lineage_groups::ListLineageGroupsError, R>) -> Self {
6410        match err {
6411            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6412            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6413                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6414                source: err.into(),
6415            }),
6416        }
6417    }
6418}
6419impl From<crate::operation::list_lineage_groups::ListLineageGroupsError> for Error {
6420    fn from(err: crate::operation::list_lineage_groups::ListLineageGroupsError) -> Self {
6421        match err {
6422            crate::operation::list_lineage_groups::ListLineageGroupsError::Unhandled(inner) => Error::Unhandled(inner),
6423        }
6424    }
6425}
6426impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_mlflow_tracking_servers::ListMlflowTrackingServersError, R>>
6427    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_mlflow_tracking_servers::ListMlflowTrackingServersError, 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_mlflow_tracking_servers::ListMlflowTrackingServersError> for Error {
6444    fn from(err: crate::operation::list_mlflow_tracking_servers::ListMlflowTrackingServersError) -> Self {
6445        match err {
6446            crate::operation::list_mlflow_tracking_servers::ListMlflowTrackingServersError::Unhandled(inner) => Error::Unhandled(inner),
6447        }
6448    }
6449}
6450impl<R>
6451    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_model_bias_job_definitions::ListModelBiasJobDefinitionsError, R>>
6452    for Error
6453where
6454    R: Send + Sync + std::fmt::Debug + 'static,
6455{
6456    fn from(
6457        err: ::aws_smithy_runtime_api::client::result::SdkError<
6458            crate::operation::list_model_bias_job_definitions::ListModelBiasJobDefinitionsError,
6459            R,
6460        >,
6461    ) -> Self {
6462        match err {
6463            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6464            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6465                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6466                source: err.into(),
6467            }),
6468        }
6469    }
6470}
6471impl From<crate::operation::list_model_bias_job_definitions::ListModelBiasJobDefinitionsError> for Error {
6472    fn from(err: crate::operation::list_model_bias_job_definitions::ListModelBiasJobDefinitionsError) -> Self {
6473        match err {
6474            crate::operation::list_model_bias_job_definitions::ListModelBiasJobDefinitionsError::Unhandled(inner) => Error::Unhandled(inner),
6475        }
6476    }
6477}
6478impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_model_card_export_jobs::ListModelCardExportJobsError, R>>
6479    for Error
6480where
6481    R: Send + Sync + std::fmt::Debug + 'static,
6482{
6483    fn from(
6484        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_model_card_export_jobs::ListModelCardExportJobsError, R>,
6485    ) -> Self {
6486        match err {
6487            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6488            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6489                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6490                source: err.into(),
6491            }),
6492        }
6493    }
6494}
6495impl From<crate::operation::list_model_card_export_jobs::ListModelCardExportJobsError> for Error {
6496    fn from(err: crate::operation::list_model_card_export_jobs::ListModelCardExportJobsError) -> Self {
6497        match err {
6498            crate::operation::list_model_card_export_jobs::ListModelCardExportJobsError::Unhandled(inner) => Error::Unhandled(inner),
6499        }
6500    }
6501}
6502impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_model_cards::ListModelCardsError, R>> for Error
6503where
6504    R: Send + Sync + std::fmt::Debug + 'static,
6505{
6506    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_model_cards::ListModelCardsError, R>) -> Self {
6507        match err {
6508            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6509            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6510                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6511                source: err.into(),
6512            }),
6513        }
6514    }
6515}
6516impl From<crate::operation::list_model_cards::ListModelCardsError> for Error {
6517    fn from(err: crate::operation::list_model_cards::ListModelCardsError) -> Self {
6518        match err {
6519            crate::operation::list_model_cards::ListModelCardsError::Unhandled(inner) => Error::Unhandled(inner),
6520        }
6521    }
6522}
6523impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_model_card_versions::ListModelCardVersionsError, R>> for Error
6524where
6525    R: Send + Sync + std::fmt::Debug + 'static,
6526{
6527    fn from(
6528        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_model_card_versions::ListModelCardVersionsError, R>,
6529    ) -> Self {
6530        match err {
6531            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6532            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6533                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6534                source: err.into(),
6535            }),
6536        }
6537    }
6538}
6539impl From<crate::operation::list_model_card_versions::ListModelCardVersionsError> for Error {
6540    fn from(err: crate::operation::list_model_card_versions::ListModelCardVersionsError) -> Self {
6541        match err {
6542            crate::operation::list_model_card_versions::ListModelCardVersionsError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
6543            crate::operation::list_model_card_versions::ListModelCardVersionsError::Unhandled(inner) => Error::Unhandled(inner),
6544        }
6545    }
6546}
6547impl<R>
6548    From<
6549        ::aws_smithy_runtime_api::client::result::SdkError<
6550            crate::operation::list_model_explainability_job_definitions::ListModelExplainabilityJobDefinitionsError,
6551            R,
6552        >,
6553    > for Error
6554where
6555    R: Send + Sync + std::fmt::Debug + 'static,
6556{
6557    fn from(
6558        err: ::aws_smithy_runtime_api::client::result::SdkError<
6559            crate::operation::list_model_explainability_job_definitions::ListModelExplainabilityJobDefinitionsError,
6560            R,
6561        >,
6562    ) -> Self {
6563        match err {
6564            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6565            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6566                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6567                source: err.into(),
6568            }),
6569        }
6570    }
6571}
6572impl From<crate::operation::list_model_explainability_job_definitions::ListModelExplainabilityJobDefinitionsError> for Error {
6573    fn from(err: crate::operation::list_model_explainability_job_definitions::ListModelExplainabilityJobDefinitionsError) -> Self {
6574        match err {
6575            crate::operation::list_model_explainability_job_definitions::ListModelExplainabilityJobDefinitionsError::Unhandled(inner) => {
6576                Error::Unhandled(inner)
6577            }
6578        }
6579    }
6580}
6581impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_model_metadata::ListModelMetadataError, R>> for Error
6582where
6583    R: Send + Sync + std::fmt::Debug + 'static,
6584{
6585    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_model_metadata::ListModelMetadataError, R>) -> Self {
6586        match err {
6587            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6588            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6589                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6590                source: err.into(),
6591            }),
6592        }
6593    }
6594}
6595impl From<crate::operation::list_model_metadata::ListModelMetadataError> for Error {
6596    fn from(err: crate::operation::list_model_metadata::ListModelMetadataError) -> Self {
6597        match err {
6598            crate::operation::list_model_metadata::ListModelMetadataError::Unhandled(inner) => Error::Unhandled(inner),
6599        }
6600    }
6601}
6602impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_model_package_groups::ListModelPackageGroupsError, R>>
6603    for Error
6604where
6605    R: Send + Sync + std::fmt::Debug + 'static,
6606{
6607    fn from(
6608        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_model_package_groups::ListModelPackageGroupsError, R>,
6609    ) -> Self {
6610        match err {
6611            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6612            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6613                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6614                source: err.into(),
6615            }),
6616        }
6617    }
6618}
6619impl From<crate::operation::list_model_package_groups::ListModelPackageGroupsError> for Error {
6620    fn from(err: crate::operation::list_model_package_groups::ListModelPackageGroupsError) -> Self {
6621        match err {
6622            crate::operation::list_model_package_groups::ListModelPackageGroupsError::Unhandled(inner) => Error::Unhandled(inner),
6623        }
6624    }
6625}
6626impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_model_packages::ListModelPackagesError, R>> for Error
6627where
6628    R: Send + Sync + std::fmt::Debug + 'static,
6629{
6630    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_model_packages::ListModelPackagesError, R>) -> Self {
6631        match err {
6632            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6633            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6634                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6635                source: err.into(),
6636            }),
6637        }
6638    }
6639}
6640impl From<crate::operation::list_model_packages::ListModelPackagesError> for Error {
6641    fn from(err: crate::operation::list_model_packages::ListModelPackagesError) -> Self {
6642        match err {
6643            crate::operation::list_model_packages::ListModelPackagesError::Unhandled(inner) => Error::Unhandled(inner),
6644        }
6645    }
6646}
6647impl<R>
6648    From<
6649        ::aws_smithy_runtime_api::client::result::SdkError<
6650            crate::operation::list_model_quality_job_definitions::ListModelQualityJobDefinitionsError,
6651            R,
6652        >,
6653    > for Error
6654where
6655    R: Send + Sync + std::fmt::Debug + 'static,
6656{
6657    fn from(
6658        err: ::aws_smithy_runtime_api::client::result::SdkError<
6659            crate::operation::list_model_quality_job_definitions::ListModelQualityJobDefinitionsError,
6660            R,
6661        >,
6662    ) -> Self {
6663        match err {
6664            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6665            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6666                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6667                source: err.into(),
6668            }),
6669        }
6670    }
6671}
6672impl From<crate::operation::list_model_quality_job_definitions::ListModelQualityJobDefinitionsError> for Error {
6673    fn from(err: crate::operation::list_model_quality_job_definitions::ListModelQualityJobDefinitionsError) -> Self {
6674        match err {
6675            crate::operation::list_model_quality_job_definitions::ListModelQualityJobDefinitionsError::Unhandled(inner) => Error::Unhandled(inner),
6676        }
6677    }
6678}
6679impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_models::ListModelsError, R>> for Error
6680where
6681    R: Send + Sync + std::fmt::Debug + 'static,
6682{
6683    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_models::ListModelsError, R>) -> Self {
6684        match err {
6685            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6686            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6687                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6688                source: err.into(),
6689            }),
6690        }
6691    }
6692}
6693impl From<crate::operation::list_models::ListModelsError> for Error {
6694    fn from(err: crate::operation::list_models::ListModelsError) -> Self {
6695        match err {
6696            crate::operation::list_models::ListModelsError::Unhandled(inner) => Error::Unhandled(inner),
6697        }
6698    }
6699}
6700impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_monitoring_alert_history::ListMonitoringAlertHistoryError, R>>
6701    for Error
6702where
6703    R: Send + Sync + std::fmt::Debug + 'static,
6704{
6705    fn from(
6706        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_monitoring_alert_history::ListMonitoringAlertHistoryError, R>,
6707    ) -> Self {
6708        match err {
6709            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6710            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6711                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6712                source: err.into(),
6713            }),
6714        }
6715    }
6716}
6717impl From<crate::operation::list_monitoring_alert_history::ListMonitoringAlertHistoryError> for Error {
6718    fn from(err: crate::operation::list_monitoring_alert_history::ListMonitoringAlertHistoryError) -> Self {
6719        match err {
6720            crate::operation::list_monitoring_alert_history::ListMonitoringAlertHistoryError::ResourceNotFound(inner) => {
6721                Error::ResourceNotFound(inner)
6722            }
6723            crate::operation::list_monitoring_alert_history::ListMonitoringAlertHistoryError::Unhandled(inner) => Error::Unhandled(inner),
6724        }
6725    }
6726}
6727impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_monitoring_alerts::ListMonitoringAlertsError, R>> for Error
6728where
6729    R: Send + Sync + std::fmt::Debug + 'static,
6730{
6731    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_monitoring_alerts::ListMonitoringAlertsError, R>) -> Self {
6732        match err {
6733            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6734            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6735                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6736                source: err.into(),
6737            }),
6738        }
6739    }
6740}
6741impl From<crate::operation::list_monitoring_alerts::ListMonitoringAlertsError> for Error {
6742    fn from(err: crate::operation::list_monitoring_alerts::ListMonitoringAlertsError) -> Self {
6743        match err {
6744            crate::operation::list_monitoring_alerts::ListMonitoringAlertsError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
6745            crate::operation::list_monitoring_alerts::ListMonitoringAlertsError::Unhandled(inner) => Error::Unhandled(inner),
6746        }
6747    }
6748}
6749impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_monitoring_executions::ListMonitoringExecutionsError, R>>
6750    for Error
6751where
6752    R: Send + Sync + std::fmt::Debug + 'static,
6753{
6754    fn from(
6755        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_monitoring_executions::ListMonitoringExecutionsError, R>,
6756    ) -> Self {
6757        match err {
6758            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6759            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6760                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6761                source: err.into(),
6762            }),
6763        }
6764    }
6765}
6766impl From<crate::operation::list_monitoring_executions::ListMonitoringExecutionsError> for Error {
6767    fn from(err: crate::operation::list_monitoring_executions::ListMonitoringExecutionsError) -> Self {
6768        match err {
6769            crate::operation::list_monitoring_executions::ListMonitoringExecutionsError::Unhandled(inner) => Error::Unhandled(inner),
6770        }
6771    }
6772}
6773impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_monitoring_schedules::ListMonitoringSchedulesError, R>>
6774    for Error
6775where
6776    R: Send + Sync + std::fmt::Debug + 'static,
6777{
6778    fn from(
6779        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_monitoring_schedules::ListMonitoringSchedulesError, R>,
6780    ) -> Self {
6781        match err {
6782            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6783            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6784                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6785                source: err.into(),
6786            }),
6787        }
6788    }
6789}
6790impl From<crate::operation::list_monitoring_schedules::ListMonitoringSchedulesError> for Error {
6791    fn from(err: crate::operation::list_monitoring_schedules::ListMonitoringSchedulesError) -> Self {
6792        match err {
6793            crate::operation::list_monitoring_schedules::ListMonitoringSchedulesError::Unhandled(inner) => Error::Unhandled(inner),
6794        }
6795    }
6796}
6797impl<R>
6798    From<
6799        ::aws_smithy_runtime_api::client::result::SdkError<
6800            crate::operation::list_notebook_instance_lifecycle_configs::ListNotebookInstanceLifecycleConfigsError,
6801            R,
6802        >,
6803    > for Error
6804where
6805    R: Send + Sync + std::fmt::Debug + 'static,
6806{
6807    fn from(
6808        err: ::aws_smithy_runtime_api::client::result::SdkError<
6809            crate::operation::list_notebook_instance_lifecycle_configs::ListNotebookInstanceLifecycleConfigsError,
6810            R,
6811        >,
6812    ) -> Self {
6813        match err {
6814            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6815            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6816                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6817                source: err.into(),
6818            }),
6819        }
6820    }
6821}
6822impl From<crate::operation::list_notebook_instance_lifecycle_configs::ListNotebookInstanceLifecycleConfigsError> for Error {
6823    fn from(err: crate::operation::list_notebook_instance_lifecycle_configs::ListNotebookInstanceLifecycleConfigsError) -> Self {
6824        match err {
6825            crate::operation::list_notebook_instance_lifecycle_configs::ListNotebookInstanceLifecycleConfigsError::Unhandled(inner) => {
6826                Error::Unhandled(inner)
6827            }
6828        }
6829    }
6830}
6831impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_notebook_instances::ListNotebookInstancesError, R>> for Error
6832where
6833    R: Send + Sync + std::fmt::Debug + 'static,
6834{
6835    fn from(
6836        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_notebook_instances::ListNotebookInstancesError, R>,
6837    ) -> Self {
6838        match err {
6839            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6840            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6841                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6842                source: err.into(),
6843            }),
6844        }
6845    }
6846}
6847impl From<crate::operation::list_notebook_instances::ListNotebookInstancesError> for Error {
6848    fn from(err: crate::operation::list_notebook_instances::ListNotebookInstancesError) -> Self {
6849        match err {
6850            crate::operation::list_notebook_instances::ListNotebookInstancesError::Unhandled(inner) => Error::Unhandled(inner),
6851        }
6852    }
6853}
6854impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_optimization_jobs::ListOptimizationJobsError, R>> for Error
6855where
6856    R: Send + Sync + std::fmt::Debug + 'static,
6857{
6858    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_optimization_jobs::ListOptimizationJobsError, R>) -> Self {
6859        match err {
6860            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6861            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6862                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6863                source: err.into(),
6864            }),
6865        }
6866    }
6867}
6868impl From<crate::operation::list_optimization_jobs::ListOptimizationJobsError> for Error {
6869    fn from(err: crate::operation::list_optimization_jobs::ListOptimizationJobsError) -> Self {
6870        match err {
6871            crate::operation::list_optimization_jobs::ListOptimizationJobsError::Unhandled(inner) => Error::Unhandled(inner),
6872        }
6873    }
6874}
6875impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_partner_apps::ListPartnerAppsError, R>> for Error
6876where
6877    R: Send + Sync + std::fmt::Debug + 'static,
6878{
6879    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_partner_apps::ListPartnerAppsError, R>) -> Self {
6880        match err {
6881            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6882            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6883                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6884                source: err.into(),
6885            }),
6886        }
6887    }
6888}
6889impl From<crate::operation::list_partner_apps::ListPartnerAppsError> for Error {
6890    fn from(err: crate::operation::list_partner_apps::ListPartnerAppsError) -> Self {
6891        match err {
6892            crate::operation::list_partner_apps::ListPartnerAppsError::Unhandled(inner) => Error::Unhandled(inner),
6893        }
6894    }
6895}
6896impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_pipeline_executions::ListPipelineExecutionsError, R>> for Error
6897where
6898    R: Send + Sync + std::fmt::Debug + 'static,
6899{
6900    fn from(
6901        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_pipeline_executions::ListPipelineExecutionsError, R>,
6902    ) -> Self {
6903        match err {
6904            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6905            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6906                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6907                source: err.into(),
6908            }),
6909        }
6910    }
6911}
6912impl From<crate::operation::list_pipeline_executions::ListPipelineExecutionsError> for Error {
6913    fn from(err: crate::operation::list_pipeline_executions::ListPipelineExecutionsError) -> Self {
6914        match err {
6915            crate::operation::list_pipeline_executions::ListPipelineExecutionsError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
6916            crate::operation::list_pipeline_executions::ListPipelineExecutionsError::Unhandled(inner) => Error::Unhandled(inner),
6917        }
6918    }
6919}
6920impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_pipeline_execution_steps::ListPipelineExecutionStepsError, R>>
6921    for Error
6922where
6923    R: Send + Sync + std::fmt::Debug + 'static,
6924{
6925    fn from(
6926        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_pipeline_execution_steps::ListPipelineExecutionStepsError, R>,
6927    ) -> Self {
6928        match err {
6929            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6930            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6931                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6932                source: err.into(),
6933            }),
6934        }
6935    }
6936}
6937impl From<crate::operation::list_pipeline_execution_steps::ListPipelineExecutionStepsError> for Error {
6938    fn from(err: crate::operation::list_pipeline_execution_steps::ListPipelineExecutionStepsError) -> Self {
6939        match err {
6940            crate::operation::list_pipeline_execution_steps::ListPipelineExecutionStepsError::ResourceNotFound(inner) => {
6941                Error::ResourceNotFound(inner)
6942            }
6943            crate::operation::list_pipeline_execution_steps::ListPipelineExecutionStepsError::Unhandled(inner) => Error::Unhandled(inner),
6944        }
6945    }
6946}
6947impl<R>
6948    From<
6949        ::aws_smithy_runtime_api::client::result::SdkError<
6950            crate::operation::list_pipeline_parameters_for_execution::ListPipelineParametersForExecutionError,
6951            R,
6952        >,
6953    > for Error
6954where
6955    R: Send + Sync + std::fmt::Debug + 'static,
6956{
6957    fn from(
6958        err: ::aws_smithy_runtime_api::client::result::SdkError<
6959            crate::operation::list_pipeline_parameters_for_execution::ListPipelineParametersForExecutionError,
6960            R,
6961        >,
6962    ) -> Self {
6963        match err {
6964            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6965            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6966                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6967                source: err.into(),
6968            }),
6969        }
6970    }
6971}
6972impl From<crate::operation::list_pipeline_parameters_for_execution::ListPipelineParametersForExecutionError> for Error {
6973    fn from(err: crate::operation::list_pipeline_parameters_for_execution::ListPipelineParametersForExecutionError) -> Self {
6974        match err {
6975            crate::operation::list_pipeline_parameters_for_execution::ListPipelineParametersForExecutionError::ResourceNotFound(inner) => {
6976                Error::ResourceNotFound(inner)
6977            }
6978            crate::operation::list_pipeline_parameters_for_execution::ListPipelineParametersForExecutionError::Unhandled(inner) => {
6979                Error::Unhandled(inner)
6980            }
6981        }
6982    }
6983}
6984impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_pipelines::ListPipelinesError, R>> for Error
6985where
6986    R: Send + Sync + std::fmt::Debug + 'static,
6987{
6988    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_pipelines::ListPipelinesError, R>) -> Self {
6989        match err {
6990            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6991            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6992                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6993                source: err.into(),
6994            }),
6995        }
6996    }
6997}
6998impl From<crate::operation::list_pipelines::ListPipelinesError> for Error {
6999    fn from(err: crate::operation::list_pipelines::ListPipelinesError) -> Self {
7000        match err {
7001            crate::operation::list_pipelines::ListPipelinesError::Unhandled(inner) => Error::Unhandled(inner),
7002        }
7003    }
7004}
7005impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_pipeline_versions::ListPipelineVersionsError, R>> for Error
7006where
7007    R: Send + Sync + std::fmt::Debug + 'static,
7008{
7009    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_pipeline_versions::ListPipelineVersionsError, R>) -> Self {
7010        match err {
7011            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7012            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7013                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7014                source: err.into(),
7015            }),
7016        }
7017    }
7018}
7019impl From<crate::operation::list_pipeline_versions::ListPipelineVersionsError> for Error {
7020    fn from(err: crate::operation::list_pipeline_versions::ListPipelineVersionsError) -> Self {
7021        match err {
7022            crate::operation::list_pipeline_versions::ListPipelineVersionsError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
7023            crate::operation::list_pipeline_versions::ListPipelineVersionsError::Unhandled(inner) => Error::Unhandled(inner),
7024        }
7025    }
7026}
7027impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_processing_jobs::ListProcessingJobsError, R>> for Error
7028where
7029    R: Send + Sync + std::fmt::Debug + 'static,
7030{
7031    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_processing_jobs::ListProcessingJobsError, R>) -> Self {
7032        match err {
7033            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7034            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7035                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7036                source: err.into(),
7037            }),
7038        }
7039    }
7040}
7041impl From<crate::operation::list_processing_jobs::ListProcessingJobsError> for Error {
7042    fn from(err: crate::operation::list_processing_jobs::ListProcessingJobsError) -> Self {
7043        match err {
7044            crate::operation::list_processing_jobs::ListProcessingJobsError::Unhandled(inner) => Error::Unhandled(inner),
7045        }
7046    }
7047}
7048impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_projects::ListProjectsError, R>> for Error
7049where
7050    R: Send + Sync + std::fmt::Debug + 'static,
7051{
7052    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_projects::ListProjectsError, R>) -> Self {
7053        match err {
7054            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7055            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7056                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7057                source: err.into(),
7058            }),
7059        }
7060    }
7061}
7062impl From<crate::operation::list_projects::ListProjectsError> for Error {
7063    fn from(err: crate::operation::list_projects::ListProjectsError) -> Self {
7064        match err {
7065            crate::operation::list_projects::ListProjectsError::Unhandled(inner) => Error::Unhandled(inner),
7066        }
7067    }
7068}
7069impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_resource_catalogs::ListResourceCatalogsError, R>> for Error
7070where
7071    R: Send + Sync + std::fmt::Debug + 'static,
7072{
7073    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_resource_catalogs::ListResourceCatalogsError, R>) -> Self {
7074        match err {
7075            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7076            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7077                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7078                source: err.into(),
7079            }),
7080        }
7081    }
7082}
7083impl From<crate::operation::list_resource_catalogs::ListResourceCatalogsError> for Error {
7084    fn from(err: crate::operation::list_resource_catalogs::ListResourceCatalogsError) -> Self {
7085        match err {
7086            crate::operation::list_resource_catalogs::ListResourceCatalogsError::Unhandled(inner) => Error::Unhandled(inner),
7087        }
7088    }
7089}
7090impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_spaces::ListSpacesError, R>> for Error
7091where
7092    R: Send + Sync + std::fmt::Debug + 'static,
7093{
7094    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_spaces::ListSpacesError, R>) -> Self {
7095        match err {
7096            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7097            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7098                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7099                source: err.into(),
7100            }),
7101        }
7102    }
7103}
7104impl From<crate::operation::list_spaces::ListSpacesError> for Error {
7105    fn from(err: crate::operation::list_spaces::ListSpacesError) -> Self {
7106        match err {
7107            crate::operation::list_spaces::ListSpacesError::Unhandled(inner) => Error::Unhandled(inner),
7108        }
7109    }
7110}
7111impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_stage_devices::ListStageDevicesError, R>> for Error
7112where
7113    R: Send + Sync + std::fmt::Debug + 'static,
7114{
7115    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_stage_devices::ListStageDevicesError, R>) -> Self {
7116        match err {
7117            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7118            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7119                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7120                source: err.into(),
7121            }),
7122        }
7123    }
7124}
7125impl From<crate::operation::list_stage_devices::ListStageDevicesError> for Error {
7126    fn from(err: crate::operation::list_stage_devices::ListStageDevicesError) -> Self {
7127        match err {
7128            crate::operation::list_stage_devices::ListStageDevicesError::Unhandled(inner) => Error::Unhandled(inner),
7129        }
7130    }
7131}
7132impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_studio_lifecycle_configs::ListStudioLifecycleConfigsError, R>>
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<crate::operation::list_studio_lifecycle_configs::ListStudioLifecycleConfigsError, R>,
7139    ) -> Self {
7140        match err {
7141            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7142            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7143                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7144                source: err.into(),
7145            }),
7146        }
7147    }
7148}
7149impl From<crate::operation::list_studio_lifecycle_configs::ListStudioLifecycleConfigsError> for Error {
7150    fn from(err: crate::operation::list_studio_lifecycle_configs::ListStudioLifecycleConfigsError) -> Self {
7151        match err {
7152            crate::operation::list_studio_lifecycle_configs::ListStudioLifecycleConfigsError::ResourceInUse(inner) => Error::ResourceInUse(inner),
7153            crate::operation::list_studio_lifecycle_configs::ListStudioLifecycleConfigsError::Unhandled(inner) => Error::Unhandled(inner),
7154        }
7155    }
7156}
7157impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_subscribed_workteams::ListSubscribedWorkteamsError, R>>
7158    for Error
7159where
7160    R: Send + Sync + std::fmt::Debug + 'static,
7161{
7162    fn from(
7163        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_subscribed_workteams::ListSubscribedWorkteamsError, R>,
7164    ) -> 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_subscribed_workteams::ListSubscribedWorkteamsError> for Error {
7175    fn from(err: crate::operation::list_subscribed_workteams::ListSubscribedWorkteamsError) -> Self {
7176        match err {
7177            crate::operation::list_subscribed_workteams::ListSubscribedWorkteamsError::Unhandled(inner) => Error::Unhandled(inner),
7178        }
7179    }
7180}
7181impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_tags::ListTagsError, 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_tags::ListTagsError, 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_tags::ListTagsError> for Error {
7196    fn from(err: crate::operation::list_tags::ListTagsError) -> Self {
7197        match err {
7198            crate::operation::list_tags::ListTagsError::Unhandled(inner) => Error::Unhandled(inner),
7199        }
7200    }
7201}
7202impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_training_jobs::ListTrainingJobsError, 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_training_jobs::ListTrainingJobsError, 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_training_jobs::ListTrainingJobsError> for Error {
7217    fn from(err: crate::operation::list_training_jobs::ListTrainingJobsError) -> Self {
7218        match err {
7219            crate::operation::list_training_jobs::ListTrainingJobsError::Unhandled(inner) => Error::Unhandled(inner),
7220        }
7221    }
7222}
7223impl<R>
7224    From<
7225        ::aws_smithy_runtime_api::client::result::SdkError<
7226            crate::operation::list_training_jobs_for_hyper_parameter_tuning_job::ListTrainingJobsForHyperParameterTuningJobError,
7227            R,
7228        >,
7229    > for Error
7230where
7231    R: Send + Sync + std::fmt::Debug + 'static,
7232{
7233    fn from(
7234        err: ::aws_smithy_runtime_api::client::result::SdkError<
7235            crate::operation::list_training_jobs_for_hyper_parameter_tuning_job::ListTrainingJobsForHyperParameterTuningJobError,
7236            R,
7237        >,
7238    ) -> Self {
7239        match err {
7240            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7241            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7242                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7243                source: err.into(),
7244            }),
7245        }
7246    }
7247}
7248impl From<crate::operation::list_training_jobs_for_hyper_parameter_tuning_job::ListTrainingJobsForHyperParameterTuningJobError> for Error {
7249    fn from(err: crate::operation::list_training_jobs_for_hyper_parameter_tuning_job::ListTrainingJobsForHyperParameterTuningJobError) -> Self {
7250        match err {
7251            crate::operation::list_training_jobs_for_hyper_parameter_tuning_job::ListTrainingJobsForHyperParameterTuningJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
7252            crate::operation::list_training_jobs_for_hyper_parameter_tuning_job::ListTrainingJobsForHyperParameterTuningJobError::Unhandled(inner) => Error::Unhandled(inner),
7253        }
7254    }
7255}
7256impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_training_plans::ListTrainingPlansError, R>> for Error
7257where
7258    R: Send + Sync + std::fmt::Debug + 'static,
7259{
7260    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_training_plans::ListTrainingPlansError, R>) -> Self {
7261        match err {
7262            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7263            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7264                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7265                source: err.into(),
7266            }),
7267        }
7268    }
7269}
7270impl From<crate::operation::list_training_plans::ListTrainingPlansError> for Error {
7271    fn from(err: crate::operation::list_training_plans::ListTrainingPlansError) -> Self {
7272        match err {
7273            crate::operation::list_training_plans::ListTrainingPlansError::Unhandled(inner) => Error::Unhandled(inner),
7274        }
7275    }
7276}
7277impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_transform_jobs::ListTransformJobsError, R>> for Error
7278where
7279    R: Send + Sync + std::fmt::Debug + 'static,
7280{
7281    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_transform_jobs::ListTransformJobsError, R>) -> Self {
7282        match err {
7283            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7284            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7285                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7286                source: err.into(),
7287            }),
7288        }
7289    }
7290}
7291impl From<crate::operation::list_transform_jobs::ListTransformJobsError> for Error {
7292    fn from(err: crate::operation::list_transform_jobs::ListTransformJobsError) -> Self {
7293        match err {
7294            crate::operation::list_transform_jobs::ListTransformJobsError::Unhandled(inner) => Error::Unhandled(inner),
7295        }
7296    }
7297}
7298impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_trial_components::ListTrialComponentsError, R>> for Error
7299where
7300    R: Send + Sync + std::fmt::Debug + 'static,
7301{
7302    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_trial_components::ListTrialComponentsError, R>) -> Self {
7303        match err {
7304            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7305            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7306                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7307                source: err.into(),
7308            }),
7309        }
7310    }
7311}
7312impl From<crate::operation::list_trial_components::ListTrialComponentsError> for Error {
7313    fn from(err: crate::operation::list_trial_components::ListTrialComponentsError) -> Self {
7314        match err {
7315            crate::operation::list_trial_components::ListTrialComponentsError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
7316            crate::operation::list_trial_components::ListTrialComponentsError::Unhandled(inner) => Error::Unhandled(inner),
7317        }
7318    }
7319}
7320impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_trials::ListTrialsError, R>> for Error
7321where
7322    R: Send + Sync + std::fmt::Debug + 'static,
7323{
7324    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_trials::ListTrialsError, R>) -> Self {
7325        match err {
7326            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7327            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7328                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7329                source: err.into(),
7330            }),
7331        }
7332    }
7333}
7334impl From<crate::operation::list_trials::ListTrialsError> for Error {
7335    fn from(err: crate::operation::list_trials::ListTrialsError) -> Self {
7336        match err {
7337            crate::operation::list_trials::ListTrialsError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
7338            crate::operation::list_trials::ListTrialsError::Unhandled(inner) => Error::Unhandled(inner),
7339        }
7340    }
7341}
7342impl<R>
7343    From<
7344        ::aws_smithy_runtime_api::client::result::SdkError<
7345            crate::operation::list_ultra_servers_by_reserved_capacity::ListUltraServersByReservedCapacityError,
7346            R,
7347        >,
7348    > for Error
7349where
7350    R: Send + Sync + std::fmt::Debug + 'static,
7351{
7352    fn from(
7353        err: ::aws_smithy_runtime_api::client::result::SdkError<
7354            crate::operation::list_ultra_servers_by_reserved_capacity::ListUltraServersByReservedCapacityError,
7355            R,
7356        >,
7357    ) -> Self {
7358        match err {
7359            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7360            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7361                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7362                source: err.into(),
7363            }),
7364        }
7365    }
7366}
7367impl From<crate::operation::list_ultra_servers_by_reserved_capacity::ListUltraServersByReservedCapacityError> for Error {
7368    fn from(err: crate::operation::list_ultra_servers_by_reserved_capacity::ListUltraServersByReservedCapacityError) -> Self {
7369        match err {
7370            crate::operation::list_ultra_servers_by_reserved_capacity::ListUltraServersByReservedCapacityError::ResourceNotFound(inner) => {
7371                Error::ResourceNotFound(inner)
7372            }
7373            crate::operation::list_ultra_servers_by_reserved_capacity::ListUltraServersByReservedCapacityError::Unhandled(inner) => {
7374                Error::Unhandled(inner)
7375            }
7376        }
7377    }
7378}
7379impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_user_profiles::ListUserProfilesError, R>> for Error
7380where
7381    R: Send + Sync + std::fmt::Debug + 'static,
7382{
7383    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_user_profiles::ListUserProfilesError, R>) -> Self {
7384        match err {
7385            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7386            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7387                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7388                source: err.into(),
7389            }),
7390        }
7391    }
7392}
7393impl From<crate::operation::list_user_profiles::ListUserProfilesError> for Error {
7394    fn from(err: crate::operation::list_user_profiles::ListUserProfilesError) -> Self {
7395        match err {
7396            crate::operation::list_user_profiles::ListUserProfilesError::Unhandled(inner) => Error::Unhandled(inner),
7397        }
7398    }
7399}
7400impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_workforces::ListWorkforcesError, R>> for Error
7401where
7402    R: Send + Sync + std::fmt::Debug + 'static,
7403{
7404    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_workforces::ListWorkforcesError, R>) -> Self {
7405        match err {
7406            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7407            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7408                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7409                source: err.into(),
7410            }),
7411        }
7412    }
7413}
7414impl From<crate::operation::list_workforces::ListWorkforcesError> for Error {
7415    fn from(err: crate::operation::list_workforces::ListWorkforcesError) -> Self {
7416        match err {
7417            crate::operation::list_workforces::ListWorkforcesError::Unhandled(inner) => Error::Unhandled(inner),
7418        }
7419    }
7420}
7421impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_workteams::ListWorkteamsError, R>> for Error
7422where
7423    R: Send + Sync + std::fmt::Debug + 'static,
7424{
7425    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_workteams::ListWorkteamsError, R>) -> Self {
7426        match err {
7427            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7428            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7429                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7430                source: err.into(),
7431            }),
7432        }
7433    }
7434}
7435impl From<crate::operation::list_workteams::ListWorkteamsError> for Error {
7436    fn from(err: crate::operation::list_workteams::ListWorkteamsError) -> Self {
7437        match err {
7438            crate::operation::list_workteams::ListWorkteamsError::Unhandled(inner) => Error::Unhandled(inner),
7439        }
7440    }
7441}
7442impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_model_package_group_policy::PutModelPackageGroupPolicyError, R>>
7443    for Error
7444where
7445    R: Send + Sync + std::fmt::Debug + 'static,
7446{
7447    fn from(
7448        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_model_package_group_policy::PutModelPackageGroupPolicyError, R>,
7449    ) -> Self {
7450        match err {
7451            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7452            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7453                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7454                source: err.into(),
7455            }),
7456        }
7457    }
7458}
7459impl From<crate::operation::put_model_package_group_policy::PutModelPackageGroupPolicyError> for Error {
7460    fn from(err: crate::operation::put_model_package_group_policy::PutModelPackageGroupPolicyError) -> Self {
7461        match err {
7462            crate::operation::put_model_package_group_policy::PutModelPackageGroupPolicyError::ConflictException(inner) => {
7463                Error::ConflictException(inner)
7464            }
7465            crate::operation::put_model_package_group_policy::PutModelPackageGroupPolicyError::Unhandled(inner) => Error::Unhandled(inner),
7466        }
7467    }
7468}
7469impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::query_lineage::QueryLineageError, R>> for Error
7470where
7471    R: Send + Sync + std::fmt::Debug + 'static,
7472{
7473    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::query_lineage::QueryLineageError, R>) -> Self {
7474        match err {
7475            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7476            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7477                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7478                source: err.into(),
7479            }),
7480        }
7481    }
7482}
7483impl From<crate::operation::query_lineage::QueryLineageError> for Error {
7484    fn from(err: crate::operation::query_lineage::QueryLineageError) -> Self {
7485        match err {
7486            crate::operation::query_lineage::QueryLineageError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
7487            crate::operation::query_lineage::QueryLineageError::Unhandled(inner) => Error::Unhandled(inner),
7488        }
7489    }
7490}
7491impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::register_devices::RegisterDevicesError, R>> for Error
7492where
7493    R: Send + Sync + std::fmt::Debug + 'static,
7494{
7495    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::register_devices::RegisterDevicesError, R>) -> Self {
7496        match err {
7497            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7498            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7499                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7500                source: err.into(),
7501            }),
7502        }
7503    }
7504}
7505impl From<crate::operation::register_devices::RegisterDevicesError> for Error {
7506    fn from(err: crate::operation::register_devices::RegisterDevicesError) -> Self {
7507        match err {
7508            crate::operation::register_devices::RegisterDevicesError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
7509            crate::operation::register_devices::RegisterDevicesError::Unhandled(inner) => Error::Unhandled(inner),
7510        }
7511    }
7512}
7513impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::render_ui_template::RenderUiTemplateError, R>> for Error
7514where
7515    R: Send + Sync + std::fmt::Debug + 'static,
7516{
7517    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::render_ui_template::RenderUiTemplateError, R>) -> Self {
7518        match err {
7519            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7520            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7521                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7522                source: err.into(),
7523            }),
7524        }
7525    }
7526}
7527impl From<crate::operation::render_ui_template::RenderUiTemplateError> for Error {
7528    fn from(err: crate::operation::render_ui_template::RenderUiTemplateError) -> Self {
7529        match err {
7530            crate::operation::render_ui_template::RenderUiTemplateError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
7531            crate::operation::render_ui_template::RenderUiTemplateError::Unhandled(inner) => Error::Unhandled(inner),
7532        }
7533    }
7534}
7535impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::retry_pipeline_execution::RetryPipelineExecutionError, R>> for Error
7536where
7537    R: Send + Sync + std::fmt::Debug + 'static,
7538{
7539    fn from(
7540        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::retry_pipeline_execution::RetryPipelineExecutionError, R>,
7541    ) -> Self {
7542        match err {
7543            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7544            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7545                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7546                source: err.into(),
7547            }),
7548        }
7549    }
7550}
7551impl From<crate::operation::retry_pipeline_execution::RetryPipelineExecutionError> for Error {
7552    fn from(err: crate::operation::retry_pipeline_execution::RetryPipelineExecutionError) -> Self {
7553        match err {
7554            crate::operation::retry_pipeline_execution::RetryPipelineExecutionError::ConflictException(inner) => Error::ConflictException(inner),
7555            crate::operation::retry_pipeline_execution::RetryPipelineExecutionError::ResourceLimitExceeded(inner) => {
7556                Error::ResourceLimitExceeded(inner)
7557            }
7558            crate::operation::retry_pipeline_execution::RetryPipelineExecutionError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
7559            crate::operation::retry_pipeline_execution::RetryPipelineExecutionError::Unhandled(inner) => Error::Unhandled(inner),
7560        }
7561    }
7562}
7563impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::search::SearchError, R>> for Error
7564where
7565    R: Send + Sync + std::fmt::Debug + 'static,
7566{
7567    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::search::SearchError, R>) -> Self {
7568        match err {
7569            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7570            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7571                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7572                source: err.into(),
7573            }),
7574        }
7575    }
7576}
7577impl From<crate::operation::search::SearchError> for Error {
7578    fn from(err: crate::operation::search::SearchError) -> Self {
7579        match err {
7580            crate::operation::search::SearchError::Unhandled(inner) => Error::Unhandled(inner),
7581        }
7582    }
7583}
7584impl<R>
7585    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::search_training_plan_offerings::SearchTrainingPlanOfferingsError, R>>
7586    for Error
7587where
7588    R: Send + Sync + std::fmt::Debug + 'static,
7589{
7590    fn from(
7591        err: ::aws_smithy_runtime_api::client::result::SdkError<
7592            crate::operation::search_training_plan_offerings::SearchTrainingPlanOfferingsError,
7593            R,
7594        >,
7595    ) -> Self {
7596        match err {
7597            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7598            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7599                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7600                source: err.into(),
7601            }),
7602        }
7603    }
7604}
7605impl From<crate::operation::search_training_plan_offerings::SearchTrainingPlanOfferingsError> for Error {
7606    fn from(err: crate::operation::search_training_plan_offerings::SearchTrainingPlanOfferingsError) -> Self {
7607        match err {
7608            crate::operation::search_training_plan_offerings::SearchTrainingPlanOfferingsError::ResourceLimitExceeded(inner) => {
7609                Error::ResourceLimitExceeded(inner)
7610            }
7611            crate::operation::search_training_plan_offerings::SearchTrainingPlanOfferingsError::Unhandled(inner) => Error::Unhandled(inner),
7612        }
7613    }
7614}
7615impl<R>
7616    From<
7617        ::aws_smithy_runtime_api::client::result::SdkError<
7618            crate::operation::send_pipeline_execution_step_failure::SendPipelineExecutionStepFailureError,
7619            R,
7620        >,
7621    > for Error
7622where
7623    R: Send + Sync + std::fmt::Debug + 'static,
7624{
7625    fn from(
7626        err: ::aws_smithy_runtime_api::client::result::SdkError<
7627            crate::operation::send_pipeline_execution_step_failure::SendPipelineExecutionStepFailureError,
7628            R,
7629        >,
7630    ) -> Self {
7631        match err {
7632            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7633            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7634                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7635                source: err.into(),
7636            }),
7637        }
7638    }
7639}
7640impl From<crate::operation::send_pipeline_execution_step_failure::SendPipelineExecutionStepFailureError> for Error {
7641    fn from(err: crate::operation::send_pipeline_execution_step_failure::SendPipelineExecutionStepFailureError) -> Self {
7642        match err {
7643            crate::operation::send_pipeline_execution_step_failure::SendPipelineExecutionStepFailureError::ConflictException(inner) => {
7644                Error::ConflictException(inner)
7645            }
7646            crate::operation::send_pipeline_execution_step_failure::SendPipelineExecutionStepFailureError::ResourceLimitExceeded(inner) => {
7647                Error::ResourceLimitExceeded(inner)
7648            }
7649            crate::operation::send_pipeline_execution_step_failure::SendPipelineExecutionStepFailureError::ResourceNotFound(inner) => {
7650                Error::ResourceNotFound(inner)
7651            }
7652            crate::operation::send_pipeline_execution_step_failure::SendPipelineExecutionStepFailureError::Unhandled(inner) => {
7653                Error::Unhandled(inner)
7654            }
7655        }
7656    }
7657}
7658impl<R>
7659    From<
7660        ::aws_smithy_runtime_api::client::result::SdkError<
7661            crate::operation::send_pipeline_execution_step_success::SendPipelineExecutionStepSuccessError,
7662            R,
7663        >,
7664    > for Error
7665where
7666    R: Send + Sync + std::fmt::Debug + 'static,
7667{
7668    fn from(
7669        err: ::aws_smithy_runtime_api::client::result::SdkError<
7670            crate::operation::send_pipeline_execution_step_success::SendPipelineExecutionStepSuccessError,
7671            R,
7672        >,
7673    ) -> Self {
7674        match err {
7675            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7676            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7677                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7678                source: err.into(),
7679            }),
7680        }
7681    }
7682}
7683impl From<crate::operation::send_pipeline_execution_step_success::SendPipelineExecutionStepSuccessError> for Error {
7684    fn from(err: crate::operation::send_pipeline_execution_step_success::SendPipelineExecutionStepSuccessError) -> Self {
7685        match err {
7686            crate::operation::send_pipeline_execution_step_success::SendPipelineExecutionStepSuccessError::ConflictException(inner) => {
7687                Error::ConflictException(inner)
7688            }
7689            crate::operation::send_pipeline_execution_step_success::SendPipelineExecutionStepSuccessError::ResourceLimitExceeded(inner) => {
7690                Error::ResourceLimitExceeded(inner)
7691            }
7692            crate::operation::send_pipeline_execution_step_success::SendPipelineExecutionStepSuccessError::ResourceNotFound(inner) => {
7693                Error::ResourceNotFound(inner)
7694            }
7695            crate::operation::send_pipeline_execution_step_success::SendPipelineExecutionStepSuccessError::Unhandled(inner) => {
7696                Error::Unhandled(inner)
7697            }
7698        }
7699    }
7700}
7701impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_edge_deployment_stage::StartEdgeDeploymentStageError, R>>
7702    for Error
7703where
7704    R: Send + Sync + std::fmt::Debug + 'static,
7705{
7706    fn from(
7707        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_edge_deployment_stage::StartEdgeDeploymentStageError, R>,
7708    ) -> Self {
7709        match err {
7710            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7711            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7712                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7713                source: err.into(),
7714            }),
7715        }
7716    }
7717}
7718impl From<crate::operation::start_edge_deployment_stage::StartEdgeDeploymentStageError> for Error {
7719    fn from(err: crate::operation::start_edge_deployment_stage::StartEdgeDeploymentStageError) -> Self {
7720        match err {
7721            crate::operation::start_edge_deployment_stage::StartEdgeDeploymentStageError::Unhandled(inner) => Error::Unhandled(inner),
7722        }
7723    }
7724}
7725impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_inference_experiment::StartInferenceExperimentError, R>>
7726    for Error
7727where
7728    R: Send + Sync + std::fmt::Debug + 'static,
7729{
7730    fn from(
7731        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_inference_experiment::StartInferenceExperimentError, R>,
7732    ) -> Self {
7733        match err {
7734            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7735            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7736                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7737                source: err.into(),
7738            }),
7739        }
7740    }
7741}
7742impl From<crate::operation::start_inference_experiment::StartInferenceExperimentError> for Error {
7743    fn from(err: crate::operation::start_inference_experiment::StartInferenceExperimentError) -> Self {
7744        match err {
7745            crate::operation::start_inference_experiment::StartInferenceExperimentError::ConflictException(inner) => Error::ConflictException(inner),
7746            crate::operation::start_inference_experiment::StartInferenceExperimentError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
7747            crate::operation::start_inference_experiment::StartInferenceExperimentError::Unhandled(inner) => Error::Unhandled(inner),
7748        }
7749    }
7750}
7751impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_mlflow_tracking_server::StartMlflowTrackingServerError, R>>
7752    for Error
7753where
7754    R: Send + Sync + std::fmt::Debug + 'static,
7755{
7756    fn from(
7757        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_mlflow_tracking_server::StartMlflowTrackingServerError, R>,
7758    ) -> Self {
7759        match err {
7760            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7761            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7762                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7763                source: err.into(),
7764            }),
7765        }
7766    }
7767}
7768impl From<crate::operation::start_mlflow_tracking_server::StartMlflowTrackingServerError> for Error {
7769    fn from(err: crate::operation::start_mlflow_tracking_server::StartMlflowTrackingServerError) -> Self {
7770        match err {
7771            crate::operation::start_mlflow_tracking_server::StartMlflowTrackingServerError::ConflictException(inner) => {
7772                Error::ConflictException(inner)
7773            }
7774            crate::operation::start_mlflow_tracking_server::StartMlflowTrackingServerError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
7775            crate::operation::start_mlflow_tracking_server::StartMlflowTrackingServerError::Unhandled(inner) => Error::Unhandled(inner),
7776        }
7777    }
7778}
7779impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_monitoring_schedule::StartMonitoringScheduleError, R>>
7780    for Error
7781where
7782    R: Send + Sync + std::fmt::Debug + 'static,
7783{
7784    fn from(
7785        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_monitoring_schedule::StartMonitoringScheduleError, R>,
7786    ) -> Self {
7787        match err {
7788            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7789            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7790                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7791                source: err.into(),
7792            }),
7793        }
7794    }
7795}
7796impl From<crate::operation::start_monitoring_schedule::StartMonitoringScheduleError> for Error {
7797    fn from(err: crate::operation::start_monitoring_schedule::StartMonitoringScheduleError) -> Self {
7798        match err {
7799            crate::operation::start_monitoring_schedule::StartMonitoringScheduleError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
7800            crate::operation::start_monitoring_schedule::StartMonitoringScheduleError::Unhandled(inner) => Error::Unhandled(inner),
7801        }
7802    }
7803}
7804impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_notebook_instance::StartNotebookInstanceError, R>> for Error
7805where
7806    R: Send + Sync + std::fmt::Debug + 'static,
7807{
7808    fn from(
7809        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_notebook_instance::StartNotebookInstanceError, R>,
7810    ) -> Self {
7811        match err {
7812            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7813            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7814                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7815                source: err.into(),
7816            }),
7817        }
7818    }
7819}
7820impl From<crate::operation::start_notebook_instance::StartNotebookInstanceError> for Error {
7821    fn from(err: crate::operation::start_notebook_instance::StartNotebookInstanceError) -> Self {
7822        match err {
7823            crate::operation::start_notebook_instance::StartNotebookInstanceError::ResourceLimitExceeded(inner) => {
7824                Error::ResourceLimitExceeded(inner)
7825            }
7826            crate::operation::start_notebook_instance::StartNotebookInstanceError::Unhandled(inner) => Error::Unhandled(inner),
7827        }
7828    }
7829}
7830impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_pipeline_execution::StartPipelineExecutionError, R>> 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::start_pipeline_execution::StartPipelineExecutionError, 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::start_pipeline_execution::StartPipelineExecutionError> for Error {
7847    fn from(err: crate::operation::start_pipeline_execution::StartPipelineExecutionError) -> Self {
7848        match err {
7849            crate::operation::start_pipeline_execution::StartPipelineExecutionError::ConflictException(inner) => Error::ConflictException(inner),
7850            crate::operation::start_pipeline_execution::StartPipelineExecutionError::ResourceLimitExceeded(inner) => {
7851                Error::ResourceLimitExceeded(inner)
7852            }
7853            crate::operation::start_pipeline_execution::StartPipelineExecutionError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
7854            crate::operation::start_pipeline_execution::StartPipelineExecutionError::Unhandled(inner) => Error::Unhandled(inner),
7855        }
7856    }
7857}
7858impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_session::StartSessionError, R>> for Error
7859where
7860    R: Send + Sync + std::fmt::Debug + 'static,
7861{
7862    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_session::StartSessionError, R>) -> Self {
7863        match err {
7864            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7865            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7866                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7867                source: err.into(),
7868            }),
7869        }
7870    }
7871}
7872impl From<crate::operation::start_session::StartSessionError> for Error {
7873    fn from(err: crate::operation::start_session::StartSessionError) -> Self {
7874        match err {
7875            crate::operation::start_session::StartSessionError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
7876            crate::operation::start_session::StartSessionError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
7877            crate::operation::start_session::StartSessionError::Unhandled(inner) => Error::Unhandled(inner),
7878        }
7879    }
7880}
7881impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_auto_ml_job::StopAutoMLJobError, R>> for Error
7882where
7883    R: Send + Sync + std::fmt::Debug + 'static,
7884{
7885    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_auto_ml_job::StopAutoMLJobError, R>) -> Self {
7886        match err {
7887            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7888            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7889                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7890                source: err.into(),
7891            }),
7892        }
7893    }
7894}
7895impl From<crate::operation::stop_auto_ml_job::StopAutoMLJobError> for Error {
7896    fn from(err: crate::operation::stop_auto_ml_job::StopAutoMLJobError) -> Self {
7897        match err {
7898            crate::operation::stop_auto_ml_job::StopAutoMLJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
7899            crate::operation::stop_auto_ml_job::StopAutoMLJobError::Unhandled(inner) => Error::Unhandled(inner),
7900        }
7901    }
7902}
7903impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_compilation_job::StopCompilationJobError, R>> for Error
7904where
7905    R: Send + Sync + std::fmt::Debug + 'static,
7906{
7907    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_compilation_job::StopCompilationJobError, R>) -> Self {
7908        match err {
7909            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7910            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7911                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7912                source: err.into(),
7913            }),
7914        }
7915    }
7916}
7917impl From<crate::operation::stop_compilation_job::StopCompilationJobError> for Error {
7918    fn from(err: crate::operation::stop_compilation_job::StopCompilationJobError) -> Self {
7919        match err {
7920            crate::operation::stop_compilation_job::StopCompilationJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
7921            crate::operation::stop_compilation_job::StopCompilationJobError::Unhandled(inner) => Error::Unhandled(inner),
7922        }
7923    }
7924}
7925impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_edge_deployment_stage::StopEdgeDeploymentStageError, R>>
7926    for Error
7927where
7928    R: Send + Sync + std::fmt::Debug + 'static,
7929{
7930    fn from(
7931        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_edge_deployment_stage::StopEdgeDeploymentStageError, R>,
7932    ) -> Self {
7933        match err {
7934            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7935            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7936                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7937                source: err.into(),
7938            }),
7939        }
7940    }
7941}
7942impl From<crate::operation::stop_edge_deployment_stage::StopEdgeDeploymentStageError> for Error {
7943    fn from(err: crate::operation::stop_edge_deployment_stage::StopEdgeDeploymentStageError) -> Self {
7944        match err {
7945            crate::operation::stop_edge_deployment_stage::StopEdgeDeploymentStageError::Unhandled(inner) => Error::Unhandled(inner),
7946        }
7947    }
7948}
7949impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_edge_packaging_job::StopEdgePackagingJobError, R>> for Error
7950where
7951    R: Send + Sync + std::fmt::Debug + 'static,
7952{
7953    fn from(
7954        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_edge_packaging_job::StopEdgePackagingJobError, R>,
7955    ) -> Self {
7956        match err {
7957            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7958            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7959                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7960                source: err.into(),
7961            }),
7962        }
7963    }
7964}
7965impl From<crate::operation::stop_edge_packaging_job::StopEdgePackagingJobError> for Error {
7966    fn from(err: crate::operation::stop_edge_packaging_job::StopEdgePackagingJobError) -> Self {
7967        match err {
7968            crate::operation::stop_edge_packaging_job::StopEdgePackagingJobError::Unhandled(inner) => Error::Unhandled(inner),
7969        }
7970    }
7971}
7972impl<R>
7973    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_hyper_parameter_tuning_job::StopHyperParameterTuningJobError, R>>
7974    for Error
7975where
7976    R: Send + Sync + std::fmt::Debug + 'static,
7977{
7978    fn from(
7979        err: ::aws_smithy_runtime_api::client::result::SdkError<
7980            crate::operation::stop_hyper_parameter_tuning_job::StopHyperParameterTuningJobError,
7981            R,
7982        >,
7983    ) -> Self {
7984        match err {
7985            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7986            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7987                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7988                source: err.into(),
7989            }),
7990        }
7991    }
7992}
7993impl From<crate::operation::stop_hyper_parameter_tuning_job::StopHyperParameterTuningJobError> for Error {
7994    fn from(err: crate::operation::stop_hyper_parameter_tuning_job::StopHyperParameterTuningJobError) -> Self {
7995        match err {
7996            crate::operation::stop_hyper_parameter_tuning_job::StopHyperParameterTuningJobError::ResourceNotFound(inner) => {
7997                Error::ResourceNotFound(inner)
7998            }
7999            crate::operation::stop_hyper_parameter_tuning_job::StopHyperParameterTuningJobError::Unhandled(inner) => Error::Unhandled(inner),
8000        }
8001    }
8002}
8003impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_inference_experiment::StopInferenceExperimentError, R>>
8004    for Error
8005where
8006    R: Send + Sync + std::fmt::Debug + 'static,
8007{
8008    fn from(
8009        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_inference_experiment::StopInferenceExperimentError, R>,
8010    ) -> Self {
8011        match err {
8012            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8013            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8014                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8015                source: err.into(),
8016            }),
8017        }
8018    }
8019}
8020impl From<crate::operation::stop_inference_experiment::StopInferenceExperimentError> for Error {
8021    fn from(err: crate::operation::stop_inference_experiment::StopInferenceExperimentError) -> Self {
8022        match err {
8023            crate::operation::stop_inference_experiment::StopInferenceExperimentError::ConflictException(inner) => Error::ConflictException(inner),
8024            crate::operation::stop_inference_experiment::StopInferenceExperimentError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8025            crate::operation::stop_inference_experiment::StopInferenceExperimentError::Unhandled(inner) => Error::Unhandled(inner),
8026        }
8027    }
8028}
8029impl<R>
8030    From<
8031        ::aws_smithy_runtime_api::client::result::SdkError<
8032            crate::operation::stop_inference_recommendations_job::StopInferenceRecommendationsJobError,
8033            R,
8034        >,
8035    > for Error
8036where
8037    R: Send + Sync + std::fmt::Debug + 'static,
8038{
8039    fn from(
8040        err: ::aws_smithy_runtime_api::client::result::SdkError<
8041            crate::operation::stop_inference_recommendations_job::StopInferenceRecommendationsJobError,
8042            R,
8043        >,
8044    ) -> 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_inference_recommendations_job::StopInferenceRecommendationsJobError> for Error {
8055    fn from(err: crate::operation::stop_inference_recommendations_job::StopInferenceRecommendationsJobError) -> Self {
8056        match err {
8057            crate::operation::stop_inference_recommendations_job::StopInferenceRecommendationsJobError::ResourceNotFound(inner) => {
8058                Error::ResourceNotFound(inner)
8059            }
8060            crate::operation::stop_inference_recommendations_job::StopInferenceRecommendationsJobError::Unhandled(inner) => Error::Unhandled(inner),
8061        }
8062    }
8063}
8064impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_labeling_job::StopLabelingJobError, R>> for Error
8065where
8066    R: Send + Sync + std::fmt::Debug + 'static,
8067{
8068    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_labeling_job::StopLabelingJobError, R>) -> Self {
8069        match err {
8070            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8071            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8072                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8073                source: err.into(),
8074            }),
8075        }
8076    }
8077}
8078impl From<crate::operation::stop_labeling_job::StopLabelingJobError> for Error {
8079    fn from(err: crate::operation::stop_labeling_job::StopLabelingJobError) -> Self {
8080        match err {
8081            crate::operation::stop_labeling_job::StopLabelingJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8082            crate::operation::stop_labeling_job::StopLabelingJobError::Unhandled(inner) => Error::Unhandled(inner),
8083        }
8084    }
8085}
8086impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_mlflow_tracking_server::StopMlflowTrackingServerError, R>>
8087    for Error
8088where
8089    R: Send + Sync + std::fmt::Debug + 'static,
8090{
8091    fn from(
8092        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_mlflow_tracking_server::StopMlflowTrackingServerError, R>,
8093    ) -> Self {
8094        match err {
8095            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8096            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8097                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8098                source: err.into(),
8099            }),
8100        }
8101    }
8102}
8103impl From<crate::operation::stop_mlflow_tracking_server::StopMlflowTrackingServerError> for Error {
8104    fn from(err: crate::operation::stop_mlflow_tracking_server::StopMlflowTrackingServerError) -> Self {
8105        match err {
8106            crate::operation::stop_mlflow_tracking_server::StopMlflowTrackingServerError::ConflictException(inner) => Error::ConflictException(inner),
8107            crate::operation::stop_mlflow_tracking_server::StopMlflowTrackingServerError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8108            crate::operation::stop_mlflow_tracking_server::StopMlflowTrackingServerError::Unhandled(inner) => Error::Unhandled(inner),
8109        }
8110    }
8111}
8112impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_monitoring_schedule::StopMonitoringScheduleError, R>> for Error
8113where
8114    R: Send + Sync + std::fmt::Debug + 'static,
8115{
8116    fn from(
8117        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_monitoring_schedule::StopMonitoringScheduleError, R>,
8118    ) -> Self {
8119        match err {
8120            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8121            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8122                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8123                source: err.into(),
8124            }),
8125        }
8126    }
8127}
8128impl From<crate::operation::stop_monitoring_schedule::StopMonitoringScheduleError> for Error {
8129    fn from(err: crate::operation::stop_monitoring_schedule::StopMonitoringScheduleError) -> Self {
8130        match err {
8131            crate::operation::stop_monitoring_schedule::StopMonitoringScheduleError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8132            crate::operation::stop_monitoring_schedule::StopMonitoringScheduleError::Unhandled(inner) => Error::Unhandled(inner),
8133        }
8134    }
8135}
8136impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_notebook_instance::StopNotebookInstanceError, R>> for Error
8137where
8138    R: Send + Sync + std::fmt::Debug + 'static,
8139{
8140    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_notebook_instance::StopNotebookInstanceError, R>) -> Self {
8141        match err {
8142            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8143            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8144                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8145                source: err.into(),
8146            }),
8147        }
8148    }
8149}
8150impl From<crate::operation::stop_notebook_instance::StopNotebookInstanceError> for Error {
8151    fn from(err: crate::operation::stop_notebook_instance::StopNotebookInstanceError) -> Self {
8152        match err {
8153            crate::operation::stop_notebook_instance::StopNotebookInstanceError::Unhandled(inner) => Error::Unhandled(inner),
8154        }
8155    }
8156}
8157impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_optimization_job::StopOptimizationJobError, R>> for Error
8158where
8159    R: Send + Sync + std::fmt::Debug + 'static,
8160{
8161    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_optimization_job::StopOptimizationJobError, R>) -> Self {
8162        match err {
8163            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8164            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8165                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8166                source: err.into(),
8167            }),
8168        }
8169    }
8170}
8171impl From<crate::operation::stop_optimization_job::StopOptimizationJobError> for Error {
8172    fn from(err: crate::operation::stop_optimization_job::StopOptimizationJobError) -> Self {
8173        match err {
8174            crate::operation::stop_optimization_job::StopOptimizationJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8175            crate::operation::stop_optimization_job::StopOptimizationJobError::Unhandled(inner) => Error::Unhandled(inner),
8176        }
8177    }
8178}
8179impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_pipeline_execution::StopPipelineExecutionError, R>> for Error
8180where
8181    R: Send + Sync + std::fmt::Debug + 'static,
8182{
8183    fn from(
8184        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_pipeline_execution::StopPipelineExecutionError, R>,
8185    ) -> Self {
8186        match err {
8187            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8188            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8189                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8190                source: err.into(),
8191            }),
8192        }
8193    }
8194}
8195impl From<crate::operation::stop_pipeline_execution::StopPipelineExecutionError> for Error {
8196    fn from(err: crate::operation::stop_pipeline_execution::StopPipelineExecutionError) -> Self {
8197        match err {
8198            crate::operation::stop_pipeline_execution::StopPipelineExecutionError::ConflictException(inner) => Error::ConflictException(inner),
8199            crate::operation::stop_pipeline_execution::StopPipelineExecutionError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8200            crate::operation::stop_pipeline_execution::StopPipelineExecutionError::Unhandled(inner) => Error::Unhandled(inner),
8201        }
8202    }
8203}
8204impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_processing_job::StopProcessingJobError, R>> for Error
8205where
8206    R: Send + Sync + std::fmt::Debug + 'static,
8207{
8208    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_processing_job::StopProcessingJobError, R>) -> Self {
8209        match err {
8210            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8211            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8212                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8213                source: err.into(),
8214            }),
8215        }
8216    }
8217}
8218impl From<crate::operation::stop_processing_job::StopProcessingJobError> for Error {
8219    fn from(err: crate::operation::stop_processing_job::StopProcessingJobError) -> Self {
8220        match err {
8221            crate::operation::stop_processing_job::StopProcessingJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8222            crate::operation::stop_processing_job::StopProcessingJobError::Unhandled(inner) => Error::Unhandled(inner),
8223        }
8224    }
8225}
8226impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_training_job::StopTrainingJobError, R>> for Error
8227where
8228    R: Send + Sync + std::fmt::Debug + 'static,
8229{
8230    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_training_job::StopTrainingJobError, R>) -> Self {
8231        match err {
8232            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8233            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8234                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8235                source: err.into(),
8236            }),
8237        }
8238    }
8239}
8240impl From<crate::operation::stop_training_job::StopTrainingJobError> for Error {
8241    fn from(err: crate::operation::stop_training_job::StopTrainingJobError) -> Self {
8242        match err {
8243            crate::operation::stop_training_job::StopTrainingJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8244            crate::operation::stop_training_job::StopTrainingJobError::Unhandled(inner) => Error::Unhandled(inner),
8245        }
8246    }
8247}
8248impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_transform_job::StopTransformJobError, R>> for Error
8249where
8250    R: Send + Sync + std::fmt::Debug + 'static,
8251{
8252    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_transform_job::StopTransformJobError, R>) -> Self {
8253        match err {
8254            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8255            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8256                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8257                source: err.into(),
8258            }),
8259        }
8260    }
8261}
8262impl From<crate::operation::stop_transform_job::StopTransformJobError> for Error {
8263    fn from(err: crate::operation::stop_transform_job::StopTransformJobError) -> Self {
8264        match err {
8265            crate::operation::stop_transform_job::StopTransformJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8266            crate::operation::stop_transform_job::StopTransformJobError::Unhandled(inner) => Error::Unhandled(inner),
8267        }
8268    }
8269}
8270impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_action::UpdateActionError, R>> for Error
8271where
8272    R: Send + Sync + std::fmt::Debug + 'static,
8273{
8274    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_action::UpdateActionError, R>) -> Self {
8275        match err {
8276            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8277            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8278                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8279                source: err.into(),
8280            }),
8281        }
8282    }
8283}
8284impl From<crate::operation::update_action::UpdateActionError> for Error {
8285    fn from(err: crate::operation::update_action::UpdateActionError) -> Self {
8286        match err {
8287            crate::operation::update_action::UpdateActionError::ConflictException(inner) => Error::ConflictException(inner),
8288            crate::operation::update_action::UpdateActionError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8289            crate::operation::update_action::UpdateActionError::Unhandled(inner) => Error::Unhandled(inner),
8290        }
8291    }
8292}
8293impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_app_image_config::UpdateAppImageConfigError, R>> for Error
8294where
8295    R: Send + Sync + std::fmt::Debug + 'static,
8296{
8297    fn from(
8298        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_app_image_config::UpdateAppImageConfigError, R>,
8299    ) -> Self {
8300        match err {
8301            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8302            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8303                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8304                source: err.into(),
8305            }),
8306        }
8307    }
8308}
8309impl From<crate::operation::update_app_image_config::UpdateAppImageConfigError> for Error {
8310    fn from(err: crate::operation::update_app_image_config::UpdateAppImageConfigError) -> Self {
8311        match err {
8312            crate::operation::update_app_image_config::UpdateAppImageConfigError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8313            crate::operation::update_app_image_config::UpdateAppImageConfigError::Unhandled(inner) => Error::Unhandled(inner),
8314        }
8315    }
8316}
8317impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_artifact::UpdateArtifactError, R>> for Error
8318where
8319    R: Send + Sync + std::fmt::Debug + 'static,
8320{
8321    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_artifact::UpdateArtifactError, R>) -> Self {
8322        match err {
8323            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8324            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8325                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8326                source: err.into(),
8327            }),
8328        }
8329    }
8330}
8331impl From<crate::operation::update_artifact::UpdateArtifactError> for Error {
8332    fn from(err: crate::operation::update_artifact::UpdateArtifactError) -> Self {
8333        match err {
8334            crate::operation::update_artifact::UpdateArtifactError::ConflictException(inner) => Error::ConflictException(inner),
8335            crate::operation::update_artifact::UpdateArtifactError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8336            crate::operation::update_artifact::UpdateArtifactError::Unhandled(inner) => Error::Unhandled(inner),
8337        }
8338    }
8339}
8340impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_cluster::UpdateClusterError, R>> for Error
8341where
8342    R: Send + Sync + std::fmt::Debug + 'static,
8343{
8344    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_cluster::UpdateClusterError, R>) -> Self {
8345        match err {
8346            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8347            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8348                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8349                source: err.into(),
8350            }),
8351        }
8352    }
8353}
8354impl From<crate::operation::update_cluster::UpdateClusterError> for Error {
8355    fn from(err: crate::operation::update_cluster::UpdateClusterError) -> Self {
8356        match err {
8357            crate::operation::update_cluster::UpdateClusterError::ConflictException(inner) => Error::ConflictException(inner),
8358            crate::operation::update_cluster::UpdateClusterError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
8359            crate::operation::update_cluster::UpdateClusterError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8360            crate::operation::update_cluster::UpdateClusterError::Unhandled(inner) => Error::Unhandled(inner),
8361        }
8362    }
8363}
8364impl<R>
8365    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_cluster_scheduler_config::UpdateClusterSchedulerConfigError, R>>
8366    for Error
8367where
8368    R: Send + Sync + std::fmt::Debug + 'static,
8369{
8370    fn from(
8371        err: ::aws_smithy_runtime_api::client::result::SdkError<
8372            crate::operation::update_cluster_scheduler_config::UpdateClusterSchedulerConfigError,
8373            R,
8374        >,
8375    ) -> Self {
8376        match err {
8377            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8378            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8379                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8380                source: err.into(),
8381            }),
8382        }
8383    }
8384}
8385impl From<crate::operation::update_cluster_scheduler_config::UpdateClusterSchedulerConfigError> for Error {
8386    fn from(err: crate::operation::update_cluster_scheduler_config::UpdateClusterSchedulerConfigError) -> Self {
8387        match err {
8388            crate::operation::update_cluster_scheduler_config::UpdateClusterSchedulerConfigError::ConflictException(inner) => {
8389                Error::ConflictException(inner)
8390            }
8391            crate::operation::update_cluster_scheduler_config::UpdateClusterSchedulerConfigError::ResourceLimitExceeded(inner) => {
8392                Error::ResourceLimitExceeded(inner)
8393            }
8394            crate::operation::update_cluster_scheduler_config::UpdateClusterSchedulerConfigError::ResourceNotFound(inner) => {
8395                Error::ResourceNotFound(inner)
8396            }
8397            crate::operation::update_cluster_scheduler_config::UpdateClusterSchedulerConfigError::Unhandled(inner) => Error::Unhandled(inner),
8398        }
8399    }
8400}
8401impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_cluster_software::UpdateClusterSoftwareError, R>> for Error
8402where
8403    R: Send + Sync + std::fmt::Debug + 'static,
8404{
8405    fn from(
8406        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_cluster_software::UpdateClusterSoftwareError, R>,
8407    ) -> Self {
8408        match err {
8409            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8410            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8411                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8412                source: err.into(),
8413            }),
8414        }
8415    }
8416}
8417impl From<crate::operation::update_cluster_software::UpdateClusterSoftwareError> for Error {
8418    fn from(err: crate::operation::update_cluster_software::UpdateClusterSoftwareError) -> Self {
8419        match err {
8420            crate::operation::update_cluster_software::UpdateClusterSoftwareError::ConflictException(inner) => Error::ConflictException(inner),
8421            crate::operation::update_cluster_software::UpdateClusterSoftwareError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8422            crate::operation::update_cluster_software::UpdateClusterSoftwareError::Unhandled(inner) => Error::Unhandled(inner),
8423        }
8424    }
8425}
8426impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_code_repository::UpdateCodeRepositoryError, R>> for Error
8427where
8428    R: Send + Sync + std::fmt::Debug + 'static,
8429{
8430    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_code_repository::UpdateCodeRepositoryError, R>) -> Self {
8431        match err {
8432            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8433            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8434                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8435                source: err.into(),
8436            }),
8437        }
8438    }
8439}
8440impl From<crate::operation::update_code_repository::UpdateCodeRepositoryError> for Error {
8441    fn from(err: crate::operation::update_code_repository::UpdateCodeRepositoryError) -> Self {
8442        match err {
8443            crate::operation::update_code_repository::UpdateCodeRepositoryError::ConflictException(inner) => Error::ConflictException(inner),
8444            crate::operation::update_code_repository::UpdateCodeRepositoryError::Unhandled(inner) => Error::Unhandled(inner),
8445        }
8446    }
8447}
8448impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_compute_quota::UpdateComputeQuotaError, R>> for Error
8449where
8450    R: Send + Sync + std::fmt::Debug + 'static,
8451{
8452    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_compute_quota::UpdateComputeQuotaError, R>) -> Self {
8453        match err {
8454            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8455            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8456                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8457                source: err.into(),
8458            }),
8459        }
8460    }
8461}
8462impl From<crate::operation::update_compute_quota::UpdateComputeQuotaError> for Error {
8463    fn from(err: crate::operation::update_compute_quota::UpdateComputeQuotaError) -> Self {
8464        match err {
8465            crate::operation::update_compute_quota::UpdateComputeQuotaError::ConflictException(inner) => Error::ConflictException(inner),
8466            crate::operation::update_compute_quota::UpdateComputeQuotaError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
8467            crate::operation::update_compute_quota::UpdateComputeQuotaError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8468            crate::operation::update_compute_quota::UpdateComputeQuotaError::Unhandled(inner) => Error::Unhandled(inner),
8469        }
8470    }
8471}
8472impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_context::UpdateContextError, R>> for Error
8473where
8474    R: Send + Sync + std::fmt::Debug + 'static,
8475{
8476    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_context::UpdateContextError, R>) -> Self {
8477        match err {
8478            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8479            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8480                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8481                source: err.into(),
8482            }),
8483        }
8484    }
8485}
8486impl From<crate::operation::update_context::UpdateContextError> for Error {
8487    fn from(err: crate::operation::update_context::UpdateContextError) -> Self {
8488        match err {
8489            crate::operation::update_context::UpdateContextError::ConflictException(inner) => Error::ConflictException(inner),
8490            crate::operation::update_context::UpdateContextError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8491            crate::operation::update_context::UpdateContextError::Unhandled(inner) => Error::Unhandled(inner),
8492        }
8493    }
8494}
8495impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_device_fleet::UpdateDeviceFleetError, R>> for Error
8496where
8497    R: Send + Sync + std::fmt::Debug + 'static,
8498{
8499    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_device_fleet::UpdateDeviceFleetError, R>) -> Self {
8500        match err {
8501            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8502            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8503                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8504                source: err.into(),
8505            }),
8506        }
8507    }
8508}
8509impl From<crate::operation::update_device_fleet::UpdateDeviceFleetError> for Error {
8510    fn from(err: crate::operation::update_device_fleet::UpdateDeviceFleetError) -> Self {
8511        match err {
8512            crate::operation::update_device_fleet::UpdateDeviceFleetError::ResourceInUse(inner) => Error::ResourceInUse(inner),
8513            crate::operation::update_device_fleet::UpdateDeviceFleetError::Unhandled(inner) => Error::Unhandled(inner),
8514        }
8515    }
8516}
8517impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_devices::UpdateDevicesError, R>> for Error
8518where
8519    R: Send + Sync + std::fmt::Debug + 'static,
8520{
8521    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_devices::UpdateDevicesError, R>) -> Self {
8522        match err {
8523            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8524            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8525                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8526                source: err.into(),
8527            }),
8528        }
8529    }
8530}
8531impl From<crate::operation::update_devices::UpdateDevicesError> for Error {
8532    fn from(err: crate::operation::update_devices::UpdateDevicesError) -> Self {
8533        match err {
8534            crate::operation::update_devices::UpdateDevicesError::Unhandled(inner) => Error::Unhandled(inner),
8535        }
8536    }
8537}
8538impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_domain::UpdateDomainError, R>> for Error
8539where
8540    R: Send + Sync + std::fmt::Debug + 'static,
8541{
8542    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_domain::UpdateDomainError, R>) -> Self {
8543        match err {
8544            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8545            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8546                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8547                source: err.into(),
8548            }),
8549        }
8550    }
8551}
8552impl From<crate::operation::update_domain::UpdateDomainError> for Error {
8553    fn from(err: crate::operation::update_domain::UpdateDomainError) -> Self {
8554        match err {
8555            crate::operation::update_domain::UpdateDomainError::ResourceInUse(inner) => Error::ResourceInUse(inner),
8556            crate::operation::update_domain::UpdateDomainError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
8557            crate::operation::update_domain::UpdateDomainError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8558            crate::operation::update_domain::UpdateDomainError::Unhandled(inner) => Error::Unhandled(inner),
8559        }
8560    }
8561}
8562impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_endpoint::UpdateEndpointError, R>> for Error
8563where
8564    R: Send + Sync + std::fmt::Debug + 'static,
8565{
8566    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_endpoint::UpdateEndpointError, R>) -> Self {
8567        match err {
8568            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8569            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8570                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8571                source: err.into(),
8572            }),
8573        }
8574    }
8575}
8576impl From<crate::operation::update_endpoint::UpdateEndpointError> for Error {
8577    fn from(err: crate::operation::update_endpoint::UpdateEndpointError) -> Self {
8578        match err {
8579            crate::operation::update_endpoint::UpdateEndpointError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
8580            crate::operation::update_endpoint::UpdateEndpointError::Unhandled(inner) => Error::Unhandled(inner),
8581        }
8582    }
8583}
8584impl<R>
8585    From<
8586        ::aws_smithy_runtime_api::client::result::SdkError<
8587            crate::operation::update_endpoint_weights_and_capacities::UpdateEndpointWeightsAndCapacitiesError,
8588            R,
8589        >,
8590    > for Error
8591where
8592    R: Send + Sync + std::fmt::Debug + 'static,
8593{
8594    fn from(
8595        err: ::aws_smithy_runtime_api::client::result::SdkError<
8596            crate::operation::update_endpoint_weights_and_capacities::UpdateEndpointWeightsAndCapacitiesError,
8597            R,
8598        >,
8599    ) -> 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_endpoint_weights_and_capacities::UpdateEndpointWeightsAndCapacitiesError> for Error {
8610    fn from(err: crate::operation::update_endpoint_weights_and_capacities::UpdateEndpointWeightsAndCapacitiesError) -> Self {
8611        match err {
8612            crate::operation::update_endpoint_weights_and_capacities::UpdateEndpointWeightsAndCapacitiesError::ResourceLimitExceeded(inner) => {
8613                Error::ResourceLimitExceeded(inner)
8614            }
8615            crate::operation::update_endpoint_weights_and_capacities::UpdateEndpointWeightsAndCapacitiesError::Unhandled(inner) => {
8616                Error::Unhandled(inner)
8617            }
8618        }
8619    }
8620}
8621impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_experiment::UpdateExperimentError, R>> for Error
8622where
8623    R: Send + Sync + std::fmt::Debug + 'static,
8624{
8625    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_experiment::UpdateExperimentError, R>) -> Self {
8626        match err {
8627            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8628            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8629                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8630                source: err.into(),
8631            }),
8632        }
8633    }
8634}
8635impl From<crate::operation::update_experiment::UpdateExperimentError> for Error {
8636    fn from(err: crate::operation::update_experiment::UpdateExperimentError) -> Self {
8637        match err {
8638            crate::operation::update_experiment::UpdateExperimentError::ConflictException(inner) => Error::ConflictException(inner),
8639            crate::operation::update_experiment::UpdateExperimentError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8640            crate::operation::update_experiment::UpdateExperimentError::Unhandled(inner) => Error::Unhandled(inner),
8641        }
8642    }
8643}
8644impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_feature_group::UpdateFeatureGroupError, R>> for Error
8645where
8646    R: Send + Sync + std::fmt::Debug + 'static,
8647{
8648    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_feature_group::UpdateFeatureGroupError, R>) -> Self {
8649        match err {
8650            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8651            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8652                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8653                source: err.into(),
8654            }),
8655        }
8656    }
8657}
8658impl From<crate::operation::update_feature_group::UpdateFeatureGroupError> for Error {
8659    fn from(err: crate::operation::update_feature_group::UpdateFeatureGroupError) -> Self {
8660        match err {
8661            crate::operation::update_feature_group::UpdateFeatureGroupError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
8662            crate::operation::update_feature_group::UpdateFeatureGroupError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8663            crate::operation::update_feature_group::UpdateFeatureGroupError::Unhandled(inner) => Error::Unhandled(inner),
8664        }
8665    }
8666}
8667impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_feature_metadata::UpdateFeatureMetadataError, R>> for Error
8668where
8669    R: Send + Sync + std::fmt::Debug + 'static,
8670{
8671    fn from(
8672        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_feature_metadata::UpdateFeatureMetadataError, R>,
8673    ) -> Self {
8674        match err {
8675            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8676            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8677                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8678                source: err.into(),
8679            }),
8680        }
8681    }
8682}
8683impl From<crate::operation::update_feature_metadata::UpdateFeatureMetadataError> for Error {
8684    fn from(err: crate::operation::update_feature_metadata::UpdateFeatureMetadataError) -> Self {
8685        match err {
8686            crate::operation::update_feature_metadata::UpdateFeatureMetadataError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8687            crate::operation::update_feature_metadata::UpdateFeatureMetadataError::Unhandled(inner) => Error::Unhandled(inner),
8688        }
8689    }
8690}
8691impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_hub::UpdateHubError, R>> for Error
8692where
8693    R: Send + Sync + std::fmt::Debug + 'static,
8694{
8695    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_hub::UpdateHubError, R>) -> Self {
8696        match err {
8697            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8698            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8699                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8700                source: err.into(),
8701            }),
8702        }
8703    }
8704}
8705impl From<crate::operation::update_hub::UpdateHubError> for Error {
8706    fn from(err: crate::operation::update_hub::UpdateHubError) -> Self {
8707        match err {
8708            crate::operation::update_hub::UpdateHubError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8709            crate::operation::update_hub::UpdateHubError::Unhandled(inner) => Error::Unhandled(inner),
8710        }
8711    }
8712}
8713impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_hub_content::UpdateHubContentError, R>> for Error
8714where
8715    R: Send + Sync + std::fmt::Debug + 'static,
8716{
8717    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_hub_content::UpdateHubContentError, R>) -> Self {
8718        match err {
8719            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8720            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8721                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8722                source: err.into(),
8723            }),
8724        }
8725    }
8726}
8727impl From<crate::operation::update_hub_content::UpdateHubContentError> for Error {
8728    fn from(err: crate::operation::update_hub_content::UpdateHubContentError) -> Self {
8729        match err {
8730            crate::operation::update_hub_content::UpdateHubContentError::ResourceInUse(inner) => Error::ResourceInUse(inner),
8731            crate::operation::update_hub_content::UpdateHubContentError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8732            crate::operation::update_hub_content::UpdateHubContentError::Unhandled(inner) => Error::Unhandled(inner),
8733        }
8734    }
8735}
8736impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_hub_content_reference::UpdateHubContentReferenceError, R>>
8737    for Error
8738where
8739    R: Send + Sync + std::fmt::Debug + 'static,
8740{
8741    fn from(
8742        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_hub_content_reference::UpdateHubContentReferenceError, R>,
8743    ) -> Self {
8744        match err {
8745            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8746            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8747                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8748                source: err.into(),
8749            }),
8750        }
8751    }
8752}
8753impl From<crate::operation::update_hub_content_reference::UpdateHubContentReferenceError> for Error {
8754    fn from(err: crate::operation::update_hub_content_reference::UpdateHubContentReferenceError) -> Self {
8755        match err {
8756            crate::operation::update_hub_content_reference::UpdateHubContentReferenceError::ResourceInUse(inner) => Error::ResourceInUse(inner),
8757            crate::operation::update_hub_content_reference::UpdateHubContentReferenceError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8758            crate::operation::update_hub_content_reference::UpdateHubContentReferenceError::Unhandled(inner) => Error::Unhandled(inner),
8759        }
8760    }
8761}
8762impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_image::UpdateImageError, R>> for Error
8763where
8764    R: Send + Sync + std::fmt::Debug + 'static,
8765{
8766    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_image::UpdateImageError, R>) -> Self {
8767        match err {
8768            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8769            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8770                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8771                source: err.into(),
8772            }),
8773        }
8774    }
8775}
8776impl From<crate::operation::update_image::UpdateImageError> for Error {
8777    fn from(err: crate::operation::update_image::UpdateImageError) -> Self {
8778        match err {
8779            crate::operation::update_image::UpdateImageError::ResourceInUse(inner) => Error::ResourceInUse(inner),
8780            crate::operation::update_image::UpdateImageError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8781            crate::operation::update_image::UpdateImageError::Unhandled(inner) => Error::Unhandled(inner),
8782        }
8783    }
8784}
8785impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_image_version::UpdateImageVersionError, R>> for Error
8786where
8787    R: Send + Sync + std::fmt::Debug + 'static,
8788{
8789    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_image_version::UpdateImageVersionError, R>) -> Self {
8790        match err {
8791            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8792            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8793                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8794                source: err.into(),
8795            }),
8796        }
8797    }
8798}
8799impl From<crate::operation::update_image_version::UpdateImageVersionError> for Error {
8800    fn from(err: crate::operation::update_image_version::UpdateImageVersionError) -> Self {
8801        match err {
8802            crate::operation::update_image_version::UpdateImageVersionError::ResourceInUse(inner) => Error::ResourceInUse(inner),
8803            crate::operation::update_image_version::UpdateImageVersionError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8804            crate::operation::update_image_version::UpdateImageVersionError::Unhandled(inner) => Error::Unhandled(inner),
8805        }
8806    }
8807}
8808impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_inference_component::UpdateInferenceComponentError, R>>
8809    for Error
8810where
8811    R: Send + Sync + std::fmt::Debug + 'static,
8812{
8813    fn from(
8814        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_inference_component::UpdateInferenceComponentError, R>,
8815    ) -> Self {
8816        match err {
8817            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8818            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8819                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8820                source: err.into(),
8821            }),
8822        }
8823    }
8824}
8825impl From<crate::operation::update_inference_component::UpdateInferenceComponentError> for Error {
8826    fn from(err: crate::operation::update_inference_component::UpdateInferenceComponentError) -> Self {
8827        match err {
8828            crate::operation::update_inference_component::UpdateInferenceComponentError::ResourceLimitExceeded(inner) => {
8829                Error::ResourceLimitExceeded(inner)
8830            }
8831            crate::operation::update_inference_component::UpdateInferenceComponentError::Unhandled(inner) => Error::Unhandled(inner),
8832        }
8833    }
8834}
8835impl<R>
8836    From<
8837        ::aws_smithy_runtime_api::client::result::SdkError<
8838            crate::operation::update_inference_component_runtime_config::UpdateInferenceComponentRuntimeConfigError,
8839            R,
8840        >,
8841    > for Error
8842where
8843    R: Send + Sync + std::fmt::Debug + 'static,
8844{
8845    fn from(
8846        err: ::aws_smithy_runtime_api::client::result::SdkError<
8847            crate::operation::update_inference_component_runtime_config::UpdateInferenceComponentRuntimeConfigError,
8848            R,
8849        >,
8850    ) -> Self {
8851        match err {
8852            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8853            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8854                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8855                source: err.into(),
8856            }),
8857        }
8858    }
8859}
8860impl From<crate::operation::update_inference_component_runtime_config::UpdateInferenceComponentRuntimeConfigError> for Error {
8861    fn from(err: crate::operation::update_inference_component_runtime_config::UpdateInferenceComponentRuntimeConfigError) -> Self {
8862        match err {
8863            crate::operation::update_inference_component_runtime_config::UpdateInferenceComponentRuntimeConfigError::ResourceLimitExceeded(inner) => {
8864                Error::ResourceLimitExceeded(inner)
8865            }
8866            crate::operation::update_inference_component_runtime_config::UpdateInferenceComponentRuntimeConfigError::Unhandled(inner) => {
8867                Error::Unhandled(inner)
8868            }
8869        }
8870    }
8871}
8872impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_inference_experiment::UpdateInferenceExperimentError, R>>
8873    for Error
8874where
8875    R: Send + Sync + std::fmt::Debug + 'static,
8876{
8877    fn from(
8878        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_inference_experiment::UpdateInferenceExperimentError, R>,
8879    ) -> Self {
8880        match err {
8881            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8882            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8883                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8884                source: err.into(),
8885            }),
8886        }
8887    }
8888}
8889impl From<crate::operation::update_inference_experiment::UpdateInferenceExperimentError> for Error {
8890    fn from(err: crate::operation::update_inference_experiment::UpdateInferenceExperimentError) -> Self {
8891        match err {
8892            crate::operation::update_inference_experiment::UpdateInferenceExperimentError::ConflictException(inner) => {
8893                Error::ConflictException(inner)
8894            }
8895            crate::operation::update_inference_experiment::UpdateInferenceExperimentError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8896            crate::operation::update_inference_experiment::UpdateInferenceExperimentError::Unhandled(inner) => Error::Unhandled(inner),
8897        }
8898    }
8899}
8900impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_mlflow_tracking_server::UpdateMlflowTrackingServerError, R>>
8901    for Error
8902where
8903    R: Send + Sync + std::fmt::Debug + 'static,
8904{
8905    fn from(
8906        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_mlflow_tracking_server::UpdateMlflowTrackingServerError, R>,
8907    ) -> Self {
8908        match err {
8909            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8910            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8911                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8912                source: err.into(),
8913            }),
8914        }
8915    }
8916}
8917impl From<crate::operation::update_mlflow_tracking_server::UpdateMlflowTrackingServerError> for Error {
8918    fn from(err: crate::operation::update_mlflow_tracking_server::UpdateMlflowTrackingServerError) -> Self {
8919        match err {
8920            crate::operation::update_mlflow_tracking_server::UpdateMlflowTrackingServerError::ConflictException(inner) => {
8921                Error::ConflictException(inner)
8922            }
8923            crate::operation::update_mlflow_tracking_server::UpdateMlflowTrackingServerError::ResourceLimitExceeded(inner) => {
8924                Error::ResourceLimitExceeded(inner)
8925            }
8926            crate::operation::update_mlflow_tracking_server::UpdateMlflowTrackingServerError::ResourceNotFound(inner) => {
8927                Error::ResourceNotFound(inner)
8928            }
8929            crate::operation::update_mlflow_tracking_server::UpdateMlflowTrackingServerError::Unhandled(inner) => Error::Unhandled(inner),
8930        }
8931    }
8932}
8933impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_model_card::UpdateModelCardError, R>> for Error
8934where
8935    R: Send + Sync + std::fmt::Debug + 'static,
8936{
8937    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_model_card::UpdateModelCardError, R>) -> Self {
8938        match err {
8939            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8940            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8941                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8942                source: err.into(),
8943            }),
8944        }
8945    }
8946}
8947impl From<crate::operation::update_model_card::UpdateModelCardError> for Error {
8948    fn from(err: crate::operation::update_model_card::UpdateModelCardError) -> Self {
8949        match err {
8950            crate::operation::update_model_card::UpdateModelCardError::ConflictException(inner) => Error::ConflictException(inner),
8951            crate::operation::update_model_card::UpdateModelCardError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
8952            crate::operation::update_model_card::UpdateModelCardError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8953            crate::operation::update_model_card::UpdateModelCardError::Unhandled(inner) => Error::Unhandled(inner),
8954        }
8955    }
8956}
8957impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_model_package::UpdateModelPackageError, R>> for Error
8958where
8959    R: Send + Sync + std::fmt::Debug + 'static,
8960{
8961    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_model_package::UpdateModelPackageError, R>) -> Self {
8962        match err {
8963            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8964            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8965                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8966                source: err.into(),
8967            }),
8968        }
8969    }
8970}
8971impl From<crate::operation::update_model_package::UpdateModelPackageError> for Error {
8972    fn from(err: crate::operation::update_model_package::UpdateModelPackageError) -> Self {
8973        match err {
8974            crate::operation::update_model_package::UpdateModelPackageError::ConflictException(inner) => Error::ConflictException(inner),
8975            crate::operation::update_model_package::UpdateModelPackageError::Unhandled(inner) => Error::Unhandled(inner),
8976        }
8977    }
8978}
8979impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_monitoring_alert::UpdateMonitoringAlertError, R>> for Error
8980where
8981    R: Send + Sync + std::fmt::Debug + 'static,
8982{
8983    fn from(
8984        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_monitoring_alert::UpdateMonitoringAlertError, R>,
8985    ) -> Self {
8986        match err {
8987            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8988            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8989                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8990                source: err.into(),
8991            }),
8992        }
8993    }
8994}
8995impl From<crate::operation::update_monitoring_alert::UpdateMonitoringAlertError> for Error {
8996    fn from(err: crate::operation::update_monitoring_alert::UpdateMonitoringAlertError) -> Self {
8997        match err {
8998            crate::operation::update_monitoring_alert::UpdateMonitoringAlertError::ResourceLimitExceeded(inner) => {
8999                Error::ResourceLimitExceeded(inner)
9000            }
9001            crate::operation::update_monitoring_alert::UpdateMonitoringAlertError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
9002            crate::operation::update_monitoring_alert::UpdateMonitoringAlertError::Unhandled(inner) => Error::Unhandled(inner),
9003        }
9004    }
9005}
9006impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_monitoring_schedule::UpdateMonitoringScheduleError, R>>
9007    for Error
9008where
9009    R: Send + Sync + std::fmt::Debug + 'static,
9010{
9011    fn from(
9012        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_monitoring_schedule::UpdateMonitoringScheduleError, R>,
9013    ) -> Self {
9014        match err {
9015            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9016            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9017                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9018                source: err.into(),
9019            }),
9020        }
9021    }
9022}
9023impl From<crate::operation::update_monitoring_schedule::UpdateMonitoringScheduleError> for Error {
9024    fn from(err: crate::operation::update_monitoring_schedule::UpdateMonitoringScheduleError) -> Self {
9025        match err {
9026            crate::operation::update_monitoring_schedule::UpdateMonitoringScheduleError::ResourceLimitExceeded(inner) => {
9027                Error::ResourceLimitExceeded(inner)
9028            }
9029            crate::operation::update_monitoring_schedule::UpdateMonitoringScheduleError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
9030            crate::operation::update_monitoring_schedule::UpdateMonitoringScheduleError::Unhandled(inner) => Error::Unhandled(inner),
9031        }
9032    }
9033}
9034impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_notebook_instance::UpdateNotebookInstanceError, R>> for Error
9035where
9036    R: Send + Sync + std::fmt::Debug + 'static,
9037{
9038    fn from(
9039        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_notebook_instance::UpdateNotebookInstanceError, R>,
9040    ) -> Self {
9041        match err {
9042            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9043            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9044                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9045                source: err.into(),
9046            }),
9047        }
9048    }
9049}
9050impl From<crate::operation::update_notebook_instance::UpdateNotebookInstanceError> for Error {
9051    fn from(err: crate::operation::update_notebook_instance::UpdateNotebookInstanceError) -> Self {
9052        match err {
9053            crate::operation::update_notebook_instance::UpdateNotebookInstanceError::ResourceLimitExceeded(inner) => {
9054                Error::ResourceLimitExceeded(inner)
9055            }
9056            crate::operation::update_notebook_instance::UpdateNotebookInstanceError::Unhandled(inner) => Error::Unhandled(inner),
9057        }
9058    }
9059}
9060impl<R>
9061    From<
9062        ::aws_smithy_runtime_api::client::result::SdkError<
9063            crate::operation::update_notebook_instance_lifecycle_config::UpdateNotebookInstanceLifecycleConfigError,
9064            R,
9065        >,
9066    > for Error
9067where
9068    R: Send + Sync + std::fmt::Debug + 'static,
9069{
9070    fn from(
9071        err: ::aws_smithy_runtime_api::client::result::SdkError<
9072            crate::operation::update_notebook_instance_lifecycle_config::UpdateNotebookInstanceLifecycleConfigError,
9073            R,
9074        >,
9075    ) -> Self {
9076        match err {
9077            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9078            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9079                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9080                source: err.into(),
9081            }),
9082        }
9083    }
9084}
9085impl From<crate::operation::update_notebook_instance_lifecycle_config::UpdateNotebookInstanceLifecycleConfigError> for Error {
9086    fn from(err: crate::operation::update_notebook_instance_lifecycle_config::UpdateNotebookInstanceLifecycleConfigError) -> Self {
9087        match err {
9088            crate::operation::update_notebook_instance_lifecycle_config::UpdateNotebookInstanceLifecycleConfigError::ResourceLimitExceeded(inner) => {
9089                Error::ResourceLimitExceeded(inner)
9090            }
9091            crate::operation::update_notebook_instance_lifecycle_config::UpdateNotebookInstanceLifecycleConfigError::Unhandled(inner) => {
9092                Error::Unhandled(inner)
9093            }
9094        }
9095    }
9096}
9097impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_partner_app::UpdatePartnerAppError, R>> for Error
9098where
9099    R: Send + Sync + std::fmt::Debug + 'static,
9100{
9101    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_partner_app::UpdatePartnerAppError, R>) -> Self {
9102        match err {
9103            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9104            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9105                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9106                source: err.into(),
9107            }),
9108        }
9109    }
9110}
9111impl From<crate::operation::update_partner_app::UpdatePartnerAppError> for Error {
9112    fn from(err: crate::operation::update_partner_app::UpdatePartnerAppError) -> Self {
9113        match err {
9114            crate::operation::update_partner_app::UpdatePartnerAppError::ConflictException(inner) => Error::ConflictException(inner),
9115            crate::operation::update_partner_app::UpdatePartnerAppError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
9116            crate::operation::update_partner_app::UpdatePartnerAppError::Unhandled(inner) => Error::Unhandled(inner),
9117        }
9118    }
9119}
9120impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_pipeline::UpdatePipelineError, 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_pipeline::UpdatePipelineError, 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_pipeline::UpdatePipelineError> for Error {
9135    fn from(err: crate::operation::update_pipeline::UpdatePipelineError) -> Self {
9136        match err {
9137            crate::operation::update_pipeline::UpdatePipelineError::ConflictException(inner) => Error::ConflictException(inner),
9138            crate::operation::update_pipeline::UpdatePipelineError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
9139            crate::operation::update_pipeline::UpdatePipelineError::Unhandled(inner) => Error::Unhandled(inner),
9140        }
9141    }
9142}
9143impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_pipeline_execution::UpdatePipelineExecutionError, R>>
9144    for Error
9145where
9146    R: Send + Sync + std::fmt::Debug + 'static,
9147{
9148    fn from(
9149        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_pipeline_execution::UpdatePipelineExecutionError, R>,
9150    ) -> Self {
9151        match err {
9152            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9153            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9154                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9155                source: err.into(),
9156            }),
9157        }
9158    }
9159}
9160impl From<crate::operation::update_pipeline_execution::UpdatePipelineExecutionError> for Error {
9161    fn from(err: crate::operation::update_pipeline_execution::UpdatePipelineExecutionError) -> Self {
9162        match err {
9163            crate::operation::update_pipeline_execution::UpdatePipelineExecutionError::ConflictException(inner) => Error::ConflictException(inner),
9164            crate::operation::update_pipeline_execution::UpdatePipelineExecutionError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
9165            crate::operation::update_pipeline_execution::UpdatePipelineExecutionError::Unhandled(inner) => Error::Unhandled(inner),
9166        }
9167    }
9168}
9169impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_pipeline_version::UpdatePipelineVersionError, R>> for Error
9170where
9171    R: Send + Sync + std::fmt::Debug + 'static,
9172{
9173    fn from(
9174        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_pipeline_version::UpdatePipelineVersionError, R>,
9175    ) -> Self {
9176        match err {
9177            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9178            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9179                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9180                source: err.into(),
9181            }),
9182        }
9183    }
9184}
9185impl From<crate::operation::update_pipeline_version::UpdatePipelineVersionError> for Error {
9186    fn from(err: crate::operation::update_pipeline_version::UpdatePipelineVersionError) -> Self {
9187        match err {
9188            crate::operation::update_pipeline_version::UpdatePipelineVersionError::ConflictException(inner) => Error::ConflictException(inner),
9189            crate::operation::update_pipeline_version::UpdatePipelineVersionError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
9190            crate::operation::update_pipeline_version::UpdatePipelineVersionError::Unhandled(inner) => Error::Unhandled(inner),
9191        }
9192    }
9193}
9194impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_project::UpdateProjectError, R>> for Error
9195where
9196    R: Send + Sync + std::fmt::Debug + 'static,
9197{
9198    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_project::UpdateProjectError, R>) -> Self {
9199        match err {
9200            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9201            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9202                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9203                source: err.into(),
9204            }),
9205        }
9206    }
9207}
9208impl From<crate::operation::update_project::UpdateProjectError> for Error {
9209    fn from(err: crate::operation::update_project::UpdateProjectError) -> Self {
9210        match err {
9211            crate::operation::update_project::UpdateProjectError::ConflictException(inner) => Error::ConflictException(inner),
9212            crate::operation::update_project::UpdateProjectError::Unhandled(inner) => Error::Unhandled(inner),
9213        }
9214    }
9215}
9216impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_space::UpdateSpaceError, R>> for Error
9217where
9218    R: Send + Sync + std::fmt::Debug + 'static,
9219{
9220    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_space::UpdateSpaceError, R>) -> Self {
9221        match err {
9222            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9223            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9224                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9225                source: err.into(),
9226            }),
9227        }
9228    }
9229}
9230impl From<crate::operation::update_space::UpdateSpaceError> for Error {
9231    fn from(err: crate::operation::update_space::UpdateSpaceError) -> Self {
9232        match err {
9233            crate::operation::update_space::UpdateSpaceError::ResourceInUse(inner) => Error::ResourceInUse(inner),
9234            crate::operation::update_space::UpdateSpaceError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
9235            crate::operation::update_space::UpdateSpaceError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
9236            crate::operation::update_space::UpdateSpaceError::Unhandled(inner) => Error::Unhandled(inner),
9237        }
9238    }
9239}
9240impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_training_job::UpdateTrainingJobError, R>> for Error
9241where
9242    R: Send + Sync + std::fmt::Debug + 'static,
9243{
9244    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_training_job::UpdateTrainingJobError, R>) -> Self {
9245        match err {
9246            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9247            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9248                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9249                source: err.into(),
9250            }),
9251        }
9252    }
9253}
9254impl From<crate::operation::update_training_job::UpdateTrainingJobError> for Error {
9255    fn from(err: crate::operation::update_training_job::UpdateTrainingJobError) -> Self {
9256        match err {
9257            crate::operation::update_training_job::UpdateTrainingJobError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
9258            crate::operation::update_training_job::UpdateTrainingJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
9259            crate::operation::update_training_job::UpdateTrainingJobError::Unhandled(inner) => Error::Unhandled(inner),
9260        }
9261    }
9262}
9263impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_trial::UpdateTrialError, R>> for Error
9264where
9265    R: Send + Sync + std::fmt::Debug + 'static,
9266{
9267    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_trial::UpdateTrialError, R>) -> Self {
9268        match err {
9269            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9270            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9271                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9272                source: err.into(),
9273            }),
9274        }
9275    }
9276}
9277impl From<crate::operation::update_trial::UpdateTrialError> for Error {
9278    fn from(err: crate::operation::update_trial::UpdateTrialError) -> Self {
9279        match err {
9280            crate::operation::update_trial::UpdateTrialError::ConflictException(inner) => Error::ConflictException(inner),
9281            crate::operation::update_trial::UpdateTrialError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
9282            crate::operation::update_trial::UpdateTrialError::Unhandled(inner) => Error::Unhandled(inner),
9283        }
9284    }
9285}
9286impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_trial_component::UpdateTrialComponentError, R>> for Error
9287where
9288    R: Send + Sync + std::fmt::Debug + 'static,
9289{
9290    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_trial_component::UpdateTrialComponentError, R>) -> Self {
9291        match err {
9292            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9293            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9294                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9295                source: err.into(),
9296            }),
9297        }
9298    }
9299}
9300impl From<crate::operation::update_trial_component::UpdateTrialComponentError> for Error {
9301    fn from(err: crate::operation::update_trial_component::UpdateTrialComponentError) -> Self {
9302        match err {
9303            crate::operation::update_trial_component::UpdateTrialComponentError::ConflictException(inner) => Error::ConflictException(inner),
9304            crate::operation::update_trial_component::UpdateTrialComponentError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
9305            crate::operation::update_trial_component::UpdateTrialComponentError::Unhandled(inner) => Error::Unhandled(inner),
9306        }
9307    }
9308}
9309impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_user_profile::UpdateUserProfileError, R>> for Error
9310where
9311    R: Send + Sync + std::fmt::Debug + 'static,
9312{
9313    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_user_profile::UpdateUserProfileError, R>) -> Self {
9314        match err {
9315            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9316            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9317                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9318                source: err.into(),
9319            }),
9320        }
9321    }
9322}
9323impl From<crate::operation::update_user_profile::UpdateUserProfileError> for Error {
9324    fn from(err: crate::operation::update_user_profile::UpdateUserProfileError) -> Self {
9325        match err {
9326            crate::operation::update_user_profile::UpdateUserProfileError::ResourceInUse(inner) => Error::ResourceInUse(inner),
9327            crate::operation::update_user_profile::UpdateUserProfileError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
9328            crate::operation::update_user_profile::UpdateUserProfileError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
9329            crate::operation::update_user_profile::UpdateUserProfileError::Unhandled(inner) => Error::Unhandled(inner),
9330        }
9331    }
9332}
9333impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_workforce::UpdateWorkforceError, R>> for Error
9334where
9335    R: Send + Sync + std::fmt::Debug + 'static,
9336{
9337    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_workforce::UpdateWorkforceError, R>) -> Self {
9338        match err {
9339            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9340            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9341                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9342                source: err.into(),
9343            }),
9344        }
9345    }
9346}
9347impl From<crate::operation::update_workforce::UpdateWorkforceError> for Error {
9348    fn from(err: crate::operation::update_workforce::UpdateWorkforceError) -> Self {
9349        match err {
9350            crate::operation::update_workforce::UpdateWorkforceError::ConflictException(inner) => Error::ConflictException(inner),
9351            crate::operation::update_workforce::UpdateWorkforceError::Unhandled(inner) => Error::Unhandled(inner),
9352        }
9353    }
9354}
9355impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_workteam::UpdateWorkteamError, R>> for Error
9356where
9357    R: Send + Sync + std::fmt::Debug + 'static,
9358{
9359    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_workteam::UpdateWorkteamError, R>) -> Self {
9360        match err {
9361            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9362            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9363                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9364                source: err.into(),
9365            }),
9366        }
9367    }
9368}
9369impl From<crate::operation::update_workteam::UpdateWorkteamError> for Error {
9370    fn from(err: crate::operation::update_workteam::UpdateWorkteamError) -> Self {
9371        match err {
9372            crate::operation::update_workteam::UpdateWorkteamError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
9373            crate::operation::update_workteam::UpdateWorkteamError::Unhandled(inner) => Error::Unhandled(inner),
9374        }
9375    }
9376}
9377impl<O, E> ::std::convert::From<::aws_smithy_runtime_api::client::waiters::error::WaiterError<O, E>> for Error
9378where
9379    O: ::std::fmt::Debug + ::std::marker::Send + ::std::marker::Sync + 'static,
9380    E: ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static,
9381{
9382    fn from(err: ::aws_smithy_runtime_api::client::waiters::error::WaiterError<O, E>) -> Self {
9383        Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9384            meta: ::std::default::Default::default(),
9385            source: err.into(),
9386        })
9387    }
9388}
9389impl ::std::error::Error for Error {
9390    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
9391        match self {
9392            Error::ConflictException(inner) => inner.source(),
9393            Error::ResourceInUse(inner) => inner.source(),
9394            Error::ResourceLimitExceeded(inner) => inner.source(),
9395            Error::ResourceNotFound(inner) => inner.source(),
9396            Error::Unhandled(inner) => ::std::option::Option::Some(&*inner.source),
9397        }
9398    }
9399}
9400impl ::aws_types::request_id::RequestId for Error {
9401    fn request_id(&self) -> Option<&str> {
9402        match self {
9403            Self::ConflictException(e) => e.request_id(),
9404            Self::ResourceInUse(e) => e.request_id(),
9405            Self::ResourceLimitExceeded(e) => e.request_id(),
9406            Self::ResourceNotFound(e) => e.request_id(),
9407            Self::Unhandled(e) => e.meta.request_id(),
9408        }
9409    }
9410}