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_app::CreateMlflowAppError, R>> for Error
1172where
1173    R: Send + Sync + std::fmt::Debug + 'static,
1174{
1175    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_mlflow_app::CreateMlflowAppError, R>) -> Self {
1176        match err {
1177            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1178            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1179                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1180                source: err.into(),
1181            }),
1182        }
1183    }
1184}
1185impl From<crate::operation::create_mlflow_app::CreateMlflowAppError> for Error {
1186    fn from(err: crate::operation::create_mlflow_app::CreateMlflowAppError) -> Self {
1187        match err {
1188            crate::operation::create_mlflow_app::CreateMlflowAppError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
1189            crate::operation::create_mlflow_app::CreateMlflowAppError::Unhandled(inner) => Error::Unhandled(inner),
1190        }
1191    }
1192}
1193impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_mlflow_tracking_server::CreateMlflowTrackingServerError, R>>
1194    for Error
1195where
1196    R: Send + Sync + std::fmt::Debug + 'static,
1197{
1198    fn from(
1199        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_mlflow_tracking_server::CreateMlflowTrackingServerError, R>,
1200    ) -> Self {
1201        match err {
1202            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1203            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1204                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1205                source: err.into(),
1206            }),
1207        }
1208    }
1209}
1210impl From<crate::operation::create_mlflow_tracking_server::CreateMlflowTrackingServerError> for Error {
1211    fn from(err: crate::operation::create_mlflow_tracking_server::CreateMlflowTrackingServerError) -> Self {
1212        match err {
1213            crate::operation::create_mlflow_tracking_server::CreateMlflowTrackingServerError::ResourceLimitExceeded(inner) => {
1214                Error::ResourceLimitExceeded(inner)
1215            }
1216            crate::operation::create_mlflow_tracking_server::CreateMlflowTrackingServerError::Unhandled(inner) => Error::Unhandled(inner),
1217        }
1218    }
1219}
1220impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_model::CreateModelError, R>> for Error
1221where
1222    R: Send + Sync + std::fmt::Debug + 'static,
1223{
1224    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_model::CreateModelError, R>) -> Self {
1225        match err {
1226            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1227            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1228                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1229                source: err.into(),
1230            }),
1231        }
1232    }
1233}
1234impl From<crate::operation::create_model::CreateModelError> for Error {
1235    fn from(err: crate::operation::create_model::CreateModelError) -> Self {
1236        match err {
1237            crate::operation::create_model::CreateModelError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
1238            crate::operation::create_model::CreateModelError::Unhandled(inner) => Error::Unhandled(inner),
1239        }
1240    }
1241}
1242impl<R>
1243    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_model_bias_job_definition::CreateModelBiasJobDefinitionError, R>>
1244    for Error
1245where
1246    R: Send + Sync + std::fmt::Debug + 'static,
1247{
1248    fn from(
1249        err: ::aws_smithy_runtime_api::client::result::SdkError<
1250            crate::operation::create_model_bias_job_definition::CreateModelBiasJobDefinitionError,
1251            R,
1252        >,
1253    ) -> Self {
1254        match err {
1255            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1256            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1257                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1258                source: err.into(),
1259            }),
1260        }
1261    }
1262}
1263impl From<crate::operation::create_model_bias_job_definition::CreateModelBiasJobDefinitionError> for Error {
1264    fn from(err: crate::operation::create_model_bias_job_definition::CreateModelBiasJobDefinitionError) -> Self {
1265        match err {
1266            crate::operation::create_model_bias_job_definition::CreateModelBiasJobDefinitionError::ResourceInUse(inner) => {
1267                Error::ResourceInUse(inner)
1268            }
1269            crate::operation::create_model_bias_job_definition::CreateModelBiasJobDefinitionError::ResourceLimitExceeded(inner) => {
1270                Error::ResourceLimitExceeded(inner)
1271            }
1272            crate::operation::create_model_bias_job_definition::CreateModelBiasJobDefinitionError::Unhandled(inner) => Error::Unhandled(inner),
1273        }
1274    }
1275}
1276impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_model_card::CreateModelCardError, R>> for Error
1277where
1278    R: Send + Sync + std::fmt::Debug + 'static,
1279{
1280    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_model_card::CreateModelCardError, R>) -> Self {
1281        match err {
1282            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1283            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1284                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1285                source: err.into(),
1286            }),
1287        }
1288    }
1289}
1290impl From<crate::operation::create_model_card::CreateModelCardError> for Error {
1291    fn from(err: crate::operation::create_model_card::CreateModelCardError) -> Self {
1292        match err {
1293            crate::operation::create_model_card::CreateModelCardError::ConflictException(inner) => Error::ConflictException(inner),
1294            crate::operation::create_model_card::CreateModelCardError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
1295            crate::operation::create_model_card::CreateModelCardError::Unhandled(inner) => Error::Unhandled(inner),
1296        }
1297    }
1298}
1299impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_model_card_export_job::CreateModelCardExportJobError, R>>
1300    for Error
1301where
1302    R: Send + Sync + std::fmt::Debug + 'static,
1303{
1304    fn from(
1305        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_model_card_export_job::CreateModelCardExportJobError, R>,
1306    ) -> Self {
1307        match err {
1308            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1309            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1310                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1311                source: err.into(),
1312            }),
1313        }
1314    }
1315}
1316impl From<crate::operation::create_model_card_export_job::CreateModelCardExportJobError> for Error {
1317    fn from(err: crate::operation::create_model_card_export_job::CreateModelCardExportJobError) -> Self {
1318        match err {
1319            crate::operation::create_model_card_export_job::CreateModelCardExportJobError::ConflictException(inner) => {
1320                Error::ConflictException(inner)
1321            }
1322            crate::operation::create_model_card_export_job::CreateModelCardExportJobError::ResourceLimitExceeded(inner) => {
1323                Error::ResourceLimitExceeded(inner)
1324            }
1325            crate::operation::create_model_card_export_job::CreateModelCardExportJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
1326            crate::operation::create_model_card_export_job::CreateModelCardExportJobError::Unhandled(inner) => Error::Unhandled(inner),
1327        }
1328    }
1329}
1330impl<R>
1331    From<
1332        ::aws_smithy_runtime_api::client::result::SdkError<
1333            crate::operation::create_model_explainability_job_definition::CreateModelExplainabilityJobDefinitionError,
1334            R,
1335        >,
1336    > for Error
1337where
1338    R: Send + Sync + std::fmt::Debug + 'static,
1339{
1340    fn from(
1341        err: ::aws_smithy_runtime_api::client::result::SdkError<
1342            crate::operation::create_model_explainability_job_definition::CreateModelExplainabilityJobDefinitionError,
1343            R,
1344        >,
1345    ) -> Self {
1346        match err {
1347            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1348            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1349                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1350                source: err.into(),
1351            }),
1352        }
1353    }
1354}
1355impl From<crate::operation::create_model_explainability_job_definition::CreateModelExplainabilityJobDefinitionError> for Error {
1356    fn from(err: crate::operation::create_model_explainability_job_definition::CreateModelExplainabilityJobDefinitionError) -> Self {
1357        match err {
1358            crate::operation::create_model_explainability_job_definition::CreateModelExplainabilityJobDefinitionError::ResourceInUse(inner) => {
1359                Error::ResourceInUse(inner)
1360            }
1361            crate::operation::create_model_explainability_job_definition::CreateModelExplainabilityJobDefinitionError::ResourceLimitExceeded(
1362                inner,
1363            ) => Error::ResourceLimitExceeded(inner),
1364            crate::operation::create_model_explainability_job_definition::CreateModelExplainabilityJobDefinitionError::Unhandled(inner) => {
1365                Error::Unhandled(inner)
1366            }
1367        }
1368    }
1369}
1370impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_model_package::CreateModelPackageError, R>> for Error
1371where
1372    R: Send + Sync + std::fmt::Debug + 'static,
1373{
1374    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_model_package::CreateModelPackageError, R>) -> Self {
1375        match err {
1376            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1377            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1378                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1379                source: err.into(),
1380            }),
1381        }
1382    }
1383}
1384impl From<crate::operation::create_model_package::CreateModelPackageError> for Error {
1385    fn from(err: crate::operation::create_model_package::CreateModelPackageError) -> Self {
1386        match err {
1387            crate::operation::create_model_package::CreateModelPackageError::ConflictException(inner) => Error::ConflictException(inner),
1388            crate::operation::create_model_package::CreateModelPackageError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
1389            crate::operation::create_model_package::CreateModelPackageError::Unhandled(inner) => Error::Unhandled(inner),
1390        }
1391    }
1392}
1393impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_model_package_group::CreateModelPackageGroupError, R>>
1394    for Error
1395where
1396    R: Send + Sync + std::fmt::Debug + 'static,
1397{
1398    fn from(
1399        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_model_package_group::CreateModelPackageGroupError, R>,
1400    ) -> Self {
1401        match err {
1402            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1403            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1404                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1405                source: err.into(),
1406            }),
1407        }
1408    }
1409}
1410impl From<crate::operation::create_model_package_group::CreateModelPackageGroupError> for Error {
1411    fn from(err: crate::operation::create_model_package_group::CreateModelPackageGroupError) -> Self {
1412        match err {
1413            crate::operation::create_model_package_group::CreateModelPackageGroupError::ResourceLimitExceeded(inner) => {
1414                Error::ResourceLimitExceeded(inner)
1415            }
1416            crate::operation::create_model_package_group::CreateModelPackageGroupError::Unhandled(inner) => Error::Unhandled(inner),
1417        }
1418    }
1419}
1420impl<R>
1421    From<
1422        ::aws_smithy_runtime_api::client::result::SdkError<
1423            crate::operation::create_model_quality_job_definition::CreateModelQualityJobDefinitionError,
1424            R,
1425        >,
1426    > for Error
1427where
1428    R: Send + Sync + std::fmt::Debug + 'static,
1429{
1430    fn from(
1431        err: ::aws_smithy_runtime_api::client::result::SdkError<
1432            crate::operation::create_model_quality_job_definition::CreateModelQualityJobDefinitionError,
1433            R,
1434        >,
1435    ) -> Self {
1436        match err {
1437            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1438            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1439                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1440                source: err.into(),
1441            }),
1442        }
1443    }
1444}
1445impl From<crate::operation::create_model_quality_job_definition::CreateModelQualityJobDefinitionError> for Error {
1446    fn from(err: crate::operation::create_model_quality_job_definition::CreateModelQualityJobDefinitionError) -> Self {
1447        match err {
1448            crate::operation::create_model_quality_job_definition::CreateModelQualityJobDefinitionError::ResourceInUse(inner) => {
1449                Error::ResourceInUse(inner)
1450            }
1451            crate::operation::create_model_quality_job_definition::CreateModelQualityJobDefinitionError::ResourceLimitExceeded(inner) => {
1452                Error::ResourceLimitExceeded(inner)
1453            }
1454            crate::operation::create_model_quality_job_definition::CreateModelQualityJobDefinitionError::Unhandled(inner) => Error::Unhandled(inner),
1455        }
1456    }
1457}
1458impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_monitoring_schedule::CreateMonitoringScheduleError, R>>
1459    for Error
1460where
1461    R: Send + Sync + std::fmt::Debug + 'static,
1462{
1463    fn from(
1464        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_monitoring_schedule::CreateMonitoringScheduleError, R>,
1465    ) -> Self {
1466        match err {
1467            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1468            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1469                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1470                source: err.into(),
1471            }),
1472        }
1473    }
1474}
1475impl From<crate::operation::create_monitoring_schedule::CreateMonitoringScheduleError> for Error {
1476    fn from(err: crate::operation::create_monitoring_schedule::CreateMonitoringScheduleError) -> Self {
1477        match err {
1478            crate::operation::create_monitoring_schedule::CreateMonitoringScheduleError::ResourceInUse(inner) => Error::ResourceInUse(inner),
1479            crate::operation::create_monitoring_schedule::CreateMonitoringScheduleError::ResourceLimitExceeded(inner) => {
1480                Error::ResourceLimitExceeded(inner)
1481            }
1482            crate::operation::create_monitoring_schedule::CreateMonitoringScheduleError::Unhandled(inner) => Error::Unhandled(inner),
1483        }
1484    }
1485}
1486impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_notebook_instance::CreateNotebookInstanceError, R>> for Error
1487where
1488    R: Send + Sync + std::fmt::Debug + 'static,
1489{
1490    fn from(
1491        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_notebook_instance::CreateNotebookInstanceError, R>,
1492    ) -> Self {
1493        match err {
1494            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1495            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1496                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1497                source: err.into(),
1498            }),
1499        }
1500    }
1501}
1502impl From<crate::operation::create_notebook_instance::CreateNotebookInstanceError> for Error {
1503    fn from(err: crate::operation::create_notebook_instance::CreateNotebookInstanceError) -> Self {
1504        match err {
1505            crate::operation::create_notebook_instance::CreateNotebookInstanceError::ResourceLimitExceeded(inner) => {
1506                Error::ResourceLimitExceeded(inner)
1507            }
1508            crate::operation::create_notebook_instance::CreateNotebookInstanceError::Unhandled(inner) => Error::Unhandled(inner),
1509        }
1510    }
1511}
1512impl<R>
1513    From<
1514        ::aws_smithy_runtime_api::client::result::SdkError<
1515            crate::operation::create_notebook_instance_lifecycle_config::CreateNotebookInstanceLifecycleConfigError,
1516            R,
1517        >,
1518    > for Error
1519where
1520    R: Send + Sync + std::fmt::Debug + 'static,
1521{
1522    fn from(
1523        err: ::aws_smithy_runtime_api::client::result::SdkError<
1524            crate::operation::create_notebook_instance_lifecycle_config::CreateNotebookInstanceLifecycleConfigError,
1525            R,
1526        >,
1527    ) -> Self {
1528        match err {
1529            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1530            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1531                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1532                source: err.into(),
1533            }),
1534        }
1535    }
1536}
1537impl From<crate::operation::create_notebook_instance_lifecycle_config::CreateNotebookInstanceLifecycleConfigError> for Error {
1538    fn from(err: crate::operation::create_notebook_instance_lifecycle_config::CreateNotebookInstanceLifecycleConfigError) -> Self {
1539        match err {
1540            crate::operation::create_notebook_instance_lifecycle_config::CreateNotebookInstanceLifecycleConfigError::ResourceLimitExceeded(inner) => {
1541                Error::ResourceLimitExceeded(inner)
1542            }
1543            crate::operation::create_notebook_instance_lifecycle_config::CreateNotebookInstanceLifecycleConfigError::Unhandled(inner) => {
1544                Error::Unhandled(inner)
1545            }
1546        }
1547    }
1548}
1549impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_optimization_job::CreateOptimizationJobError, R>> for Error
1550where
1551    R: Send + Sync + std::fmt::Debug + 'static,
1552{
1553    fn from(
1554        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_optimization_job::CreateOptimizationJobError, R>,
1555    ) -> Self {
1556        match err {
1557            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1558            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1559                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1560                source: err.into(),
1561            }),
1562        }
1563    }
1564}
1565impl From<crate::operation::create_optimization_job::CreateOptimizationJobError> for Error {
1566    fn from(err: crate::operation::create_optimization_job::CreateOptimizationJobError) -> Self {
1567        match err {
1568            crate::operation::create_optimization_job::CreateOptimizationJobError::ResourceInUse(inner) => Error::ResourceInUse(inner),
1569            crate::operation::create_optimization_job::CreateOptimizationJobError::ResourceLimitExceeded(inner) => {
1570                Error::ResourceLimitExceeded(inner)
1571            }
1572            crate::operation::create_optimization_job::CreateOptimizationJobError::Unhandled(inner) => Error::Unhandled(inner),
1573        }
1574    }
1575}
1576impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_partner_app::CreatePartnerAppError, R>> for Error
1577where
1578    R: Send + Sync + std::fmt::Debug + 'static,
1579{
1580    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_partner_app::CreatePartnerAppError, R>) -> Self {
1581        match err {
1582            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1583            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1584                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1585                source: err.into(),
1586            }),
1587        }
1588    }
1589}
1590impl From<crate::operation::create_partner_app::CreatePartnerAppError> for Error {
1591    fn from(err: crate::operation::create_partner_app::CreatePartnerAppError) -> Self {
1592        match err {
1593            crate::operation::create_partner_app::CreatePartnerAppError::ConflictException(inner) => Error::ConflictException(inner),
1594            crate::operation::create_partner_app::CreatePartnerAppError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
1595            crate::operation::create_partner_app::CreatePartnerAppError::Unhandled(inner) => Error::Unhandled(inner),
1596        }
1597    }
1598}
1599impl<R>
1600    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_partner_app_presigned_url::CreatePartnerAppPresignedUrlError, R>>
1601    for Error
1602where
1603    R: Send + Sync + std::fmt::Debug + 'static,
1604{
1605    fn from(
1606        err: ::aws_smithy_runtime_api::client::result::SdkError<
1607            crate::operation::create_partner_app_presigned_url::CreatePartnerAppPresignedUrlError,
1608            R,
1609        >,
1610    ) -> Self {
1611        match err {
1612            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1613            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1614                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1615                source: err.into(),
1616            }),
1617        }
1618    }
1619}
1620impl From<crate::operation::create_partner_app_presigned_url::CreatePartnerAppPresignedUrlError> for Error {
1621    fn from(err: crate::operation::create_partner_app_presigned_url::CreatePartnerAppPresignedUrlError) -> Self {
1622        match err {
1623            crate::operation::create_partner_app_presigned_url::CreatePartnerAppPresignedUrlError::ResourceNotFound(inner) => {
1624                Error::ResourceNotFound(inner)
1625            }
1626            crate::operation::create_partner_app_presigned_url::CreatePartnerAppPresignedUrlError::Unhandled(inner) => Error::Unhandled(inner),
1627        }
1628    }
1629}
1630impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_pipeline::CreatePipelineError, R>> for Error
1631where
1632    R: Send + Sync + std::fmt::Debug + 'static,
1633{
1634    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_pipeline::CreatePipelineError, R>) -> Self {
1635        match err {
1636            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1637            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1638                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1639                source: err.into(),
1640            }),
1641        }
1642    }
1643}
1644impl From<crate::operation::create_pipeline::CreatePipelineError> for Error {
1645    fn from(err: crate::operation::create_pipeline::CreatePipelineError) -> Self {
1646        match err {
1647            crate::operation::create_pipeline::CreatePipelineError::ConflictException(inner) => Error::ConflictException(inner),
1648            crate::operation::create_pipeline::CreatePipelineError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
1649            crate::operation::create_pipeline::CreatePipelineError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
1650            crate::operation::create_pipeline::CreatePipelineError::Unhandled(inner) => Error::Unhandled(inner),
1651        }
1652    }
1653}
1654impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_presigned_domain_url::CreatePresignedDomainUrlError, R>>
1655    for Error
1656where
1657    R: Send + Sync + std::fmt::Debug + 'static,
1658{
1659    fn from(
1660        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_presigned_domain_url::CreatePresignedDomainUrlError, R>,
1661    ) -> Self {
1662        match err {
1663            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1664            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1665                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1666                source: err.into(),
1667            }),
1668        }
1669    }
1670}
1671impl From<crate::operation::create_presigned_domain_url::CreatePresignedDomainUrlError> for Error {
1672    fn from(err: crate::operation::create_presigned_domain_url::CreatePresignedDomainUrlError) -> Self {
1673        match err {
1674            crate::operation::create_presigned_domain_url::CreatePresignedDomainUrlError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
1675            crate::operation::create_presigned_domain_url::CreatePresignedDomainUrlError::Unhandled(inner) => Error::Unhandled(inner),
1676        }
1677    }
1678}
1679impl<R>
1680    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_presigned_mlflow_app_url::CreatePresignedMlflowAppUrlError, R>>
1681    for Error
1682where
1683    R: Send + Sync + std::fmt::Debug + 'static,
1684{
1685    fn from(
1686        err: ::aws_smithy_runtime_api::client::result::SdkError<
1687            crate::operation::create_presigned_mlflow_app_url::CreatePresignedMlflowAppUrlError,
1688            R,
1689        >,
1690    ) -> Self {
1691        match err {
1692            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1693            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1694                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1695                source: err.into(),
1696            }),
1697        }
1698    }
1699}
1700impl From<crate::operation::create_presigned_mlflow_app_url::CreatePresignedMlflowAppUrlError> for Error {
1701    fn from(err: crate::operation::create_presigned_mlflow_app_url::CreatePresignedMlflowAppUrlError) -> Self {
1702        match err {
1703            crate::operation::create_presigned_mlflow_app_url::CreatePresignedMlflowAppUrlError::ResourceNotFound(inner) => {
1704                Error::ResourceNotFound(inner)
1705            }
1706            crate::operation::create_presigned_mlflow_app_url::CreatePresignedMlflowAppUrlError::Unhandled(inner) => Error::Unhandled(inner),
1707        }
1708    }
1709}
1710impl<R>
1711    From<
1712        ::aws_smithy_runtime_api::client::result::SdkError<
1713            crate::operation::create_presigned_mlflow_tracking_server_url::CreatePresignedMlflowTrackingServerUrlError,
1714            R,
1715        >,
1716    > for Error
1717where
1718    R: Send + Sync + std::fmt::Debug + 'static,
1719{
1720    fn from(
1721        err: ::aws_smithy_runtime_api::client::result::SdkError<
1722            crate::operation::create_presigned_mlflow_tracking_server_url::CreatePresignedMlflowTrackingServerUrlError,
1723            R,
1724        >,
1725    ) -> Self {
1726        match err {
1727            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1728            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1729                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1730                source: err.into(),
1731            }),
1732        }
1733    }
1734}
1735impl From<crate::operation::create_presigned_mlflow_tracking_server_url::CreatePresignedMlflowTrackingServerUrlError> for Error {
1736    fn from(err: crate::operation::create_presigned_mlflow_tracking_server_url::CreatePresignedMlflowTrackingServerUrlError) -> Self {
1737        match err {
1738            crate::operation::create_presigned_mlflow_tracking_server_url::CreatePresignedMlflowTrackingServerUrlError::ResourceNotFound(inner) => {
1739                Error::ResourceNotFound(inner)
1740            }
1741            crate::operation::create_presigned_mlflow_tracking_server_url::CreatePresignedMlflowTrackingServerUrlError::Unhandled(inner) => {
1742                Error::Unhandled(inner)
1743            }
1744        }
1745    }
1746}
1747impl<R>
1748    From<
1749        ::aws_smithy_runtime_api::client::result::SdkError<
1750            crate::operation::create_presigned_notebook_instance_url::CreatePresignedNotebookInstanceUrlError,
1751            R,
1752        >,
1753    > for Error
1754where
1755    R: Send + Sync + std::fmt::Debug + 'static,
1756{
1757    fn from(
1758        err: ::aws_smithy_runtime_api::client::result::SdkError<
1759            crate::operation::create_presigned_notebook_instance_url::CreatePresignedNotebookInstanceUrlError,
1760            R,
1761        >,
1762    ) -> Self {
1763        match err {
1764            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1765            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1766                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1767                source: err.into(),
1768            }),
1769        }
1770    }
1771}
1772impl From<crate::operation::create_presigned_notebook_instance_url::CreatePresignedNotebookInstanceUrlError> for Error {
1773    fn from(err: crate::operation::create_presigned_notebook_instance_url::CreatePresignedNotebookInstanceUrlError) -> Self {
1774        match err {
1775            crate::operation::create_presigned_notebook_instance_url::CreatePresignedNotebookInstanceUrlError::Unhandled(inner) => {
1776                Error::Unhandled(inner)
1777            }
1778        }
1779    }
1780}
1781impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_processing_job::CreateProcessingJobError, R>> for Error
1782where
1783    R: Send + Sync + std::fmt::Debug + 'static,
1784{
1785    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_processing_job::CreateProcessingJobError, R>) -> Self {
1786        match err {
1787            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1788            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1789                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1790                source: err.into(),
1791            }),
1792        }
1793    }
1794}
1795impl From<crate::operation::create_processing_job::CreateProcessingJobError> for Error {
1796    fn from(err: crate::operation::create_processing_job::CreateProcessingJobError) -> Self {
1797        match err {
1798            crate::operation::create_processing_job::CreateProcessingJobError::ResourceInUse(inner) => Error::ResourceInUse(inner),
1799            crate::operation::create_processing_job::CreateProcessingJobError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
1800            crate::operation::create_processing_job::CreateProcessingJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
1801            crate::operation::create_processing_job::CreateProcessingJobError::Unhandled(inner) => Error::Unhandled(inner),
1802        }
1803    }
1804}
1805impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_project::CreateProjectError, R>> for Error
1806where
1807    R: Send + Sync + std::fmt::Debug + 'static,
1808{
1809    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_project::CreateProjectError, R>) -> Self {
1810        match err {
1811            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1812            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1813                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1814                source: err.into(),
1815            }),
1816        }
1817    }
1818}
1819impl From<crate::operation::create_project::CreateProjectError> for Error {
1820    fn from(err: crate::operation::create_project::CreateProjectError) -> Self {
1821        match err {
1822            crate::operation::create_project::CreateProjectError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
1823            crate::operation::create_project::CreateProjectError::Unhandled(inner) => Error::Unhandled(inner),
1824        }
1825    }
1826}
1827impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_space::CreateSpaceError, R>> for Error
1828where
1829    R: Send + Sync + std::fmt::Debug + 'static,
1830{
1831    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_space::CreateSpaceError, R>) -> Self {
1832        match err {
1833            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1834            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1835                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1836                source: err.into(),
1837            }),
1838        }
1839    }
1840}
1841impl From<crate::operation::create_space::CreateSpaceError> for Error {
1842    fn from(err: crate::operation::create_space::CreateSpaceError) -> Self {
1843        match err {
1844            crate::operation::create_space::CreateSpaceError::ResourceInUse(inner) => Error::ResourceInUse(inner),
1845            crate::operation::create_space::CreateSpaceError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
1846            crate::operation::create_space::CreateSpaceError::Unhandled(inner) => Error::Unhandled(inner),
1847        }
1848    }
1849}
1850impl<R>
1851    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_studio_lifecycle_config::CreateStudioLifecycleConfigError, R>>
1852    for Error
1853where
1854    R: Send + Sync + std::fmt::Debug + 'static,
1855{
1856    fn from(
1857        err: ::aws_smithy_runtime_api::client::result::SdkError<
1858            crate::operation::create_studio_lifecycle_config::CreateStudioLifecycleConfigError,
1859            R,
1860        >,
1861    ) -> Self {
1862        match err {
1863            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1864            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1865                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1866                source: err.into(),
1867            }),
1868        }
1869    }
1870}
1871impl From<crate::operation::create_studio_lifecycle_config::CreateStudioLifecycleConfigError> for Error {
1872    fn from(err: crate::operation::create_studio_lifecycle_config::CreateStudioLifecycleConfigError) -> Self {
1873        match err {
1874            crate::operation::create_studio_lifecycle_config::CreateStudioLifecycleConfigError::ResourceInUse(inner) => Error::ResourceInUse(inner),
1875            crate::operation::create_studio_lifecycle_config::CreateStudioLifecycleConfigError::Unhandled(inner) => Error::Unhandled(inner),
1876        }
1877    }
1878}
1879impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_training_job::CreateTrainingJobError, R>> for Error
1880where
1881    R: Send + Sync + std::fmt::Debug + 'static,
1882{
1883    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_training_job::CreateTrainingJobError, R>) -> Self {
1884        match err {
1885            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1886            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1887                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1888                source: err.into(),
1889            }),
1890        }
1891    }
1892}
1893impl From<crate::operation::create_training_job::CreateTrainingJobError> for Error {
1894    fn from(err: crate::operation::create_training_job::CreateTrainingJobError) -> Self {
1895        match err {
1896            crate::operation::create_training_job::CreateTrainingJobError::ResourceInUse(inner) => Error::ResourceInUse(inner),
1897            crate::operation::create_training_job::CreateTrainingJobError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
1898            crate::operation::create_training_job::CreateTrainingJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
1899            crate::operation::create_training_job::CreateTrainingJobError::Unhandled(inner) => Error::Unhandled(inner),
1900        }
1901    }
1902}
1903impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_training_plan::CreateTrainingPlanError, R>> for Error
1904where
1905    R: Send + Sync + std::fmt::Debug + 'static,
1906{
1907    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_training_plan::CreateTrainingPlanError, R>) -> Self {
1908        match err {
1909            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1910            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1911                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1912                source: err.into(),
1913            }),
1914        }
1915    }
1916}
1917impl From<crate::operation::create_training_plan::CreateTrainingPlanError> for Error {
1918    fn from(err: crate::operation::create_training_plan::CreateTrainingPlanError) -> Self {
1919        match err {
1920            crate::operation::create_training_plan::CreateTrainingPlanError::ResourceInUse(inner) => Error::ResourceInUse(inner),
1921            crate::operation::create_training_plan::CreateTrainingPlanError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
1922            crate::operation::create_training_plan::CreateTrainingPlanError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
1923            crate::operation::create_training_plan::CreateTrainingPlanError::Unhandled(inner) => Error::Unhandled(inner),
1924        }
1925    }
1926}
1927impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_transform_job::CreateTransformJobError, R>> for Error
1928where
1929    R: Send + Sync + std::fmt::Debug + 'static,
1930{
1931    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_transform_job::CreateTransformJobError, R>) -> Self {
1932        match err {
1933            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1934            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1935                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1936                source: err.into(),
1937            }),
1938        }
1939    }
1940}
1941impl From<crate::operation::create_transform_job::CreateTransformJobError> for Error {
1942    fn from(err: crate::operation::create_transform_job::CreateTransformJobError) -> Self {
1943        match err {
1944            crate::operation::create_transform_job::CreateTransformJobError::ResourceInUse(inner) => Error::ResourceInUse(inner),
1945            crate::operation::create_transform_job::CreateTransformJobError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
1946            crate::operation::create_transform_job::CreateTransformJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
1947            crate::operation::create_transform_job::CreateTransformJobError::Unhandled(inner) => Error::Unhandled(inner),
1948        }
1949    }
1950}
1951impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_trial::CreateTrialError, R>> for Error
1952where
1953    R: Send + Sync + std::fmt::Debug + 'static,
1954{
1955    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_trial::CreateTrialError, R>) -> Self {
1956        match err {
1957            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1958            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1959                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1960                source: err.into(),
1961            }),
1962        }
1963    }
1964}
1965impl From<crate::operation::create_trial::CreateTrialError> for Error {
1966    fn from(err: crate::operation::create_trial::CreateTrialError) -> Self {
1967        match err {
1968            crate::operation::create_trial::CreateTrialError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
1969            crate::operation::create_trial::CreateTrialError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
1970            crate::operation::create_trial::CreateTrialError::Unhandled(inner) => Error::Unhandled(inner),
1971        }
1972    }
1973}
1974impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_trial_component::CreateTrialComponentError, R>> for Error
1975where
1976    R: Send + Sync + std::fmt::Debug + 'static,
1977{
1978    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_trial_component::CreateTrialComponentError, R>) -> Self {
1979        match err {
1980            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1981            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1982                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1983                source: err.into(),
1984            }),
1985        }
1986    }
1987}
1988impl From<crate::operation::create_trial_component::CreateTrialComponentError> for Error {
1989    fn from(err: crate::operation::create_trial_component::CreateTrialComponentError) -> Self {
1990        match err {
1991            crate::operation::create_trial_component::CreateTrialComponentError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
1992            crate::operation::create_trial_component::CreateTrialComponentError::Unhandled(inner) => Error::Unhandled(inner),
1993        }
1994    }
1995}
1996impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_user_profile::CreateUserProfileError, R>> for Error
1997where
1998    R: Send + Sync + std::fmt::Debug + 'static,
1999{
2000    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_user_profile::CreateUserProfileError, R>) -> Self {
2001        match err {
2002            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2003            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2004                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2005                source: err.into(),
2006            }),
2007        }
2008    }
2009}
2010impl From<crate::operation::create_user_profile::CreateUserProfileError> for Error {
2011    fn from(err: crate::operation::create_user_profile::CreateUserProfileError) -> Self {
2012        match err {
2013            crate::operation::create_user_profile::CreateUserProfileError::ResourceInUse(inner) => Error::ResourceInUse(inner),
2014            crate::operation::create_user_profile::CreateUserProfileError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
2015            crate::operation::create_user_profile::CreateUserProfileError::Unhandled(inner) => Error::Unhandled(inner),
2016        }
2017    }
2018}
2019impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_workforce::CreateWorkforceError, R>> for Error
2020where
2021    R: Send + Sync + std::fmt::Debug + 'static,
2022{
2023    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_workforce::CreateWorkforceError, R>) -> Self {
2024        match err {
2025            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2026            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2027                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2028                source: err.into(),
2029            }),
2030        }
2031    }
2032}
2033impl From<crate::operation::create_workforce::CreateWorkforceError> for Error {
2034    fn from(err: crate::operation::create_workforce::CreateWorkforceError) -> Self {
2035        match err {
2036            crate::operation::create_workforce::CreateWorkforceError::Unhandled(inner) => Error::Unhandled(inner),
2037        }
2038    }
2039}
2040impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_workteam::CreateWorkteamError, R>> for Error
2041where
2042    R: Send + Sync + std::fmt::Debug + 'static,
2043{
2044    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_workteam::CreateWorkteamError, R>) -> Self {
2045        match err {
2046            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2047            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2048                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2049                source: err.into(),
2050            }),
2051        }
2052    }
2053}
2054impl From<crate::operation::create_workteam::CreateWorkteamError> for Error {
2055    fn from(err: crate::operation::create_workteam::CreateWorkteamError) -> Self {
2056        match err {
2057            crate::operation::create_workteam::CreateWorkteamError::ResourceInUse(inner) => Error::ResourceInUse(inner),
2058            crate::operation::create_workteam::CreateWorkteamError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
2059            crate::operation::create_workteam::CreateWorkteamError::Unhandled(inner) => Error::Unhandled(inner),
2060        }
2061    }
2062}
2063impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_action::DeleteActionError, R>> for Error
2064where
2065    R: Send + Sync + std::fmt::Debug + 'static,
2066{
2067    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_action::DeleteActionError, R>) -> Self {
2068        match err {
2069            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2070            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2071                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2072                source: err.into(),
2073            }),
2074        }
2075    }
2076}
2077impl From<crate::operation::delete_action::DeleteActionError> for Error {
2078    fn from(err: crate::operation::delete_action::DeleteActionError) -> Self {
2079        match err {
2080            crate::operation::delete_action::DeleteActionError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2081            crate::operation::delete_action::DeleteActionError::Unhandled(inner) => Error::Unhandled(inner),
2082        }
2083    }
2084}
2085impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_algorithm::DeleteAlgorithmError, R>> for Error
2086where
2087    R: Send + Sync + std::fmt::Debug + 'static,
2088{
2089    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_algorithm::DeleteAlgorithmError, R>) -> Self {
2090        match err {
2091            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2092            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2093                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2094                source: err.into(),
2095            }),
2096        }
2097    }
2098}
2099impl From<crate::operation::delete_algorithm::DeleteAlgorithmError> for Error {
2100    fn from(err: crate::operation::delete_algorithm::DeleteAlgorithmError) -> Self {
2101        match err {
2102            crate::operation::delete_algorithm::DeleteAlgorithmError::ConflictException(inner) => Error::ConflictException(inner),
2103            crate::operation::delete_algorithm::DeleteAlgorithmError::Unhandled(inner) => Error::Unhandled(inner),
2104        }
2105    }
2106}
2107impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_app::DeleteAppError, R>> for Error
2108where
2109    R: Send + Sync + std::fmt::Debug + 'static,
2110{
2111    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_app::DeleteAppError, R>) -> Self {
2112        match err {
2113            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2114            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2115                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2116                source: err.into(),
2117            }),
2118        }
2119    }
2120}
2121impl From<crate::operation::delete_app::DeleteAppError> for Error {
2122    fn from(err: crate::operation::delete_app::DeleteAppError) -> Self {
2123        match err {
2124            crate::operation::delete_app::DeleteAppError::ResourceInUse(inner) => Error::ResourceInUse(inner),
2125            crate::operation::delete_app::DeleteAppError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2126            crate::operation::delete_app::DeleteAppError::Unhandled(inner) => Error::Unhandled(inner),
2127        }
2128    }
2129}
2130impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_app_image_config::DeleteAppImageConfigError, R>> for Error
2131where
2132    R: Send + Sync + std::fmt::Debug + 'static,
2133{
2134    fn from(
2135        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_app_image_config::DeleteAppImageConfigError, R>,
2136    ) -> Self {
2137        match err {
2138            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2139            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2140                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2141                source: err.into(),
2142            }),
2143        }
2144    }
2145}
2146impl From<crate::operation::delete_app_image_config::DeleteAppImageConfigError> for Error {
2147    fn from(err: crate::operation::delete_app_image_config::DeleteAppImageConfigError) -> Self {
2148        match err {
2149            crate::operation::delete_app_image_config::DeleteAppImageConfigError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2150            crate::operation::delete_app_image_config::DeleteAppImageConfigError::Unhandled(inner) => Error::Unhandled(inner),
2151        }
2152    }
2153}
2154impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_artifact::DeleteArtifactError, R>> for Error
2155where
2156    R: Send + Sync + std::fmt::Debug + 'static,
2157{
2158    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_artifact::DeleteArtifactError, R>) -> Self {
2159        match err {
2160            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2161            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2162                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2163                source: err.into(),
2164            }),
2165        }
2166    }
2167}
2168impl From<crate::operation::delete_artifact::DeleteArtifactError> for Error {
2169    fn from(err: crate::operation::delete_artifact::DeleteArtifactError) -> Self {
2170        match err {
2171            crate::operation::delete_artifact::DeleteArtifactError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2172            crate::operation::delete_artifact::DeleteArtifactError::Unhandled(inner) => Error::Unhandled(inner),
2173        }
2174    }
2175}
2176impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_association::DeleteAssociationError, R>> for Error
2177where
2178    R: Send + Sync + std::fmt::Debug + 'static,
2179{
2180    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_association::DeleteAssociationError, R>) -> Self {
2181        match err {
2182            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2183            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2184                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2185                source: err.into(),
2186            }),
2187        }
2188    }
2189}
2190impl From<crate::operation::delete_association::DeleteAssociationError> for Error {
2191    fn from(err: crate::operation::delete_association::DeleteAssociationError) -> Self {
2192        match err {
2193            crate::operation::delete_association::DeleteAssociationError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2194            crate::operation::delete_association::DeleteAssociationError::Unhandled(inner) => Error::Unhandled(inner),
2195        }
2196    }
2197}
2198impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_cluster::DeleteClusterError, R>> for Error
2199where
2200    R: Send + Sync + std::fmt::Debug + 'static,
2201{
2202    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_cluster::DeleteClusterError, R>) -> Self {
2203        match err {
2204            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2205            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2206                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2207                source: err.into(),
2208            }),
2209        }
2210    }
2211}
2212impl From<crate::operation::delete_cluster::DeleteClusterError> for Error {
2213    fn from(err: crate::operation::delete_cluster::DeleteClusterError) -> Self {
2214        match err {
2215            crate::operation::delete_cluster::DeleteClusterError::ConflictException(inner) => Error::ConflictException(inner),
2216            crate::operation::delete_cluster::DeleteClusterError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2217            crate::operation::delete_cluster::DeleteClusterError::Unhandled(inner) => Error::Unhandled(inner),
2218        }
2219    }
2220}
2221impl<R>
2222    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_cluster_scheduler_config::DeleteClusterSchedulerConfigError, R>>
2223    for Error
2224where
2225    R: Send + Sync + std::fmt::Debug + 'static,
2226{
2227    fn from(
2228        err: ::aws_smithy_runtime_api::client::result::SdkError<
2229            crate::operation::delete_cluster_scheduler_config::DeleteClusterSchedulerConfigError,
2230            R,
2231        >,
2232    ) -> Self {
2233        match err {
2234            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2235            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2236                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2237                source: err.into(),
2238            }),
2239        }
2240    }
2241}
2242impl From<crate::operation::delete_cluster_scheduler_config::DeleteClusterSchedulerConfigError> for Error {
2243    fn from(err: crate::operation::delete_cluster_scheduler_config::DeleteClusterSchedulerConfigError) -> Self {
2244        match err {
2245            crate::operation::delete_cluster_scheduler_config::DeleteClusterSchedulerConfigError::ResourceNotFound(inner) => {
2246                Error::ResourceNotFound(inner)
2247            }
2248            crate::operation::delete_cluster_scheduler_config::DeleteClusterSchedulerConfigError::Unhandled(inner) => Error::Unhandled(inner),
2249        }
2250    }
2251}
2252impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_code_repository::DeleteCodeRepositoryError, R>> for Error
2253where
2254    R: Send + Sync + std::fmt::Debug + 'static,
2255{
2256    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_code_repository::DeleteCodeRepositoryError, R>) -> Self {
2257        match err {
2258            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2259            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2260                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2261                source: err.into(),
2262            }),
2263        }
2264    }
2265}
2266impl From<crate::operation::delete_code_repository::DeleteCodeRepositoryError> for Error {
2267    fn from(err: crate::operation::delete_code_repository::DeleteCodeRepositoryError) -> Self {
2268        match err {
2269            crate::operation::delete_code_repository::DeleteCodeRepositoryError::Unhandled(inner) => Error::Unhandled(inner),
2270        }
2271    }
2272}
2273impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_compilation_job::DeleteCompilationJobError, R>> for Error
2274where
2275    R: Send + Sync + std::fmt::Debug + 'static,
2276{
2277    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_compilation_job::DeleteCompilationJobError, R>) -> Self {
2278        match err {
2279            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2280            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2281                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2282                source: err.into(),
2283            }),
2284        }
2285    }
2286}
2287impl From<crate::operation::delete_compilation_job::DeleteCompilationJobError> for Error {
2288    fn from(err: crate::operation::delete_compilation_job::DeleteCompilationJobError) -> Self {
2289        match err {
2290            crate::operation::delete_compilation_job::DeleteCompilationJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2291            crate::operation::delete_compilation_job::DeleteCompilationJobError::Unhandled(inner) => Error::Unhandled(inner),
2292        }
2293    }
2294}
2295impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_compute_quota::DeleteComputeQuotaError, R>> for Error
2296where
2297    R: Send + Sync + std::fmt::Debug + 'static,
2298{
2299    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_compute_quota::DeleteComputeQuotaError, R>) -> Self {
2300        match err {
2301            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2302            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2303                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2304                source: err.into(),
2305            }),
2306        }
2307    }
2308}
2309impl From<crate::operation::delete_compute_quota::DeleteComputeQuotaError> for Error {
2310    fn from(err: crate::operation::delete_compute_quota::DeleteComputeQuotaError) -> Self {
2311        match err {
2312            crate::operation::delete_compute_quota::DeleteComputeQuotaError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2313            crate::operation::delete_compute_quota::DeleteComputeQuotaError::Unhandled(inner) => Error::Unhandled(inner),
2314        }
2315    }
2316}
2317impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_context::DeleteContextError, R>> for Error
2318where
2319    R: Send + Sync + std::fmt::Debug + 'static,
2320{
2321    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_context::DeleteContextError, R>) -> Self {
2322        match err {
2323            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2324            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2325                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2326                source: err.into(),
2327            }),
2328        }
2329    }
2330}
2331impl From<crate::operation::delete_context::DeleteContextError> for Error {
2332    fn from(err: crate::operation::delete_context::DeleteContextError) -> Self {
2333        match err {
2334            crate::operation::delete_context::DeleteContextError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2335            crate::operation::delete_context::DeleteContextError::Unhandled(inner) => Error::Unhandled(inner),
2336        }
2337    }
2338}
2339impl<R>
2340    From<
2341        ::aws_smithy_runtime_api::client::result::SdkError<
2342            crate::operation::delete_data_quality_job_definition::DeleteDataQualityJobDefinitionError,
2343            R,
2344        >,
2345    > for Error
2346where
2347    R: Send + Sync + std::fmt::Debug + 'static,
2348{
2349    fn from(
2350        err: ::aws_smithy_runtime_api::client::result::SdkError<
2351            crate::operation::delete_data_quality_job_definition::DeleteDataQualityJobDefinitionError,
2352            R,
2353        >,
2354    ) -> Self {
2355        match err {
2356            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2357            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2358                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2359                source: err.into(),
2360            }),
2361        }
2362    }
2363}
2364impl From<crate::operation::delete_data_quality_job_definition::DeleteDataQualityJobDefinitionError> for Error {
2365    fn from(err: crate::operation::delete_data_quality_job_definition::DeleteDataQualityJobDefinitionError) -> Self {
2366        match err {
2367            crate::operation::delete_data_quality_job_definition::DeleteDataQualityJobDefinitionError::ResourceNotFound(inner) => {
2368                Error::ResourceNotFound(inner)
2369            }
2370            crate::operation::delete_data_quality_job_definition::DeleteDataQualityJobDefinitionError::Unhandled(inner) => Error::Unhandled(inner),
2371        }
2372    }
2373}
2374impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_device_fleet::DeleteDeviceFleetError, R>> for Error
2375where
2376    R: Send + Sync + std::fmt::Debug + 'static,
2377{
2378    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_device_fleet::DeleteDeviceFleetError, R>) -> Self {
2379        match err {
2380            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2381            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2382                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2383                source: err.into(),
2384            }),
2385        }
2386    }
2387}
2388impl From<crate::operation::delete_device_fleet::DeleteDeviceFleetError> for Error {
2389    fn from(err: crate::operation::delete_device_fleet::DeleteDeviceFleetError) -> Self {
2390        match err {
2391            crate::operation::delete_device_fleet::DeleteDeviceFleetError::ResourceInUse(inner) => Error::ResourceInUse(inner),
2392            crate::operation::delete_device_fleet::DeleteDeviceFleetError::Unhandled(inner) => Error::Unhandled(inner),
2393        }
2394    }
2395}
2396impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_domain::DeleteDomainError, R>> for Error
2397where
2398    R: Send + Sync + std::fmt::Debug + 'static,
2399{
2400    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_domain::DeleteDomainError, R>) -> Self {
2401        match err {
2402            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2403            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2404                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2405                source: err.into(),
2406            }),
2407        }
2408    }
2409}
2410impl From<crate::operation::delete_domain::DeleteDomainError> for Error {
2411    fn from(err: crate::operation::delete_domain::DeleteDomainError) -> Self {
2412        match err {
2413            crate::operation::delete_domain::DeleteDomainError::ResourceInUse(inner) => Error::ResourceInUse(inner),
2414            crate::operation::delete_domain::DeleteDomainError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2415            crate::operation::delete_domain::DeleteDomainError::Unhandled(inner) => Error::Unhandled(inner),
2416        }
2417    }
2418}
2419impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_edge_deployment_plan::DeleteEdgeDeploymentPlanError, R>>
2420    for Error
2421where
2422    R: Send + Sync + std::fmt::Debug + 'static,
2423{
2424    fn from(
2425        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_edge_deployment_plan::DeleteEdgeDeploymentPlanError, R>,
2426    ) -> Self {
2427        match err {
2428            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2429            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2430                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2431                source: err.into(),
2432            }),
2433        }
2434    }
2435}
2436impl From<crate::operation::delete_edge_deployment_plan::DeleteEdgeDeploymentPlanError> for Error {
2437    fn from(err: crate::operation::delete_edge_deployment_plan::DeleteEdgeDeploymentPlanError) -> Self {
2438        match err {
2439            crate::operation::delete_edge_deployment_plan::DeleteEdgeDeploymentPlanError::ResourceInUse(inner) => Error::ResourceInUse(inner),
2440            crate::operation::delete_edge_deployment_plan::DeleteEdgeDeploymentPlanError::Unhandled(inner) => Error::Unhandled(inner),
2441        }
2442    }
2443}
2444impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_edge_deployment_stage::DeleteEdgeDeploymentStageError, R>>
2445    for Error
2446where
2447    R: Send + Sync + std::fmt::Debug + 'static,
2448{
2449    fn from(
2450        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_edge_deployment_stage::DeleteEdgeDeploymentStageError, R>,
2451    ) -> Self {
2452        match err {
2453            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2454            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2455                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2456                source: err.into(),
2457            }),
2458        }
2459    }
2460}
2461impl From<crate::operation::delete_edge_deployment_stage::DeleteEdgeDeploymentStageError> for Error {
2462    fn from(err: crate::operation::delete_edge_deployment_stage::DeleteEdgeDeploymentStageError) -> Self {
2463        match err {
2464            crate::operation::delete_edge_deployment_stage::DeleteEdgeDeploymentStageError::ResourceInUse(inner) => Error::ResourceInUse(inner),
2465            crate::operation::delete_edge_deployment_stage::DeleteEdgeDeploymentStageError::Unhandled(inner) => Error::Unhandled(inner),
2466        }
2467    }
2468}
2469impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_endpoint::DeleteEndpointError, R>> for Error
2470where
2471    R: Send + Sync + std::fmt::Debug + 'static,
2472{
2473    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_endpoint::DeleteEndpointError, R>) -> Self {
2474        match err {
2475            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2476            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2477                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2478                source: err.into(),
2479            }),
2480        }
2481    }
2482}
2483impl From<crate::operation::delete_endpoint::DeleteEndpointError> for Error {
2484    fn from(err: crate::operation::delete_endpoint::DeleteEndpointError) -> Self {
2485        match err {
2486            crate::operation::delete_endpoint::DeleteEndpointError::Unhandled(inner) => Error::Unhandled(inner),
2487        }
2488    }
2489}
2490impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_endpoint_config::DeleteEndpointConfigError, R>> for Error
2491where
2492    R: Send + Sync + std::fmt::Debug + 'static,
2493{
2494    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_endpoint_config::DeleteEndpointConfigError, R>) -> Self {
2495        match err {
2496            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2497            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2498                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2499                source: err.into(),
2500            }),
2501        }
2502    }
2503}
2504impl From<crate::operation::delete_endpoint_config::DeleteEndpointConfigError> for Error {
2505    fn from(err: crate::operation::delete_endpoint_config::DeleteEndpointConfigError) -> Self {
2506        match err {
2507            crate::operation::delete_endpoint_config::DeleteEndpointConfigError::Unhandled(inner) => Error::Unhandled(inner),
2508        }
2509    }
2510}
2511impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_experiment::DeleteExperimentError, R>> for Error
2512where
2513    R: Send + Sync + std::fmt::Debug + 'static,
2514{
2515    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_experiment::DeleteExperimentError, R>) -> Self {
2516        match err {
2517            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2518            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2519                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2520                source: err.into(),
2521            }),
2522        }
2523    }
2524}
2525impl From<crate::operation::delete_experiment::DeleteExperimentError> for Error {
2526    fn from(err: crate::operation::delete_experiment::DeleteExperimentError) -> Self {
2527        match err {
2528            crate::operation::delete_experiment::DeleteExperimentError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2529            crate::operation::delete_experiment::DeleteExperimentError::Unhandled(inner) => Error::Unhandled(inner),
2530        }
2531    }
2532}
2533impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_feature_group::DeleteFeatureGroupError, R>> for Error
2534where
2535    R: Send + Sync + std::fmt::Debug + 'static,
2536{
2537    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_feature_group::DeleteFeatureGroupError, R>) -> Self {
2538        match err {
2539            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2540            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2541                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2542                source: err.into(),
2543            }),
2544        }
2545    }
2546}
2547impl From<crate::operation::delete_feature_group::DeleteFeatureGroupError> for Error {
2548    fn from(err: crate::operation::delete_feature_group::DeleteFeatureGroupError) -> Self {
2549        match err {
2550            crate::operation::delete_feature_group::DeleteFeatureGroupError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2551            crate::operation::delete_feature_group::DeleteFeatureGroupError::Unhandled(inner) => Error::Unhandled(inner),
2552        }
2553    }
2554}
2555impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_flow_definition::DeleteFlowDefinitionError, R>> for Error
2556where
2557    R: Send + Sync + std::fmt::Debug + 'static,
2558{
2559    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_flow_definition::DeleteFlowDefinitionError, R>) -> Self {
2560        match err {
2561            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2562            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2563                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2564                source: err.into(),
2565            }),
2566        }
2567    }
2568}
2569impl From<crate::operation::delete_flow_definition::DeleteFlowDefinitionError> for Error {
2570    fn from(err: crate::operation::delete_flow_definition::DeleteFlowDefinitionError) -> Self {
2571        match err {
2572            crate::operation::delete_flow_definition::DeleteFlowDefinitionError::ResourceInUse(inner) => Error::ResourceInUse(inner),
2573            crate::operation::delete_flow_definition::DeleteFlowDefinitionError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2574            crate::operation::delete_flow_definition::DeleteFlowDefinitionError::Unhandled(inner) => Error::Unhandled(inner),
2575        }
2576    }
2577}
2578impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_hub::DeleteHubError, R>> for Error
2579where
2580    R: Send + Sync + std::fmt::Debug + 'static,
2581{
2582    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_hub::DeleteHubError, R>) -> Self {
2583        match err {
2584            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2585            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2586                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2587                source: err.into(),
2588            }),
2589        }
2590    }
2591}
2592impl From<crate::operation::delete_hub::DeleteHubError> for Error {
2593    fn from(err: crate::operation::delete_hub::DeleteHubError) -> Self {
2594        match err {
2595            crate::operation::delete_hub::DeleteHubError::ResourceInUse(inner) => Error::ResourceInUse(inner),
2596            crate::operation::delete_hub::DeleteHubError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2597            crate::operation::delete_hub::DeleteHubError::Unhandled(inner) => Error::Unhandled(inner),
2598        }
2599    }
2600}
2601impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_hub_content::DeleteHubContentError, R>> for Error
2602where
2603    R: Send + Sync + std::fmt::Debug + 'static,
2604{
2605    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_hub_content::DeleteHubContentError, R>) -> Self {
2606        match err {
2607            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2608            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2609                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2610                source: err.into(),
2611            }),
2612        }
2613    }
2614}
2615impl From<crate::operation::delete_hub_content::DeleteHubContentError> for Error {
2616    fn from(err: crate::operation::delete_hub_content::DeleteHubContentError) -> Self {
2617        match err {
2618            crate::operation::delete_hub_content::DeleteHubContentError::ResourceInUse(inner) => Error::ResourceInUse(inner),
2619            crate::operation::delete_hub_content::DeleteHubContentError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2620            crate::operation::delete_hub_content::DeleteHubContentError::Unhandled(inner) => Error::Unhandled(inner),
2621        }
2622    }
2623}
2624impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_hub_content_reference::DeleteHubContentReferenceError, R>>
2625    for Error
2626where
2627    R: Send + Sync + std::fmt::Debug + 'static,
2628{
2629    fn from(
2630        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_hub_content_reference::DeleteHubContentReferenceError, R>,
2631    ) -> Self {
2632        match err {
2633            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2634            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2635                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2636                source: err.into(),
2637            }),
2638        }
2639    }
2640}
2641impl From<crate::operation::delete_hub_content_reference::DeleteHubContentReferenceError> for Error {
2642    fn from(err: crate::operation::delete_hub_content_reference::DeleteHubContentReferenceError) -> Self {
2643        match err {
2644            crate::operation::delete_hub_content_reference::DeleteHubContentReferenceError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2645            crate::operation::delete_hub_content_reference::DeleteHubContentReferenceError::Unhandled(inner) => Error::Unhandled(inner),
2646        }
2647    }
2648}
2649impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_human_task_ui::DeleteHumanTaskUiError, R>> for Error
2650where
2651    R: Send + Sync + std::fmt::Debug + 'static,
2652{
2653    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_human_task_ui::DeleteHumanTaskUiError, R>) -> Self {
2654        match err {
2655            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2656            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2657                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2658                source: err.into(),
2659            }),
2660        }
2661    }
2662}
2663impl From<crate::operation::delete_human_task_ui::DeleteHumanTaskUiError> for Error {
2664    fn from(err: crate::operation::delete_human_task_ui::DeleteHumanTaskUiError) -> Self {
2665        match err {
2666            crate::operation::delete_human_task_ui::DeleteHumanTaskUiError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2667            crate::operation::delete_human_task_ui::DeleteHumanTaskUiError::Unhandled(inner) => Error::Unhandled(inner),
2668        }
2669    }
2670}
2671impl<R>
2672    From<
2673        ::aws_smithy_runtime_api::client::result::SdkError<
2674            crate::operation::delete_hyper_parameter_tuning_job::DeleteHyperParameterTuningJobError,
2675            R,
2676        >,
2677    > for Error
2678where
2679    R: Send + Sync + std::fmt::Debug + 'static,
2680{
2681    fn from(
2682        err: ::aws_smithy_runtime_api::client::result::SdkError<
2683            crate::operation::delete_hyper_parameter_tuning_job::DeleteHyperParameterTuningJobError,
2684            R,
2685        >,
2686    ) -> Self {
2687        match err {
2688            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2689            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2690                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2691                source: err.into(),
2692            }),
2693        }
2694    }
2695}
2696impl From<crate::operation::delete_hyper_parameter_tuning_job::DeleteHyperParameterTuningJobError> for Error {
2697    fn from(err: crate::operation::delete_hyper_parameter_tuning_job::DeleteHyperParameterTuningJobError) -> Self {
2698        match err {
2699            crate::operation::delete_hyper_parameter_tuning_job::DeleteHyperParameterTuningJobError::Unhandled(inner) => Error::Unhandled(inner),
2700        }
2701    }
2702}
2703impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_image::DeleteImageError, R>> for Error
2704where
2705    R: Send + Sync + std::fmt::Debug + 'static,
2706{
2707    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_image::DeleteImageError, R>) -> Self {
2708        match err {
2709            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2710            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2711                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2712                source: err.into(),
2713            }),
2714        }
2715    }
2716}
2717impl From<crate::operation::delete_image::DeleteImageError> for Error {
2718    fn from(err: crate::operation::delete_image::DeleteImageError) -> Self {
2719        match err {
2720            crate::operation::delete_image::DeleteImageError::ResourceInUse(inner) => Error::ResourceInUse(inner),
2721            crate::operation::delete_image::DeleteImageError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2722            crate::operation::delete_image::DeleteImageError::Unhandled(inner) => Error::Unhandled(inner),
2723        }
2724    }
2725}
2726impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_image_version::DeleteImageVersionError, R>> for Error
2727where
2728    R: Send + Sync + std::fmt::Debug + 'static,
2729{
2730    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_image_version::DeleteImageVersionError, R>) -> Self {
2731        match err {
2732            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2733            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2734                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2735                source: err.into(),
2736            }),
2737        }
2738    }
2739}
2740impl From<crate::operation::delete_image_version::DeleteImageVersionError> for Error {
2741    fn from(err: crate::operation::delete_image_version::DeleteImageVersionError) -> Self {
2742        match err {
2743            crate::operation::delete_image_version::DeleteImageVersionError::ResourceInUse(inner) => Error::ResourceInUse(inner),
2744            crate::operation::delete_image_version::DeleteImageVersionError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2745            crate::operation::delete_image_version::DeleteImageVersionError::Unhandled(inner) => Error::Unhandled(inner),
2746        }
2747    }
2748}
2749impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_inference_component::DeleteInferenceComponentError, R>>
2750    for Error
2751where
2752    R: Send + Sync + std::fmt::Debug + 'static,
2753{
2754    fn from(
2755        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_inference_component::DeleteInferenceComponentError, R>,
2756    ) -> Self {
2757        match err {
2758            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2759            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2760                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2761                source: err.into(),
2762            }),
2763        }
2764    }
2765}
2766impl From<crate::operation::delete_inference_component::DeleteInferenceComponentError> for Error {
2767    fn from(err: crate::operation::delete_inference_component::DeleteInferenceComponentError) -> Self {
2768        match err {
2769            crate::operation::delete_inference_component::DeleteInferenceComponentError::Unhandled(inner) => Error::Unhandled(inner),
2770        }
2771    }
2772}
2773impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_inference_experiment::DeleteInferenceExperimentError, R>>
2774    for Error
2775where
2776    R: Send + Sync + std::fmt::Debug + 'static,
2777{
2778    fn from(
2779        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_inference_experiment::DeleteInferenceExperimentError, R>,
2780    ) -> Self {
2781        match err {
2782            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2783            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2784                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2785                source: err.into(),
2786            }),
2787        }
2788    }
2789}
2790impl From<crate::operation::delete_inference_experiment::DeleteInferenceExperimentError> for Error {
2791    fn from(err: crate::operation::delete_inference_experiment::DeleteInferenceExperimentError) -> Self {
2792        match err {
2793            crate::operation::delete_inference_experiment::DeleteInferenceExperimentError::ConflictException(inner) => {
2794                Error::ConflictException(inner)
2795            }
2796            crate::operation::delete_inference_experiment::DeleteInferenceExperimentError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2797            crate::operation::delete_inference_experiment::DeleteInferenceExperimentError::Unhandled(inner) => Error::Unhandled(inner),
2798        }
2799    }
2800}
2801impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_mlflow_app::DeleteMlflowAppError, R>> for Error
2802where
2803    R: Send + Sync + std::fmt::Debug + 'static,
2804{
2805    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_mlflow_app::DeleteMlflowAppError, R>) -> Self {
2806        match err {
2807            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2808            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2809                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2810                source: err.into(),
2811            }),
2812        }
2813    }
2814}
2815impl From<crate::operation::delete_mlflow_app::DeleteMlflowAppError> for Error {
2816    fn from(err: crate::operation::delete_mlflow_app::DeleteMlflowAppError) -> Self {
2817        match err {
2818            crate::operation::delete_mlflow_app::DeleteMlflowAppError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2819            crate::operation::delete_mlflow_app::DeleteMlflowAppError::Unhandled(inner) => Error::Unhandled(inner),
2820        }
2821    }
2822}
2823impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_mlflow_tracking_server::DeleteMlflowTrackingServerError, R>>
2824    for Error
2825where
2826    R: Send + Sync + std::fmt::Debug + 'static,
2827{
2828    fn from(
2829        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_mlflow_tracking_server::DeleteMlflowTrackingServerError, R>,
2830    ) -> Self {
2831        match err {
2832            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2833            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2834                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2835                source: err.into(),
2836            }),
2837        }
2838    }
2839}
2840impl From<crate::operation::delete_mlflow_tracking_server::DeleteMlflowTrackingServerError> for Error {
2841    fn from(err: crate::operation::delete_mlflow_tracking_server::DeleteMlflowTrackingServerError) -> Self {
2842        match err {
2843            crate::operation::delete_mlflow_tracking_server::DeleteMlflowTrackingServerError::ResourceNotFound(inner) => {
2844                Error::ResourceNotFound(inner)
2845            }
2846            crate::operation::delete_mlflow_tracking_server::DeleteMlflowTrackingServerError::Unhandled(inner) => Error::Unhandled(inner),
2847        }
2848    }
2849}
2850impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_model::DeleteModelError, R>> for Error
2851where
2852    R: Send + Sync + std::fmt::Debug + 'static,
2853{
2854    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_model::DeleteModelError, R>) -> Self {
2855        match err {
2856            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2857            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2858                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2859                source: err.into(),
2860            }),
2861        }
2862    }
2863}
2864impl From<crate::operation::delete_model::DeleteModelError> for Error {
2865    fn from(err: crate::operation::delete_model::DeleteModelError) -> Self {
2866        match err {
2867            crate::operation::delete_model::DeleteModelError::Unhandled(inner) => Error::Unhandled(inner),
2868        }
2869    }
2870}
2871impl<R>
2872    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_model_bias_job_definition::DeleteModelBiasJobDefinitionError, R>>
2873    for Error
2874where
2875    R: Send + Sync + std::fmt::Debug + 'static,
2876{
2877    fn from(
2878        err: ::aws_smithy_runtime_api::client::result::SdkError<
2879            crate::operation::delete_model_bias_job_definition::DeleteModelBiasJobDefinitionError,
2880            R,
2881        >,
2882    ) -> Self {
2883        match err {
2884            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2885            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2886                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2887                source: err.into(),
2888            }),
2889        }
2890    }
2891}
2892impl From<crate::operation::delete_model_bias_job_definition::DeleteModelBiasJobDefinitionError> for Error {
2893    fn from(err: crate::operation::delete_model_bias_job_definition::DeleteModelBiasJobDefinitionError) -> Self {
2894        match err {
2895            crate::operation::delete_model_bias_job_definition::DeleteModelBiasJobDefinitionError::ResourceNotFound(inner) => {
2896                Error::ResourceNotFound(inner)
2897            }
2898            crate::operation::delete_model_bias_job_definition::DeleteModelBiasJobDefinitionError::Unhandled(inner) => Error::Unhandled(inner),
2899        }
2900    }
2901}
2902impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_model_card::DeleteModelCardError, R>> for Error
2903where
2904    R: Send + Sync + std::fmt::Debug + 'static,
2905{
2906    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_model_card::DeleteModelCardError, R>) -> Self {
2907        match err {
2908            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2909            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2910                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2911                source: err.into(),
2912            }),
2913        }
2914    }
2915}
2916impl From<crate::operation::delete_model_card::DeleteModelCardError> for Error {
2917    fn from(err: crate::operation::delete_model_card::DeleteModelCardError) -> Self {
2918        match err {
2919            crate::operation::delete_model_card::DeleteModelCardError::ConflictException(inner) => Error::ConflictException(inner),
2920            crate::operation::delete_model_card::DeleteModelCardError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2921            crate::operation::delete_model_card::DeleteModelCardError::Unhandled(inner) => Error::Unhandled(inner),
2922        }
2923    }
2924}
2925impl<R>
2926    From<
2927        ::aws_smithy_runtime_api::client::result::SdkError<
2928            crate::operation::delete_model_explainability_job_definition::DeleteModelExplainabilityJobDefinitionError,
2929            R,
2930        >,
2931    > for Error
2932where
2933    R: Send + Sync + std::fmt::Debug + 'static,
2934{
2935    fn from(
2936        err: ::aws_smithy_runtime_api::client::result::SdkError<
2937            crate::operation::delete_model_explainability_job_definition::DeleteModelExplainabilityJobDefinitionError,
2938            R,
2939        >,
2940    ) -> Self {
2941        match err {
2942            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2943            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2944                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2945                source: err.into(),
2946            }),
2947        }
2948    }
2949}
2950impl From<crate::operation::delete_model_explainability_job_definition::DeleteModelExplainabilityJobDefinitionError> for Error {
2951    fn from(err: crate::operation::delete_model_explainability_job_definition::DeleteModelExplainabilityJobDefinitionError) -> Self {
2952        match err {
2953            crate::operation::delete_model_explainability_job_definition::DeleteModelExplainabilityJobDefinitionError::ResourceNotFound(inner) => {
2954                Error::ResourceNotFound(inner)
2955            }
2956            crate::operation::delete_model_explainability_job_definition::DeleteModelExplainabilityJobDefinitionError::Unhandled(inner) => {
2957                Error::Unhandled(inner)
2958            }
2959        }
2960    }
2961}
2962impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_model_package::DeleteModelPackageError, R>> for Error
2963where
2964    R: Send + Sync + std::fmt::Debug + 'static,
2965{
2966    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_model_package::DeleteModelPackageError, R>) -> Self {
2967        match err {
2968            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2969            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2970                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2971                source: err.into(),
2972            }),
2973        }
2974    }
2975}
2976impl From<crate::operation::delete_model_package::DeleteModelPackageError> for Error {
2977    fn from(err: crate::operation::delete_model_package::DeleteModelPackageError) -> Self {
2978        match err {
2979            crate::operation::delete_model_package::DeleteModelPackageError::ConflictException(inner) => Error::ConflictException(inner),
2980            crate::operation::delete_model_package::DeleteModelPackageError::Unhandled(inner) => Error::Unhandled(inner),
2981        }
2982    }
2983}
2984impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_model_package_group::DeleteModelPackageGroupError, R>>
2985    for Error
2986where
2987    R: Send + Sync + std::fmt::Debug + 'static,
2988{
2989    fn from(
2990        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_model_package_group::DeleteModelPackageGroupError, R>,
2991    ) -> Self {
2992        match err {
2993            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2994            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2995                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2996                source: err.into(),
2997            }),
2998        }
2999    }
3000}
3001impl From<crate::operation::delete_model_package_group::DeleteModelPackageGroupError> for Error {
3002    fn from(err: crate::operation::delete_model_package_group::DeleteModelPackageGroupError) -> Self {
3003        match err {
3004            crate::operation::delete_model_package_group::DeleteModelPackageGroupError::ConflictException(inner) => Error::ConflictException(inner),
3005            crate::operation::delete_model_package_group::DeleteModelPackageGroupError::Unhandled(inner) => Error::Unhandled(inner),
3006        }
3007    }
3008}
3009impl<R>
3010    From<
3011        ::aws_smithy_runtime_api::client::result::SdkError<
3012            crate::operation::delete_model_package_group_policy::DeleteModelPackageGroupPolicyError,
3013            R,
3014        >,
3015    > for Error
3016where
3017    R: Send + Sync + std::fmt::Debug + 'static,
3018{
3019    fn from(
3020        err: ::aws_smithy_runtime_api::client::result::SdkError<
3021            crate::operation::delete_model_package_group_policy::DeleteModelPackageGroupPolicyError,
3022            R,
3023        >,
3024    ) -> Self {
3025        match err {
3026            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3027            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3028                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3029                source: err.into(),
3030            }),
3031        }
3032    }
3033}
3034impl From<crate::operation::delete_model_package_group_policy::DeleteModelPackageGroupPolicyError> for Error {
3035    fn from(err: crate::operation::delete_model_package_group_policy::DeleteModelPackageGroupPolicyError) -> Self {
3036        match err {
3037            crate::operation::delete_model_package_group_policy::DeleteModelPackageGroupPolicyError::Unhandled(inner) => Error::Unhandled(inner),
3038        }
3039    }
3040}
3041impl<R>
3042    From<
3043        ::aws_smithy_runtime_api::client::result::SdkError<
3044            crate::operation::delete_model_quality_job_definition::DeleteModelQualityJobDefinitionError,
3045            R,
3046        >,
3047    > for Error
3048where
3049    R: Send + Sync + std::fmt::Debug + 'static,
3050{
3051    fn from(
3052        err: ::aws_smithy_runtime_api::client::result::SdkError<
3053            crate::operation::delete_model_quality_job_definition::DeleteModelQualityJobDefinitionError,
3054            R,
3055        >,
3056    ) -> Self {
3057        match err {
3058            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3059            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3060                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3061                source: err.into(),
3062            }),
3063        }
3064    }
3065}
3066impl From<crate::operation::delete_model_quality_job_definition::DeleteModelQualityJobDefinitionError> for Error {
3067    fn from(err: crate::operation::delete_model_quality_job_definition::DeleteModelQualityJobDefinitionError) -> Self {
3068        match err {
3069            crate::operation::delete_model_quality_job_definition::DeleteModelQualityJobDefinitionError::ResourceNotFound(inner) => {
3070                Error::ResourceNotFound(inner)
3071            }
3072            crate::operation::delete_model_quality_job_definition::DeleteModelQualityJobDefinitionError::Unhandled(inner) => Error::Unhandled(inner),
3073        }
3074    }
3075}
3076impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_monitoring_schedule::DeleteMonitoringScheduleError, R>>
3077    for Error
3078where
3079    R: Send + Sync + std::fmt::Debug + 'static,
3080{
3081    fn from(
3082        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_monitoring_schedule::DeleteMonitoringScheduleError, R>,
3083    ) -> Self {
3084        match err {
3085            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3086            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3087                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3088                source: err.into(),
3089            }),
3090        }
3091    }
3092}
3093impl From<crate::operation::delete_monitoring_schedule::DeleteMonitoringScheduleError> for Error {
3094    fn from(err: crate::operation::delete_monitoring_schedule::DeleteMonitoringScheduleError) -> Self {
3095        match err {
3096            crate::operation::delete_monitoring_schedule::DeleteMonitoringScheduleError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3097            crate::operation::delete_monitoring_schedule::DeleteMonitoringScheduleError::Unhandled(inner) => Error::Unhandled(inner),
3098        }
3099    }
3100}
3101impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_notebook_instance::DeleteNotebookInstanceError, R>> for Error
3102where
3103    R: Send + Sync + std::fmt::Debug + 'static,
3104{
3105    fn from(
3106        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_notebook_instance::DeleteNotebookInstanceError, R>,
3107    ) -> Self {
3108        match err {
3109            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3110            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3111                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3112                source: err.into(),
3113            }),
3114        }
3115    }
3116}
3117impl From<crate::operation::delete_notebook_instance::DeleteNotebookInstanceError> for Error {
3118    fn from(err: crate::operation::delete_notebook_instance::DeleteNotebookInstanceError) -> Self {
3119        match err {
3120            crate::operation::delete_notebook_instance::DeleteNotebookInstanceError::Unhandled(inner) => Error::Unhandled(inner),
3121        }
3122    }
3123}
3124impl<R>
3125    From<
3126        ::aws_smithy_runtime_api::client::result::SdkError<
3127            crate::operation::delete_notebook_instance_lifecycle_config::DeleteNotebookInstanceLifecycleConfigError,
3128            R,
3129        >,
3130    > for Error
3131where
3132    R: Send + Sync + std::fmt::Debug + 'static,
3133{
3134    fn from(
3135        err: ::aws_smithy_runtime_api::client::result::SdkError<
3136            crate::operation::delete_notebook_instance_lifecycle_config::DeleteNotebookInstanceLifecycleConfigError,
3137            R,
3138        >,
3139    ) -> Self {
3140        match err {
3141            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3142            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3143                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3144                source: err.into(),
3145            }),
3146        }
3147    }
3148}
3149impl From<crate::operation::delete_notebook_instance_lifecycle_config::DeleteNotebookInstanceLifecycleConfigError> for Error {
3150    fn from(err: crate::operation::delete_notebook_instance_lifecycle_config::DeleteNotebookInstanceLifecycleConfigError) -> Self {
3151        match err {
3152            crate::operation::delete_notebook_instance_lifecycle_config::DeleteNotebookInstanceLifecycleConfigError::Unhandled(inner) => {
3153                Error::Unhandled(inner)
3154            }
3155        }
3156    }
3157}
3158impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_optimization_job::DeleteOptimizationJobError, R>> for Error
3159where
3160    R: Send + Sync + std::fmt::Debug + 'static,
3161{
3162    fn from(
3163        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_optimization_job::DeleteOptimizationJobError, R>,
3164    ) -> Self {
3165        match err {
3166            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3167            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3168                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3169                source: err.into(),
3170            }),
3171        }
3172    }
3173}
3174impl From<crate::operation::delete_optimization_job::DeleteOptimizationJobError> for Error {
3175    fn from(err: crate::operation::delete_optimization_job::DeleteOptimizationJobError) -> Self {
3176        match err {
3177            crate::operation::delete_optimization_job::DeleteOptimizationJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3178            crate::operation::delete_optimization_job::DeleteOptimizationJobError::Unhandled(inner) => Error::Unhandled(inner),
3179        }
3180    }
3181}
3182impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_partner_app::DeletePartnerAppError, R>> for Error
3183where
3184    R: Send + Sync + std::fmt::Debug + 'static,
3185{
3186    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_partner_app::DeletePartnerAppError, R>) -> Self {
3187        match err {
3188            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3189            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3190                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3191                source: err.into(),
3192            }),
3193        }
3194    }
3195}
3196impl From<crate::operation::delete_partner_app::DeletePartnerAppError> for Error {
3197    fn from(err: crate::operation::delete_partner_app::DeletePartnerAppError) -> Self {
3198        match err {
3199            crate::operation::delete_partner_app::DeletePartnerAppError::ConflictException(inner) => Error::ConflictException(inner),
3200            crate::operation::delete_partner_app::DeletePartnerAppError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3201            crate::operation::delete_partner_app::DeletePartnerAppError::Unhandled(inner) => Error::Unhandled(inner),
3202        }
3203    }
3204}
3205impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_pipeline::DeletePipelineError, R>> for Error
3206where
3207    R: Send + Sync + std::fmt::Debug + 'static,
3208{
3209    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_pipeline::DeletePipelineError, R>) -> Self {
3210        match err {
3211            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3212            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3213                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3214                source: err.into(),
3215            }),
3216        }
3217    }
3218}
3219impl From<crate::operation::delete_pipeline::DeletePipelineError> for Error {
3220    fn from(err: crate::operation::delete_pipeline::DeletePipelineError) -> Self {
3221        match err {
3222            crate::operation::delete_pipeline::DeletePipelineError::ConflictException(inner) => Error::ConflictException(inner),
3223            crate::operation::delete_pipeline::DeletePipelineError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3224            crate::operation::delete_pipeline::DeletePipelineError::Unhandled(inner) => Error::Unhandled(inner),
3225        }
3226    }
3227}
3228impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_processing_job::DeleteProcessingJobError, R>> for Error
3229where
3230    R: Send + Sync + std::fmt::Debug + 'static,
3231{
3232    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_processing_job::DeleteProcessingJobError, R>) -> Self {
3233        match err {
3234            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3235            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3236                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3237                source: err.into(),
3238            }),
3239        }
3240    }
3241}
3242impl From<crate::operation::delete_processing_job::DeleteProcessingJobError> for Error {
3243    fn from(err: crate::operation::delete_processing_job::DeleteProcessingJobError) -> Self {
3244        match err {
3245            crate::operation::delete_processing_job::DeleteProcessingJobError::ResourceInUse(inner) => Error::ResourceInUse(inner),
3246            crate::operation::delete_processing_job::DeleteProcessingJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3247            crate::operation::delete_processing_job::DeleteProcessingJobError::Unhandled(inner) => Error::Unhandled(inner),
3248        }
3249    }
3250}
3251impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_project::DeleteProjectError, R>> for Error
3252where
3253    R: Send + Sync + std::fmt::Debug + 'static,
3254{
3255    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_project::DeleteProjectError, R>) -> Self {
3256        match err {
3257            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3258            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3259                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3260                source: err.into(),
3261            }),
3262        }
3263    }
3264}
3265impl From<crate::operation::delete_project::DeleteProjectError> for Error {
3266    fn from(err: crate::operation::delete_project::DeleteProjectError) -> Self {
3267        match err {
3268            crate::operation::delete_project::DeleteProjectError::ConflictException(inner) => Error::ConflictException(inner),
3269            crate::operation::delete_project::DeleteProjectError::Unhandled(inner) => Error::Unhandled(inner),
3270        }
3271    }
3272}
3273impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_space::DeleteSpaceError, R>> for Error
3274where
3275    R: Send + Sync + std::fmt::Debug + 'static,
3276{
3277    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_space::DeleteSpaceError, R>) -> Self {
3278        match err {
3279            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3280            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3281                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3282                source: err.into(),
3283            }),
3284        }
3285    }
3286}
3287impl From<crate::operation::delete_space::DeleteSpaceError> for Error {
3288    fn from(err: crate::operation::delete_space::DeleteSpaceError) -> Self {
3289        match err {
3290            crate::operation::delete_space::DeleteSpaceError::ResourceInUse(inner) => Error::ResourceInUse(inner),
3291            crate::operation::delete_space::DeleteSpaceError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3292            crate::operation::delete_space::DeleteSpaceError::Unhandled(inner) => Error::Unhandled(inner),
3293        }
3294    }
3295}
3296impl<R>
3297    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_studio_lifecycle_config::DeleteStudioLifecycleConfigError, R>>
3298    for Error
3299where
3300    R: Send + Sync + std::fmt::Debug + 'static,
3301{
3302    fn from(
3303        err: ::aws_smithy_runtime_api::client::result::SdkError<
3304            crate::operation::delete_studio_lifecycle_config::DeleteStudioLifecycleConfigError,
3305            R,
3306        >,
3307    ) -> Self {
3308        match err {
3309            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3310            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3311                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3312                source: err.into(),
3313            }),
3314        }
3315    }
3316}
3317impl From<crate::operation::delete_studio_lifecycle_config::DeleteStudioLifecycleConfigError> for Error {
3318    fn from(err: crate::operation::delete_studio_lifecycle_config::DeleteStudioLifecycleConfigError) -> Self {
3319        match err {
3320            crate::operation::delete_studio_lifecycle_config::DeleteStudioLifecycleConfigError::ResourceInUse(inner) => Error::ResourceInUse(inner),
3321            crate::operation::delete_studio_lifecycle_config::DeleteStudioLifecycleConfigError::ResourceNotFound(inner) => {
3322                Error::ResourceNotFound(inner)
3323            }
3324            crate::operation::delete_studio_lifecycle_config::DeleteStudioLifecycleConfigError::Unhandled(inner) => Error::Unhandled(inner),
3325        }
3326    }
3327}
3328impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_tags::DeleteTagsError, R>> for Error
3329where
3330    R: Send + Sync + std::fmt::Debug + 'static,
3331{
3332    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_tags::DeleteTagsError, R>) -> Self {
3333        match err {
3334            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3335            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3336                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3337                source: err.into(),
3338            }),
3339        }
3340    }
3341}
3342impl From<crate::operation::delete_tags::DeleteTagsError> for Error {
3343    fn from(err: crate::operation::delete_tags::DeleteTagsError) -> Self {
3344        match err {
3345            crate::operation::delete_tags::DeleteTagsError::Unhandled(inner) => Error::Unhandled(inner),
3346        }
3347    }
3348}
3349impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_training_job::DeleteTrainingJobError, R>> for Error
3350where
3351    R: Send + Sync + std::fmt::Debug + 'static,
3352{
3353    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_training_job::DeleteTrainingJobError, R>) -> Self {
3354        match err {
3355            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3356            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3357                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3358                source: err.into(),
3359            }),
3360        }
3361    }
3362}
3363impl From<crate::operation::delete_training_job::DeleteTrainingJobError> for Error {
3364    fn from(err: crate::operation::delete_training_job::DeleteTrainingJobError) -> Self {
3365        match err {
3366            crate::operation::delete_training_job::DeleteTrainingJobError::ResourceInUse(inner) => Error::ResourceInUse(inner),
3367            crate::operation::delete_training_job::DeleteTrainingJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3368            crate::operation::delete_training_job::DeleteTrainingJobError::Unhandled(inner) => Error::Unhandled(inner),
3369        }
3370    }
3371}
3372impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_trial::DeleteTrialError, R>> for Error
3373where
3374    R: Send + Sync + std::fmt::Debug + 'static,
3375{
3376    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_trial::DeleteTrialError, R>) -> Self {
3377        match err {
3378            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3379            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3380                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3381                source: err.into(),
3382            }),
3383        }
3384    }
3385}
3386impl From<crate::operation::delete_trial::DeleteTrialError> for Error {
3387    fn from(err: crate::operation::delete_trial::DeleteTrialError) -> Self {
3388        match err {
3389            crate::operation::delete_trial::DeleteTrialError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3390            crate::operation::delete_trial::DeleteTrialError::Unhandled(inner) => Error::Unhandled(inner),
3391        }
3392    }
3393}
3394impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_trial_component::DeleteTrialComponentError, R>> for Error
3395where
3396    R: Send + Sync + std::fmt::Debug + 'static,
3397{
3398    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_trial_component::DeleteTrialComponentError, R>) -> Self {
3399        match err {
3400            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3401            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3402                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3403                source: err.into(),
3404            }),
3405        }
3406    }
3407}
3408impl From<crate::operation::delete_trial_component::DeleteTrialComponentError> for Error {
3409    fn from(err: crate::operation::delete_trial_component::DeleteTrialComponentError) -> Self {
3410        match err {
3411            crate::operation::delete_trial_component::DeleteTrialComponentError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3412            crate::operation::delete_trial_component::DeleteTrialComponentError::Unhandled(inner) => Error::Unhandled(inner),
3413        }
3414    }
3415}
3416impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_user_profile::DeleteUserProfileError, R>> for Error
3417where
3418    R: Send + Sync + std::fmt::Debug + 'static,
3419{
3420    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_user_profile::DeleteUserProfileError, R>) -> Self {
3421        match err {
3422            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3423            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3424                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3425                source: err.into(),
3426            }),
3427        }
3428    }
3429}
3430impl From<crate::operation::delete_user_profile::DeleteUserProfileError> for Error {
3431    fn from(err: crate::operation::delete_user_profile::DeleteUserProfileError) -> Self {
3432        match err {
3433            crate::operation::delete_user_profile::DeleteUserProfileError::ResourceInUse(inner) => Error::ResourceInUse(inner),
3434            crate::operation::delete_user_profile::DeleteUserProfileError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3435            crate::operation::delete_user_profile::DeleteUserProfileError::Unhandled(inner) => Error::Unhandled(inner),
3436        }
3437    }
3438}
3439impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_workforce::DeleteWorkforceError, R>> for Error
3440where
3441    R: Send + Sync + std::fmt::Debug + 'static,
3442{
3443    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_workforce::DeleteWorkforceError, R>) -> Self {
3444        match err {
3445            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3446            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3447                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3448                source: err.into(),
3449            }),
3450        }
3451    }
3452}
3453impl From<crate::operation::delete_workforce::DeleteWorkforceError> for Error {
3454    fn from(err: crate::operation::delete_workforce::DeleteWorkforceError) -> Self {
3455        match err {
3456            crate::operation::delete_workforce::DeleteWorkforceError::Unhandled(inner) => Error::Unhandled(inner),
3457        }
3458    }
3459}
3460impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_workteam::DeleteWorkteamError, R>> for Error
3461where
3462    R: Send + Sync + std::fmt::Debug + 'static,
3463{
3464    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_workteam::DeleteWorkteamError, R>) -> Self {
3465        match err {
3466            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3467            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3468                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3469                source: err.into(),
3470            }),
3471        }
3472    }
3473}
3474impl From<crate::operation::delete_workteam::DeleteWorkteamError> for Error {
3475    fn from(err: crate::operation::delete_workteam::DeleteWorkteamError) -> Self {
3476        match err {
3477            crate::operation::delete_workteam::DeleteWorkteamError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
3478            crate::operation::delete_workteam::DeleteWorkteamError::Unhandled(inner) => Error::Unhandled(inner),
3479        }
3480    }
3481}
3482impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deregister_devices::DeregisterDevicesError, R>> for Error
3483where
3484    R: Send + Sync + std::fmt::Debug + 'static,
3485{
3486    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deregister_devices::DeregisterDevicesError, R>) -> Self {
3487        match err {
3488            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3489            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3490                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3491                source: err.into(),
3492            }),
3493        }
3494    }
3495}
3496impl From<crate::operation::deregister_devices::DeregisterDevicesError> for Error {
3497    fn from(err: crate::operation::deregister_devices::DeregisterDevicesError) -> Self {
3498        match err {
3499            crate::operation::deregister_devices::DeregisterDevicesError::Unhandled(inner) => Error::Unhandled(inner),
3500        }
3501    }
3502}
3503impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_action::DescribeActionError, R>> for Error
3504where
3505    R: Send + Sync + std::fmt::Debug + 'static,
3506{
3507    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_action::DescribeActionError, R>) -> Self {
3508        match err {
3509            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3510            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3511                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3512                source: err.into(),
3513            }),
3514        }
3515    }
3516}
3517impl From<crate::operation::describe_action::DescribeActionError> for Error {
3518    fn from(err: crate::operation::describe_action::DescribeActionError) -> Self {
3519        match err {
3520            crate::operation::describe_action::DescribeActionError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3521            crate::operation::describe_action::DescribeActionError::Unhandled(inner) => Error::Unhandled(inner),
3522        }
3523    }
3524}
3525impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_algorithm::DescribeAlgorithmError, R>> for Error
3526where
3527    R: Send + Sync + std::fmt::Debug + 'static,
3528{
3529    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_algorithm::DescribeAlgorithmError, R>) -> Self {
3530        match err {
3531            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3532            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3533                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3534                source: err.into(),
3535            }),
3536        }
3537    }
3538}
3539impl From<crate::operation::describe_algorithm::DescribeAlgorithmError> for Error {
3540    fn from(err: crate::operation::describe_algorithm::DescribeAlgorithmError) -> Self {
3541        match err {
3542            crate::operation::describe_algorithm::DescribeAlgorithmError::Unhandled(inner) => Error::Unhandled(inner),
3543        }
3544    }
3545}
3546impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_app::DescribeAppError, R>> for Error
3547where
3548    R: Send + Sync + std::fmt::Debug + 'static,
3549{
3550    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_app::DescribeAppError, R>) -> Self {
3551        match err {
3552            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3553            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3554                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3555                source: err.into(),
3556            }),
3557        }
3558    }
3559}
3560impl From<crate::operation::describe_app::DescribeAppError> for Error {
3561    fn from(err: crate::operation::describe_app::DescribeAppError) -> Self {
3562        match err {
3563            crate::operation::describe_app::DescribeAppError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3564            crate::operation::describe_app::DescribeAppError::Unhandled(inner) => Error::Unhandled(inner),
3565        }
3566    }
3567}
3568impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_app_image_config::DescribeAppImageConfigError, R>>
3569    for Error
3570where
3571    R: Send + Sync + std::fmt::Debug + 'static,
3572{
3573    fn from(
3574        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_app_image_config::DescribeAppImageConfigError, R>,
3575    ) -> Self {
3576        match err {
3577            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3578            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3579                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3580                source: err.into(),
3581            }),
3582        }
3583    }
3584}
3585impl From<crate::operation::describe_app_image_config::DescribeAppImageConfigError> for Error {
3586    fn from(err: crate::operation::describe_app_image_config::DescribeAppImageConfigError) -> Self {
3587        match err {
3588            crate::operation::describe_app_image_config::DescribeAppImageConfigError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3589            crate::operation::describe_app_image_config::DescribeAppImageConfigError::Unhandled(inner) => Error::Unhandled(inner),
3590        }
3591    }
3592}
3593impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_artifact::DescribeArtifactError, R>> for Error
3594where
3595    R: Send + Sync + std::fmt::Debug + 'static,
3596{
3597    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_artifact::DescribeArtifactError, R>) -> Self {
3598        match err {
3599            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3600            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3601                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3602                source: err.into(),
3603            }),
3604        }
3605    }
3606}
3607impl From<crate::operation::describe_artifact::DescribeArtifactError> for Error {
3608    fn from(err: crate::operation::describe_artifact::DescribeArtifactError) -> Self {
3609        match err {
3610            crate::operation::describe_artifact::DescribeArtifactError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3611            crate::operation::describe_artifact::DescribeArtifactError::Unhandled(inner) => Error::Unhandled(inner),
3612        }
3613    }
3614}
3615impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_auto_ml_job::DescribeAutoMLJobError, R>> for Error
3616where
3617    R: Send + Sync + std::fmt::Debug + 'static,
3618{
3619    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_auto_ml_job::DescribeAutoMLJobError, R>) -> Self {
3620        match err {
3621            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3622            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3623                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3624                source: err.into(),
3625            }),
3626        }
3627    }
3628}
3629impl From<crate::operation::describe_auto_ml_job::DescribeAutoMLJobError> for Error {
3630    fn from(err: crate::operation::describe_auto_ml_job::DescribeAutoMLJobError) -> Self {
3631        match err {
3632            crate::operation::describe_auto_ml_job::DescribeAutoMLJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3633            crate::operation::describe_auto_ml_job::DescribeAutoMLJobError::Unhandled(inner) => Error::Unhandled(inner),
3634        }
3635    }
3636}
3637impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_auto_ml_job_v2::DescribeAutoMLJobV2Error, R>> for Error
3638where
3639    R: Send + Sync + std::fmt::Debug + 'static,
3640{
3641    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_auto_ml_job_v2::DescribeAutoMLJobV2Error, R>) -> Self {
3642        match err {
3643            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3644            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3645                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3646                source: err.into(),
3647            }),
3648        }
3649    }
3650}
3651impl From<crate::operation::describe_auto_ml_job_v2::DescribeAutoMLJobV2Error> for Error {
3652    fn from(err: crate::operation::describe_auto_ml_job_v2::DescribeAutoMLJobV2Error) -> Self {
3653        match err {
3654            crate::operation::describe_auto_ml_job_v2::DescribeAutoMLJobV2Error::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3655            crate::operation::describe_auto_ml_job_v2::DescribeAutoMLJobV2Error::Unhandled(inner) => Error::Unhandled(inner),
3656        }
3657    }
3658}
3659impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_cluster::DescribeClusterError, R>> for Error
3660where
3661    R: Send + Sync + std::fmt::Debug + 'static,
3662{
3663    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_cluster::DescribeClusterError, R>) -> Self {
3664        match err {
3665            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3666            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3667                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3668                source: err.into(),
3669            }),
3670        }
3671    }
3672}
3673impl From<crate::operation::describe_cluster::DescribeClusterError> for Error {
3674    fn from(err: crate::operation::describe_cluster::DescribeClusterError) -> Self {
3675        match err {
3676            crate::operation::describe_cluster::DescribeClusterError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3677            crate::operation::describe_cluster::DescribeClusterError::Unhandled(inner) => Error::Unhandled(inner),
3678        }
3679    }
3680}
3681impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_cluster_event::DescribeClusterEventError, R>> for Error
3682where
3683    R: Send + Sync + std::fmt::Debug + 'static,
3684{
3685    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_cluster_event::DescribeClusterEventError, R>) -> Self {
3686        match err {
3687            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3688            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3689                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3690                source: err.into(),
3691            }),
3692        }
3693    }
3694}
3695impl From<crate::operation::describe_cluster_event::DescribeClusterEventError> for Error {
3696    fn from(err: crate::operation::describe_cluster_event::DescribeClusterEventError) -> Self {
3697        match err {
3698            crate::operation::describe_cluster_event::DescribeClusterEventError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3699            crate::operation::describe_cluster_event::DescribeClusterEventError::Unhandled(inner) => Error::Unhandled(inner),
3700        }
3701    }
3702}
3703impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_cluster_node::DescribeClusterNodeError, R>> for Error
3704where
3705    R: Send + Sync + std::fmt::Debug + 'static,
3706{
3707    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_cluster_node::DescribeClusterNodeError, R>) -> Self {
3708        match err {
3709            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3710            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3711                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3712                source: err.into(),
3713            }),
3714        }
3715    }
3716}
3717impl From<crate::operation::describe_cluster_node::DescribeClusterNodeError> for Error {
3718    fn from(err: crate::operation::describe_cluster_node::DescribeClusterNodeError) -> Self {
3719        match err {
3720            crate::operation::describe_cluster_node::DescribeClusterNodeError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3721            crate::operation::describe_cluster_node::DescribeClusterNodeError::Unhandled(inner) => Error::Unhandled(inner),
3722        }
3723    }
3724}
3725impl<R>
3726    From<
3727        ::aws_smithy_runtime_api::client::result::SdkError<
3728            crate::operation::describe_cluster_scheduler_config::DescribeClusterSchedulerConfigError,
3729            R,
3730        >,
3731    > for Error
3732where
3733    R: Send + Sync + std::fmt::Debug + 'static,
3734{
3735    fn from(
3736        err: ::aws_smithy_runtime_api::client::result::SdkError<
3737            crate::operation::describe_cluster_scheduler_config::DescribeClusterSchedulerConfigError,
3738            R,
3739        >,
3740    ) -> Self {
3741        match err {
3742            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3743            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3744                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3745                source: err.into(),
3746            }),
3747        }
3748    }
3749}
3750impl From<crate::operation::describe_cluster_scheduler_config::DescribeClusterSchedulerConfigError> for Error {
3751    fn from(err: crate::operation::describe_cluster_scheduler_config::DescribeClusterSchedulerConfigError) -> Self {
3752        match err {
3753            crate::operation::describe_cluster_scheduler_config::DescribeClusterSchedulerConfigError::ResourceNotFound(inner) => {
3754                Error::ResourceNotFound(inner)
3755            }
3756            crate::operation::describe_cluster_scheduler_config::DescribeClusterSchedulerConfigError::Unhandled(inner) => Error::Unhandled(inner),
3757        }
3758    }
3759}
3760impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_code_repository::DescribeCodeRepositoryError, R>> for Error
3761where
3762    R: Send + Sync + std::fmt::Debug + 'static,
3763{
3764    fn from(
3765        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_code_repository::DescribeCodeRepositoryError, R>,
3766    ) -> Self {
3767        match err {
3768            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3769            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3770                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3771                source: err.into(),
3772            }),
3773        }
3774    }
3775}
3776impl From<crate::operation::describe_code_repository::DescribeCodeRepositoryError> for Error {
3777    fn from(err: crate::operation::describe_code_repository::DescribeCodeRepositoryError) -> Self {
3778        match err {
3779            crate::operation::describe_code_repository::DescribeCodeRepositoryError::Unhandled(inner) => Error::Unhandled(inner),
3780        }
3781    }
3782}
3783impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_compilation_job::DescribeCompilationJobError, R>> for Error
3784where
3785    R: Send + Sync + std::fmt::Debug + 'static,
3786{
3787    fn from(
3788        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_compilation_job::DescribeCompilationJobError, R>,
3789    ) -> Self {
3790        match err {
3791            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3792            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3793                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3794                source: err.into(),
3795            }),
3796        }
3797    }
3798}
3799impl From<crate::operation::describe_compilation_job::DescribeCompilationJobError> for Error {
3800    fn from(err: crate::operation::describe_compilation_job::DescribeCompilationJobError) -> Self {
3801        match err {
3802            crate::operation::describe_compilation_job::DescribeCompilationJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3803            crate::operation::describe_compilation_job::DescribeCompilationJobError::Unhandled(inner) => Error::Unhandled(inner),
3804        }
3805    }
3806}
3807impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_compute_quota::DescribeComputeQuotaError, R>> for Error
3808where
3809    R: Send + Sync + std::fmt::Debug + 'static,
3810{
3811    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_compute_quota::DescribeComputeQuotaError, R>) -> Self {
3812        match err {
3813            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3814            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3815                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3816                source: err.into(),
3817            }),
3818        }
3819    }
3820}
3821impl From<crate::operation::describe_compute_quota::DescribeComputeQuotaError> for Error {
3822    fn from(err: crate::operation::describe_compute_quota::DescribeComputeQuotaError) -> Self {
3823        match err {
3824            crate::operation::describe_compute_quota::DescribeComputeQuotaError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3825            crate::operation::describe_compute_quota::DescribeComputeQuotaError::Unhandled(inner) => Error::Unhandled(inner),
3826        }
3827    }
3828}
3829impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_context::DescribeContextError, R>> for Error
3830where
3831    R: Send + Sync + std::fmt::Debug + 'static,
3832{
3833    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_context::DescribeContextError, R>) -> Self {
3834        match err {
3835            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3836            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3837                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3838                source: err.into(),
3839            }),
3840        }
3841    }
3842}
3843impl From<crate::operation::describe_context::DescribeContextError> for Error {
3844    fn from(err: crate::operation::describe_context::DescribeContextError) -> Self {
3845        match err {
3846            crate::operation::describe_context::DescribeContextError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3847            crate::operation::describe_context::DescribeContextError::Unhandled(inner) => Error::Unhandled(inner),
3848        }
3849    }
3850}
3851impl<R>
3852    From<
3853        ::aws_smithy_runtime_api::client::result::SdkError<
3854            crate::operation::describe_data_quality_job_definition::DescribeDataQualityJobDefinitionError,
3855            R,
3856        >,
3857    > for Error
3858where
3859    R: Send + Sync + std::fmt::Debug + 'static,
3860{
3861    fn from(
3862        err: ::aws_smithy_runtime_api::client::result::SdkError<
3863            crate::operation::describe_data_quality_job_definition::DescribeDataQualityJobDefinitionError,
3864            R,
3865        >,
3866    ) -> Self {
3867        match err {
3868            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3869            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3870                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3871                source: err.into(),
3872            }),
3873        }
3874    }
3875}
3876impl From<crate::operation::describe_data_quality_job_definition::DescribeDataQualityJobDefinitionError> for Error {
3877    fn from(err: crate::operation::describe_data_quality_job_definition::DescribeDataQualityJobDefinitionError) -> Self {
3878        match err {
3879            crate::operation::describe_data_quality_job_definition::DescribeDataQualityJobDefinitionError::ResourceNotFound(inner) => {
3880                Error::ResourceNotFound(inner)
3881            }
3882            crate::operation::describe_data_quality_job_definition::DescribeDataQualityJobDefinitionError::Unhandled(inner) => {
3883                Error::Unhandled(inner)
3884            }
3885        }
3886    }
3887}
3888impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_device::DescribeDeviceError, R>> for Error
3889where
3890    R: Send + Sync + std::fmt::Debug + 'static,
3891{
3892    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_device::DescribeDeviceError, R>) -> Self {
3893        match err {
3894            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3895            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3896                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3897                source: err.into(),
3898            }),
3899        }
3900    }
3901}
3902impl From<crate::operation::describe_device::DescribeDeviceError> for Error {
3903    fn from(err: crate::operation::describe_device::DescribeDeviceError) -> Self {
3904        match err {
3905            crate::operation::describe_device::DescribeDeviceError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3906            crate::operation::describe_device::DescribeDeviceError::Unhandled(inner) => Error::Unhandled(inner),
3907        }
3908    }
3909}
3910impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_device_fleet::DescribeDeviceFleetError, R>> for Error
3911where
3912    R: Send + Sync + std::fmt::Debug + 'static,
3913{
3914    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_device_fleet::DescribeDeviceFleetError, R>) -> Self {
3915        match err {
3916            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3917            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3918                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3919                source: err.into(),
3920            }),
3921        }
3922    }
3923}
3924impl From<crate::operation::describe_device_fleet::DescribeDeviceFleetError> for Error {
3925    fn from(err: crate::operation::describe_device_fleet::DescribeDeviceFleetError) -> Self {
3926        match err {
3927            crate::operation::describe_device_fleet::DescribeDeviceFleetError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3928            crate::operation::describe_device_fleet::DescribeDeviceFleetError::Unhandled(inner) => Error::Unhandled(inner),
3929        }
3930    }
3931}
3932impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_domain::DescribeDomainError, R>> for Error
3933where
3934    R: Send + Sync + std::fmt::Debug + 'static,
3935{
3936    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_domain::DescribeDomainError, R>) -> Self {
3937        match err {
3938            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3939            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3940                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3941                source: err.into(),
3942            }),
3943        }
3944    }
3945}
3946impl From<crate::operation::describe_domain::DescribeDomainError> for Error {
3947    fn from(err: crate::operation::describe_domain::DescribeDomainError) -> Self {
3948        match err {
3949            crate::operation::describe_domain::DescribeDomainError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3950            crate::operation::describe_domain::DescribeDomainError::Unhandled(inner) => Error::Unhandled(inner),
3951        }
3952    }
3953}
3954impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_edge_deployment_plan::DescribeEdgeDeploymentPlanError, R>>
3955    for Error
3956where
3957    R: Send + Sync + std::fmt::Debug + 'static,
3958{
3959    fn from(
3960        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_edge_deployment_plan::DescribeEdgeDeploymentPlanError, R>,
3961    ) -> Self {
3962        match err {
3963            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3964            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3965                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3966                source: err.into(),
3967            }),
3968        }
3969    }
3970}
3971impl From<crate::operation::describe_edge_deployment_plan::DescribeEdgeDeploymentPlanError> for Error {
3972    fn from(err: crate::operation::describe_edge_deployment_plan::DescribeEdgeDeploymentPlanError) -> Self {
3973        match err {
3974            crate::operation::describe_edge_deployment_plan::DescribeEdgeDeploymentPlanError::ResourceNotFound(inner) => {
3975                Error::ResourceNotFound(inner)
3976            }
3977            crate::operation::describe_edge_deployment_plan::DescribeEdgeDeploymentPlanError::Unhandled(inner) => Error::Unhandled(inner),
3978        }
3979    }
3980}
3981impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_edge_packaging_job::DescribeEdgePackagingJobError, R>>
3982    for Error
3983where
3984    R: Send + Sync + std::fmt::Debug + 'static,
3985{
3986    fn from(
3987        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_edge_packaging_job::DescribeEdgePackagingJobError, R>,
3988    ) -> Self {
3989        match err {
3990            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3991            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3992                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3993                source: err.into(),
3994            }),
3995        }
3996    }
3997}
3998impl From<crate::operation::describe_edge_packaging_job::DescribeEdgePackagingJobError> for Error {
3999    fn from(err: crate::operation::describe_edge_packaging_job::DescribeEdgePackagingJobError) -> Self {
4000        match err {
4001            crate::operation::describe_edge_packaging_job::DescribeEdgePackagingJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
4002            crate::operation::describe_edge_packaging_job::DescribeEdgePackagingJobError::Unhandled(inner) => Error::Unhandled(inner),
4003        }
4004    }
4005}
4006impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_endpoint::DescribeEndpointError, R>> for Error
4007where
4008    R: Send + Sync + std::fmt::Debug + 'static,
4009{
4010    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_endpoint::DescribeEndpointError, R>) -> Self {
4011        match err {
4012            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4013            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4014                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4015                source: err.into(),
4016            }),
4017        }
4018    }
4019}
4020impl From<crate::operation::describe_endpoint::DescribeEndpointError> for Error {
4021    fn from(err: crate::operation::describe_endpoint::DescribeEndpointError) -> Self {
4022        match err {
4023            crate::operation::describe_endpoint::DescribeEndpointError::Unhandled(inner) => Error::Unhandled(inner),
4024        }
4025    }
4026}
4027impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_endpoint_config::DescribeEndpointConfigError, R>> for Error
4028where
4029    R: Send + Sync + std::fmt::Debug + 'static,
4030{
4031    fn from(
4032        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_endpoint_config::DescribeEndpointConfigError, R>,
4033    ) -> Self {
4034        match err {
4035            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4036            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4037                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4038                source: err.into(),
4039            }),
4040        }
4041    }
4042}
4043impl From<crate::operation::describe_endpoint_config::DescribeEndpointConfigError> for Error {
4044    fn from(err: crate::operation::describe_endpoint_config::DescribeEndpointConfigError) -> Self {
4045        match err {
4046            crate::operation::describe_endpoint_config::DescribeEndpointConfigError::Unhandled(inner) => Error::Unhandled(inner),
4047        }
4048    }
4049}
4050impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_experiment::DescribeExperimentError, R>> for Error
4051where
4052    R: Send + Sync + std::fmt::Debug + 'static,
4053{
4054    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_experiment::DescribeExperimentError, R>) -> Self {
4055        match err {
4056            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4057            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4058                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4059                source: err.into(),
4060            }),
4061        }
4062    }
4063}
4064impl From<crate::operation::describe_experiment::DescribeExperimentError> for Error {
4065    fn from(err: crate::operation::describe_experiment::DescribeExperimentError) -> Self {
4066        match err {
4067            crate::operation::describe_experiment::DescribeExperimentError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
4068            crate::operation::describe_experiment::DescribeExperimentError::Unhandled(inner) => Error::Unhandled(inner),
4069        }
4070    }
4071}
4072impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_feature_group::DescribeFeatureGroupError, R>> for Error
4073where
4074    R: Send + Sync + std::fmt::Debug + 'static,
4075{
4076    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_feature_group::DescribeFeatureGroupError, R>) -> Self {
4077        match err {
4078            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4079            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4080                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4081                source: err.into(),
4082            }),
4083        }
4084    }
4085}
4086impl From<crate::operation::describe_feature_group::DescribeFeatureGroupError> for Error {
4087    fn from(err: crate::operation::describe_feature_group::DescribeFeatureGroupError) -> Self {
4088        match err {
4089            crate::operation::describe_feature_group::DescribeFeatureGroupError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
4090            crate::operation::describe_feature_group::DescribeFeatureGroupError::Unhandled(inner) => Error::Unhandled(inner),
4091        }
4092    }
4093}
4094impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_feature_metadata::DescribeFeatureMetadataError, R>>
4095    for Error
4096where
4097    R: Send + Sync + std::fmt::Debug + 'static,
4098{
4099    fn from(
4100        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_feature_metadata::DescribeFeatureMetadataError, R>,
4101    ) -> Self {
4102        match err {
4103            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4104            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4105                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4106                source: err.into(),
4107            }),
4108        }
4109    }
4110}
4111impl From<crate::operation::describe_feature_metadata::DescribeFeatureMetadataError> for Error {
4112    fn from(err: crate::operation::describe_feature_metadata::DescribeFeatureMetadataError) -> Self {
4113        match err {
4114            crate::operation::describe_feature_metadata::DescribeFeatureMetadataError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
4115            crate::operation::describe_feature_metadata::DescribeFeatureMetadataError::Unhandled(inner) => Error::Unhandled(inner),
4116        }
4117    }
4118}
4119impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_flow_definition::DescribeFlowDefinitionError, R>> for Error
4120where
4121    R: Send + Sync + std::fmt::Debug + 'static,
4122{
4123    fn from(
4124        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_flow_definition::DescribeFlowDefinitionError, R>,
4125    ) -> Self {
4126        match err {
4127            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4128            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4129                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4130                source: err.into(),
4131            }),
4132        }
4133    }
4134}
4135impl From<crate::operation::describe_flow_definition::DescribeFlowDefinitionError> for Error {
4136    fn from(err: crate::operation::describe_flow_definition::DescribeFlowDefinitionError) -> Self {
4137        match err {
4138            crate::operation::describe_flow_definition::DescribeFlowDefinitionError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
4139            crate::operation::describe_flow_definition::DescribeFlowDefinitionError::Unhandled(inner) => Error::Unhandled(inner),
4140        }
4141    }
4142}
4143impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_hub::DescribeHubError, R>> for Error
4144where
4145    R: Send + Sync + std::fmt::Debug + 'static,
4146{
4147    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_hub::DescribeHubError, R>) -> Self {
4148        match err {
4149            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4150            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4151                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4152                source: err.into(),
4153            }),
4154        }
4155    }
4156}
4157impl From<crate::operation::describe_hub::DescribeHubError> for Error {
4158    fn from(err: crate::operation::describe_hub::DescribeHubError) -> Self {
4159        match err {
4160            crate::operation::describe_hub::DescribeHubError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
4161            crate::operation::describe_hub::DescribeHubError::Unhandled(inner) => Error::Unhandled(inner),
4162        }
4163    }
4164}
4165impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_hub_content::DescribeHubContentError, R>> for Error
4166where
4167    R: Send + Sync + std::fmt::Debug + 'static,
4168{
4169    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_hub_content::DescribeHubContentError, R>) -> Self {
4170        match err {
4171            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4172            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4173                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4174                source: err.into(),
4175            }),
4176        }
4177    }
4178}
4179impl From<crate::operation::describe_hub_content::DescribeHubContentError> for Error {
4180    fn from(err: crate::operation::describe_hub_content::DescribeHubContentError) -> Self {
4181        match err {
4182            crate::operation::describe_hub_content::DescribeHubContentError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
4183            crate::operation::describe_hub_content::DescribeHubContentError::Unhandled(inner) => Error::Unhandled(inner),
4184        }
4185    }
4186}
4187impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_human_task_ui::DescribeHumanTaskUiError, R>> for Error
4188where
4189    R: Send + Sync + std::fmt::Debug + 'static,
4190{
4191    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_human_task_ui::DescribeHumanTaskUiError, R>) -> Self {
4192        match err {
4193            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4194            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4195                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4196                source: err.into(),
4197            }),
4198        }
4199    }
4200}
4201impl From<crate::operation::describe_human_task_ui::DescribeHumanTaskUiError> for Error {
4202    fn from(err: crate::operation::describe_human_task_ui::DescribeHumanTaskUiError) -> Self {
4203        match err {
4204            crate::operation::describe_human_task_ui::DescribeHumanTaskUiError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
4205            crate::operation::describe_human_task_ui::DescribeHumanTaskUiError::Unhandled(inner) => Error::Unhandled(inner),
4206        }
4207    }
4208}
4209impl<R>
4210    From<
4211        ::aws_smithy_runtime_api::client::result::SdkError<
4212            crate::operation::describe_hyper_parameter_tuning_job::DescribeHyperParameterTuningJobError,
4213            R,
4214        >,
4215    > for Error
4216where
4217    R: Send + Sync + std::fmt::Debug + 'static,
4218{
4219    fn from(
4220        err: ::aws_smithy_runtime_api::client::result::SdkError<
4221            crate::operation::describe_hyper_parameter_tuning_job::DescribeHyperParameterTuningJobError,
4222            R,
4223        >,
4224    ) -> Self {
4225        match err {
4226            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4227            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4228                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4229                source: err.into(),
4230            }),
4231        }
4232    }
4233}
4234impl From<crate::operation::describe_hyper_parameter_tuning_job::DescribeHyperParameterTuningJobError> for Error {
4235    fn from(err: crate::operation::describe_hyper_parameter_tuning_job::DescribeHyperParameterTuningJobError) -> Self {
4236        match err {
4237            crate::operation::describe_hyper_parameter_tuning_job::DescribeHyperParameterTuningJobError::ResourceNotFound(inner) => {
4238                Error::ResourceNotFound(inner)
4239            }
4240            crate::operation::describe_hyper_parameter_tuning_job::DescribeHyperParameterTuningJobError::Unhandled(inner) => Error::Unhandled(inner),
4241        }
4242    }
4243}
4244impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_image::DescribeImageError, R>> for Error
4245where
4246    R: Send + Sync + std::fmt::Debug + 'static,
4247{
4248    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_image::DescribeImageError, R>) -> Self {
4249        match err {
4250            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4251            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4252                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4253                source: err.into(),
4254            }),
4255        }
4256    }
4257}
4258impl From<crate::operation::describe_image::DescribeImageError> for Error {
4259    fn from(err: crate::operation::describe_image::DescribeImageError) -> Self {
4260        match err {
4261            crate::operation::describe_image::DescribeImageError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
4262            crate::operation::describe_image::DescribeImageError::Unhandled(inner) => Error::Unhandled(inner),
4263        }
4264    }
4265}
4266impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_image_version::DescribeImageVersionError, R>> for Error
4267where
4268    R: Send + Sync + std::fmt::Debug + 'static,
4269{
4270    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_image_version::DescribeImageVersionError, R>) -> Self {
4271        match err {
4272            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4273            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4274                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4275                source: err.into(),
4276            }),
4277        }
4278    }
4279}
4280impl From<crate::operation::describe_image_version::DescribeImageVersionError> for Error {
4281    fn from(err: crate::operation::describe_image_version::DescribeImageVersionError) -> Self {
4282        match err {
4283            crate::operation::describe_image_version::DescribeImageVersionError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
4284            crate::operation::describe_image_version::DescribeImageVersionError::Unhandled(inner) => Error::Unhandled(inner),
4285        }
4286    }
4287}
4288impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_inference_component::DescribeInferenceComponentError, R>>
4289    for Error
4290where
4291    R: Send + Sync + std::fmt::Debug + 'static,
4292{
4293    fn from(
4294        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_inference_component::DescribeInferenceComponentError, R>,
4295    ) -> Self {
4296        match err {
4297            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4298            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4299                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4300                source: err.into(),
4301            }),
4302        }
4303    }
4304}
4305impl From<crate::operation::describe_inference_component::DescribeInferenceComponentError> for Error {
4306    fn from(err: crate::operation::describe_inference_component::DescribeInferenceComponentError) -> Self {
4307        match err {
4308            crate::operation::describe_inference_component::DescribeInferenceComponentError::Unhandled(inner) => Error::Unhandled(inner),
4309        }
4310    }
4311}
4312impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_inference_experiment::DescribeInferenceExperimentError, R>>
4313    for Error
4314where
4315    R: Send + Sync + std::fmt::Debug + 'static,
4316{
4317    fn from(
4318        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_inference_experiment::DescribeInferenceExperimentError, R>,
4319    ) -> Self {
4320        match err {
4321            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4322            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4323                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4324                source: err.into(),
4325            }),
4326        }
4327    }
4328}
4329impl From<crate::operation::describe_inference_experiment::DescribeInferenceExperimentError> for Error {
4330    fn from(err: crate::operation::describe_inference_experiment::DescribeInferenceExperimentError) -> Self {
4331        match err {
4332            crate::operation::describe_inference_experiment::DescribeInferenceExperimentError::ResourceNotFound(inner) => {
4333                Error::ResourceNotFound(inner)
4334            }
4335            crate::operation::describe_inference_experiment::DescribeInferenceExperimentError::Unhandled(inner) => Error::Unhandled(inner),
4336        }
4337    }
4338}
4339impl<R>
4340    From<
4341        ::aws_smithy_runtime_api::client::result::SdkError<
4342            crate::operation::describe_inference_recommendations_job::DescribeInferenceRecommendationsJobError,
4343            R,
4344        >,
4345    > for Error
4346where
4347    R: Send + Sync + std::fmt::Debug + 'static,
4348{
4349    fn from(
4350        err: ::aws_smithy_runtime_api::client::result::SdkError<
4351            crate::operation::describe_inference_recommendations_job::DescribeInferenceRecommendationsJobError,
4352            R,
4353        >,
4354    ) -> Self {
4355        match err {
4356            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4357            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4358                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4359                source: err.into(),
4360            }),
4361        }
4362    }
4363}
4364impl From<crate::operation::describe_inference_recommendations_job::DescribeInferenceRecommendationsJobError> for Error {
4365    fn from(err: crate::operation::describe_inference_recommendations_job::DescribeInferenceRecommendationsJobError) -> Self {
4366        match err {
4367            crate::operation::describe_inference_recommendations_job::DescribeInferenceRecommendationsJobError::ResourceNotFound(inner) => {
4368                Error::ResourceNotFound(inner)
4369            }
4370            crate::operation::describe_inference_recommendations_job::DescribeInferenceRecommendationsJobError::Unhandled(inner) => {
4371                Error::Unhandled(inner)
4372            }
4373        }
4374    }
4375}
4376impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_labeling_job::DescribeLabelingJobError, 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_labeling_job::DescribeLabelingJobError, 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_labeling_job::DescribeLabelingJobError> for Error {
4391    fn from(err: crate::operation::describe_labeling_job::DescribeLabelingJobError) -> Self {
4392        match err {
4393            crate::operation::describe_labeling_job::DescribeLabelingJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
4394            crate::operation::describe_labeling_job::DescribeLabelingJobError::Unhandled(inner) => Error::Unhandled(inner),
4395        }
4396    }
4397}
4398impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_lineage_group::DescribeLineageGroupError, R>> for Error
4399where
4400    R: Send + Sync + std::fmt::Debug + 'static,
4401{
4402    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_lineage_group::DescribeLineageGroupError, R>) -> Self {
4403        match err {
4404            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4405            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4406                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4407                source: err.into(),
4408            }),
4409        }
4410    }
4411}
4412impl From<crate::operation::describe_lineage_group::DescribeLineageGroupError> for Error {
4413    fn from(err: crate::operation::describe_lineage_group::DescribeLineageGroupError) -> Self {
4414        match err {
4415            crate::operation::describe_lineage_group::DescribeLineageGroupError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
4416            crate::operation::describe_lineage_group::DescribeLineageGroupError::Unhandled(inner) => Error::Unhandled(inner),
4417        }
4418    }
4419}
4420impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_mlflow_app::DescribeMlflowAppError, R>> for Error
4421where
4422    R: Send + Sync + std::fmt::Debug + 'static,
4423{
4424    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_mlflow_app::DescribeMlflowAppError, R>) -> Self {
4425        match err {
4426            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4427            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4428                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4429                source: err.into(),
4430            }),
4431        }
4432    }
4433}
4434impl From<crate::operation::describe_mlflow_app::DescribeMlflowAppError> for Error {
4435    fn from(err: crate::operation::describe_mlflow_app::DescribeMlflowAppError) -> Self {
4436        match err {
4437            crate::operation::describe_mlflow_app::DescribeMlflowAppError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
4438            crate::operation::describe_mlflow_app::DescribeMlflowAppError::Unhandled(inner) => Error::Unhandled(inner),
4439        }
4440    }
4441}
4442impl<R>
4443    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_mlflow_tracking_server::DescribeMlflowTrackingServerError, R>>
4444    for Error
4445where
4446    R: Send + Sync + std::fmt::Debug + 'static,
4447{
4448    fn from(
4449        err: ::aws_smithy_runtime_api::client::result::SdkError<
4450            crate::operation::describe_mlflow_tracking_server::DescribeMlflowTrackingServerError,
4451            R,
4452        >,
4453    ) -> Self {
4454        match err {
4455            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4456            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4457                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4458                source: err.into(),
4459            }),
4460        }
4461    }
4462}
4463impl From<crate::operation::describe_mlflow_tracking_server::DescribeMlflowTrackingServerError> for Error {
4464    fn from(err: crate::operation::describe_mlflow_tracking_server::DescribeMlflowTrackingServerError) -> Self {
4465        match err {
4466            crate::operation::describe_mlflow_tracking_server::DescribeMlflowTrackingServerError::ResourceNotFound(inner) => {
4467                Error::ResourceNotFound(inner)
4468            }
4469            crate::operation::describe_mlflow_tracking_server::DescribeMlflowTrackingServerError::Unhandled(inner) => Error::Unhandled(inner),
4470        }
4471    }
4472}
4473impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_model::DescribeModelError, R>> for Error
4474where
4475    R: Send + Sync + std::fmt::Debug + 'static,
4476{
4477    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_model::DescribeModelError, R>) -> Self {
4478        match err {
4479            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4480            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4481                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4482                source: err.into(),
4483            }),
4484        }
4485    }
4486}
4487impl From<crate::operation::describe_model::DescribeModelError> for Error {
4488    fn from(err: crate::operation::describe_model::DescribeModelError) -> Self {
4489        match err {
4490            crate::operation::describe_model::DescribeModelError::Unhandled(inner) => Error::Unhandled(inner),
4491        }
4492    }
4493}
4494impl<R>
4495    From<
4496        ::aws_smithy_runtime_api::client::result::SdkError<
4497            crate::operation::describe_model_bias_job_definition::DescribeModelBiasJobDefinitionError,
4498            R,
4499        >,
4500    > for Error
4501where
4502    R: Send + Sync + std::fmt::Debug + 'static,
4503{
4504    fn from(
4505        err: ::aws_smithy_runtime_api::client::result::SdkError<
4506            crate::operation::describe_model_bias_job_definition::DescribeModelBiasJobDefinitionError,
4507            R,
4508        >,
4509    ) -> Self {
4510        match err {
4511            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4512            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4513                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4514                source: err.into(),
4515            }),
4516        }
4517    }
4518}
4519impl From<crate::operation::describe_model_bias_job_definition::DescribeModelBiasJobDefinitionError> for Error {
4520    fn from(err: crate::operation::describe_model_bias_job_definition::DescribeModelBiasJobDefinitionError) -> Self {
4521        match err {
4522            crate::operation::describe_model_bias_job_definition::DescribeModelBiasJobDefinitionError::ResourceNotFound(inner) => {
4523                Error::ResourceNotFound(inner)
4524            }
4525            crate::operation::describe_model_bias_job_definition::DescribeModelBiasJobDefinitionError::Unhandled(inner) => Error::Unhandled(inner),
4526        }
4527    }
4528}
4529impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_model_card::DescribeModelCardError, R>> for Error
4530where
4531    R: Send + Sync + std::fmt::Debug + 'static,
4532{
4533    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_model_card::DescribeModelCardError, R>) -> Self {
4534        match err {
4535            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4536            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4537                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4538                source: err.into(),
4539            }),
4540        }
4541    }
4542}
4543impl From<crate::operation::describe_model_card::DescribeModelCardError> for Error {
4544    fn from(err: crate::operation::describe_model_card::DescribeModelCardError) -> Self {
4545        match err {
4546            crate::operation::describe_model_card::DescribeModelCardError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
4547            crate::operation::describe_model_card::DescribeModelCardError::Unhandled(inner) => Error::Unhandled(inner),
4548        }
4549    }
4550}
4551impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_model_card_export_job::DescribeModelCardExportJobError, R>>
4552    for Error
4553where
4554    R: Send + Sync + std::fmt::Debug + 'static,
4555{
4556    fn from(
4557        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_model_card_export_job::DescribeModelCardExportJobError, R>,
4558    ) -> Self {
4559        match err {
4560            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4561            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4562                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4563                source: err.into(),
4564            }),
4565        }
4566    }
4567}
4568impl From<crate::operation::describe_model_card_export_job::DescribeModelCardExportJobError> for Error {
4569    fn from(err: crate::operation::describe_model_card_export_job::DescribeModelCardExportJobError) -> Self {
4570        match err {
4571            crate::operation::describe_model_card_export_job::DescribeModelCardExportJobError::ResourceNotFound(inner) => {
4572                Error::ResourceNotFound(inner)
4573            }
4574            crate::operation::describe_model_card_export_job::DescribeModelCardExportJobError::Unhandled(inner) => Error::Unhandled(inner),
4575        }
4576    }
4577}
4578impl<R>
4579    From<
4580        ::aws_smithy_runtime_api::client::result::SdkError<
4581            crate::operation::describe_model_explainability_job_definition::DescribeModelExplainabilityJobDefinitionError,
4582            R,
4583        >,
4584    > for Error
4585where
4586    R: Send + Sync + std::fmt::Debug + 'static,
4587{
4588    fn from(
4589        err: ::aws_smithy_runtime_api::client::result::SdkError<
4590            crate::operation::describe_model_explainability_job_definition::DescribeModelExplainabilityJobDefinitionError,
4591            R,
4592        >,
4593    ) -> Self {
4594        match err {
4595            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4596            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4597                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4598                source: err.into(),
4599            }),
4600        }
4601    }
4602}
4603impl From<crate::operation::describe_model_explainability_job_definition::DescribeModelExplainabilityJobDefinitionError> for Error {
4604    fn from(err: crate::operation::describe_model_explainability_job_definition::DescribeModelExplainabilityJobDefinitionError) -> Self {
4605        match err {
4606            crate::operation::describe_model_explainability_job_definition::DescribeModelExplainabilityJobDefinitionError::ResourceNotFound(
4607                inner,
4608            ) => Error::ResourceNotFound(inner),
4609            crate::operation::describe_model_explainability_job_definition::DescribeModelExplainabilityJobDefinitionError::Unhandled(inner) => {
4610                Error::Unhandled(inner)
4611            }
4612        }
4613    }
4614}
4615impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_model_package::DescribeModelPackageError, R>> for Error
4616where
4617    R: Send + Sync + std::fmt::Debug + 'static,
4618{
4619    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_model_package::DescribeModelPackageError, R>) -> Self {
4620        match err {
4621            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4622            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4623                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4624                source: err.into(),
4625            }),
4626        }
4627    }
4628}
4629impl From<crate::operation::describe_model_package::DescribeModelPackageError> for Error {
4630    fn from(err: crate::operation::describe_model_package::DescribeModelPackageError) -> Self {
4631        match err {
4632            crate::operation::describe_model_package::DescribeModelPackageError::Unhandled(inner) => Error::Unhandled(inner),
4633        }
4634    }
4635}
4636impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_model_package_group::DescribeModelPackageGroupError, R>>
4637    for Error
4638where
4639    R: Send + Sync + std::fmt::Debug + 'static,
4640{
4641    fn from(
4642        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_model_package_group::DescribeModelPackageGroupError, R>,
4643    ) -> Self {
4644        match err {
4645            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4646            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4647                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4648                source: err.into(),
4649            }),
4650        }
4651    }
4652}
4653impl From<crate::operation::describe_model_package_group::DescribeModelPackageGroupError> for Error {
4654    fn from(err: crate::operation::describe_model_package_group::DescribeModelPackageGroupError) -> Self {
4655        match err {
4656            crate::operation::describe_model_package_group::DescribeModelPackageGroupError::Unhandled(inner) => Error::Unhandled(inner),
4657        }
4658    }
4659}
4660impl<R>
4661    From<
4662        ::aws_smithy_runtime_api::client::result::SdkError<
4663            crate::operation::describe_model_quality_job_definition::DescribeModelQualityJobDefinitionError,
4664            R,
4665        >,
4666    > for Error
4667where
4668    R: Send + Sync + std::fmt::Debug + 'static,
4669{
4670    fn from(
4671        err: ::aws_smithy_runtime_api::client::result::SdkError<
4672            crate::operation::describe_model_quality_job_definition::DescribeModelQualityJobDefinitionError,
4673            R,
4674        >,
4675    ) -> Self {
4676        match err {
4677            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4678            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4679                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4680                source: err.into(),
4681            }),
4682        }
4683    }
4684}
4685impl From<crate::operation::describe_model_quality_job_definition::DescribeModelQualityJobDefinitionError> for Error {
4686    fn from(err: crate::operation::describe_model_quality_job_definition::DescribeModelQualityJobDefinitionError) -> Self {
4687        match err {
4688            crate::operation::describe_model_quality_job_definition::DescribeModelQualityJobDefinitionError::ResourceNotFound(inner) => {
4689                Error::ResourceNotFound(inner)
4690            }
4691            crate::operation::describe_model_quality_job_definition::DescribeModelQualityJobDefinitionError::Unhandled(inner) => {
4692                Error::Unhandled(inner)
4693            }
4694        }
4695    }
4696}
4697impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_monitoring_schedule::DescribeMonitoringScheduleError, R>>
4698    for Error
4699where
4700    R: Send + Sync + std::fmt::Debug + 'static,
4701{
4702    fn from(
4703        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_monitoring_schedule::DescribeMonitoringScheduleError, R>,
4704    ) -> Self {
4705        match err {
4706            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4707            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4708                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4709                source: err.into(),
4710            }),
4711        }
4712    }
4713}
4714impl From<crate::operation::describe_monitoring_schedule::DescribeMonitoringScheduleError> for Error {
4715    fn from(err: crate::operation::describe_monitoring_schedule::DescribeMonitoringScheduleError) -> Self {
4716        match err {
4717            crate::operation::describe_monitoring_schedule::DescribeMonitoringScheduleError::ResourceNotFound(inner) => {
4718                Error::ResourceNotFound(inner)
4719            }
4720            crate::operation::describe_monitoring_schedule::DescribeMonitoringScheduleError::Unhandled(inner) => Error::Unhandled(inner),
4721        }
4722    }
4723}
4724impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_notebook_instance::DescribeNotebookInstanceError, R>>
4725    for Error
4726where
4727    R: Send + Sync + std::fmt::Debug + 'static,
4728{
4729    fn from(
4730        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_notebook_instance::DescribeNotebookInstanceError, R>,
4731    ) -> Self {
4732        match err {
4733            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4734            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4735                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4736                source: err.into(),
4737            }),
4738        }
4739    }
4740}
4741impl From<crate::operation::describe_notebook_instance::DescribeNotebookInstanceError> for Error {
4742    fn from(err: crate::operation::describe_notebook_instance::DescribeNotebookInstanceError) -> Self {
4743        match err {
4744            crate::operation::describe_notebook_instance::DescribeNotebookInstanceError::Unhandled(inner) => Error::Unhandled(inner),
4745        }
4746    }
4747}
4748impl<R>
4749    From<
4750        ::aws_smithy_runtime_api::client::result::SdkError<
4751            crate::operation::describe_notebook_instance_lifecycle_config::DescribeNotebookInstanceLifecycleConfigError,
4752            R,
4753        >,
4754    > for Error
4755where
4756    R: Send + Sync + std::fmt::Debug + 'static,
4757{
4758    fn from(
4759        err: ::aws_smithy_runtime_api::client::result::SdkError<
4760            crate::operation::describe_notebook_instance_lifecycle_config::DescribeNotebookInstanceLifecycleConfigError,
4761            R,
4762        >,
4763    ) -> Self {
4764        match err {
4765            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4766            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4767                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4768                source: err.into(),
4769            }),
4770        }
4771    }
4772}
4773impl From<crate::operation::describe_notebook_instance_lifecycle_config::DescribeNotebookInstanceLifecycleConfigError> for Error {
4774    fn from(err: crate::operation::describe_notebook_instance_lifecycle_config::DescribeNotebookInstanceLifecycleConfigError) -> Self {
4775        match err {
4776            crate::operation::describe_notebook_instance_lifecycle_config::DescribeNotebookInstanceLifecycleConfigError::Unhandled(inner) => {
4777                Error::Unhandled(inner)
4778            }
4779        }
4780    }
4781}
4782impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_optimization_job::DescribeOptimizationJobError, R>>
4783    for Error
4784where
4785    R: Send + Sync + std::fmt::Debug + 'static,
4786{
4787    fn from(
4788        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_optimization_job::DescribeOptimizationJobError, R>,
4789    ) -> Self {
4790        match err {
4791            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4792            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4793                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4794                source: err.into(),
4795            }),
4796        }
4797    }
4798}
4799impl From<crate::operation::describe_optimization_job::DescribeOptimizationJobError> for Error {
4800    fn from(err: crate::operation::describe_optimization_job::DescribeOptimizationJobError) -> Self {
4801        match err {
4802            crate::operation::describe_optimization_job::DescribeOptimizationJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
4803            crate::operation::describe_optimization_job::DescribeOptimizationJobError::Unhandled(inner) => Error::Unhandled(inner),
4804        }
4805    }
4806}
4807impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_partner_app::DescribePartnerAppError, R>> for Error
4808where
4809    R: Send + Sync + std::fmt::Debug + 'static,
4810{
4811    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_partner_app::DescribePartnerAppError, R>) -> Self {
4812        match err {
4813            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4814            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4815                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4816                source: err.into(),
4817            }),
4818        }
4819    }
4820}
4821impl From<crate::operation::describe_partner_app::DescribePartnerAppError> for Error {
4822    fn from(err: crate::operation::describe_partner_app::DescribePartnerAppError) -> Self {
4823        match err {
4824            crate::operation::describe_partner_app::DescribePartnerAppError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
4825            crate::operation::describe_partner_app::DescribePartnerAppError::Unhandled(inner) => Error::Unhandled(inner),
4826        }
4827    }
4828}
4829impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_pipeline::DescribePipelineError, R>> for Error
4830where
4831    R: Send + Sync + std::fmt::Debug + 'static,
4832{
4833    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_pipeline::DescribePipelineError, R>) -> Self {
4834        match err {
4835            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4836            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4837                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4838                source: err.into(),
4839            }),
4840        }
4841    }
4842}
4843impl From<crate::operation::describe_pipeline::DescribePipelineError> for Error {
4844    fn from(err: crate::operation::describe_pipeline::DescribePipelineError) -> Self {
4845        match err {
4846            crate::operation::describe_pipeline::DescribePipelineError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
4847            crate::operation::describe_pipeline::DescribePipelineError::Unhandled(inner) => Error::Unhandled(inner),
4848        }
4849    }
4850}
4851impl<R>
4852    From<
4853        ::aws_smithy_runtime_api::client::result::SdkError<
4854            crate::operation::describe_pipeline_definition_for_execution::DescribePipelineDefinitionForExecutionError,
4855            R,
4856        >,
4857    > for Error
4858where
4859    R: Send + Sync + std::fmt::Debug + 'static,
4860{
4861    fn from(
4862        err: ::aws_smithy_runtime_api::client::result::SdkError<
4863            crate::operation::describe_pipeline_definition_for_execution::DescribePipelineDefinitionForExecutionError,
4864            R,
4865        >,
4866    ) -> Self {
4867        match err {
4868            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4869            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4870                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4871                source: err.into(),
4872            }),
4873        }
4874    }
4875}
4876impl From<crate::operation::describe_pipeline_definition_for_execution::DescribePipelineDefinitionForExecutionError> for Error {
4877    fn from(err: crate::operation::describe_pipeline_definition_for_execution::DescribePipelineDefinitionForExecutionError) -> Self {
4878        match err {
4879            crate::operation::describe_pipeline_definition_for_execution::DescribePipelineDefinitionForExecutionError::ResourceNotFound(inner) => {
4880                Error::ResourceNotFound(inner)
4881            }
4882            crate::operation::describe_pipeline_definition_for_execution::DescribePipelineDefinitionForExecutionError::Unhandled(inner) => {
4883                Error::Unhandled(inner)
4884            }
4885        }
4886    }
4887}
4888impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_pipeline_execution::DescribePipelineExecutionError, R>>
4889    for Error
4890where
4891    R: Send + Sync + std::fmt::Debug + 'static,
4892{
4893    fn from(
4894        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_pipeline_execution::DescribePipelineExecutionError, R>,
4895    ) -> Self {
4896        match err {
4897            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4898            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4899                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4900                source: err.into(),
4901            }),
4902        }
4903    }
4904}
4905impl From<crate::operation::describe_pipeline_execution::DescribePipelineExecutionError> for Error {
4906    fn from(err: crate::operation::describe_pipeline_execution::DescribePipelineExecutionError) -> Self {
4907        match err {
4908            crate::operation::describe_pipeline_execution::DescribePipelineExecutionError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
4909            crate::operation::describe_pipeline_execution::DescribePipelineExecutionError::Unhandled(inner) => Error::Unhandled(inner),
4910        }
4911    }
4912}
4913impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_processing_job::DescribeProcessingJobError, R>> for Error
4914where
4915    R: Send + Sync + std::fmt::Debug + 'static,
4916{
4917    fn from(
4918        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_processing_job::DescribeProcessingJobError, R>,
4919    ) -> Self {
4920        match err {
4921            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4922            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4923                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4924                source: err.into(),
4925            }),
4926        }
4927    }
4928}
4929impl From<crate::operation::describe_processing_job::DescribeProcessingJobError> for Error {
4930    fn from(err: crate::operation::describe_processing_job::DescribeProcessingJobError) -> Self {
4931        match err {
4932            crate::operation::describe_processing_job::DescribeProcessingJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
4933            crate::operation::describe_processing_job::DescribeProcessingJobError::Unhandled(inner) => Error::Unhandled(inner),
4934        }
4935    }
4936}
4937impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_project::DescribeProjectError, R>> for Error
4938where
4939    R: Send + Sync + std::fmt::Debug + 'static,
4940{
4941    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_project::DescribeProjectError, R>) -> Self {
4942        match err {
4943            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4944            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4945                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4946                source: err.into(),
4947            }),
4948        }
4949    }
4950}
4951impl From<crate::operation::describe_project::DescribeProjectError> for Error {
4952    fn from(err: crate::operation::describe_project::DescribeProjectError) -> Self {
4953        match err {
4954            crate::operation::describe_project::DescribeProjectError::Unhandled(inner) => Error::Unhandled(inner),
4955        }
4956    }
4957}
4958impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_reserved_capacity::DescribeReservedCapacityError, R>>
4959    for Error
4960where
4961    R: Send + Sync + std::fmt::Debug + 'static,
4962{
4963    fn from(
4964        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_reserved_capacity::DescribeReservedCapacityError, R>,
4965    ) -> Self {
4966        match err {
4967            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4968            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4969                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4970                source: err.into(),
4971            }),
4972        }
4973    }
4974}
4975impl From<crate::operation::describe_reserved_capacity::DescribeReservedCapacityError> for Error {
4976    fn from(err: crate::operation::describe_reserved_capacity::DescribeReservedCapacityError) -> Self {
4977        match err {
4978            crate::operation::describe_reserved_capacity::DescribeReservedCapacityError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
4979            crate::operation::describe_reserved_capacity::DescribeReservedCapacityError::Unhandled(inner) => Error::Unhandled(inner),
4980        }
4981    }
4982}
4983impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_space::DescribeSpaceError, R>> for Error
4984where
4985    R: Send + Sync + std::fmt::Debug + 'static,
4986{
4987    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_space::DescribeSpaceError, R>) -> Self {
4988        match err {
4989            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4990            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4991                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4992                source: err.into(),
4993            }),
4994        }
4995    }
4996}
4997impl From<crate::operation::describe_space::DescribeSpaceError> for Error {
4998    fn from(err: crate::operation::describe_space::DescribeSpaceError) -> Self {
4999        match err {
5000            crate::operation::describe_space::DescribeSpaceError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
5001            crate::operation::describe_space::DescribeSpaceError::Unhandled(inner) => Error::Unhandled(inner),
5002        }
5003    }
5004}
5005impl<R>
5006    From<
5007        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_studio_lifecycle_config::DescribeStudioLifecycleConfigError, R>,
5008    > for Error
5009where
5010    R: Send + Sync + std::fmt::Debug + 'static,
5011{
5012    fn from(
5013        err: ::aws_smithy_runtime_api::client::result::SdkError<
5014            crate::operation::describe_studio_lifecycle_config::DescribeStudioLifecycleConfigError,
5015            R,
5016        >,
5017    ) -> Self {
5018        match err {
5019            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5020            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5021                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5022                source: err.into(),
5023            }),
5024        }
5025    }
5026}
5027impl From<crate::operation::describe_studio_lifecycle_config::DescribeStudioLifecycleConfigError> for Error {
5028    fn from(err: crate::operation::describe_studio_lifecycle_config::DescribeStudioLifecycleConfigError) -> Self {
5029        match err {
5030            crate::operation::describe_studio_lifecycle_config::DescribeStudioLifecycleConfigError::ResourceNotFound(inner) => {
5031                Error::ResourceNotFound(inner)
5032            }
5033            crate::operation::describe_studio_lifecycle_config::DescribeStudioLifecycleConfigError::Unhandled(inner) => Error::Unhandled(inner),
5034        }
5035    }
5036}
5037impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_subscribed_workteam::DescribeSubscribedWorkteamError, R>>
5038    for Error
5039where
5040    R: Send + Sync + std::fmt::Debug + 'static,
5041{
5042    fn from(
5043        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_subscribed_workteam::DescribeSubscribedWorkteamError, R>,
5044    ) -> Self {
5045        match err {
5046            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5047            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5048                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5049                source: err.into(),
5050            }),
5051        }
5052    }
5053}
5054impl From<crate::operation::describe_subscribed_workteam::DescribeSubscribedWorkteamError> for Error {
5055    fn from(err: crate::operation::describe_subscribed_workteam::DescribeSubscribedWorkteamError) -> Self {
5056        match err {
5057            crate::operation::describe_subscribed_workteam::DescribeSubscribedWorkteamError::Unhandled(inner) => Error::Unhandled(inner),
5058        }
5059    }
5060}
5061impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_training_job::DescribeTrainingJobError, R>> for Error
5062where
5063    R: Send + Sync + std::fmt::Debug + 'static,
5064{
5065    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_training_job::DescribeTrainingJobError, R>) -> Self {
5066        match err {
5067            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5068            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5069                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5070                source: err.into(),
5071            }),
5072        }
5073    }
5074}
5075impl From<crate::operation::describe_training_job::DescribeTrainingJobError> for Error {
5076    fn from(err: crate::operation::describe_training_job::DescribeTrainingJobError) -> Self {
5077        match err {
5078            crate::operation::describe_training_job::DescribeTrainingJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
5079            crate::operation::describe_training_job::DescribeTrainingJobError::Unhandled(inner) => Error::Unhandled(inner),
5080        }
5081    }
5082}
5083impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_training_plan::DescribeTrainingPlanError, R>> for Error
5084where
5085    R: Send + Sync + std::fmt::Debug + 'static,
5086{
5087    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_training_plan::DescribeTrainingPlanError, R>) -> Self {
5088        match err {
5089            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5090            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5091                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5092                source: err.into(),
5093            }),
5094        }
5095    }
5096}
5097impl From<crate::operation::describe_training_plan::DescribeTrainingPlanError> for Error {
5098    fn from(err: crate::operation::describe_training_plan::DescribeTrainingPlanError) -> Self {
5099        match err {
5100            crate::operation::describe_training_plan::DescribeTrainingPlanError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
5101            crate::operation::describe_training_plan::DescribeTrainingPlanError::Unhandled(inner) => Error::Unhandled(inner),
5102        }
5103    }
5104}
5105impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_transform_job::DescribeTransformJobError, R>> for Error
5106where
5107    R: Send + Sync + std::fmt::Debug + 'static,
5108{
5109    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_transform_job::DescribeTransformJobError, R>) -> Self {
5110        match err {
5111            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5112            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5113                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5114                source: err.into(),
5115            }),
5116        }
5117    }
5118}
5119impl From<crate::operation::describe_transform_job::DescribeTransformJobError> for Error {
5120    fn from(err: crate::operation::describe_transform_job::DescribeTransformJobError) -> Self {
5121        match err {
5122            crate::operation::describe_transform_job::DescribeTransformJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
5123            crate::operation::describe_transform_job::DescribeTransformJobError::Unhandled(inner) => Error::Unhandled(inner),
5124        }
5125    }
5126}
5127impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_trial::DescribeTrialError, R>> for Error
5128where
5129    R: Send + Sync + std::fmt::Debug + 'static,
5130{
5131    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_trial::DescribeTrialError, R>) -> Self {
5132        match err {
5133            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5134            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5135                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5136                source: err.into(),
5137            }),
5138        }
5139    }
5140}
5141impl From<crate::operation::describe_trial::DescribeTrialError> for Error {
5142    fn from(err: crate::operation::describe_trial::DescribeTrialError) -> Self {
5143        match err {
5144            crate::operation::describe_trial::DescribeTrialError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
5145            crate::operation::describe_trial::DescribeTrialError::Unhandled(inner) => Error::Unhandled(inner),
5146        }
5147    }
5148}
5149impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_trial_component::DescribeTrialComponentError, R>> for Error
5150where
5151    R: Send + Sync + std::fmt::Debug + 'static,
5152{
5153    fn from(
5154        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_trial_component::DescribeTrialComponentError, R>,
5155    ) -> Self {
5156        match err {
5157            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5158            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5159                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5160                source: err.into(),
5161            }),
5162        }
5163    }
5164}
5165impl From<crate::operation::describe_trial_component::DescribeTrialComponentError> for Error {
5166    fn from(err: crate::operation::describe_trial_component::DescribeTrialComponentError) -> Self {
5167        match err {
5168            crate::operation::describe_trial_component::DescribeTrialComponentError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
5169            crate::operation::describe_trial_component::DescribeTrialComponentError::Unhandled(inner) => Error::Unhandled(inner),
5170        }
5171    }
5172}
5173impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_user_profile::DescribeUserProfileError, R>> for Error
5174where
5175    R: Send + Sync + std::fmt::Debug + 'static,
5176{
5177    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_user_profile::DescribeUserProfileError, R>) -> Self {
5178        match err {
5179            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5180            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5181                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5182                source: err.into(),
5183            }),
5184        }
5185    }
5186}
5187impl From<crate::operation::describe_user_profile::DescribeUserProfileError> for Error {
5188    fn from(err: crate::operation::describe_user_profile::DescribeUserProfileError) -> Self {
5189        match err {
5190            crate::operation::describe_user_profile::DescribeUserProfileError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
5191            crate::operation::describe_user_profile::DescribeUserProfileError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
5192            crate::operation::describe_user_profile::DescribeUserProfileError::Unhandled(inner) => Error::Unhandled(inner),
5193        }
5194    }
5195}
5196impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_workforce::DescribeWorkforceError, R>> for Error
5197where
5198    R: Send + Sync + std::fmt::Debug + 'static,
5199{
5200    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_workforce::DescribeWorkforceError, R>) -> Self {
5201        match err {
5202            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5203            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5204                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5205                source: err.into(),
5206            }),
5207        }
5208    }
5209}
5210impl From<crate::operation::describe_workforce::DescribeWorkforceError> for Error {
5211    fn from(err: crate::operation::describe_workforce::DescribeWorkforceError) -> Self {
5212        match err {
5213            crate::operation::describe_workforce::DescribeWorkforceError::Unhandled(inner) => Error::Unhandled(inner),
5214        }
5215    }
5216}
5217impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_workteam::DescribeWorkteamError, R>> for Error
5218where
5219    R: Send + Sync + std::fmt::Debug + 'static,
5220{
5221    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_workteam::DescribeWorkteamError, R>) -> Self {
5222        match err {
5223            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5224            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5225                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5226                source: err.into(),
5227            }),
5228        }
5229    }
5230}
5231impl From<crate::operation::describe_workteam::DescribeWorkteamError> for Error {
5232    fn from(err: crate::operation::describe_workteam::DescribeWorkteamError) -> Self {
5233        match err {
5234            crate::operation::describe_workteam::DescribeWorkteamError::Unhandled(inner) => Error::Unhandled(inner),
5235        }
5236    }
5237}
5238impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_cluster_node_volume::DetachClusterNodeVolumeError, R>>
5239    for Error
5240where
5241    R: Send + Sync + std::fmt::Debug + 'static,
5242{
5243    fn from(
5244        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_cluster_node_volume::DetachClusterNodeVolumeError, R>,
5245    ) -> Self {
5246        match err {
5247            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5248            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5249                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5250                source: err.into(),
5251            }),
5252        }
5253    }
5254}
5255impl From<crate::operation::detach_cluster_node_volume::DetachClusterNodeVolumeError> for Error {
5256    fn from(err: crate::operation::detach_cluster_node_volume::DetachClusterNodeVolumeError) -> Self {
5257        match err {
5258            crate::operation::detach_cluster_node_volume::DetachClusterNodeVolumeError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
5259            crate::operation::detach_cluster_node_volume::DetachClusterNodeVolumeError::Unhandled(inner) => Error::Unhandled(inner),
5260        }
5261    }
5262}
5263impl<R>
5264    From<
5265        ::aws_smithy_runtime_api::client::result::SdkError<
5266            crate::operation::disable_sagemaker_servicecatalog_portfolio::DisableSagemakerServicecatalogPortfolioError,
5267            R,
5268        >,
5269    > for Error
5270where
5271    R: Send + Sync + std::fmt::Debug + 'static,
5272{
5273    fn from(
5274        err: ::aws_smithy_runtime_api::client::result::SdkError<
5275            crate::operation::disable_sagemaker_servicecatalog_portfolio::DisableSagemakerServicecatalogPortfolioError,
5276            R,
5277        >,
5278    ) -> Self {
5279        match err {
5280            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5281            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5282                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5283                source: err.into(),
5284            }),
5285        }
5286    }
5287}
5288impl From<crate::operation::disable_sagemaker_servicecatalog_portfolio::DisableSagemakerServicecatalogPortfolioError> for Error {
5289    fn from(err: crate::operation::disable_sagemaker_servicecatalog_portfolio::DisableSagemakerServicecatalogPortfolioError) -> Self {
5290        match err {
5291            crate::operation::disable_sagemaker_servicecatalog_portfolio::DisableSagemakerServicecatalogPortfolioError::Unhandled(inner) => {
5292                Error::Unhandled(inner)
5293            }
5294        }
5295    }
5296}
5297impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_trial_component::DisassociateTrialComponentError, R>>
5298    for Error
5299where
5300    R: Send + Sync + std::fmt::Debug + 'static,
5301{
5302    fn from(
5303        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_trial_component::DisassociateTrialComponentError, R>,
5304    ) -> Self {
5305        match err {
5306            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5307            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5308                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5309                source: err.into(),
5310            }),
5311        }
5312    }
5313}
5314impl From<crate::operation::disassociate_trial_component::DisassociateTrialComponentError> for Error {
5315    fn from(err: crate::operation::disassociate_trial_component::DisassociateTrialComponentError) -> Self {
5316        match err {
5317            crate::operation::disassociate_trial_component::DisassociateTrialComponentError::ResourceNotFound(inner) => {
5318                Error::ResourceNotFound(inner)
5319            }
5320            crate::operation::disassociate_trial_component::DisassociateTrialComponentError::Unhandled(inner) => Error::Unhandled(inner),
5321        }
5322    }
5323}
5324impl<R>
5325    From<
5326        ::aws_smithy_runtime_api::client::result::SdkError<
5327            crate::operation::enable_sagemaker_servicecatalog_portfolio::EnableSagemakerServicecatalogPortfolioError,
5328            R,
5329        >,
5330    > for Error
5331where
5332    R: Send + Sync + std::fmt::Debug + 'static,
5333{
5334    fn from(
5335        err: ::aws_smithy_runtime_api::client::result::SdkError<
5336            crate::operation::enable_sagemaker_servicecatalog_portfolio::EnableSagemakerServicecatalogPortfolioError,
5337            R,
5338        >,
5339    ) -> Self {
5340        match err {
5341            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5342            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5343                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5344                source: err.into(),
5345            }),
5346        }
5347    }
5348}
5349impl From<crate::operation::enable_sagemaker_servicecatalog_portfolio::EnableSagemakerServicecatalogPortfolioError> for Error {
5350    fn from(err: crate::operation::enable_sagemaker_servicecatalog_portfolio::EnableSagemakerServicecatalogPortfolioError) -> Self {
5351        match err {
5352            crate::operation::enable_sagemaker_servicecatalog_portfolio::EnableSagemakerServicecatalogPortfolioError::Unhandled(inner) => {
5353                Error::Unhandled(inner)
5354            }
5355        }
5356    }
5357}
5358impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_device_fleet_report::GetDeviceFleetReportError, R>> for Error
5359where
5360    R: Send + Sync + std::fmt::Debug + 'static,
5361{
5362    fn from(
5363        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_device_fleet_report::GetDeviceFleetReportError, R>,
5364    ) -> Self {
5365        match err {
5366            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5367            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5368                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5369                source: err.into(),
5370            }),
5371        }
5372    }
5373}
5374impl From<crate::operation::get_device_fleet_report::GetDeviceFleetReportError> for Error {
5375    fn from(err: crate::operation::get_device_fleet_report::GetDeviceFleetReportError) -> Self {
5376        match err {
5377            crate::operation::get_device_fleet_report::GetDeviceFleetReportError::Unhandled(inner) => Error::Unhandled(inner),
5378        }
5379    }
5380}
5381impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_lineage_group_policy::GetLineageGroupPolicyError, R>> for Error
5382where
5383    R: Send + Sync + std::fmt::Debug + 'static,
5384{
5385    fn from(
5386        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_lineage_group_policy::GetLineageGroupPolicyError, R>,
5387    ) -> Self {
5388        match err {
5389            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5390            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5391                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5392                source: err.into(),
5393            }),
5394        }
5395    }
5396}
5397impl From<crate::operation::get_lineage_group_policy::GetLineageGroupPolicyError> for Error {
5398    fn from(err: crate::operation::get_lineage_group_policy::GetLineageGroupPolicyError) -> Self {
5399        match err {
5400            crate::operation::get_lineage_group_policy::GetLineageGroupPolicyError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
5401            crate::operation::get_lineage_group_policy::GetLineageGroupPolicyError::Unhandled(inner) => Error::Unhandled(inner),
5402        }
5403    }
5404}
5405impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_model_package_group_policy::GetModelPackageGroupPolicyError, R>>
5406    for Error
5407where
5408    R: Send + Sync + std::fmt::Debug + 'static,
5409{
5410    fn from(
5411        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_model_package_group_policy::GetModelPackageGroupPolicyError, R>,
5412    ) -> Self {
5413        match err {
5414            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5415            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5416                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5417                source: err.into(),
5418            }),
5419        }
5420    }
5421}
5422impl From<crate::operation::get_model_package_group_policy::GetModelPackageGroupPolicyError> for Error {
5423    fn from(err: crate::operation::get_model_package_group_policy::GetModelPackageGroupPolicyError) -> Self {
5424        match err {
5425            crate::operation::get_model_package_group_policy::GetModelPackageGroupPolicyError::Unhandled(inner) => Error::Unhandled(inner),
5426        }
5427    }
5428}
5429impl<R>
5430    From<
5431        ::aws_smithy_runtime_api::client::result::SdkError<
5432            crate::operation::get_sagemaker_servicecatalog_portfolio_status::GetSagemakerServicecatalogPortfolioStatusError,
5433            R,
5434        >,
5435    > for Error
5436where
5437    R: Send + Sync + std::fmt::Debug + 'static,
5438{
5439    fn from(
5440        err: ::aws_smithy_runtime_api::client::result::SdkError<
5441            crate::operation::get_sagemaker_servicecatalog_portfolio_status::GetSagemakerServicecatalogPortfolioStatusError,
5442            R,
5443        >,
5444    ) -> Self {
5445        match err {
5446            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5447            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5448                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5449                source: err.into(),
5450            }),
5451        }
5452    }
5453}
5454impl From<crate::operation::get_sagemaker_servicecatalog_portfolio_status::GetSagemakerServicecatalogPortfolioStatusError> for Error {
5455    fn from(err: crate::operation::get_sagemaker_servicecatalog_portfolio_status::GetSagemakerServicecatalogPortfolioStatusError) -> Self {
5456        match err {
5457            crate::operation::get_sagemaker_servicecatalog_portfolio_status::GetSagemakerServicecatalogPortfolioStatusError::Unhandled(inner) => {
5458                Error::Unhandled(inner)
5459            }
5460        }
5461    }
5462}
5463impl<R>
5464    From<
5465        ::aws_smithy_runtime_api::client::result::SdkError<
5466            crate::operation::get_scaling_configuration_recommendation::GetScalingConfigurationRecommendationError,
5467            R,
5468        >,
5469    > for Error
5470where
5471    R: Send + Sync + std::fmt::Debug + 'static,
5472{
5473    fn from(
5474        err: ::aws_smithy_runtime_api::client::result::SdkError<
5475            crate::operation::get_scaling_configuration_recommendation::GetScalingConfigurationRecommendationError,
5476            R,
5477        >,
5478    ) -> Self {
5479        match err {
5480            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5481            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5482                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5483                source: err.into(),
5484            }),
5485        }
5486    }
5487}
5488impl From<crate::operation::get_scaling_configuration_recommendation::GetScalingConfigurationRecommendationError> for Error {
5489    fn from(err: crate::operation::get_scaling_configuration_recommendation::GetScalingConfigurationRecommendationError) -> Self {
5490        match err {
5491            crate::operation::get_scaling_configuration_recommendation::GetScalingConfigurationRecommendationError::ResourceNotFound(inner) => {
5492                Error::ResourceNotFound(inner)
5493            }
5494            crate::operation::get_scaling_configuration_recommendation::GetScalingConfigurationRecommendationError::Unhandled(inner) => {
5495                Error::Unhandled(inner)
5496            }
5497        }
5498    }
5499}
5500impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_search_suggestions::GetSearchSuggestionsError, R>> for Error
5501where
5502    R: Send + Sync + std::fmt::Debug + 'static,
5503{
5504    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_search_suggestions::GetSearchSuggestionsError, R>) -> Self {
5505        match err {
5506            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5507            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5508                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5509                source: err.into(),
5510            }),
5511        }
5512    }
5513}
5514impl From<crate::operation::get_search_suggestions::GetSearchSuggestionsError> for Error {
5515    fn from(err: crate::operation::get_search_suggestions::GetSearchSuggestionsError) -> Self {
5516        match err {
5517            crate::operation::get_search_suggestions::GetSearchSuggestionsError::Unhandled(inner) => Error::Unhandled(inner),
5518        }
5519    }
5520}
5521impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_hub_content::ImportHubContentError, R>> for Error
5522where
5523    R: Send + Sync + std::fmt::Debug + 'static,
5524{
5525    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_hub_content::ImportHubContentError, R>) -> Self {
5526        match err {
5527            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5528            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5529                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5530                source: err.into(),
5531            }),
5532        }
5533    }
5534}
5535impl From<crate::operation::import_hub_content::ImportHubContentError> for Error {
5536    fn from(err: crate::operation::import_hub_content::ImportHubContentError) -> Self {
5537        match err {
5538            crate::operation::import_hub_content::ImportHubContentError::ResourceInUse(inner) => Error::ResourceInUse(inner),
5539            crate::operation::import_hub_content::ImportHubContentError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
5540            crate::operation::import_hub_content::ImportHubContentError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
5541            crate::operation::import_hub_content::ImportHubContentError::Unhandled(inner) => Error::Unhandled(inner),
5542        }
5543    }
5544}
5545impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_actions::ListActionsError, R>> for Error
5546where
5547    R: Send + Sync + std::fmt::Debug + 'static,
5548{
5549    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_actions::ListActionsError, R>) -> Self {
5550        match err {
5551            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5552            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5553                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5554                source: err.into(),
5555            }),
5556        }
5557    }
5558}
5559impl From<crate::operation::list_actions::ListActionsError> for Error {
5560    fn from(err: crate::operation::list_actions::ListActionsError) -> Self {
5561        match err {
5562            crate::operation::list_actions::ListActionsError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
5563            crate::operation::list_actions::ListActionsError::Unhandled(inner) => Error::Unhandled(inner),
5564        }
5565    }
5566}
5567impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_algorithms::ListAlgorithmsError, R>> for Error
5568where
5569    R: Send + Sync + std::fmt::Debug + 'static,
5570{
5571    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_algorithms::ListAlgorithmsError, R>) -> Self {
5572        match err {
5573            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5574            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5575                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5576                source: err.into(),
5577            }),
5578        }
5579    }
5580}
5581impl From<crate::operation::list_algorithms::ListAlgorithmsError> for Error {
5582    fn from(err: crate::operation::list_algorithms::ListAlgorithmsError) -> Self {
5583        match err {
5584            crate::operation::list_algorithms::ListAlgorithmsError::Unhandled(inner) => Error::Unhandled(inner),
5585        }
5586    }
5587}
5588impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_aliases::ListAliasesError, R>> for Error
5589where
5590    R: Send + Sync + std::fmt::Debug + 'static,
5591{
5592    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_aliases::ListAliasesError, R>) -> Self {
5593        match err {
5594            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5595            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5596                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5597                source: err.into(),
5598            }),
5599        }
5600    }
5601}
5602impl From<crate::operation::list_aliases::ListAliasesError> for Error {
5603    fn from(err: crate::operation::list_aliases::ListAliasesError) -> Self {
5604        match err {
5605            crate::operation::list_aliases::ListAliasesError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
5606            crate::operation::list_aliases::ListAliasesError::Unhandled(inner) => Error::Unhandled(inner),
5607        }
5608    }
5609}
5610impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_app_image_configs::ListAppImageConfigsError, R>> for Error
5611where
5612    R: Send + Sync + std::fmt::Debug + 'static,
5613{
5614    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_app_image_configs::ListAppImageConfigsError, R>) -> Self {
5615        match err {
5616            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5617            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5618                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5619                source: err.into(),
5620            }),
5621        }
5622    }
5623}
5624impl From<crate::operation::list_app_image_configs::ListAppImageConfigsError> for Error {
5625    fn from(err: crate::operation::list_app_image_configs::ListAppImageConfigsError) -> Self {
5626        match err {
5627            crate::operation::list_app_image_configs::ListAppImageConfigsError::Unhandled(inner) => Error::Unhandled(inner),
5628        }
5629    }
5630}
5631impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_apps::ListAppsError, R>> for Error
5632where
5633    R: Send + Sync + std::fmt::Debug + 'static,
5634{
5635    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_apps::ListAppsError, R>) -> Self {
5636        match err {
5637            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5638            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5639                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5640                source: err.into(),
5641            }),
5642        }
5643    }
5644}
5645impl From<crate::operation::list_apps::ListAppsError> for Error {
5646    fn from(err: crate::operation::list_apps::ListAppsError) -> Self {
5647        match err {
5648            crate::operation::list_apps::ListAppsError::Unhandled(inner) => Error::Unhandled(inner),
5649        }
5650    }
5651}
5652impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_artifacts::ListArtifactsError, R>> for Error
5653where
5654    R: Send + Sync + std::fmt::Debug + 'static,
5655{
5656    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_artifacts::ListArtifactsError, R>) -> Self {
5657        match err {
5658            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5659            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5660                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5661                source: err.into(),
5662            }),
5663        }
5664    }
5665}
5666impl From<crate::operation::list_artifacts::ListArtifactsError> for Error {
5667    fn from(err: crate::operation::list_artifacts::ListArtifactsError) -> Self {
5668        match err {
5669            crate::operation::list_artifacts::ListArtifactsError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
5670            crate::operation::list_artifacts::ListArtifactsError::Unhandled(inner) => Error::Unhandled(inner),
5671        }
5672    }
5673}
5674impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_associations::ListAssociationsError, R>> for Error
5675where
5676    R: Send + Sync + std::fmt::Debug + 'static,
5677{
5678    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_associations::ListAssociationsError, R>) -> Self {
5679        match err {
5680            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5681            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5682                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5683                source: err.into(),
5684            }),
5685        }
5686    }
5687}
5688impl From<crate::operation::list_associations::ListAssociationsError> for Error {
5689    fn from(err: crate::operation::list_associations::ListAssociationsError) -> Self {
5690        match err {
5691            crate::operation::list_associations::ListAssociationsError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
5692            crate::operation::list_associations::ListAssociationsError::Unhandled(inner) => Error::Unhandled(inner),
5693        }
5694    }
5695}
5696impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_auto_ml_jobs::ListAutoMLJobsError, R>> for Error
5697where
5698    R: Send + Sync + std::fmt::Debug + 'static,
5699{
5700    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_auto_ml_jobs::ListAutoMLJobsError, R>) -> Self {
5701        match err {
5702            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5703            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5704                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5705                source: err.into(),
5706            }),
5707        }
5708    }
5709}
5710impl From<crate::operation::list_auto_ml_jobs::ListAutoMLJobsError> for Error {
5711    fn from(err: crate::operation::list_auto_ml_jobs::ListAutoMLJobsError) -> Self {
5712        match err {
5713            crate::operation::list_auto_ml_jobs::ListAutoMLJobsError::Unhandled(inner) => Error::Unhandled(inner),
5714        }
5715    }
5716}
5717impl<R>
5718    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_candidates_for_auto_ml_job::ListCandidatesForAutoMLJobError, R>>
5719    for Error
5720where
5721    R: Send + Sync + std::fmt::Debug + 'static,
5722{
5723    fn from(
5724        err: ::aws_smithy_runtime_api::client::result::SdkError<
5725            crate::operation::list_candidates_for_auto_ml_job::ListCandidatesForAutoMLJobError,
5726            R,
5727        >,
5728    ) -> Self {
5729        match err {
5730            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5731            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5732                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5733                source: err.into(),
5734            }),
5735        }
5736    }
5737}
5738impl From<crate::operation::list_candidates_for_auto_ml_job::ListCandidatesForAutoMLJobError> for Error {
5739    fn from(err: crate::operation::list_candidates_for_auto_ml_job::ListCandidatesForAutoMLJobError) -> Self {
5740        match err {
5741            crate::operation::list_candidates_for_auto_ml_job::ListCandidatesForAutoMLJobError::ResourceNotFound(inner) => {
5742                Error::ResourceNotFound(inner)
5743            }
5744            crate::operation::list_candidates_for_auto_ml_job::ListCandidatesForAutoMLJobError::Unhandled(inner) => Error::Unhandled(inner),
5745        }
5746    }
5747}
5748impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_cluster_events::ListClusterEventsError, R>> for Error
5749where
5750    R: Send + Sync + std::fmt::Debug + 'static,
5751{
5752    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_cluster_events::ListClusterEventsError, R>) -> Self {
5753        match err {
5754            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5755            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5756                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5757                source: err.into(),
5758            }),
5759        }
5760    }
5761}
5762impl From<crate::operation::list_cluster_events::ListClusterEventsError> for Error {
5763    fn from(err: crate::operation::list_cluster_events::ListClusterEventsError) -> Self {
5764        match err {
5765            crate::operation::list_cluster_events::ListClusterEventsError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
5766            crate::operation::list_cluster_events::ListClusterEventsError::Unhandled(inner) => Error::Unhandled(inner),
5767        }
5768    }
5769}
5770impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_cluster_nodes::ListClusterNodesError, R>> for Error
5771where
5772    R: Send + Sync + std::fmt::Debug + 'static,
5773{
5774    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_cluster_nodes::ListClusterNodesError, R>) -> Self {
5775        match err {
5776            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5777            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5778                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5779                source: err.into(),
5780            }),
5781        }
5782    }
5783}
5784impl From<crate::operation::list_cluster_nodes::ListClusterNodesError> for Error {
5785    fn from(err: crate::operation::list_cluster_nodes::ListClusterNodesError) -> Self {
5786        match err {
5787            crate::operation::list_cluster_nodes::ListClusterNodesError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
5788            crate::operation::list_cluster_nodes::ListClusterNodesError::Unhandled(inner) => Error::Unhandled(inner),
5789        }
5790    }
5791}
5792impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_clusters::ListClustersError, R>> for Error
5793where
5794    R: Send + Sync + std::fmt::Debug + 'static,
5795{
5796    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_clusters::ListClustersError, R>) -> Self {
5797        match err {
5798            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5799            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5800                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5801                source: err.into(),
5802            }),
5803        }
5804    }
5805}
5806impl From<crate::operation::list_clusters::ListClustersError> for Error {
5807    fn from(err: crate::operation::list_clusters::ListClustersError) -> Self {
5808        match err {
5809            crate::operation::list_clusters::ListClustersError::Unhandled(inner) => Error::Unhandled(inner),
5810        }
5811    }
5812}
5813impl<R>
5814    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_cluster_scheduler_configs::ListClusterSchedulerConfigsError, R>>
5815    for Error
5816where
5817    R: Send + Sync + std::fmt::Debug + 'static,
5818{
5819    fn from(
5820        err: ::aws_smithy_runtime_api::client::result::SdkError<
5821            crate::operation::list_cluster_scheduler_configs::ListClusterSchedulerConfigsError,
5822            R,
5823        >,
5824    ) -> Self {
5825        match err {
5826            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5827            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5828                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5829                source: err.into(),
5830            }),
5831        }
5832    }
5833}
5834impl From<crate::operation::list_cluster_scheduler_configs::ListClusterSchedulerConfigsError> for Error {
5835    fn from(err: crate::operation::list_cluster_scheduler_configs::ListClusterSchedulerConfigsError) -> Self {
5836        match err {
5837            crate::operation::list_cluster_scheduler_configs::ListClusterSchedulerConfigsError::Unhandled(inner) => Error::Unhandled(inner),
5838        }
5839    }
5840}
5841impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_code_repositories::ListCodeRepositoriesError, R>> for Error
5842where
5843    R: Send + Sync + std::fmt::Debug + 'static,
5844{
5845    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_code_repositories::ListCodeRepositoriesError, R>) -> Self {
5846        match err {
5847            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5848            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5849                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5850                source: err.into(),
5851            }),
5852        }
5853    }
5854}
5855impl From<crate::operation::list_code_repositories::ListCodeRepositoriesError> for Error {
5856    fn from(err: crate::operation::list_code_repositories::ListCodeRepositoriesError) -> Self {
5857        match err {
5858            crate::operation::list_code_repositories::ListCodeRepositoriesError::Unhandled(inner) => Error::Unhandled(inner),
5859        }
5860    }
5861}
5862impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_compilation_jobs::ListCompilationJobsError, R>> for Error
5863where
5864    R: Send + Sync + std::fmt::Debug + 'static,
5865{
5866    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_compilation_jobs::ListCompilationJobsError, R>) -> Self {
5867        match err {
5868            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5869            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5870                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5871                source: err.into(),
5872            }),
5873        }
5874    }
5875}
5876impl From<crate::operation::list_compilation_jobs::ListCompilationJobsError> for Error {
5877    fn from(err: crate::operation::list_compilation_jobs::ListCompilationJobsError) -> Self {
5878        match err {
5879            crate::operation::list_compilation_jobs::ListCompilationJobsError::Unhandled(inner) => Error::Unhandled(inner),
5880        }
5881    }
5882}
5883impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_compute_quotas::ListComputeQuotasError, R>> for Error
5884where
5885    R: Send + Sync + std::fmt::Debug + 'static,
5886{
5887    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_compute_quotas::ListComputeQuotasError, R>) -> Self {
5888        match err {
5889            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5890            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5891                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5892                source: err.into(),
5893            }),
5894        }
5895    }
5896}
5897impl From<crate::operation::list_compute_quotas::ListComputeQuotasError> for Error {
5898    fn from(err: crate::operation::list_compute_quotas::ListComputeQuotasError) -> Self {
5899        match err {
5900            crate::operation::list_compute_quotas::ListComputeQuotasError::Unhandled(inner) => Error::Unhandled(inner),
5901        }
5902    }
5903}
5904impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_contexts::ListContextsError, R>> for Error
5905where
5906    R: Send + Sync + std::fmt::Debug + 'static,
5907{
5908    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_contexts::ListContextsError, R>) -> Self {
5909        match err {
5910            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5911            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5912                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5913                source: err.into(),
5914            }),
5915        }
5916    }
5917}
5918impl From<crate::operation::list_contexts::ListContextsError> for Error {
5919    fn from(err: crate::operation::list_contexts::ListContextsError) -> Self {
5920        match err {
5921            crate::operation::list_contexts::ListContextsError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
5922            crate::operation::list_contexts::ListContextsError::Unhandled(inner) => Error::Unhandled(inner),
5923        }
5924    }
5925}
5926impl<R>
5927    From<
5928        ::aws_smithy_runtime_api::client::result::SdkError<
5929            crate::operation::list_data_quality_job_definitions::ListDataQualityJobDefinitionsError,
5930            R,
5931        >,
5932    > for Error
5933where
5934    R: Send + Sync + std::fmt::Debug + 'static,
5935{
5936    fn from(
5937        err: ::aws_smithy_runtime_api::client::result::SdkError<
5938            crate::operation::list_data_quality_job_definitions::ListDataQualityJobDefinitionsError,
5939            R,
5940        >,
5941    ) -> Self {
5942        match err {
5943            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5944            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5945                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5946                source: err.into(),
5947            }),
5948        }
5949    }
5950}
5951impl From<crate::operation::list_data_quality_job_definitions::ListDataQualityJobDefinitionsError> for Error {
5952    fn from(err: crate::operation::list_data_quality_job_definitions::ListDataQualityJobDefinitionsError) -> Self {
5953        match err {
5954            crate::operation::list_data_quality_job_definitions::ListDataQualityJobDefinitionsError::Unhandled(inner) => Error::Unhandled(inner),
5955        }
5956    }
5957}
5958impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_device_fleets::ListDeviceFleetsError, R>> for Error
5959where
5960    R: Send + Sync + std::fmt::Debug + 'static,
5961{
5962    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_device_fleets::ListDeviceFleetsError, R>) -> Self {
5963        match err {
5964            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5965            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5966                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5967                source: err.into(),
5968            }),
5969        }
5970    }
5971}
5972impl From<crate::operation::list_device_fleets::ListDeviceFleetsError> for Error {
5973    fn from(err: crate::operation::list_device_fleets::ListDeviceFleetsError) -> Self {
5974        match err {
5975            crate::operation::list_device_fleets::ListDeviceFleetsError::Unhandled(inner) => Error::Unhandled(inner),
5976        }
5977    }
5978}
5979impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_devices::ListDevicesError, R>> for Error
5980where
5981    R: Send + Sync + std::fmt::Debug + 'static,
5982{
5983    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_devices::ListDevicesError, R>) -> Self {
5984        match err {
5985            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5986            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5987                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5988                source: err.into(),
5989            }),
5990        }
5991    }
5992}
5993impl From<crate::operation::list_devices::ListDevicesError> for Error {
5994    fn from(err: crate::operation::list_devices::ListDevicesError) -> Self {
5995        match err {
5996            crate::operation::list_devices::ListDevicesError::Unhandled(inner) => Error::Unhandled(inner),
5997        }
5998    }
5999}
6000impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_domains::ListDomainsError, R>> for Error
6001where
6002    R: Send + Sync + std::fmt::Debug + 'static,
6003{
6004    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_domains::ListDomainsError, R>) -> Self {
6005        match err {
6006            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6007            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6008                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6009                source: err.into(),
6010            }),
6011        }
6012    }
6013}
6014impl From<crate::operation::list_domains::ListDomainsError> for Error {
6015    fn from(err: crate::operation::list_domains::ListDomainsError) -> Self {
6016        match err {
6017            crate::operation::list_domains::ListDomainsError::Unhandled(inner) => Error::Unhandled(inner),
6018        }
6019    }
6020}
6021impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_edge_deployment_plans::ListEdgeDeploymentPlansError, R>>
6022    for Error
6023where
6024    R: Send + Sync + std::fmt::Debug + 'static,
6025{
6026    fn from(
6027        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_edge_deployment_plans::ListEdgeDeploymentPlansError, R>,
6028    ) -> Self {
6029        match err {
6030            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6031            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6032                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6033                source: err.into(),
6034            }),
6035        }
6036    }
6037}
6038impl From<crate::operation::list_edge_deployment_plans::ListEdgeDeploymentPlansError> for Error {
6039    fn from(err: crate::operation::list_edge_deployment_plans::ListEdgeDeploymentPlansError) -> Self {
6040        match err {
6041            crate::operation::list_edge_deployment_plans::ListEdgeDeploymentPlansError::Unhandled(inner) => Error::Unhandled(inner),
6042        }
6043    }
6044}
6045impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_edge_packaging_jobs::ListEdgePackagingJobsError, R>> for Error
6046where
6047    R: Send + Sync + std::fmt::Debug + 'static,
6048{
6049    fn from(
6050        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_edge_packaging_jobs::ListEdgePackagingJobsError, R>,
6051    ) -> Self {
6052        match err {
6053            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6054            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6055                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6056                source: err.into(),
6057            }),
6058        }
6059    }
6060}
6061impl From<crate::operation::list_edge_packaging_jobs::ListEdgePackagingJobsError> for Error {
6062    fn from(err: crate::operation::list_edge_packaging_jobs::ListEdgePackagingJobsError) -> Self {
6063        match err {
6064            crate::operation::list_edge_packaging_jobs::ListEdgePackagingJobsError::Unhandled(inner) => Error::Unhandled(inner),
6065        }
6066    }
6067}
6068impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_endpoint_configs::ListEndpointConfigsError, R>> for Error
6069where
6070    R: Send + Sync + std::fmt::Debug + 'static,
6071{
6072    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_endpoint_configs::ListEndpointConfigsError, R>) -> Self {
6073        match err {
6074            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6075            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6076                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6077                source: err.into(),
6078            }),
6079        }
6080    }
6081}
6082impl From<crate::operation::list_endpoint_configs::ListEndpointConfigsError> for Error {
6083    fn from(err: crate::operation::list_endpoint_configs::ListEndpointConfigsError) -> Self {
6084        match err {
6085            crate::operation::list_endpoint_configs::ListEndpointConfigsError::Unhandled(inner) => Error::Unhandled(inner),
6086        }
6087    }
6088}
6089impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_endpoints::ListEndpointsError, R>> for Error
6090where
6091    R: Send + Sync + std::fmt::Debug + 'static,
6092{
6093    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_endpoints::ListEndpointsError, R>) -> Self {
6094        match err {
6095            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6096            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6097                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6098                source: err.into(),
6099            }),
6100        }
6101    }
6102}
6103impl From<crate::operation::list_endpoints::ListEndpointsError> for Error {
6104    fn from(err: crate::operation::list_endpoints::ListEndpointsError) -> Self {
6105        match err {
6106            crate::operation::list_endpoints::ListEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
6107        }
6108    }
6109}
6110impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_experiments::ListExperimentsError, R>> for Error
6111where
6112    R: Send + Sync + std::fmt::Debug + 'static,
6113{
6114    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_experiments::ListExperimentsError, R>) -> Self {
6115        match err {
6116            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6117            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6118                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6119                source: err.into(),
6120            }),
6121        }
6122    }
6123}
6124impl From<crate::operation::list_experiments::ListExperimentsError> for Error {
6125    fn from(err: crate::operation::list_experiments::ListExperimentsError) -> Self {
6126        match err {
6127            crate::operation::list_experiments::ListExperimentsError::Unhandled(inner) => Error::Unhandled(inner),
6128        }
6129    }
6130}
6131impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_feature_groups::ListFeatureGroupsError, R>> for Error
6132where
6133    R: Send + Sync + std::fmt::Debug + 'static,
6134{
6135    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_feature_groups::ListFeatureGroupsError, R>) -> Self {
6136        match err {
6137            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6138            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6139                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6140                source: err.into(),
6141            }),
6142        }
6143    }
6144}
6145impl From<crate::operation::list_feature_groups::ListFeatureGroupsError> for Error {
6146    fn from(err: crate::operation::list_feature_groups::ListFeatureGroupsError) -> Self {
6147        match err {
6148            crate::operation::list_feature_groups::ListFeatureGroupsError::Unhandled(inner) => Error::Unhandled(inner),
6149        }
6150    }
6151}
6152impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_flow_definitions::ListFlowDefinitionsError, R>> for Error
6153where
6154    R: Send + Sync + std::fmt::Debug + 'static,
6155{
6156    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_flow_definitions::ListFlowDefinitionsError, R>) -> Self {
6157        match err {
6158            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6159            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6160                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6161                source: err.into(),
6162            }),
6163        }
6164    }
6165}
6166impl From<crate::operation::list_flow_definitions::ListFlowDefinitionsError> for Error {
6167    fn from(err: crate::operation::list_flow_definitions::ListFlowDefinitionsError) -> Self {
6168        match err {
6169            crate::operation::list_flow_definitions::ListFlowDefinitionsError::Unhandled(inner) => Error::Unhandled(inner),
6170        }
6171    }
6172}
6173impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_hub_contents::ListHubContentsError, R>> for Error
6174where
6175    R: Send + Sync + std::fmt::Debug + 'static,
6176{
6177    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_hub_contents::ListHubContentsError, R>) -> Self {
6178        match err {
6179            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6180            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6181                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6182                source: err.into(),
6183            }),
6184        }
6185    }
6186}
6187impl From<crate::operation::list_hub_contents::ListHubContentsError> for Error {
6188    fn from(err: crate::operation::list_hub_contents::ListHubContentsError) -> Self {
6189        match err {
6190            crate::operation::list_hub_contents::ListHubContentsError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
6191            crate::operation::list_hub_contents::ListHubContentsError::Unhandled(inner) => Error::Unhandled(inner),
6192        }
6193    }
6194}
6195impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_hub_content_versions::ListHubContentVersionsError, R>>
6196    for Error
6197where
6198    R: Send + Sync + std::fmt::Debug + 'static,
6199{
6200    fn from(
6201        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_hub_content_versions::ListHubContentVersionsError, R>,
6202    ) -> Self {
6203        match err {
6204            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6205            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6206                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6207                source: err.into(),
6208            }),
6209        }
6210    }
6211}
6212impl From<crate::operation::list_hub_content_versions::ListHubContentVersionsError> for Error {
6213    fn from(err: crate::operation::list_hub_content_versions::ListHubContentVersionsError) -> Self {
6214        match err {
6215            crate::operation::list_hub_content_versions::ListHubContentVersionsError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
6216            crate::operation::list_hub_content_versions::ListHubContentVersionsError::Unhandled(inner) => Error::Unhandled(inner),
6217        }
6218    }
6219}
6220impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_hubs::ListHubsError, R>> for Error
6221where
6222    R: Send + Sync + std::fmt::Debug + 'static,
6223{
6224    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_hubs::ListHubsError, R>) -> Self {
6225        match err {
6226            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6227            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6228                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6229                source: err.into(),
6230            }),
6231        }
6232    }
6233}
6234impl From<crate::operation::list_hubs::ListHubsError> for Error {
6235    fn from(err: crate::operation::list_hubs::ListHubsError) -> Self {
6236        match err {
6237            crate::operation::list_hubs::ListHubsError::Unhandled(inner) => Error::Unhandled(inner),
6238        }
6239    }
6240}
6241impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_human_task_uis::ListHumanTaskUisError, R>> for Error
6242where
6243    R: Send + Sync + std::fmt::Debug + 'static,
6244{
6245    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_human_task_uis::ListHumanTaskUisError, R>) -> Self {
6246        match err {
6247            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6248            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6249                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6250                source: err.into(),
6251            }),
6252        }
6253    }
6254}
6255impl From<crate::operation::list_human_task_uis::ListHumanTaskUisError> for Error {
6256    fn from(err: crate::operation::list_human_task_uis::ListHumanTaskUisError) -> Self {
6257        match err {
6258            crate::operation::list_human_task_uis::ListHumanTaskUisError::Unhandled(inner) => Error::Unhandled(inner),
6259        }
6260    }
6261}
6262impl<R>
6263    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_hyper_parameter_tuning_jobs::ListHyperParameterTuningJobsError, R>>
6264    for Error
6265where
6266    R: Send + Sync + std::fmt::Debug + 'static,
6267{
6268    fn from(
6269        err: ::aws_smithy_runtime_api::client::result::SdkError<
6270            crate::operation::list_hyper_parameter_tuning_jobs::ListHyperParameterTuningJobsError,
6271            R,
6272        >,
6273    ) -> Self {
6274        match err {
6275            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6276            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6277                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6278                source: err.into(),
6279            }),
6280        }
6281    }
6282}
6283impl From<crate::operation::list_hyper_parameter_tuning_jobs::ListHyperParameterTuningJobsError> for Error {
6284    fn from(err: crate::operation::list_hyper_parameter_tuning_jobs::ListHyperParameterTuningJobsError) -> Self {
6285        match err {
6286            crate::operation::list_hyper_parameter_tuning_jobs::ListHyperParameterTuningJobsError::Unhandled(inner) => Error::Unhandled(inner),
6287        }
6288    }
6289}
6290impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_images::ListImagesError, R>> for Error
6291where
6292    R: Send + Sync + std::fmt::Debug + 'static,
6293{
6294    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_images::ListImagesError, R>) -> Self {
6295        match err {
6296            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6297            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6298                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6299                source: err.into(),
6300            }),
6301        }
6302    }
6303}
6304impl From<crate::operation::list_images::ListImagesError> for Error {
6305    fn from(err: crate::operation::list_images::ListImagesError) -> Self {
6306        match err {
6307            crate::operation::list_images::ListImagesError::Unhandled(inner) => Error::Unhandled(inner),
6308        }
6309    }
6310}
6311impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_image_versions::ListImageVersionsError, R>> for Error
6312where
6313    R: Send + Sync + std::fmt::Debug + 'static,
6314{
6315    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_image_versions::ListImageVersionsError, R>) -> Self {
6316        match err {
6317            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6318            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6319                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6320                source: err.into(),
6321            }),
6322        }
6323    }
6324}
6325impl From<crate::operation::list_image_versions::ListImageVersionsError> for Error {
6326    fn from(err: crate::operation::list_image_versions::ListImageVersionsError) -> Self {
6327        match err {
6328            crate::operation::list_image_versions::ListImageVersionsError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
6329            crate::operation::list_image_versions::ListImageVersionsError::Unhandled(inner) => Error::Unhandled(inner),
6330        }
6331    }
6332}
6333impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_inference_components::ListInferenceComponentsError, R>>
6334    for Error
6335where
6336    R: Send + Sync + std::fmt::Debug + 'static,
6337{
6338    fn from(
6339        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_inference_components::ListInferenceComponentsError, R>,
6340    ) -> Self {
6341        match err {
6342            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6343            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6344                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6345                source: err.into(),
6346            }),
6347        }
6348    }
6349}
6350impl From<crate::operation::list_inference_components::ListInferenceComponentsError> for Error {
6351    fn from(err: crate::operation::list_inference_components::ListInferenceComponentsError) -> Self {
6352        match err {
6353            crate::operation::list_inference_components::ListInferenceComponentsError::Unhandled(inner) => Error::Unhandled(inner),
6354        }
6355    }
6356}
6357impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_inference_experiments::ListInferenceExperimentsError, R>>
6358    for Error
6359where
6360    R: Send + Sync + std::fmt::Debug + 'static,
6361{
6362    fn from(
6363        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_inference_experiments::ListInferenceExperimentsError, R>,
6364    ) -> Self {
6365        match err {
6366            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6367            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6368                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6369                source: err.into(),
6370            }),
6371        }
6372    }
6373}
6374impl From<crate::operation::list_inference_experiments::ListInferenceExperimentsError> for Error {
6375    fn from(err: crate::operation::list_inference_experiments::ListInferenceExperimentsError) -> Self {
6376        match err {
6377            crate::operation::list_inference_experiments::ListInferenceExperimentsError::Unhandled(inner) => Error::Unhandled(inner),
6378        }
6379    }
6380}
6381impl<R>
6382    From<
6383        ::aws_smithy_runtime_api::client::result::SdkError<
6384            crate::operation::list_inference_recommendations_jobs::ListInferenceRecommendationsJobsError,
6385            R,
6386        >,
6387    > for Error
6388where
6389    R: Send + Sync + std::fmt::Debug + 'static,
6390{
6391    fn from(
6392        err: ::aws_smithy_runtime_api::client::result::SdkError<
6393            crate::operation::list_inference_recommendations_jobs::ListInferenceRecommendationsJobsError,
6394            R,
6395        >,
6396    ) -> Self {
6397        match err {
6398            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6399            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6400                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6401                source: err.into(),
6402            }),
6403        }
6404    }
6405}
6406impl From<crate::operation::list_inference_recommendations_jobs::ListInferenceRecommendationsJobsError> for Error {
6407    fn from(err: crate::operation::list_inference_recommendations_jobs::ListInferenceRecommendationsJobsError) -> Self {
6408        match err {
6409            crate::operation::list_inference_recommendations_jobs::ListInferenceRecommendationsJobsError::Unhandled(inner) => Error::Unhandled(inner),
6410        }
6411    }
6412}
6413impl<R>
6414    From<
6415        ::aws_smithy_runtime_api::client::result::SdkError<
6416            crate::operation::list_inference_recommendations_job_steps::ListInferenceRecommendationsJobStepsError,
6417            R,
6418        >,
6419    > for Error
6420where
6421    R: Send + Sync + std::fmt::Debug + 'static,
6422{
6423    fn from(
6424        err: ::aws_smithy_runtime_api::client::result::SdkError<
6425            crate::operation::list_inference_recommendations_job_steps::ListInferenceRecommendationsJobStepsError,
6426            R,
6427        >,
6428    ) -> Self {
6429        match err {
6430            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6431            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6432                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6433                source: err.into(),
6434            }),
6435        }
6436    }
6437}
6438impl From<crate::operation::list_inference_recommendations_job_steps::ListInferenceRecommendationsJobStepsError> for Error {
6439    fn from(err: crate::operation::list_inference_recommendations_job_steps::ListInferenceRecommendationsJobStepsError) -> Self {
6440        match err {
6441            crate::operation::list_inference_recommendations_job_steps::ListInferenceRecommendationsJobStepsError::ResourceNotFound(inner) => {
6442                Error::ResourceNotFound(inner)
6443            }
6444            crate::operation::list_inference_recommendations_job_steps::ListInferenceRecommendationsJobStepsError::Unhandled(inner) => {
6445                Error::Unhandled(inner)
6446            }
6447        }
6448    }
6449}
6450impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_labeling_jobs::ListLabelingJobsError, R>> for Error
6451where
6452    R: Send + Sync + std::fmt::Debug + 'static,
6453{
6454    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_labeling_jobs::ListLabelingJobsError, R>) -> Self {
6455        match err {
6456            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6457            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6458                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6459                source: err.into(),
6460            }),
6461        }
6462    }
6463}
6464impl From<crate::operation::list_labeling_jobs::ListLabelingJobsError> for Error {
6465    fn from(err: crate::operation::list_labeling_jobs::ListLabelingJobsError) -> Self {
6466        match err {
6467            crate::operation::list_labeling_jobs::ListLabelingJobsError::Unhandled(inner) => Error::Unhandled(inner),
6468        }
6469    }
6470}
6471impl<R>
6472    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_labeling_jobs_for_workteam::ListLabelingJobsForWorkteamError, R>>
6473    for Error
6474where
6475    R: Send + Sync + std::fmt::Debug + 'static,
6476{
6477    fn from(
6478        err: ::aws_smithy_runtime_api::client::result::SdkError<
6479            crate::operation::list_labeling_jobs_for_workteam::ListLabelingJobsForWorkteamError,
6480            R,
6481        >,
6482    ) -> Self {
6483        match err {
6484            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6485            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6486                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6487                source: err.into(),
6488            }),
6489        }
6490    }
6491}
6492impl From<crate::operation::list_labeling_jobs_for_workteam::ListLabelingJobsForWorkteamError> for Error {
6493    fn from(err: crate::operation::list_labeling_jobs_for_workteam::ListLabelingJobsForWorkteamError) -> Self {
6494        match err {
6495            crate::operation::list_labeling_jobs_for_workteam::ListLabelingJobsForWorkteamError::ResourceNotFound(inner) => {
6496                Error::ResourceNotFound(inner)
6497            }
6498            crate::operation::list_labeling_jobs_for_workteam::ListLabelingJobsForWorkteamError::Unhandled(inner) => Error::Unhandled(inner),
6499        }
6500    }
6501}
6502impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_lineage_groups::ListLineageGroupsError, 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_lineage_groups::ListLineageGroupsError, 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_lineage_groups::ListLineageGroupsError> for Error {
6517    fn from(err: crate::operation::list_lineage_groups::ListLineageGroupsError) -> Self {
6518        match err {
6519            crate::operation::list_lineage_groups::ListLineageGroupsError::Unhandled(inner) => Error::Unhandled(inner),
6520        }
6521    }
6522}
6523impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_mlflow_apps::ListMlflowAppsError, R>> for Error
6524where
6525    R: Send + Sync + std::fmt::Debug + 'static,
6526{
6527    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_mlflow_apps::ListMlflowAppsError, R>) -> Self {
6528        match err {
6529            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6530            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6531                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6532                source: err.into(),
6533            }),
6534        }
6535    }
6536}
6537impl From<crate::operation::list_mlflow_apps::ListMlflowAppsError> for Error {
6538    fn from(err: crate::operation::list_mlflow_apps::ListMlflowAppsError) -> Self {
6539        match err {
6540            crate::operation::list_mlflow_apps::ListMlflowAppsError::Unhandled(inner) => Error::Unhandled(inner),
6541        }
6542    }
6543}
6544impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_mlflow_tracking_servers::ListMlflowTrackingServersError, R>>
6545    for Error
6546where
6547    R: Send + Sync + std::fmt::Debug + 'static,
6548{
6549    fn from(
6550        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_mlflow_tracking_servers::ListMlflowTrackingServersError, R>,
6551    ) -> Self {
6552        match err {
6553            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6554            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6555                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6556                source: err.into(),
6557            }),
6558        }
6559    }
6560}
6561impl From<crate::operation::list_mlflow_tracking_servers::ListMlflowTrackingServersError> for Error {
6562    fn from(err: crate::operation::list_mlflow_tracking_servers::ListMlflowTrackingServersError) -> Self {
6563        match err {
6564            crate::operation::list_mlflow_tracking_servers::ListMlflowTrackingServersError::Unhandled(inner) => Error::Unhandled(inner),
6565        }
6566    }
6567}
6568impl<R>
6569    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_model_bias_job_definitions::ListModelBiasJobDefinitionsError, R>>
6570    for Error
6571where
6572    R: Send + Sync + std::fmt::Debug + 'static,
6573{
6574    fn from(
6575        err: ::aws_smithy_runtime_api::client::result::SdkError<
6576            crate::operation::list_model_bias_job_definitions::ListModelBiasJobDefinitionsError,
6577            R,
6578        >,
6579    ) -> Self {
6580        match err {
6581            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6582            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6583                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6584                source: err.into(),
6585            }),
6586        }
6587    }
6588}
6589impl From<crate::operation::list_model_bias_job_definitions::ListModelBiasJobDefinitionsError> for Error {
6590    fn from(err: crate::operation::list_model_bias_job_definitions::ListModelBiasJobDefinitionsError) -> Self {
6591        match err {
6592            crate::operation::list_model_bias_job_definitions::ListModelBiasJobDefinitionsError::Unhandled(inner) => Error::Unhandled(inner),
6593        }
6594    }
6595}
6596impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_model_card_export_jobs::ListModelCardExportJobsError, R>>
6597    for Error
6598where
6599    R: Send + Sync + std::fmt::Debug + 'static,
6600{
6601    fn from(
6602        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_model_card_export_jobs::ListModelCardExportJobsError, R>,
6603    ) -> Self {
6604        match err {
6605            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6606            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6607                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6608                source: err.into(),
6609            }),
6610        }
6611    }
6612}
6613impl From<crate::operation::list_model_card_export_jobs::ListModelCardExportJobsError> for Error {
6614    fn from(err: crate::operation::list_model_card_export_jobs::ListModelCardExportJobsError) -> Self {
6615        match err {
6616            crate::operation::list_model_card_export_jobs::ListModelCardExportJobsError::Unhandled(inner) => Error::Unhandled(inner),
6617        }
6618    }
6619}
6620impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_model_cards::ListModelCardsError, R>> for Error
6621where
6622    R: Send + Sync + std::fmt::Debug + 'static,
6623{
6624    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_model_cards::ListModelCardsError, R>) -> Self {
6625        match err {
6626            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6627            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6628                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6629                source: err.into(),
6630            }),
6631        }
6632    }
6633}
6634impl From<crate::operation::list_model_cards::ListModelCardsError> for Error {
6635    fn from(err: crate::operation::list_model_cards::ListModelCardsError) -> Self {
6636        match err {
6637            crate::operation::list_model_cards::ListModelCardsError::Unhandled(inner) => Error::Unhandled(inner),
6638        }
6639    }
6640}
6641impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_model_card_versions::ListModelCardVersionsError, R>> for Error
6642where
6643    R: Send + Sync + std::fmt::Debug + 'static,
6644{
6645    fn from(
6646        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_model_card_versions::ListModelCardVersionsError, R>,
6647    ) -> Self {
6648        match err {
6649            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6650            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6651                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6652                source: err.into(),
6653            }),
6654        }
6655    }
6656}
6657impl From<crate::operation::list_model_card_versions::ListModelCardVersionsError> for Error {
6658    fn from(err: crate::operation::list_model_card_versions::ListModelCardVersionsError) -> Self {
6659        match err {
6660            crate::operation::list_model_card_versions::ListModelCardVersionsError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
6661            crate::operation::list_model_card_versions::ListModelCardVersionsError::Unhandled(inner) => Error::Unhandled(inner),
6662        }
6663    }
6664}
6665impl<R>
6666    From<
6667        ::aws_smithy_runtime_api::client::result::SdkError<
6668            crate::operation::list_model_explainability_job_definitions::ListModelExplainabilityJobDefinitionsError,
6669            R,
6670        >,
6671    > for Error
6672where
6673    R: Send + Sync + std::fmt::Debug + 'static,
6674{
6675    fn from(
6676        err: ::aws_smithy_runtime_api::client::result::SdkError<
6677            crate::operation::list_model_explainability_job_definitions::ListModelExplainabilityJobDefinitionsError,
6678            R,
6679        >,
6680    ) -> Self {
6681        match err {
6682            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6683            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6684                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6685                source: err.into(),
6686            }),
6687        }
6688    }
6689}
6690impl From<crate::operation::list_model_explainability_job_definitions::ListModelExplainabilityJobDefinitionsError> for Error {
6691    fn from(err: crate::operation::list_model_explainability_job_definitions::ListModelExplainabilityJobDefinitionsError) -> Self {
6692        match err {
6693            crate::operation::list_model_explainability_job_definitions::ListModelExplainabilityJobDefinitionsError::Unhandled(inner) => {
6694                Error::Unhandled(inner)
6695            }
6696        }
6697    }
6698}
6699impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_model_metadata::ListModelMetadataError, R>> for Error
6700where
6701    R: Send + Sync + std::fmt::Debug + 'static,
6702{
6703    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_model_metadata::ListModelMetadataError, R>) -> Self {
6704        match err {
6705            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6706            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6707                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6708                source: err.into(),
6709            }),
6710        }
6711    }
6712}
6713impl From<crate::operation::list_model_metadata::ListModelMetadataError> for Error {
6714    fn from(err: crate::operation::list_model_metadata::ListModelMetadataError) -> Self {
6715        match err {
6716            crate::operation::list_model_metadata::ListModelMetadataError::Unhandled(inner) => Error::Unhandled(inner),
6717        }
6718    }
6719}
6720impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_model_package_groups::ListModelPackageGroupsError, R>>
6721    for Error
6722where
6723    R: Send + Sync + std::fmt::Debug + 'static,
6724{
6725    fn from(
6726        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_model_package_groups::ListModelPackageGroupsError, R>,
6727    ) -> Self {
6728        match err {
6729            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6730            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6731                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6732                source: err.into(),
6733            }),
6734        }
6735    }
6736}
6737impl From<crate::operation::list_model_package_groups::ListModelPackageGroupsError> for Error {
6738    fn from(err: crate::operation::list_model_package_groups::ListModelPackageGroupsError) -> Self {
6739        match err {
6740            crate::operation::list_model_package_groups::ListModelPackageGroupsError::Unhandled(inner) => Error::Unhandled(inner),
6741        }
6742    }
6743}
6744impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_model_packages::ListModelPackagesError, R>> for Error
6745where
6746    R: Send + Sync + std::fmt::Debug + 'static,
6747{
6748    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_model_packages::ListModelPackagesError, R>) -> Self {
6749        match err {
6750            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6751            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6752                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6753                source: err.into(),
6754            }),
6755        }
6756    }
6757}
6758impl From<crate::operation::list_model_packages::ListModelPackagesError> for Error {
6759    fn from(err: crate::operation::list_model_packages::ListModelPackagesError) -> Self {
6760        match err {
6761            crate::operation::list_model_packages::ListModelPackagesError::Unhandled(inner) => Error::Unhandled(inner),
6762        }
6763    }
6764}
6765impl<R>
6766    From<
6767        ::aws_smithy_runtime_api::client::result::SdkError<
6768            crate::operation::list_model_quality_job_definitions::ListModelQualityJobDefinitionsError,
6769            R,
6770        >,
6771    > for Error
6772where
6773    R: Send + Sync + std::fmt::Debug + 'static,
6774{
6775    fn from(
6776        err: ::aws_smithy_runtime_api::client::result::SdkError<
6777            crate::operation::list_model_quality_job_definitions::ListModelQualityJobDefinitionsError,
6778            R,
6779        >,
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_model_quality_job_definitions::ListModelQualityJobDefinitionsError> for Error {
6791    fn from(err: crate::operation::list_model_quality_job_definitions::ListModelQualityJobDefinitionsError) -> Self {
6792        match err {
6793            crate::operation::list_model_quality_job_definitions::ListModelQualityJobDefinitionsError::Unhandled(inner) => Error::Unhandled(inner),
6794        }
6795    }
6796}
6797impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_models::ListModelsError, R>> for Error
6798where
6799    R: Send + Sync + std::fmt::Debug + 'static,
6800{
6801    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_models::ListModelsError, R>) -> Self {
6802        match err {
6803            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6804            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6805                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6806                source: err.into(),
6807            }),
6808        }
6809    }
6810}
6811impl From<crate::operation::list_models::ListModelsError> for Error {
6812    fn from(err: crate::operation::list_models::ListModelsError) -> Self {
6813        match err {
6814            crate::operation::list_models::ListModelsError::Unhandled(inner) => Error::Unhandled(inner),
6815        }
6816    }
6817}
6818impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_monitoring_alert_history::ListMonitoringAlertHistoryError, R>>
6819    for Error
6820where
6821    R: Send + Sync + std::fmt::Debug + 'static,
6822{
6823    fn from(
6824        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_monitoring_alert_history::ListMonitoringAlertHistoryError, R>,
6825    ) -> Self {
6826        match err {
6827            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6828            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6829                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6830                source: err.into(),
6831            }),
6832        }
6833    }
6834}
6835impl From<crate::operation::list_monitoring_alert_history::ListMonitoringAlertHistoryError> for Error {
6836    fn from(err: crate::operation::list_monitoring_alert_history::ListMonitoringAlertHistoryError) -> Self {
6837        match err {
6838            crate::operation::list_monitoring_alert_history::ListMonitoringAlertHistoryError::ResourceNotFound(inner) => {
6839                Error::ResourceNotFound(inner)
6840            }
6841            crate::operation::list_monitoring_alert_history::ListMonitoringAlertHistoryError::Unhandled(inner) => Error::Unhandled(inner),
6842        }
6843    }
6844}
6845impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_monitoring_alerts::ListMonitoringAlertsError, R>> for Error
6846where
6847    R: Send + Sync + std::fmt::Debug + 'static,
6848{
6849    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_monitoring_alerts::ListMonitoringAlertsError, R>) -> Self {
6850        match err {
6851            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6852            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6853                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6854                source: err.into(),
6855            }),
6856        }
6857    }
6858}
6859impl From<crate::operation::list_monitoring_alerts::ListMonitoringAlertsError> for Error {
6860    fn from(err: crate::operation::list_monitoring_alerts::ListMonitoringAlertsError) -> Self {
6861        match err {
6862            crate::operation::list_monitoring_alerts::ListMonitoringAlertsError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
6863            crate::operation::list_monitoring_alerts::ListMonitoringAlertsError::Unhandled(inner) => Error::Unhandled(inner),
6864        }
6865    }
6866}
6867impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_monitoring_executions::ListMonitoringExecutionsError, R>>
6868    for Error
6869where
6870    R: Send + Sync + std::fmt::Debug + 'static,
6871{
6872    fn from(
6873        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_monitoring_executions::ListMonitoringExecutionsError, R>,
6874    ) -> Self {
6875        match err {
6876            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6877            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6878                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6879                source: err.into(),
6880            }),
6881        }
6882    }
6883}
6884impl From<crate::operation::list_monitoring_executions::ListMonitoringExecutionsError> for Error {
6885    fn from(err: crate::operation::list_monitoring_executions::ListMonitoringExecutionsError) -> Self {
6886        match err {
6887            crate::operation::list_monitoring_executions::ListMonitoringExecutionsError::Unhandled(inner) => Error::Unhandled(inner),
6888        }
6889    }
6890}
6891impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_monitoring_schedules::ListMonitoringSchedulesError, R>>
6892    for Error
6893where
6894    R: Send + Sync + std::fmt::Debug + 'static,
6895{
6896    fn from(
6897        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_monitoring_schedules::ListMonitoringSchedulesError, R>,
6898    ) -> Self {
6899        match err {
6900            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6901            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6902                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6903                source: err.into(),
6904            }),
6905        }
6906    }
6907}
6908impl From<crate::operation::list_monitoring_schedules::ListMonitoringSchedulesError> for Error {
6909    fn from(err: crate::operation::list_monitoring_schedules::ListMonitoringSchedulesError) -> Self {
6910        match err {
6911            crate::operation::list_monitoring_schedules::ListMonitoringSchedulesError::Unhandled(inner) => Error::Unhandled(inner),
6912        }
6913    }
6914}
6915impl<R>
6916    From<
6917        ::aws_smithy_runtime_api::client::result::SdkError<
6918            crate::operation::list_notebook_instance_lifecycle_configs::ListNotebookInstanceLifecycleConfigsError,
6919            R,
6920        >,
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<
6927            crate::operation::list_notebook_instance_lifecycle_configs::ListNotebookInstanceLifecycleConfigsError,
6928            R,
6929        >,
6930    ) -> Self {
6931        match err {
6932            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6933            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6934                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6935                source: err.into(),
6936            }),
6937        }
6938    }
6939}
6940impl From<crate::operation::list_notebook_instance_lifecycle_configs::ListNotebookInstanceLifecycleConfigsError> for Error {
6941    fn from(err: crate::operation::list_notebook_instance_lifecycle_configs::ListNotebookInstanceLifecycleConfigsError) -> Self {
6942        match err {
6943            crate::operation::list_notebook_instance_lifecycle_configs::ListNotebookInstanceLifecycleConfigsError::Unhandled(inner) => {
6944                Error::Unhandled(inner)
6945            }
6946        }
6947    }
6948}
6949impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_notebook_instances::ListNotebookInstancesError, R>> for Error
6950where
6951    R: Send + Sync + std::fmt::Debug + 'static,
6952{
6953    fn from(
6954        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_notebook_instances::ListNotebookInstancesError, R>,
6955    ) -> Self {
6956        match err {
6957            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6958            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6959                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6960                source: err.into(),
6961            }),
6962        }
6963    }
6964}
6965impl From<crate::operation::list_notebook_instances::ListNotebookInstancesError> for Error {
6966    fn from(err: crate::operation::list_notebook_instances::ListNotebookInstancesError) -> Self {
6967        match err {
6968            crate::operation::list_notebook_instances::ListNotebookInstancesError::Unhandled(inner) => Error::Unhandled(inner),
6969        }
6970    }
6971}
6972impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_optimization_jobs::ListOptimizationJobsError, R>> for Error
6973where
6974    R: Send + Sync + std::fmt::Debug + 'static,
6975{
6976    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_optimization_jobs::ListOptimizationJobsError, R>) -> Self {
6977        match err {
6978            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6979            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6980                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6981                source: err.into(),
6982            }),
6983        }
6984    }
6985}
6986impl From<crate::operation::list_optimization_jobs::ListOptimizationJobsError> for Error {
6987    fn from(err: crate::operation::list_optimization_jobs::ListOptimizationJobsError) -> Self {
6988        match err {
6989            crate::operation::list_optimization_jobs::ListOptimizationJobsError::Unhandled(inner) => Error::Unhandled(inner),
6990        }
6991    }
6992}
6993impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_partner_apps::ListPartnerAppsError, R>> for Error
6994where
6995    R: Send + Sync + std::fmt::Debug + 'static,
6996{
6997    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_partner_apps::ListPartnerAppsError, R>) -> Self {
6998        match err {
6999            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7000            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7001                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7002                source: err.into(),
7003            }),
7004        }
7005    }
7006}
7007impl From<crate::operation::list_partner_apps::ListPartnerAppsError> for Error {
7008    fn from(err: crate::operation::list_partner_apps::ListPartnerAppsError) -> Self {
7009        match err {
7010            crate::operation::list_partner_apps::ListPartnerAppsError::Unhandled(inner) => Error::Unhandled(inner),
7011        }
7012    }
7013}
7014impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_pipeline_executions::ListPipelineExecutionsError, R>> for Error
7015where
7016    R: Send + Sync + std::fmt::Debug + 'static,
7017{
7018    fn from(
7019        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_pipeline_executions::ListPipelineExecutionsError, R>,
7020    ) -> Self {
7021        match err {
7022            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7023            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7024                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7025                source: err.into(),
7026            }),
7027        }
7028    }
7029}
7030impl From<crate::operation::list_pipeline_executions::ListPipelineExecutionsError> for Error {
7031    fn from(err: crate::operation::list_pipeline_executions::ListPipelineExecutionsError) -> Self {
7032        match err {
7033            crate::operation::list_pipeline_executions::ListPipelineExecutionsError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
7034            crate::operation::list_pipeline_executions::ListPipelineExecutionsError::Unhandled(inner) => Error::Unhandled(inner),
7035        }
7036    }
7037}
7038impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_pipeline_execution_steps::ListPipelineExecutionStepsError, R>>
7039    for Error
7040where
7041    R: Send + Sync + std::fmt::Debug + 'static,
7042{
7043    fn from(
7044        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_pipeline_execution_steps::ListPipelineExecutionStepsError, R>,
7045    ) -> Self {
7046        match err {
7047            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7048            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7049                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7050                source: err.into(),
7051            }),
7052        }
7053    }
7054}
7055impl From<crate::operation::list_pipeline_execution_steps::ListPipelineExecutionStepsError> for Error {
7056    fn from(err: crate::operation::list_pipeline_execution_steps::ListPipelineExecutionStepsError) -> Self {
7057        match err {
7058            crate::operation::list_pipeline_execution_steps::ListPipelineExecutionStepsError::ResourceNotFound(inner) => {
7059                Error::ResourceNotFound(inner)
7060            }
7061            crate::operation::list_pipeline_execution_steps::ListPipelineExecutionStepsError::Unhandled(inner) => Error::Unhandled(inner),
7062        }
7063    }
7064}
7065impl<R>
7066    From<
7067        ::aws_smithy_runtime_api::client::result::SdkError<
7068            crate::operation::list_pipeline_parameters_for_execution::ListPipelineParametersForExecutionError,
7069            R,
7070        >,
7071    > for Error
7072where
7073    R: Send + Sync + std::fmt::Debug + 'static,
7074{
7075    fn from(
7076        err: ::aws_smithy_runtime_api::client::result::SdkError<
7077            crate::operation::list_pipeline_parameters_for_execution::ListPipelineParametersForExecutionError,
7078            R,
7079        >,
7080    ) -> Self {
7081        match err {
7082            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7083            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7084                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7085                source: err.into(),
7086            }),
7087        }
7088    }
7089}
7090impl From<crate::operation::list_pipeline_parameters_for_execution::ListPipelineParametersForExecutionError> for Error {
7091    fn from(err: crate::operation::list_pipeline_parameters_for_execution::ListPipelineParametersForExecutionError) -> Self {
7092        match err {
7093            crate::operation::list_pipeline_parameters_for_execution::ListPipelineParametersForExecutionError::ResourceNotFound(inner) => {
7094                Error::ResourceNotFound(inner)
7095            }
7096            crate::operation::list_pipeline_parameters_for_execution::ListPipelineParametersForExecutionError::Unhandled(inner) => {
7097                Error::Unhandled(inner)
7098            }
7099        }
7100    }
7101}
7102impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_pipelines::ListPipelinesError, R>> for Error
7103where
7104    R: Send + Sync + std::fmt::Debug + 'static,
7105{
7106    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_pipelines::ListPipelinesError, R>) -> Self {
7107        match err {
7108            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7109            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7110                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7111                source: err.into(),
7112            }),
7113        }
7114    }
7115}
7116impl From<crate::operation::list_pipelines::ListPipelinesError> for Error {
7117    fn from(err: crate::operation::list_pipelines::ListPipelinesError) -> Self {
7118        match err {
7119            crate::operation::list_pipelines::ListPipelinesError::Unhandled(inner) => Error::Unhandled(inner),
7120        }
7121    }
7122}
7123impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_pipeline_versions::ListPipelineVersionsError, R>> for Error
7124where
7125    R: Send + Sync + std::fmt::Debug + 'static,
7126{
7127    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_pipeline_versions::ListPipelineVersionsError, R>) -> Self {
7128        match err {
7129            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7130            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7131                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7132                source: err.into(),
7133            }),
7134        }
7135    }
7136}
7137impl From<crate::operation::list_pipeline_versions::ListPipelineVersionsError> for Error {
7138    fn from(err: crate::operation::list_pipeline_versions::ListPipelineVersionsError) -> Self {
7139        match err {
7140            crate::operation::list_pipeline_versions::ListPipelineVersionsError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
7141            crate::operation::list_pipeline_versions::ListPipelineVersionsError::Unhandled(inner) => Error::Unhandled(inner),
7142        }
7143    }
7144}
7145impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_processing_jobs::ListProcessingJobsError, R>> for Error
7146where
7147    R: Send + Sync + std::fmt::Debug + 'static,
7148{
7149    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_processing_jobs::ListProcessingJobsError, R>) -> Self {
7150        match err {
7151            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7152            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7153                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7154                source: err.into(),
7155            }),
7156        }
7157    }
7158}
7159impl From<crate::operation::list_processing_jobs::ListProcessingJobsError> for Error {
7160    fn from(err: crate::operation::list_processing_jobs::ListProcessingJobsError) -> Self {
7161        match err {
7162            crate::operation::list_processing_jobs::ListProcessingJobsError::Unhandled(inner) => Error::Unhandled(inner),
7163        }
7164    }
7165}
7166impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_projects::ListProjectsError, R>> for Error
7167where
7168    R: Send + Sync + std::fmt::Debug + 'static,
7169{
7170    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_projects::ListProjectsError, R>) -> Self {
7171        match err {
7172            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7173            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7174                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7175                source: err.into(),
7176            }),
7177        }
7178    }
7179}
7180impl From<crate::operation::list_projects::ListProjectsError> for Error {
7181    fn from(err: crate::operation::list_projects::ListProjectsError) -> Self {
7182        match err {
7183            crate::operation::list_projects::ListProjectsError::Unhandled(inner) => Error::Unhandled(inner),
7184        }
7185    }
7186}
7187impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_resource_catalogs::ListResourceCatalogsError, R>> for Error
7188where
7189    R: Send + Sync + std::fmt::Debug + 'static,
7190{
7191    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_resource_catalogs::ListResourceCatalogsError, R>) -> Self {
7192        match err {
7193            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7194            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7195                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7196                source: err.into(),
7197            }),
7198        }
7199    }
7200}
7201impl From<crate::operation::list_resource_catalogs::ListResourceCatalogsError> for Error {
7202    fn from(err: crate::operation::list_resource_catalogs::ListResourceCatalogsError) -> Self {
7203        match err {
7204            crate::operation::list_resource_catalogs::ListResourceCatalogsError::Unhandled(inner) => Error::Unhandled(inner),
7205        }
7206    }
7207}
7208impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_spaces::ListSpacesError, R>> for Error
7209where
7210    R: Send + Sync + std::fmt::Debug + 'static,
7211{
7212    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_spaces::ListSpacesError, R>) -> Self {
7213        match err {
7214            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7215            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7216                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7217                source: err.into(),
7218            }),
7219        }
7220    }
7221}
7222impl From<crate::operation::list_spaces::ListSpacesError> for Error {
7223    fn from(err: crate::operation::list_spaces::ListSpacesError) -> Self {
7224        match err {
7225            crate::operation::list_spaces::ListSpacesError::Unhandled(inner) => Error::Unhandled(inner),
7226        }
7227    }
7228}
7229impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_stage_devices::ListStageDevicesError, R>> for Error
7230where
7231    R: Send + Sync + std::fmt::Debug + 'static,
7232{
7233    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_stage_devices::ListStageDevicesError, R>) -> Self {
7234        match err {
7235            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7236            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7237                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7238                source: err.into(),
7239            }),
7240        }
7241    }
7242}
7243impl From<crate::operation::list_stage_devices::ListStageDevicesError> for Error {
7244    fn from(err: crate::operation::list_stage_devices::ListStageDevicesError) -> Self {
7245        match err {
7246            crate::operation::list_stage_devices::ListStageDevicesError::Unhandled(inner) => Error::Unhandled(inner),
7247        }
7248    }
7249}
7250impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_studio_lifecycle_configs::ListStudioLifecycleConfigsError, R>>
7251    for Error
7252where
7253    R: Send + Sync + std::fmt::Debug + 'static,
7254{
7255    fn from(
7256        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_studio_lifecycle_configs::ListStudioLifecycleConfigsError, R>,
7257    ) -> Self {
7258        match err {
7259            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7260            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7261                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7262                source: err.into(),
7263            }),
7264        }
7265    }
7266}
7267impl From<crate::operation::list_studio_lifecycle_configs::ListStudioLifecycleConfigsError> for Error {
7268    fn from(err: crate::operation::list_studio_lifecycle_configs::ListStudioLifecycleConfigsError) -> Self {
7269        match err {
7270            crate::operation::list_studio_lifecycle_configs::ListStudioLifecycleConfigsError::ResourceInUse(inner) => Error::ResourceInUse(inner),
7271            crate::operation::list_studio_lifecycle_configs::ListStudioLifecycleConfigsError::Unhandled(inner) => Error::Unhandled(inner),
7272        }
7273    }
7274}
7275impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_subscribed_workteams::ListSubscribedWorkteamsError, R>>
7276    for Error
7277where
7278    R: Send + Sync + std::fmt::Debug + 'static,
7279{
7280    fn from(
7281        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_subscribed_workteams::ListSubscribedWorkteamsError, R>,
7282    ) -> Self {
7283        match err {
7284            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7285            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7286                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7287                source: err.into(),
7288            }),
7289        }
7290    }
7291}
7292impl From<crate::operation::list_subscribed_workteams::ListSubscribedWorkteamsError> for Error {
7293    fn from(err: crate::operation::list_subscribed_workteams::ListSubscribedWorkteamsError) -> Self {
7294        match err {
7295            crate::operation::list_subscribed_workteams::ListSubscribedWorkteamsError::Unhandled(inner) => Error::Unhandled(inner),
7296        }
7297    }
7298}
7299impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_tags::ListTagsError, R>> for Error
7300where
7301    R: Send + Sync + std::fmt::Debug + 'static,
7302{
7303    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_tags::ListTagsError, R>) -> Self {
7304        match err {
7305            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7306            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7307                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7308                source: err.into(),
7309            }),
7310        }
7311    }
7312}
7313impl From<crate::operation::list_tags::ListTagsError> for Error {
7314    fn from(err: crate::operation::list_tags::ListTagsError) -> Self {
7315        match err {
7316            crate::operation::list_tags::ListTagsError::Unhandled(inner) => Error::Unhandled(inner),
7317        }
7318    }
7319}
7320impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_training_jobs::ListTrainingJobsError, 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_training_jobs::ListTrainingJobsError, 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_training_jobs::ListTrainingJobsError> for Error {
7335    fn from(err: crate::operation::list_training_jobs::ListTrainingJobsError) -> Self {
7336        match err {
7337            crate::operation::list_training_jobs::ListTrainingJobsError::Unhandled(inner) => Error::Unhandled(inner),
7338        }
7339    }
7340}
7341impl<R>
7342    From<
7343        ::aws_smithy_runtime_api::client::result::SdkError<
7344            crate::operation::list_training_jobs_for_hyper_parameter_tuning_job::ListTrainingJobsForHyperParameterTuningJobError,
7345            R,
7346        >,
7347    > for Error
7348where
7349    R: Send + Sync + std::fmt::Debug + 'static,
7350{
7351    fn from(
7352        err: ::aws_smithy_runtime_api::client::result::SdkError<
7353            crate::operation::list_training_jobs_for_hyper_parameter_tuning_job::ListTrainingJobsForHyperParameterTuningJobError,
7354            R,
7355        >,
7356    ) -> Self {
7357        match err {
7358            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7359            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7360                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7361                source: err.into(),
7362            }),
7363        }
7364    }
7365}
7366impl From<crate::operation::list_training_jobs_for_hyper_parameter_tuning_job::ListTrainingJobsForHyperParameterTuningJobError> for Error {
7367    fn from(err: crate::operation::list_training_jobs_for_hyper_parameter_tuning_job::ListTrainingJobsForHyperParameterTuningJobError) -> Self {
7368        match err {
7369            crate::operation::list_training_jobs_for_hyper_parameter_tuning_job::ListTrainingJobsForHyperParameterTuningJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
7370            crate::operation::list_training_jobs_for_hyper_parameter_tuning_job::ListTrainingJobsForHyperParameterTuningJobError::Unhandled(inner) => Error::Unhandled(inner),
7371        }
7372    }
7373}
7374impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_training_plans::ListTrainingPlansError, R>> for Error
7375where
7376    R: Send + Sync + std::fmt::Debug + 'static,
7377{
7378    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_training_plans::ListTrainingPlansError, R>) -> Self {
7379        match err {
7380            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7381            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7382                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7383                source: err.into(),
7384            }),
7385        }
7386    }
7387}
7388impl From<crate::operation::list_training_plans::ListTrainingPlansError> for Error {
7389    fn from(err: crate::operation::list_training_plans::ListTrainingPlansError) -> Self {
7390        match err {
7391            crate::operation::list_training_plans::ListTrainingPlansError::Unhandled(inner) => Error::Unhandled(inner),
7392        }
7393    }
7394}
7395impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_transform_jobs::ListTransformJobsError, R>> for Error
7396where
7397    R: Send + Sync + std::fmt::Debug + 'static,
7398{
7399    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_transform_jobs::ListTransformJobsError, R>) -> Self {
7400        match err {
7401            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7402            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7403                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7404                source: err.into(),
7405            }),
7406        }
7407    }
7408}
7409impl From<crate::operation::list_transform_jobs::ListTransformJobsError> for Error {
7410    fn from(err: crate::operation::list_transform_jobs::ListTransformJobsError) -> Self {
7411        match err {
7412            crate::operation::list_transform_jobs::ListTransformJobsError::Unhandled(inner) => Error::Unhandled(inner),
7413        }
7414    }
7415}
7416impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_trial_components::ListTrialComponentsError, R>> for Error
7417where
7418    R: Send + Sync + std::fmt::Debug + 'static,
7419{
7420    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_trial_components::ListTrialComponentsError, R>) -> Self {
7421        match err {
7422            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7423            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7424                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7425                source: err.into(),
7426            }),
7427        }
7428    }
7429}
7430impl From<crate::operation::list_trial_components::ListTrialComponentsError> for Error {
7431    fn from(err: crate::operation::list_trial_components::ListTrialComponentsError) -> Self {
7432        match err {
7433            crate::operation::list_trial_components::ListTrialComponentsError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
7434            crate::operation::list_trial_components::ListTrialComponentsError::Unhandled(inner) => Error::Unhandled(inner),
7435        }
7436    }
7437}
7438impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_trials::ListTrialsError, R>> for Error
7439where
7440    R: Send + Sync + std::fmt::Debug + 'static,
7441{
7442    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_trials::ListTrialsError, R>) -> Self {
7443        match err {
7444            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7445            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7446                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7447                source: err.into(),
7448            }),
7449        }
7450    }
7451}
7452impl From<crate::operation::list_trials::ListTrialsError> for Error {
7453    fn from(err: crate::operation::list_trials::ListTrialsError) -> Self {
7454        match err {
7455            crate::operation::list_trials::ListTrialsError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
7456            crate::operation::list_trials::ListTrialsError::Unhandled(inner) => Error::Unhandled(inner),
7457        }
7458    }
7459}
7460impl<R>
7461    From<
7462        ::aws_smithy_runtime_api::client::result::SdkError<
7463            crate::operation::list_ultra_servers_by_reserved_capacity::ListUltraServersByReservedCapacityError,
7464            R,
7465        >,
7466    > for Error
7467where
7468    R: Send + Sync + std::fmt::Debug + 'static,
7469{
7470    fn from(
7471        err: ::aws_smithy_runtime_api::client::result::SdkError<
7472            crate::operation::list_ultra_servers_by_reserved_capacity::ListUltraServersByReservedCapacityError,
7473            R,
7474        >,
7475    ) -> Self {
7476        match err {
7477            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7478            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7479                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7480                source: err.into(),
7481            }),
7482        }
7483    }
7484}
7485impl From<crate::operation::list_ultra_servers_by_reserved_capacity::ListUltraServersByReservedCapacityError> for Error {
7486    fn from(err: crate::operation::list_ultra_servers_by_reserved_capacity::ListUltraServersByReservedCapacityError) -> Self {
7487        match err {
7488            crate::operation::list_ultra_servers_by_reserved_capacity::ListUltraServersByReservedCapacityError::ResourceNotFound(inner) => {
7489                Error::ResourceNotFound(inner)
7490            }
7491            crate::operation::list_ultra_servers_by_reserved_capacity::ListUltraServersByReservedCapacityError::Unhandled(inner) => {
7492                Error::Unhandled(inner)
7493            }
7494        }
7495    }
7496}
7497impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_user_profiles::ListUserProfilesError, R>> for Error
7498where
7499    R: Send + Sync + std::fmt::Debug + 'static,
7500{
7501    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_user_profiles::ListUserProfilesError, R>) -> Self {
7502        match err {
7503            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7504            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7505                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7506                source: err.into(),
7507            }),
7508        }
7509    }
7510}
7511impl From<crate::operation::list_user_profiles::ListUserProfilesError> for Error {
7512    fn from(err: crate::operation::list_user_profiles::ListUserProfilesError) -> Self {
7513        match err {
7514            crate::operation::list_user_profiles::ListUserProfilesError::Unhandled(inner) => Error::Unhandled(inner),
7515        }
7516    }
7517}
7518impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_workforces::ListWorkforcesError, R>> for Error
7519where
7520    R: Send + Sync + std::fmt::Debug + 'static,
7521{
7522    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_workforces::ListWorkforcesError, R>) -> Self {
7523        match err {
7524            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7525            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7526                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7527                source: err.into(),
7528            }),
7529        }
7530    }
7531}
7532impl From<crate::operation::list_workforces::ListWorkforcesError> for Error {
7533    fn from(err: crate::operation::list_workforces::ListWorkforcesError) -> Self {
7534        match err {
7535            crate::operation::list_workforces::ListWorkforcesError::Unhandled(inner) => Error::Unhandled(inner),
7536        }
7537    }
7538}
7539impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_workteams::ListWorkteamsError, R>> for Error
7540where
7541    R: Send + Sync + std::fmt::Debug + 'static,
7542{
7543    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_workteams::ListWorkteamsError, R>) -> Self {
7544        match err {
7545            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7546            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7547                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7548                source: err.into(),
7549            }),
7550        }
7551    }
7552}
7553impl From<crate::operation::list_workteams::ListWorkteamsError> for Error {
7554    fn from(err: crate::operation::list_workteams::ListWorkteamsError) -> Self {
7555        match err {
7556            crate::operation::list_workteams::ListWorkteamsError::Unhandled(inner) => Error::Unhandled(inner),
7557        }
7558    }
7559}
7560impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_model_package_group_policy::PutModelPackageGroupPolicyError, R>>
7561    for Error
7562where
7563    R: Send + Sync + std::fmt::Debug + 'static,
7564{
7565    fn from(
7566        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_model_package_group_policy::PutModelPackageGroupPolicyError, R>,
7567    ) -> 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::put_model_package_group_policy::PutModelPackageGroupPolicyError> for Error {
7578    fn from(err: crate::operation::put_model_package_group_policy::PutModelPackageGroupPolicyError) -> Self {
7579        match err {
7580            crate::operation::put_model_package_group_policy::PutModelPackageGroupPolicyError::ConflictException(inner) => {
7581                Error::ConflictException(inner)
7582            }
7583            crate::operation::put_model_package_group_policy::PutModelPackageGroupPolicyError::Unhandled(inner) => Error::Unhandled(inner),
7584        }
7585    }
7586}
7587impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::query_lineage::QueryLineageError, R>> for Error
7588where
7589    R: Send + Sync + std::fmt::Debug + 'static,
7590{
7591    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::query_lineage::QueryLineageError, R>) -> Self {
7592        match err {
7593            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7594            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7595                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7596                source: err.into(),
7597            }),
7598        }
7599    }
7600}
7601impl From<crate::operation::query_lineage::QueryLineageError> for Error {
7602    fn from(err: crate::operation::query_lineage::QueryLineageError) -> Self {
7603        match err {
7604            crate::operation::query_lineage::QueryLineageError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
7605            crate::operation::query_lineage::QueryLineageError::Unhandled(inner) => Error::Unhandled(inner),
7606        }
7607    }
7608}
7609impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::register_devices::RegisterDevicesError, R>> for Error
7610where
7611    R: Send + Sync + std::fmt::Debug + 'static,
7612{
7613    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::register_devices::RegisterDevicesError, R>) -> Self {
7614        match err {
7615            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7616            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7617                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7618                source: err.into(),
7619            }),
7620        }
7621    }
7622}
7623impl From<crate::operation::register_devices::RegisterDevicesError> for Error {
7624    fn from(err: crate::operation::register_devices::RegisterDevicesError) -> Self {
7625        match err {
7626            crate::operation::register_devices::RegisterDevicesError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
7627            crate::operation::register_devices::RegisterDevicesError::Unhandled(inner) => Error::Unhandled(inner),
7628        }
7629    }
7630}
7631impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::render_ui_template::RenderUiTemplateError, R>> for Error
7632where
7633    R: Send + Sync + std::fmt::Debug + 'static,
7634{
7635    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::render_ui_template::RenderUiTemplateError, R>) -> Self {
7636        match err {
7637            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7638            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7639                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7640                source: err.into(),
7641            }),
7642        }
7643    }
7644}
7645impl From<crate::operation::render_ui_template::RenderUiTemplateError> for Error {
7646    fn from(err: crate::operation::render_ui_template::RenderUiTemplateError) -> Self {
7647        match err {
7648            crate::operation::render_ui_template::RenderUiTemplateError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
7649            crate::operation::render_ui_template::RenderUiTemplateError::Unhandled(inner) => Error::Unhandled(inner),
7650        }
7651    }
7652}
7653impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::retry_pipeline_execution::RetryPipelineExecutionError, R>> for Error
7654where
7655    R: Send + Sync + std::fmt::Debug + 'static,
7656{
7657    fn from(
7658        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::retry_pipeline_execution::RetryPipelineExecutionError, R>,
7659    ) -> Self {
7660        match err {
7661            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7662            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7663                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7664                source: err.into(),
7665            }),
7666        }
7667    }
7668}
7669impl From<crate::operation::retry_pipeline_execution::RetryPipelineExecutionError> for Error {
7670    fn from(err: crate::operation::retry_pipeline_execution::RetryPipelineExecutionError) -> Self {
7671        match err {
7672            crate::operation::retry_pipeline_execution::RetryPipelineExecutionError::ConflictException(inner) => Error::ConflictException(inner),
7673            crate::operation::retry_pipeline_execution::RetryPipelineExecutionError::ResourceLimitExceeded(inner) => {
7674                Error::ResourceLimitExceeded(inner)
7675            }
7676            crate::operation::retry_pipeline_execution::RetryPipelineExecutionError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
7677            crate::operation::retry_pipeline_execution::RetryPipelineExecutionError::Unhandled(inner) => Error::Unhandled(inner),
7678        }
7679    }
7680}
7681impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::search::SearchError, R>> for Error
7682where
7683    R: Send + Sync + std::fmt::Debug + 'static,
7684{
7685    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::search::SearchError, R>) -> Self {
7686        match err {
7687            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7688            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7689                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7690                source: err.into(),
7691            }),
7692        }
7693    }
7694}
7695impl From<crate::operation::search::SearchError> for Error {
7696    fn from(err: crate::operation::search::SearchError) -> Self {
7697        match err {
7698            crate::operation::search::SearchError::Unhandled(inner) => Error::Unhandled(inner),
7699        }
7700    }
7701}
7702impl<R>
7703    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::search_training_plan_offerings::SearchTrainingPlanOfferingsError, R>>
7704    for Error
7705where
7706    R: Send + Sync + std::fmt::Debug + 'static,
7707{
7708    fn from(
7709        err: ::aws_smithy_runtime_api::client::result::SdkError<
7710            crate::operation::search_training_plan_offerings::SearchTrainingPlanOfferingsError,
7711            R,
7712        >,
7713    ) -> Self {
7714        match err {
7715            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7716            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7717                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7718                source: err.into(),
7719            }),
7720        }
7721    }
7722}
7723impl From<crate::operation::search_training_plan_offerings::SearchTrainingPlanOfferingsError> for Error {
7724    fn from(err: crate::operation::search_training_plan_offerings::SearchTrainingPlanOfferingsError) -> Self {
7725        match err {
7726            crate::operation::search_training_plan_offerings::SearchTrainingPlanOfferingsError::ResourceLimitExceeded(inner) => {
7727                Error::ResourceLimitExceeded(inner)
7728            }
7729            crate::operation::search_training_plan_offerings::SearchTrainingPlanOfferingsError::Unhandled(inner) => Error::Unhandled(inner),
7730        }
7731    }
7732}
7733impl<R>
7734    From<
7735        ::aws_smithy_runtime_api::client::result::SdkError<
7736            crate::operation::send_pipeline_execution_step_failure::SendPipelineExecutionStepFailureError,
7737            R,
7738        >,
7739    > for Error
7740where
7741    R: Send + Sync + std::fmt::Debug + 'static,
7742{
7743    fn from(
7744        err: ::aws_smithy_runtime_api::client::result::SdkError<
7745            crate::operation::send_pipeline_execution_step_failure::SendPipelineExecutionStepFailureError,
7746            R,
7747        >,
7748    ) -> Self {
7749        match err {
7750            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7751            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7752                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7753                source: err.into(),
7754            }),
7755        }
7756    }
7757}
7758impl From<crate::operation::send_pipeline_execution_step_failure::SendPipelineExecutionStepFailureError> for Error {
7759    fn from(err: crate::operation::send_pipeline_execution_step_failure::SendPipelineExecutionStepFailureError) -> Self {
7760        match err {
7761            crate::operation::send_pipeline_execution_step_failure::SendPipelineExecutionStepFailureError::ConflictException(inner) => {
7762                Error::ConflictException(inner)
7763            }
7764            crate::operation::send_pipeline_execution_step_failure::SendPipelineExecutionStepFailureError::ResourceLimitExceeded(inner) => {
7765                Error::ResourceLimitExceeded(inner)
7766            }
7767            crate::operation::send_pipeline_execution_step_failure::SendPipelineExecutionStepFailureError::ResourceNotFound(inner) => {
7768                Error::ResourceNotFound(inner)
7769            }
7770            crate::operation::send_pipeline_execution_step_failure::SendPipelineExecutionStepFailureError::Unhandled(inner) => {
7771                Error::Unhandled(inner)
7772            }
7773        }
7774    }
7775}
7776impl<R>
7777    From<
7778        ::aws_smithy_runtime_api::client::result::SdkError<
7779            crate::operation::send_pipeline_execution_step_success::SendPipelineExecutionStepSuccessError,
7780            R,
7781        >,
7782    > for Error
7783where
7784    R: Send + Sync + std::fmt::Debug + 'static,
7785{
7786    fn from(
7787        err: ::aws_smithy_runtime_api::client::result::SdkError<
7788            crate::operation::send_pipeline_execution_step_success::SendPipelineExecutionStepSuccessError,
7789            R,
7790        >,
7791    ) -> Self {
7792        match err {
7793            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7794            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7795                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7796                source: err.into(),
7797            }),
7798        }
7799    }
7800}
7801impl From<crate::operation::send_pipeline_execution_step_success::SendPipelineExecutionStepSuccessError> for Error {
7802    fn from(err: crate::operation::send_pipeline_execution_step_success::SendPipelineExecutionStepSuccessError) -> Self {
7803        match err {
7804            crate::operation::send_pipeline_execution_step_success::SendPipelineExecutionStepSuccessError::ConflictException(inner) => {
7805                Error::ConflictException(inner)
7806            }
7807            crate::operation::send_pipeline_execution_step_success::SendPipelineExecutionStepSuccessError::ResourceLimitExceeded(inner) => {
7808                Error::ResourceLimitExceeded(inner)
7809            }
7810            crate::operation::send_pipeline_execution_step_success::SendPipelineExecutionStepSuccessError::ResourceNotFound(inner) => {
7811                Error::ResourceNotFound(inner)
7812            }
7813            crate::operation::send_pipeline_execution_step_success::SendPipelineExecutionStepSuccessError::Unhandled(inner) => {
7814                Error::Unhandled(inner)
7815            }
7816        }
7817    }
7818}
7819impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_edge_deployment_stage::StartEdgeDeploymentStageError, R>>
7820    for Error
7821where
7822    R: Send + Sync + std::fmt::Debug + 'static,
7823{
7824    fn from(
7825        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_edge_deployment_stage::StartEdgeDeploymentStageError, R>,
7826    ) -> Self {
7827        match err {
7828            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7829            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7830                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7831                source: err.into(),
7832            }),
7833        }
7834    }
7835}
7836impl From<crate::operation::start_edge_deployment_stage::StartEdgeDeploymentStageError> for Error {
7837    fn from(err: crate::operation::start_edge_deployment_stage::StartEdgeDeploymentStageError) -> Self {
7838        match err {
7839            crate::operation::start_edge_deployment_stage::StartEdgeDeploymentStageError::Unhandled(inner) => Error::Unhandled(inner),
7840        }
7841    }
7842}
7843impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_inference_experiment::StartInferenceExperimentError, R>>
7844    for Error
7845where
7846    R: Send + Sync + std::fmt::Debug + 'static,
7847{
7848    fn from(
7849        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_inference_experiment::StartInferenceExperimentError, R>,
7850    ) -> Self {
7851        match err {
7852            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7853            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7854                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7855                source: err.into(),
7856            }),
7857        }
7858    }
7859}
7860impl From<crate::operation::start_inference_experiment::StartInferenceExperimentError> for Error {
7861    fn from(err: crate::operation::start_inference_experiment::StartInferenceExperimentError) -> Self {
7862        match err {
7863            crate::operation::start_inference_experiment::StartInferenceExperimentError::ConflictException(inner) => Error::ConflictException(inner),
7864            crate::operation::start_inference_experiment::StartInferenceExperimentError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
7865            crate::operation::start_inference_experiment::StartInferenceExperimentError::Unhandled(inner) => Error::Unhandled(inner),
7866        }
7867    }
7868}
7869impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_mlflow_tracking_server::StartMlflowTrackingServerError, R>>
7870    for Error
7871where
7872    R: Send + Sync + std::fmt::Debug + 'static,
7873{
7874    fn from(
7875        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_mlflow_tracking_server::StartMlflowTrackingServerError, R>,
7876    ) -> Self {
7877        match err {
7878            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7879            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7880                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7881                source: err.into(),
7882            }),
7883        }
7884    }
7885}
7886impl From<crate::operation::start_mlflow_tracking_server::StartMlflowTrackingServerError> for Error {
7887    fn from(err: crate::operation::start_mlflow_tracking_server::StartMlflowTrackingServerError) -> Self {
7888        match err {
7889            crate::operation::start_mlflow_tracking_server::StartMlflowTrackingServerError::ConflictException(inner) => {
7890                Error::ConflictException(inner)
7891            }
7892            crate::operation::start_mlflow_tracking_server::StartMlflowTrackingServerError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
7893            crate::operation::start_mlflow_tracking_server::StartMlflowTrackingServerError::Unhandled(inner) => Error::Unhandled(inner),
7894        }
7895    }
7896}
7897impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_monitoring_schedule::StartMonitoringScheduleError, R>>
7898    for Error
7899where
7900    R: Send + Sync + std::fmt::Debug + 'static,
7901{
7902    fn from(
7903        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_monitoring_schedule::StartMonitoringScheduleError, R>,
7904    ) -> Self {
7905        match err {
7906            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7907            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7908                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7909                source: err.into(),
7910            }),
7911        }
7912    }
7913}
7914impl From<crate::operation::start_monitoring_schedule::StartMonitoringScheduleError> for Error {
7915    fn from(err: crate::operation::start_monitoring_schedule::StartMonitoringScheduleError) -> Self {
7916        match err {
7917            crate::operation::start_monitoring_schedule::StartMonitoringScheduleError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
7918            crate::operation::start_monitoring_schedule::StartMonitoringScheduleError::Unhandled(inner) => Error::Unhandled(inner),
7919        }
7920    }
7921}
7922impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_notebook_instance::StartNotebookInstanceError, R>> for Error
7923where
7924    R: Send + Sync + std::fmt::Debug + 'static,
7925{
7926    fn from(
7927        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_notebook_instance::StartNotebookInstanceError, R>,
7928    ) -> Self {
7929        match err {
7930            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7931            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7932                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7933                source: err.into(),
7934            }),
7935        }
7936    }
7937}
7938impl From<crate::operation::start_notebook_instance::StartNotebookInstanceError> for Error {
7939    fn from(err: crate::operation::start_notebook_instance::StartNotebookInstanceError) -> Self {
7940        match err {
7941            crate::operation::start_notebook_instance::StartNotebookInstanceError::ResourceLimitExceeded(inner) => {
7942                Error::ResourceLimitExceeded(inner)
7943            }
7944            crate::operation::start_notebook_instance::StartNotebookInstanceError::Unhandled(inner) => Error::Unhandled(inner),
7945        }
7946    }
7947}
7948impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_pipeline_execution::StartPipelineExecutionError, R>> for Error
7949where
7950    R: Send + Sync + std::fmt::Debug + 'static,
7951{
7952    fn from(
7953        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_pipeline_execution::StartPipelineExecutionError, R>,
7954    ) -> Self {
7955        match err {
7956            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7957            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7958                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7959                source: err.into(),
7960            }),
7961        }
7962    }
7963}
7964impl From<crate::operation::start_pipeline_execution::StartPipelineExecutionError> for Error {
7965    fn from(err: crate::operation::start_pipeline_execution::StartPipelineExecutionError) -> Self {
7966        match err {
7967            crate::operation::start_pipeline_execution::StartPipelineExecutionError::ConflictException(inner) => Error::ConflictException(inner),
7968            crate::operation::start_pipeline_execution::StartPipelineExecutionError::ResourceLimitExceeded(inner) => {
7969                Error::ResourceLimitExceeded(inner)
7970            }
7971            crate::operation::start_pipeline_execution::StartPipelineExecutionError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
7972            crate::operation::start_pipeline_execution::StartPipelineExecutionError::Unhandled(inner) => Error::Unhandled(inner),
7973        }
7974    }
7975}
7976impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_session::StartSessionError, R>> for Error
7977where
7978    R: Send + Sync + std::fmt::Debug + 'static,
7979{
7980    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_session::StartSessionError, R>) -> Self {
7981        match err {
7982            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7983            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7984                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7985                source: err.into(),
7986            }),
7987        }
7988    }
7989}
7990impl From<crate::operation::start_session::StartSessionError> for Error {
7991    fn from(err: crate::operation::start_session::StartSessionError) -> Self {
7992        match err {
7993            crate::operation::start_session::StartSessionError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
7994            crate::operation::start_session::StartSessionError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
7995            crate::operation::start_session::StartSessionError::Unhandled(inner) => Error::Unhandled(inner),
7996        }
7997    }
7998}
7999impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_auto_ml_job::StopAutoMLJobError, R>> for Error
8000where
8001    R: Send + Sync + std::fmt::Debug + 'static,
8002{
8003    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_auto_ml_job::StopAutoMLJobError, R>) -> Self {
8004        match err {
8005            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8006            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8007                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8008                source: err.into(),
8009            }),
8010        }
8011    }
8012}
8013impl From<crate::operation::stop_auto_ml_job::StopAutoMLJobError> for Error {
8014    fn from(err: crate::operation::stop_auto_ml_job::StopAutoMLJobError) -> Self {
8015        match err {
8016            crate::operation::stop_auto_ml_job::StopAutoMLJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8017            crate::operation::stop_auto_ml_job::StopAutoMLJobError::Unhandled(inner) => Error::Unhandled(inner),
8018        }
8019    }
8020}
8021impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_compilation_job::StopCompilationJobError, R>> for Error
8022where
8023    R: Send + Sync + std::fmt::Debug + 'static,
8024{
8025    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_compilation_job::StopCompilationJobError, R>) -> Self {
8026        match err {
8027            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8028            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8029                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8030                source: err.into(),
8031            }),
8032        }
8033    }
8034}
8035impl From<crate::operation::stop_compilation_job::StopCompilationJobError> for Error {
8036    fn from(err: crate::operation::stop_compilation_job::StopCompilationJobError) -> Self {
8037        match err {
8038            crate::operation::stop_compilation_job::StopCompilationJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8039            crate::operation::stop_compilation_job::StopCompilationJobError::Unhandled(inner) => Error::Unhandled(inner),
8040        }
8041    }
8042}
8043impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_edge_deployment_stage::StopEdgeDeploymentStageError, R>>
8044    for Error
8045where
8046    R: Send + Sync + std::fmt::Debug + 'static,
8047{
8048    fn from(
8049        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_edge_deployment_stage::StopEdgeDeploymentStageError, R>,
8050    ) -> Self {
8051        match err {
8052            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8053            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8054                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8055                source: err.into(),
8056            }),
8057        }
8058    }
8059}
8060impl From<crate::operation::stop_edge_deployment_stage::StopEdgeDeploymentStageError> for Error {
8061    fn from(err: crate::operation::stop_edge_deployment_stage::StopEdgeDeploymentStageError) -> Self {
8062        match err {
8063            crate::operation::stop_edge_deployment_stage::StopEdgeDeploymentStageError::Unhandled(inner) => Error::Unhandled(inner),
8064        }
8065    }
8066}
8067impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_edge_packaging_job::StopEdgePackagingJobError, R>> for Error
8068where
8069    R: Send + Sync + std::fmt::Debug + 'static,
8070{
8071    fn from(
8072        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_edge_packaging_job::StopEdgePackagingJobError, R>,
8073    ) -> Self {
8074        match err {
8075            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8076            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8077                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8078                source: err.into(),
8079            }),
8080        }
8081    }
8082}
8083impl From<crate::operation::stop_edge_packaging_job::StopEdgePackagingJobError> for Error {
8084    fn from(err: crate::operation::stop_edge_packaging_job::StopEdgePackagingJobError) -> Self {
8085        match err {
8086            crate::operation::stop_edge_packaging_job::StopEdgePackagingJobError::Unhandled(inner) => Error::Unhandled(inner),
8087        }
8088    }
8089}
8090impl<R>
8091    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_hyper_parameter_tuning_job::StopHyperParameterTuningJobError, R>>
8092    for Error
8093where
8094    R: Send + Sync + std::fmt::Debug + 'static,
8095{
8096    fn from(
8097        err: ::aws_smithy_runtime_api::client::result::SdkError<
8098            crate::operation::stop_hyper_parameter_tuning_job::StopHyperParameterTuningJobError,
8099            R,
8100        >,
8101    ) -> Self {
8102        match err {
8103            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8104            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8105                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8106                source: err.into(),
8107            }),
8108        }
8109    }
8110}
8111impl From<crate::operation::stop_hyper_parameter_tuning_job::StopHyperParameterTuningJobError> for Error {
8112    fn from(err: crate::operation::stop_hyper_parameter_tuning_job::StopHyperParameterTuningJobError) -> Self {
8113        match err {
8114            crate::operation::stop_hyper_parameter_tuning_job::StopHyperParameterTuningJobError::ResourceNotFound(inner) => {
8115                Error::ResourceNotFound(inner)
8116            }
8117            crate::operation::stop_hyper_parameter_tuning_job::StopHyperParameterTuningJobError::Unhandled(inner) => Error::Unhandled(inner),
8118        }
8119    }
8120}
8121impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_inference_experiment::StopInferenceExperimentError, R>>
8122    for Error
8123where
8124    R: Send + Sync + std::fmt::Debug + 'static,
8125{
8126    fn from(
8127        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_inference_experiment::StopInferenceExperimentError, R>,
8128    ) -> Self {
8129        match err {
8130            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8131            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8132                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8133                source: err.into(),
8134            }),
8135        }
8136    }
8137}
8138impl From<crate::operation::stop_inference_experiment::StopInferenceExperimentError> for Error {
8139    fn from(err: crate::operation::stop_inference_experiment::StopInferenceExperimentError) -> Self {
8140        match err {
8141            crate::operation::stop_inference_experiment::StopInferenceExperimentError::ConflictException(inner) => Error::ConflictException(inner),
8142            crate::operation::stop_inference_experiment::StopInferenceExperimentError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8143            crate::operation::stop_inference_experiment::StopInferenceExperimentError::Unhandled(inner) => Error::Unhandled(inner),
8144        }
8145    }
8146}
8147impl<R>
8148    From<
8149        ::aws_smithy_runtime_api::client::result::SdkError<
8150            crate::operation::stop_inference_recommendations_job::StopInferenceRecommendationsJobError,
8151            R,
8152        >,
8153    > for Error
8154where
8155    R: Send + Sync + std::fmt::Debug + 'static,
8156{
8157    fn from(
8158        err: ::aws_smithy_runtime_api::client::result::SdkError<
8159            crate::operation::stop_inference_recommendations_job::StopInferenceRecommendationsJobError,
8160            R,
8161        >,
8162    ) -> Self {
8163        match err {
8164            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8165            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8166                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8167                source: err.into(),
8168            }),
8169        }
8170    }
8171}
8172impl From<crate::operation::stop_inference_recommendations_job::StopInferenceRecommendationsJobError> for Error {
8173    fn from(err: crate::operation::stop_inference_recommendations_job::StopInferenceRecommendationsJobError) -> Self {
8174        match err {
8175            crate::operation::stop_inference_recommendations_job::StopInferenceRecommendationsJobError::ResourceNotFound(inner) => {
8176                Error::ResourceNotFound(inner)
8177            }
8178            crate::operation::stop_inference_recommendations_job::StopInferenceRecommendationsJobError::Unhandled(inner) => Error::Unhandled(inner),
8179        }
8180    }
8181}
8182impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_labeling_job::StopLabelingJobError, R>> for Error
8183where
8184    R: Send + Sync + std::fmt::Debug + 'static,
8185{
8186    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_labeling_job::StopLabelingJobError, R>) -> Self {
8187        match err {
8188            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8189            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8190                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8191                source: err.into(),
8192            }),
8193        }
8194    }
8195}
8196impl From<crate::operation::stop_labeling_job::StopLabelingJobError> for Error {
8197    fn from(err: crate::operation::stop_labeling_job::StopLabelingJobError) -> Self {
8198        match err {
8199            crate::operation::stop_labeling_job::StopLabelingJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8200            crate::operation::stop_labeling_job::StopLabelingJobError::Unhandled(inner) => Error::Unhandled(inner),
8201        }
8202    }
8203}
8204impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_mlflow_tracking_server::StopMlflowTrackingServerError, R>>
8205    for Error
8206where
8207    R: Send + Sync + std::fmt::Debug + 'static,
8208{
8209    fn from(
8210        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_mlflow_tracking_server::StopMlflowTrackingServerError, R>,
8211    ) -> Self {
8212        match err {
8213            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8214            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8215                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8216                source: err.into(),
8217            }),
8218        }
8219    }
8220}
8221impl From<crate::operation::stop_mlflow_tracking_server::StopMlflowTrackingServerError> for Error {
8222    fn from(err: crate::operation::stop_mlflow_tracking_server::StopMlflowTrackingServerError) -> Self {
8223        match err {
8224            crate::operation::stop_mlflow_tracking_server::StopMlflowTrackingServerError::ConflictException(inner) => Error::ConflictException(inner),
8225            crate::operation::stop_mlflow_tracking_server::StopMlflowTrackingServerError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8226            crate::operation::stop_mlflow_tracking_server::StopMlflowTrackingServerError::Unhandled(inner) => Error::Unhandled(inner),
8227        }
8228    }
8229}
8230impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_monitoring_schedule::StopMonitoringScheduleError, R>> for Error
8231where
8232    R: Send + Sync + std::fmt::Debug + 'static,
8233{
8234    fn from(
8235        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_monitoring_schedule::StopMonitoringScheduleError, R>,
8236    ) -> Self {
8237        match err {
8238            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8239            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8240                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8241                source: err.into(),
8242            }),
8243        }
8244    }
8245}
8246impl From<crate::operation::stop_monitoring_schedule::StopMonitoringScheduleError> for Error {
8247    fn from(err: crate::operation::stop_monitoring_schedule::StopMonitoringScheduleError) -> Self {
8248        match err {
8249            crate::operation::stop_monitoring_schedule::StopMonitoringScheduleError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8250            crate::operation::stop_monitoring_schedule::StopMonitoringScheduleError::Unhandled(inner) => Error::Unhandled(inner),
8251        }
8252    }
8253}
8254impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_notebook_instance::StopNotebookInstanceError, R>> for Error
8255where
8256    R: Send + Sync + std::fmt::Debug + 'static,
8257{
8258    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_notebook_instance::StopNotebookInstanceError, R>) -> Self {
8259        match err {
8260            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8261            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8262                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8263                source: err.into(),
8264            }),
8265        }
8266    }
8267}
8268impl From<crate::operation::stop_notebook_instance::StopNotebookInstanceError> for Error {
8269    fn from(err: crate::operation::stop_notebook_instance::StopNotebookInstanceError) -> Self {
8270        match err {
8271            crate::operation::stop_notebook_instance::StopNotebookInstanceError::Unhandled(inner) => Error::Unhandled(inner),
8272        }
8273    }
8274}
8275impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_optimization_job::StopOptimizationJobError, R>> for Error
8276where
8277    R: Send + Sync + std::fmt::Debug + 'static,
8278{
8279    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_optimization_job::StopOptimizationJobError, R>) -> Self {
8280        match err {
8281            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8282            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8283                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8284                source: err.into(),
8285            }),
8286        }
8287    }
8288}
8289impl From<crate::operation::stop_optimization_job::StopOptimizationJobError> for Error {
8290    fn from(err: crate::operation::stop_optimization_job::StopOptimizationJobError) -> Self {
8291        match err {
8292            crate::operation::stop_optimization_job::StopOptimizationJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8293            crate::operation::stop_optimization_job::StopOptimizationJobError::Unhandled(inner) => Error::Unhandled(inner),
8294        }
8295    }
8296}
8297impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_pipeline_execution::StopPipelineExecutionError, R>> for Error
8298where
8299    R: Send + Sync + std::fmt::Debug + 'static,
8300{
8301    fn from(
8302        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_pipeline_execution::StopPipelineExecutionError, R>,
8303    ) -> Self {
8304        match err {
8305            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8306            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8307                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8308                source: err.into(),
8309            }),
8310        }
8311    }
8312}
8313impl From<crate::operation::stop_pipeline_execution::StopPipelineExecutionError> for Error {
8314    fn from(err: crate::operation::stop_pipeline_execution::StopPipelineExecutionError) -> Self {
8315        match err {
8316            crate::operation::stop_pipeline_execution::StopPipelineExecutionError::ConflictException(inner) => Error::ConflictException(inner),
8317            crate::operation::stop_pipeline_execution::StopPipelineExecutionError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8318            crate::operation::stop_pipeline_execution::StopPipelineExecutionError::Unhandled(inner) => Error::Unhandled(inner),
8319        }
8320    }
8321}
8322impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_processing_job::StopProcessingJobError, R>> for Error
8323where
8324    R: Send + Sync + std::fmt::Debug + 'static,
8325{
8326    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_processing_job::StopProcessingJobError, R>) -> Self {
8327        match err {
8328            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8329            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8330                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8331                source: err.into(),
8332            }),
8333        }
8334    }
8335}
8336impl From<crate::operation::stop_processing_job::StopProcessingJobError> for Error {
8337    fn from(err: crate::operation::stop_processing_job::StopProcessingJobError) -> Self {
8338        match err {
8339            crate::operation::stop_processing_job::StopProcessingJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8340            crate::operation::stop_processing_job::StopProcessingJobError::Unhandled(inner) => Error::Unhandled(inner),
8341        }
8342    }
8343}
8344impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_training_job::StopTrainingJobError, R>> for Error
8345where
8346    R: Send + Sync + std::fmt::Debug + 'static,
8347{
8348    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_training_job::StopTrainingJobError, R>) -> Self {
8349        match err {
8350            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8351            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8352                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8353                source: err.into(),
8354            }),
8355        }
8356    }
8357}
8358impl From<crate::operation::stop_training_job::StopTrainingJobError> for Error {
8359    fn from(err: crate::operation::stop_training_job::StopTrainingJobError) -> Self {
8360        match err {
8361            crate::operation::stop_training_job::StopTrainingJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8362            crate::operation::stop_training_job::StopTrainingJobError::Unhandled(inner) => Error::Unhandled(inner),
8363        }
8364    }
8365}
8366impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_transform_job::StopTransformJobError, R>> for Error
8367where
8368    R: Send + Sync + std::fmt::Debug + 'static,
8369{
8370    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_transform_job::StopTransformJobError, R>) -> Self {
8371        match err {
8372            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8373            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8374                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8375                source: err.into(),
8376            }),
8377        }
8378    }
8379}
8380impl From<crate::operation::stop_transform_job::StopTransformJobError> for Error {
8381    fn from(err: crate::operation::stop_transform_job::StopTransformJobError) -> Self {
8382        match err {
8383            crate::operation::stop_transform_job::StopTransformJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8384            crate::operation::stop_transform_job::StopTransformJobError::Unhandled(inner) => Error::Unhandled(inner),
8385        }
8386    }
8387}
8388impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_action::UpdateActionError, R>> for Error
8389where
8390    R: Send + Sync + std::fmt::Debug + 'static,
8391{
8392    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_action::UpdateActionError, R>) -> Self {
8393        match err {
8394            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8395            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8396                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8397                source: err.into(),
8398            }),
8399        }
8400    }
8401}
8402impl From<crate::operation::update_action::UpdateActionError> for Error {
8403    fn from(err: crate::operation::update_action::UpdateActionError) -> Self {
8404        match err {
8405            crate::operation::update_action::UpdateActionError::ConflictException(inner) => Error::ConflictException(inner),
8406            crate::operation::update_action::UpdateActionError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8407            crate::operation::update_action::UpdateActionError::Unhandled(inner) => Error::Unhandled(inner),
8408        }
8409    }
8410}
8411impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_app_image_config::UpdateAppImageConfigError, R>> for Error
8412where
8413    R: Send + Sync + std::fmt::Debug + 'static,
8414{
8415    fn from(
8416        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_app_image_config::UpdateAppImageConfigError, R>,
8417    ) -> Self {
8418        match err {
8419            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8420            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8421                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8422                source: err.into(),
8423            }),
8424        }
8425    }
8426}
8427impl From<crate::operation::update_app_image_config::UpdateAppImageConfigError> for Error {
8428    fn from(err: crate::operation::update_app_image_config::UpdateAppImageConfigError) -> Self {
8429        match err {
8430            crate::operation::update_app_image_config::UpdateAppImageConfigError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8431            crate::operation::update_app_image_config::UpdateAppImageConfigError::Unhandled(inner) => Error::Unhandled(inner),
8432        }
8433    }
8434}
8435impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_artifact::UpdateArtifactError, R>> for Error
8436where
8437    R: Send + Sync + std::fmt::Debug + 'static,
8438{
8439    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_artifact::UpdateArtifactError, R>) -> Self {
8440        match err {
8441            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8442            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8443                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8444                source: err.into(),
8445            }),
8446        }
8447    }
8448}
8449impl From<crate::operation::update_artifact::UpdateArtifactError> for Error {
8450    fn from(err: crate::operation::update_artifact::UpdateArtifactError) -> Self {
8451        match err {
8452            crate::operation::update_artifact::UpdateArtifactError::ConflictException(inner) => Error::ConflictException(inner),
8453            crate::operation::update_artifact::UpdateArtifactError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8454            crate::operation::update_artifact::UpdateArtifactError::Unhandled(inner) => Error::Unhandled(inner),
8455        }
8456    }
8457}
8458impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_cluster::UpdateClusterError, R>> for Error
8459where
8460    R: Send + Sync + std::fmt::Debug + 'static,
8461{
8462    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_cluster::UpdateClusterError, R>) -> Self {
8463        match err {
8464            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8465            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8466                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8467                source: err.into(),
8468            }),
8469        }
8470    }
8471}
8472impl From<crate::operation::update_cluster::UpdateClusterError> for Error {
8473    fn from(err: crate::operation::update_cluster::UpdateClusterError) -> Self {
8474        match err {
8475            crate::operation::update_cluster::UpdateClusterError::ConflictException(inner) => Error::ConflictException(inner),
8476            crate::operation::update_cluster::UpdateClusterError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
8477            crate::operation::update_cluster::UpdateClusterError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8478            crate::operation::update_cluster::UpdateClusterError::Unhandled(inner) => Error::Unhandled(inner),
8479        }
8480    }
8481}
8482impl<R>
8483    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_cluster_scheduler_config::UpdateClusterSchedulerConfigError, R>>
8484    for Error
8485where
8486    R: Send + Sync + std::fmt::Debug + 'static,
8487{
8488    fn from(
8489        err: ::aws_smithy_runtime_api::client::result::SdkError<
8490            crate::operation::update_cluster_scheduler_config::UpdateClusterSchedulerConfigError,
8491            R,
8492        >,
8493    ) -> Self {
8494        match err {
8495            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8496            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8497                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8498                source: err.into(),
8499            }),
8500        }
8501    }
8502}
8503impl From<crate::operation::update_cluster_scheduler_config::UpdateClusterSchedulerConfigError> for Error {
8504    fn from(err: crate::operation::update_cluster_scheduler_config::UpdateClusterSchedulerConfigError) -> Self {
8505        match err {
8506            crate::operation::update_cluster_scheduler_config::UpdateClusterSchedulerConfigError::ConflictException(inner) => {
8507                Error::ConflictException(inner)
8508            }
8509            crate::operation::update_cluster_scheduler_config::UpdateClusterSchedulerConfigError::ResourceLimitExceeded(inner) => {
8510                Error::ResourceLimitExceeded(inner)
8511            }
8512            crate::operation::update_cluster_scheduler_config::UpdateClusterSchedulerConfigError::ResourceNotFound(inner) => {
8513                Error::ResourceNotFound(inner)
8514            }
8515            crate::operation::update_cluster_scheduler_config::UpdateClusterSchedulerConfigError::Unhandled(inner) => Error::Unhandled(inner),
8516        }
8517    }
8518}
8519impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_cluster_software::UpdateClusterSoftwareError, R>> for Error
8520where
8521    R: Send + Sync + std::fmt::Debug + 'static,
8522{
8523    fn from(
8524        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_cluster_software::UpdateClusterSoftwareError, R>,
8525    ) -> Self {
8526        match err {
8527            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8528            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8529                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8530                source: err.into(),
8531            }),
8532        }
8533    }
8534}
8535impl From<crate::operation::update_cluster_software::UpdateClusterSoftwareError> for Error {
8536    fn from(err: crate::operation::update_cluster_software::UpdateClusterSoftwareError) -> Self {
8537        match err {
8538            crate::operation::update_cluster_software::UpdateClusterSoftwareError::ConflictException(inner) => Error::ConflictException(inner),
8539            crate::operation::update_cluster_software::UpdateClusterSoftwareError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8540            crate::operation::update_cluster_software::UpdateClusterSoftwareError::Unhandled(inner) => Error::Unhandled(inner),
8541        }
8542    }
8543}
8544impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_code_repository::UpdateCodeRepositoryError, R>> for Error
8545where
8546    R: Send + Sync + std::fmt::Debug + 'static,
8547{
8548    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_code_repository::UpdateCodeRepositoryError, R>) -> Self {
8549        match err {
8550            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8551            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8552                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8553                source: err.into(),
8554            }),
8555        }
8556    }
8557}
8558impl From<crate::operation::update_code_repository::UpdateCodeRepositoryError> for Error {
8559    fn from(err: crate::operation::update_code_repository::UpdateCodeRepositoryError) -> Self {
8560        match err {
8561            crate::operation::update_code_repository::UpdateCodeRepositoryError::ConflictException(inner) => Error::ConflictException(inner),
8562            crate::operation::update_code_repository::UpdateCodeRepositoryError::Unhandled(inner) => Error::Unhandled(inner),
8563        }
8564    }
8565}
8566impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_compute_quota::UpdateComputeQuotaError, R>> for Error
8567where
8568    R: Send + Sync + std::fmt::Debug + 'static,
8569{
8570    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_compute_quota::UpdateComputeQuotaError, R>) -> Self {
8571        match err {
8572            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8573            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8574                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8575                source: err.into(),
8576            }),
8577        }
8578    }
8579}
8580impl From<crate::operation::update_compute_quota::UpdateComputeQuotaError> for Error {
8581    fn from(err: crate::operation::update_compute_quota::UpdateComputeQuotaError) -> Self {
8582        match err {
8583            crate::operation::update_compute_quota::UpdateComputeQuotaError::ConflictException(inner) => Error::ConflictException(inner),
8584            crate::operation::update_compute_quota::UpdateComputeQuotaError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
8585            crate::operation::update_compute_quota::UpdateComputeQuotaError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8586            crate::operation::update_compute_quota::UpdateComputeQuotaError::Unhandled(inner) => Error::Unhandled(inner),
8587        }
8588    }
8589}
8590impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_context::UpdateContextError, R>> for Error
8591where
8592    R: Send + Sync + std::fmt::Debug + 'static,
8593{
8594    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_context::UpdateContextError, R>) -> Self {
8595        match err {
8596            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8597            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8598                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8599                source: err.into(),
8600            }),
8601        }
8602    }
8603}
8604impl From<crate::operation::update_context::UpdateContextError> for Error {
8605    fn from(err: crate::operation::update_context::UpdateContextError) -> Self {
8606        match err {
8607            crate::operation::update_context::UpdateContextError::ConflictException(inner) => Error::ConflictException(inner),
8608            crate::operation::update_context::UpdateContextError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8609            crate::operation::update_context::UpdateContextError::Unhandled(inner) => Error::Unhandled(inner),
8610        }
8611    }
8612}
8613impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_device_fleet::UpdateDeviceFleetError, R>> for Error
8614where
8615    R: Send + Sync + std::fmt::Debug + 'static,
8616{
8617    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_device_fleet::UpdateDeviceFleetError, R>) -> Self {
8618        match err {
8619            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8620            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8621                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8622                source: err.into(),
8623            }),
8624        }
8625    }
8626}
8627impl From<crate::operation::update_device_fleet::UpdateDeviceFleetError> for Error {
8628    fn from(err: crate::operation::update_device_fleet::UpdateDeviceFleetError) -> Self {
8629        match err {
8630            crate::operation::update_device_fleet::UpdateDeviceFleetError::ResourceInUse(inner) => Error::ResourceInUse(inner),
8631            crate::operation::update_device_fleet::UpdateDeviceFleetError::Unhandled(inner) => Error::Unhandled(inner),
8632        }
8633    }
8634}
8635impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_devices::UpdateDevicesError, R>> for Error
8636where
8637    R: Send + Sync + std::fmt::Debug + 'static,
8638{
8639    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_devices::UpdateDevicesError, R>) -> Self {
8640        match err {
8641            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8642            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8643                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8644                source: err.into(),
8645            }),
8646        }
8647    }
8648}
8649impl From<crate::operation::update_devices::UpdateDevicesError> for Error {
8650    fn from(err: crate::operation::update_devices::UpdateDevicesError) -> Self {
8651        match err {
8652            crate::operation::update_devices::UpdateDevicesError::Unhandled(inner) => Error::Unhandled(inner),
8653        }
8654    }
8655}
8656impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_domain::UpdateDomainError, R>> for Error
8657where
8658    R: Send + Sync + std::fmt::Debug + 'static,
8659{
8660    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_domain::UpdateDomainError, R>) -> Self {
8661        match err {
8662            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8663            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8664                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8665                source: err.into(),
8666            }),
8667        }
8668    }
8669}
8670impl From<crate::operation::update_domain::UpdateDomainError> for Error {
8671    fn from(err: crate::operation::update_domain::UpdateDomainError) -> Self {
8672        match err {
8673            crate::operation::update_domain::UpdateDomainError::ResourceInUse(inner) => Error::ResourceInUse(inner),
8674            crate::operation::update_domain::UpdateDomainError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
8675            crate::operation::update_domain::UpdateDomainError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8676            crate::operation::update_domain::UpdateDomainError::Unhandled(inner) => Error::Unhandled(inner),
8677        }
8678    }
8679}
8680impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_endpoint::UpdateEndpointError, R>> for Error
8681where
8682    R: Send + Sync + std::fmt::Debug + 'static,
8683{
8684    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_endpoint::UpdateEndpointError, R>) -> Self {
8685        match err {
8686            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8687            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8688                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8689                source: err.into(),
8690            }),
8691        }
8692    }
8693}
8694impl From<crate::operation::update_endpoint::UpdateEndpointError> for Error {
8695    fn from(err: crate::operation::update_endpoint::UpdateEndpointError) -> Self {
8696        match err {
8697            crate::operation::update_endpoint::UpdateEndpointError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
8698            crate::operation::update_endpoint::UpdateEndpointError::Unhandled(inner) => Error::Unhandled(inner),
8699        }
8700    }
8701}
8702impl<R>
8703    From<
8704        ::aws_smithy_runtime_api::client::result::SdkError<
8705            crate::operation::update_endpoint_weights_and_capacities::UpdateEndpointWeightsAndCapacitiesError,
8706            R,
8707        >,
8708    > for Error
8709where
8710    R: Send + Sync + std::fmt::Debug + 'static,
8711{
8712    fn from(
8713        err: ::aws_smithy_runtime_api::client::result::SdkError<
8714            crate::operation::update_endpoint_weights_and_capacities::UpdateEndpointWeightsAndCapacitiesError,
8715            R,
8716        >,
8717    ) -> 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_endpoint_weights_and_capacities::UpdateEndpointWeightsAndCapacitiesError> for Error {
8728    fn from(err: crate::operation::update_endpoint_weights_and_capacities::UpdateEndpointWeightsAndCapacitiesError) -> Self {
8729        match err {
8730            crate::operation::update_endpoint_weights_and_capacities::UpdateEndpointWeightsAndCapacitiesError::ResourceLimitExceeded(inner) => {
8731                Error::ResourceLimitExceeded(inner)
8732            }
8733            crate::operation::update_endpoint_weights_and_capacities::UpdateEndpointWeightsAndCapacitiesError::Unhandled(inner) => {
8734                Error::Unhandled(inner)
8735            }
8736        }
8737    }
8738}
8739impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_experiment::UpdateExperimentError, R>> for Error
8740where
8741    R: Send + Sync + std::fmt::Debug + 'static,
8742{
8743    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_experiment::UpdateExperimentError, R>) -> 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_experiment::UpdateExperimentError> for Error {
8754    fn from(err: crate::operation::update_experiment::UpdateExperimentError) -> Self {
8755        match err {
8756            crate::operation::update_experiment::UpdateExperimentError::ConflictException(inner) => Error::ConflictException(inner),
8757            crate::operation::update_experiment::UpdateExperimentError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8758            crate::operation::update_experiment::UpdateExperimentError::Unhandled(inner) => Error::Unhandled(inner),
8759        }
8760    }
8761}
8762impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_feature_group::UpdateFeatureGroupError, 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_feature_group::UpdateFeatureGroupError, 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_feature_group::UpdateFeatureGroupError> for Error {
8777    fn from(err: crate::operation::update_feature_group::UpdateFeatureGroupError) -> Self {
8778        match err {
8779            crate::operation::update_feature_group::UpdateFeatureGroupError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
8780            crate::operation::update_feature_group::UpdateFeatureGroupError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8781            crate::operation::update_feature_group::UpdateFeatureGroupError::Unhandled(inner) => Error::Unhandled(inner),
8782        }
8783    }
8784}
8785impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_feature_metadata::UpdateFeatureMetadataError, R>> for Error
8786where
8787    R: Send + Sync + std::fmt::Debug + 'static,
8788{
8789    fn from(
8790        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_feature_metadata::UpdateFeatureMetadataError, R>,
8791    ) -> Self {
8792        match err {
8793            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8794            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8795                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8796                source: err.into(),
8797            }),
8798        }
8799    }
8800}
8801impl From<crate::operation::update_feature_metadata::UpdateFeatureMetadataError> for Error {
8802    fn from(err: crate::operation::update_feature_metadata::UpdateFeatureMetadataError) -> Self {
8803        match err {
8804            crate::operation::update_feature_metadata::UpdateFeatureMetadataError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8805            crate::operation::update_feature_metadata::UpdateFeatureMetadataError::Unhandled(inner) => Error::Unhandled(inner),
8806        }
8807    }
8808}
8809impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_hub::UpdateHubError, R>> for Error
8810where
8811    R: Send + Sync + std::fmt::Debug + 'static,
8812{
8813    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_hub::UpdateHubError, R>) -> Self {
8814        match err {
8815            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8816            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8817                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8818                source: err.into(),
8819            }),
8820        }
8821    }
8822}
8823impl From<crate::operation::update_hub::UpdateHubError> for Error {
8824    fn from(err: crate::operation::update_hub::UpdateHubError) -> Self {
8825        match err {
8826            crate::operation::update_hub::UpdateHubError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8827            crate::operation::update_hub::UpdateHubError::Unhandled(inner) => Error::Unhandled(inner),
8828        }
8829    }
8830}
8831impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_hub_content::UpdateHubContentError, R>> for Error
8832where
8833    R: Send + Sync + std::fmt::Debug + 'static,
8834{
8835    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_hub_content::UpdateHubContentError, R>) -> Self {
8836        match err {
8837            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8838            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8839                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8840                source: err.into(),
8841            }),
8842        }
8843    }
8844}
8845impl From<crate::operation::update_hub_content::UpdateHubContentError> for Error {
8846    fn from(err: crate::operation::update_hub_content::UpdateHubContentError) -> Self {
8847        match err {
8848            crate::operation::update_hub_content::UpdateHubContentError::ResourceInUse(inner) => Error::ResourceInUse(inner),
8849            crate::operation::update_hub_content::UpdateHubContentError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8850            crate::operation::update_hub_content::UpdateHubContentError::Unhandled(inner) => Error::Unhandled(inner),
8851        }
8852    }
8853}
8854impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_hub_content_reference::UpdateHubContentReferenceError, R>>
8855    for Error
8856where
8857    R: Send + Sync + std::fmt::Debug + 'static,
8858{
8859    fn from(
8860        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_hub_content_reference::UpdateHubContentReferenceError, R>,
8861    ) -> Self {
8862        match err {
8863            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8864            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8865                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8866                source: err.into(),
8867            }),
8868        }
8869    }
8870}
8871impl From<crate::operation::update_hub_content_reference::UpdateHubContentReferenceError> for Error {
8872    fn from(err: crate::operation::update_hub_content_reference::UpdateHubContentReferenceError) -> Self {
8873        match err {
8874            crate::operation::update_hub_content_reference::UpdateHubContentReferenceError::ResourceInUse(inner) => Error::ResourceInUse(inner),
8875            crate::operation::update_hub_content_reference::UpdateHubContentReferenceError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8876            crate::operation::update_hub_content_reference::UpdateHubContentReferenceError::Unhandled(inner) => Error::Unhandled(inner),
8877        }
8878    }
8879}
8880impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_image::UpdateImageError, R>> for Error
8881where
8882    R: Send + Sync + std::fmt::Debug + 'static,
8883{
8884    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_image::UpdateImageError, R>) -> Self {
8885        match err {
8886            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8887            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8888                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8889                source: err.into(),
8890            }),
8891        }
8892    }
8893}
8894impl From<crate::operation::update_image::UpdateImageError> for Error {
8895    fn from(err: crate::operation::update_image::UpdateImageError) -> Self {
8896        match err {
8897            crate::operation::update_image::UpdateImageError::ResourceInUse(inner) => Error::ResourceInUse(inner),
8898            crate::operation::update_image::UpdateImageError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8899            crate::operation::update_image::UpdateImageError::Unhandled(inner) => Error::Unhandled(inner),
8900        }
8901    }
8902}
8903impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_image_version::UpdateImageVersionError, R>> for Error
8904where
8905    R: Send + Sync + std::fmt::Debug + 'static,
8906{
8907    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_image_version::UpdateImageVersionError, R>) -> 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_image_version::UpdateImageVersionError> for Error {
8918    fn from(err: crate::operation::update_image_version::UpdateImageVersionError) -> Self {
8919        match err {
8920            crate::operation::update_image_version::UpdateImageVersionError::ResourceInUse(inner) => Error::ResourceInUse(inner),
8921            crate::operation::update_image_version::UpdateImageVersionError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8922            crate::operation::update_image_version::UpdateImageVersionError::Unhandled(inner) => Error::Unhandled(inner),
8923        }
8924    }
8925}
8926impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_inference_component::UpdateInferenceComponentError, R>>
8927    for Error
8928where
8929    R: Send + Sync + std::fmt::Debug + 'static,
8930{
8931    fn from(
8932        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_inference_component::UpdateInferenceComponentError, R>,
8933    ) -> Self {
8934        match err {
8935            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8936            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8937                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8938                source: err.into(),
8939            }),
8940        }
8941    }
8942}
8943impl From<crate::operation::update_inference_component::UpdateInferenceComponentError> for Error {
8944    fn from(err: crate::operation::update_inference_component::UpdateInferenceComponentError) -> Self {
8945        match err {
8946            crate::operation::update_inference_component::UpdateInferenceComponentError::ResourceLimitExceeded(inner) => {
8947                Error::ResourceLimitExceeded(inner)
8948            }
8949            crate::operation::update_inference_component::UpdateInferenceComponentError::Unhandled(inner) => Error::Unhandled(inner),
8950        }
8951    }
8952}
8953impl<R>
8954    From<
8955        ::aws_smithy_runtime_api::client::result::SdkError<
8956            crate::operation::update_inference_component_runtime_config::UpdateInferenceComponentRuntimeConfigError,
8957            R,
8958        >,
8959    > for Error
8960where
8961    R: Send + Sync + std::fmt::Debug + 'static,
8962{
8963    fn from(
8964        err: ::aws_smithy_runtime_api::client::result::SdkError<
8965            crate::operation::update_inference_component_runtime_config::UpdateInferenceComponentRuntimeConfigError,
8966            R,
8967        >,
8968    ) -> Self {
8969        match err {
8970            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8971            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8972                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8973                source: err.into(),
8974            }),
8975        }
8976    }
8977}
8978impl From<crate::operation::update_inference_component_runtime_config::UpdateInferenceComponentRuntimeConfigError> for Error {
8979    fn from(err: crate::operation::update_inference_component_runtime_config::UpdateInferenceComponentRuntimeConfigError) -> Self {
8980        match err {
8981            crate::operation::update_inference_component_runtime_config::UpdateInferenceComponentRuntimeConfigError::ResourceLimitExceeded(inner) => {
8982                Error::ResourceLimitExceeded(inner)
8983            }
8984            crate::operation::update_inference_component_runtime_config::UpdateInferenceComponentRuntimeConfigError::Unhandled(inner) => {
8985                Error::Unhandled(inner)
8986            }
8987        }
8988    }
8989}
8990impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_inference_experiment::UpdateInferenceExperimentError, R>>
8991    for Error
8992where
8993    R: Send + Sync + std::fmt::Debug + 'static,
8994{
8995    fn from(
8996        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_inference_experiment::UpdateInferenceExperimentError, R>,
8997    ) -> Self {
8998        match err {
8999            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9000            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9001                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9002                source: err.into(),
9003            }),
9004        }
9005    }
9006}
9007impl From<crate::operation::update_inference_experiment::UpdateInferenceExperimentError> for Error {
9008    fn from(err: crate::operation::update_inference_experiment::UpdateInferenceExperimentError) -> Self {
9009        match err {
9010            crate::operation::update_inference_experiment::UpdateInferenceExperimentError::ConflictException(inner) => {
9011                Error::ConflictException(inner)
9012            }
9013            crate::operation::update_inference_experiment::UpdateInferenceExperimentError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
9014            crate::operation::update_inference_experiment::UpdateInferenceExperimentError::Unhandled(inner) => Error::Unhandled(inner),
9015        }
9016    }
9017}
9018impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_mlflow_app::UpdateMlflowAppError, R>> for Error
9019where
9020    R: Send + Sync + std::fmt::Debug + 'static,
9021{
9022    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_mlflow_app::UpdateMlflowAppError, R>) -> Self {
9023        match err {
9024            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9025            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9026                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9027                source: err.into(),
9028            }),
9029        }
9030    }
9031}
9032impl From<crate::operation::update_mlflow_app::UpdateMlflowAppError> for Error {
9033    fn from(err: crate::operation::update_mlflow_app::UpdateMlflowAppError) -> Self {
9034        match err {
9035            crate::operation::update_mlflow_app::UpdateMlflowAppError::ConflictException(inner) => Error::ConflictException(inner),
9036            crate::operation::update_mlflow_app::UpdateMlflowAppError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
9037            crate::operation::update_mlflow_app::UpdateMlflowAppError::Unhandled(inner) => Error::Unhandled(inner),
9038        }
9039    }
9040}
9041impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_mlflow_tracking_server::UpdateMlflowTrackingServerError, R>>
9042    for Error
9043where
9044    R: Send + Sync + std::fmt::Debug + 'static,
9045{
9046    fn from(
9047        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_mlflow_tracking_server::UpdateMlflowTrackingServerError, R>,
9048    ) -> Self {
9049        match err {
9050            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9051            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9052                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9053                source: err.into(),
9054            }),
9055        }
9056    }
9057}
9058impl From<crate::operation::update_mlflow_tracking_server::UpdateMlflowTrackingServerError> for Error {
9059    fn from(err: crate::operation::update_mlflow_tracking_server::UpdateMlflowTrackingServerError) -> Self {
9060        match err {
9061            crate::operation::update_mlflow_tracking_server::UpdateMlflowTrackingServerError::ConflictException(inner) => {
9062                Error::ConflictException(inner)
9063            }
9064            crate::operation::update_mlflow_tracking_server::UpdateMlflowTrackingServerError::ResourceLimitExceeded(inner) => {
9065                Error::ResourceLimitExceeded(inner)
9066            }
9067            crate::operation::update_mlflow_tracking_server::UpdateMlflowTrackingServerError::ResourceNotFound(inner) => {
9068                Error::ResourceNotFound(inner)
9069            }
9070            crate::operation::update_mlflow_tracking_server::UpdateMlflowTrackingServerError::Unhandled(inner) => Error::Unhandled(inner),
9071        }
9072    }
9073}
9074impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_model_card::UpdateModelCardError, R>> for Error
9075where
9076    R: Send + Sync + std::fmt::Debug + 'static,
9077{
9078    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_model_card::UpdateModelCardError, R>) -> Self {
9079        match err {
9080            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9081            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9082                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9083                source: err.into(),
9084            }),
9085        }
9086    }
9087}
9088impl From<crate::operation::update_model_card::UpdateModelCardError> for Error {
9089    fn from(err: crate::operation::update_model_card::UpdateModelCardError) -> Self {
9090        match err {
9091            crate::operation::update_model_card::UpdateModelCardError::ConflictException(inner) => Error::ConflictException(inner),
9092            crate::operation::update_model_card::UpdateModelCardError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
9093            crate::operation::update_model_card::UpdateModelCardError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
9094            crate::operation::update_model_card::UpdateModelCardError::Unhandled(inner) => Error::Unhandled(inner),
9095        }
9096    }
9097}
9098impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_model_package::UpdateModelPackageError, R>> for Error
9099where
9100    R: Send + Sync + std::fmt::Debug + 'static,
9101{
9102    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_model_package::UpdateModelPackageError, R>) -> Self {
9103        match err {
9104            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9105            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9106                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9107                source: err.into(),
9108            }),
9109        }
9110    }
9111}
9112impl From<crate::operation::update_model_package::UpdateModelPackageError> for Error {
9113    fn from(err: crate::operation::update_model_package::UpdateModelPackageError) -> Self {
9114        match err {
9115            crate::operation::update_model_package::UpdateModelPackageError::ConflictException(inner) => Error::ConflictException(inner),
9116            crate::operation::update_model_package::UpdateModelPackageError::Unhandled(inner) => Error::Unhandled(inner),
9117        }
9118    }
9119}
9120impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_monitoring_alert::UpdateMonitoringAlertError, R>> for Error
9121where
9122    R: Send + Sync + std::fmt::Debug + 'static,
9123{
9124    fn from(
9125        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_monitoring_alert::UpdateMonitoringAlertError, R>,
9126    ) -> Self {
9127        match err {
9128            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9129            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9130                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9131                source: err.into(),
9132            }),
9133        }
9134    }
9135}
9136impl From<crate::operation::update_monitoring_alert::UpdateMonitoringAlertError> for Error {
9137    fn from(err: crate::operation::update_monitoring_alert::UpdateMonitoringAlertError) -> Self {
9138        match err {
9139            crate::operation::update_monitoring_alert::UpdateMonitoringAlertError::ResourceLimitExceeded(inner) => {
9140                Error::ResourceLimitExceeded(inner)
9141            }
9142            crate::operation::update_monitoring_alert::UpdateMonitoringAlertError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
9143            crate::operation::update_monitoring_alert::UpdateMonitoringAlertError::Unhandled(inner) => Error::Unhandled(inner),
9144        }
9145    }
9146}
9147impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_monitoring_schedule::UpdateMonitoringScheduleError, R>>
9148    for Error
9149where
9150    R: Send + Sync + std::fmt::Debug + 'static,
9151{
9152    fn from(
9153        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_monitoring_schedule::UpdateMonitoringScheduleError, R>,
9154    ) -> Self {
9155        match err {
9156            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9157            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9158                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9159                source: err.into(),
9160            }),
9161        }
9162    }
9163}
9164impl From<crate::operation::update_monitoring_schedule::UpdateMonitoringScheduleError> for Error {
9165    fn from(err: crate::operation::update_monitoring_schedule::UpdateMonitoringScheduleError) -> Self {
9166        match err {
9167            crate::operation::update_monitoring_schedule::UpdateMonitoringScheduleError::ResourceLimitExceeded(inner) => {
9168                Error::ResourceLimitExceeded(inner)
9169            }
9170            crate::operation::update_monitoring_schedule::UpdateMonitoringScheduleError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
9171            crate::operation::update_monitoring_schedule::UpdateMonitoringScheduleError::Unhandled(inner) => Error::Unhandled(inner),
9172        }
9173    }
9174}
9175impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_notebook_instance::UpdateNotebookInstanceError, R>> for Error
9176where
9177    R: Send + Sync + std::fmt::Debug + 'static,
9178{
9179    fn from(
9180        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_notebook_instance::UpdateNotebookInstanceError, R>,
9181    ) -> Self {
9182        match err {
9183            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9184            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9185                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9186                source: err.into(),
9187            }),
9188        }
9189    }
9190}
9191impl From<crate::operation::update_notebook_instance::UpdateNotebookInstanceError> for Error {
9192    fn from(err: crate::operation::update_notebook_instance::UpdateNotebookInstanceError) -> Self {
9193        match err {
9194            crate::operation::update_notebook_instance::UpdateNotebookInstanceError::ResourceLimitExceeded(inner) => {
9195                Error::ResourceLimitExceeded(inner)
9196            }
9197            crate::operation::update_notebook_instance::UpdateNotebookInstanceError::Unhandled(inner) => Error::Unhandled(inner),
9198        }
9199    }
9200}
9201impl<R>
9202    From<
9203        ::aws_smithy_runtime_api::client::result::SdkError<
9204            crate::operation::update_notebook_instance_lifecycle_config::UpdateNotebookInstanceLifecycleConfigError,
9205            R,
9206        >,
9207    > for Error
9208where
9209    R: Send + Sync + std::fmt::Debug + 'static,
9210{
9211    fn from(
9212        err: ::aws_smithy_runtime_api::client::result::SdkError<
9213            crate::operation::update_notebook_instance_lifecycle_config::UpdateNotebookInstanceLifecycleConfigError,
9214            R,
9215        >,
9216    ) -> Self {
9217        match err {
9218            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9219            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9220                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9221                source: err.into(),
9222            }),
9223        }
9224    }
9225}
9226impl From<crate::operation::update_notebook_instance_lifecycle_config::UpdateNotebookInstanceLifecycleConfigError> for Error {
9227    fn from(err: crate::operation::update_notebook_instance_lifecycle_config::UpdateNotebookInstanceLifecycleConfigError) -> Self {
9228        match err {
9229            crate::operation::update_notebook_instance_lifecycle_config::UpdateNotebookInstanceLifecycleConfigError::ResourceLimitExceeded(inner) => {
9230                Error::ResourceLimitExceeded(inner)
9231            }
9232            crate::operation::update_notebook_instance_lifecycle_config::UpdateNotebookInstanceLifecycleConfigError::Unhandled(inner) => {
9233                Error::Unhandled(inner)
9234            }
9235        }
9236    }
9237}
9238impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_partner_app::UpdatePartnerAppError, R>> for Error
9239where
9240    R: Send + Sync + std::fmt::Debug + 'static,
9241{
9242    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_partner_app::UpdatePartnerAppError, R>) -> Self {
9243        match err {
9244            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9245            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9246                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9247                source: err.into(),
9248            }),
9249        }
9250    }
9251}
9252impl From<crate::operation::update_partner_app::UpdatePartnerAppError> for Error {
9253    fn from(err: crate::operation::update_partner_app::UpdatePartnerAppError) -> Self {
9254        match err {
9255            crate::operation::update_partner_app::UpdatePartnerAppError::ConflictException(inner) => Error::ConflictException(inner),
9256            crate::operation::update_partner_app::UpdatePartnerAppError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
9257            crate::operation::update_partner_app::UpdatePartnerAppError::Unhandled(inner) => Error::Unhandled(inner),
9258        }
9259    }
9260}
9261impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_pipeline::UpdatePipelineError, R>> for Error
9262where
9263    R: Send + Sync + std::fmt::Debug + 'static,
9264{
9265    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_pipeline::UpdatePipelineError, R>) -> Self {
9266        match err {
9267            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9268            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9269                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9270                source: err.into(),
9271            }),
9272        }
9273    }
9274}
9275impl From<crate::operation::update_pipeline::UpdatePipelineError> for Error {
9276    fn from(err: crate::operation::update_pipeline::UpdatePipelineError) -> Self {
9277        match err {
9278            crate::operation::update_pipeline::UpdatePipelineError::ConflictException(inner) => Error::ConflictException(inner),
9279            crate::operation::update_pipeline::UpdatePipelineError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
9280            crate::operation::update_pipeline::UpdatePipelineError::Unhandled(inner) => Error::Unhandled(inner),
9281        }
9282    }
9283}
9284impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_pipeline_execution::UpdatePipelineExecutionError, R>>
9285    for Error
9286where
9287    R: Send + Sync + std::fmt::Debug + 'static,
9288{
9289    fn from(
9290        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_pipeline_execution::UpdatePipelineExecutionError, R>,
9291    ) -> Self {
9292        match err {
9293            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9294            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9295                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9296                source: err.into(),
9297            }),
9298        }
9299    }
9300}
9301impl From<crate::operation::update_pipeline_execution::UpdatePipelineExecutionError> for Error {
9302    fn from(err: crate::operation::update_pipeline_execution::UpdatePipelineExecutionError) -> Self {
9303        match err {
9304            crate::operation::update_pipeline_execution::UpdatePipelineExecutionError::ConflictException(inner) => Error::ConflictException(inner),
9305            crate::operation::update_pipeline_execution::UpdatePipelineExecutionError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
9306            crate::operation::update_pipeline_execution::UpdatePipelineExecutionError::Unhandled(inner) => Error::Unhandled(inner),
9307        }
9308    }
9309}
9310impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_pipeline_version::UpdatePipelineVersionError, R>> for Error
9311where
9312    R: Send + Sync + std::fmt::Debug + 'static,
9313{
9314    fn from(
9315        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_pipeline_version::UpdatePipelineVersionError, R>,
9316    ) -> Self {
9317        match err {
9318            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9319            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9320                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9321                source: err.into(),
9322            }),
9323        }
9324    }
9325}
9326impl From<crate::operation::update_pipeline_version::UpdatePipelineVersionError> for Error {
9327    fn from(err: crate::operation::update_pipeline_version::UpdatePipelineVersionError) -> Self {
9328        match err {
9329            crate::operation::update_pipeline_version::UpdatePipelineVersionError::ConflictException(inner) => Error::ConflictException(inner),
9330            crate::operation::update_pipeline_version::UpdatePipelineVersionError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
9331            crate::operation::update_pipeline_version::UpdatePipelineVersionError::Unhandled(inner) => Error::Unhandled(inner),
9332        }
9333    }
9334}
9335impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_project::UpdateProjectError, R>> for Error
9336where
9337    R: Send + Sync + std::fmt::Debug + 'static,
9338{
9339    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_project::UpdateProjectError, R>) -> Self {
9340        match err {
9341            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9342            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9343                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9344                source: err.into(),
9345            }),
9346        }
9347    }
9348}
9349impl From<crate::operation::update_project::UpdateProjectError> for Error {
9350    fn from(err: crate::operation::update_project::UpdateProjectError) -> Self {
9351        match err {
9352            crate::operation::update_project::UpdateProjectError::ConflictException(inner) => Error::ConflictException(inner),
9353            crate::operation::update_project::UpdateProjectError::Unhandled(inner) => Error::Unhandled(inner),
9354        }
9355    }
9356}
9357impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_space::UpdateSpaceError, R>> for Error
9358where
9359    R: Send + Sync + std::fmt::Debug + 'static,
9360{
9361    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_space::UpdateSpaceError, R>) -> Self {
9362        match err {
9363            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9364            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9365                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9366                source: err.into(),
9367            }),
9368        }
9369    }
9370}
9371impl From<crate::operation::update_space::UpdateSpaceError> for Error {
9372    fn from(err: crate::operation::update_space::UpdateSpaceError) -> Self {
9373        match err {
9374            crate::operation::update_space::UpdateSpaceError::ResourceInUse(inner) => Error::ResourceInUse(inner),
9375            crate::operation::update_space::UpdateSpaceError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
9376            crate::operation::update_space::UpdateSpaceError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
9377            crate::operation::update_space::UpdateSpaceError::Unhandled(inner) => Error::Unhandled(inner),
9378        }
9379    }
9380}
9381impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_training_job::UpdateTrainingJobError, R>> for Error
9382where
9383    R: Send + Sync + std::fmt::Debug + 'static,
9384{
9385    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_training_job::UpdateTrainingJobError, R>) -> Self {
9386        match err {
9387            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9388            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9389                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9390                source: err.into(),
9391            }),
9392        }
9393    }
9394}
9395impl From<crate::operation::update_training_job::UpdateTrainingJobError> for Error {
9396    fn from(err: crate::operation::update_training_job::UpdateTrainingJobError) -> Self {
9397        match err {
9398            crate::operation::update_training_job::UpdateTrainingJobError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
9399            crate::operation::update_training_job::UpdateTrainingJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
9400            crate::operation::update_training_job::UpdateTrainingJobError::Unhandled(inner) => Error::Unhandled(inner),
9401        }
9402    }
9403}
9404impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_trial::UpdateTrialError, R>> for Error
9405where
9406    R: Send + Sync + std::fmt::Debug + 'static,
9407{
9408    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_trial::UpdateTrialError, R>) -> Self {
9409        match err {
9410            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9411            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9412                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9413                source: err.into(),
9414            }),
9415        }
9416    }
9417}
9418impl From<crate::operation::update_trial::UpdateTrialError> for Error {
9419    fn from(err: crate::operation::update_trial::UpdateTrialError) -> Self {
9420        match err {
9421            crate::operation::update_trial::UpdateTrialError::ConflictException(inner) => Error::ConflictException(inner),
9422            crate::operation::update_trial::UpdateTrialError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
9423            crate::operation::update_trial::UpdateTrialError::Unhandled(inner) => Error::Unhandled(inner),
9424        }
9425    }
9426}
9427impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_trial_component::UpdateTrialComponentError, R>> for Error
9428where
9429    R: Send + Sync + std::fmt::Debug + 'static,
9430{
9431    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_trial_component::UpdateTrialComponentError, R>) -> Self {
9432        match err {
9433            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9434            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9435                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9436                source: err.into(),
9437            }),
9438        }
9439    }
9440}
9441impl From<crate::operation::update_trial_component::UpdateTrialComponentError> for Error {
9442    fn from(err: crate::operation::update_trial_component::UpdateTrialComponentError) -> Self {
9443        match err {
9444            crate::operation::update_trial_component::UpdateTrialComponentError::ConflictException(inner) => Error::ConflictException(inner),
9445            crate::operation::update_trial_component::UpdateTrialComponentError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
9446            crate::operation::update_trial_component::UpdateTrialComponentError::Unhandled(inner) => Error::Unhandled(inner),
9447        }
9448    }
9449}
9450impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_user_profile::UpdateUserProfileError, R>> for Error
9451where
9452    R: Send + Sync + std::fmt::Debug + 'static,
9453{
9454    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_user_profile::UpdateUserProfileError, R>) -> Self {
9455        match err {
9456            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9457            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9458                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9459                source: err.into(),
9460            }),
9461        }
9462    }
9463}
9464impl From<crate::operation::update_user_profile::UpdateUserProfileError> for Error {
9465    fn from(err: crate::operation::update_user_profile::UpdateUserProfileError) -> Self {
9466        match err {
9467            crate::operation::update_user_profile::UpdateUserProfileError::ResourceInUse(inner) => Error::ResourceInUse(inner),
9468            crate::operation::update_user_profile::UpdateUserProfileError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
9469            crate::operation::update_user_profile::UpdateUserProfileError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
9470            crate::operation::update_user_profile::UpdateUserProfileError::Unhandled(inner) => Error::Unhandled(inner),
9471        }
9472    }
9473}
9474impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_workforce::UpdateWorkforceError, R>> for Error
9475where
9476    R: Send + Sync + std::fmt::Debug + 'static,
9477{
9478    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_workforce::UpdateWorkforceError, R>) -> Self {
9479        match err {
9480            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9481            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9482                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9483                source: err.into(),
9484            }),
9485        }
9486    }
9487}
9488impl From<crate::operation::update_workforce::UpdateWorkforceError> for Error {
9489    fn from(err: crate::operation::update_workforce::UpdateWorkforceError) -> Self {
9490        match err {
9491            crate::operation::update_workforce::UpdateWorkforceError::ConflictException(inner) => Error::ConflictException(inner),
9492            crate::operation::update_workforce::UpdateWorkforceError::Unhandled(inner) => Error::Unhandled(inner),
9493        }
9494    }
9495}
9496impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_workteam::UpdateWorkteamError, R>> for Error
9497where
9498    R: Send + Sync + std::fmt::Debug + 'static,
9499{
9500    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_workteam::UpdateWorkteamError, R>) -> Self {
9501        match err {
9502            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9503            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9504                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9505                source: err.into(),
9506            }),
9507        }
9508    }
9509}
9510impl From<crate::operation::update_workteam::UpdateWorkteamError> for Error {
9511    fn from(err: crate::operation::update_workteam::UpdateWorkteamError) -> Self {
9512        match err {
9513            crate::operation::update_workteam::UpdateWorkteamError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
9514            crate::operation::update_workteam::UpdateWorkteamError::Unhandled(inner) => Error::Unhandled(inner),
9515        }
9516    }
9517}
9518impl<O, E> ::std::convert::From<::aws_smithy_runtime_api::client::waiters::error::WaiterError<O, E>> for Error
9519where
9520    O: ::std::fmt::Debug + ::std::marker::Send + ::std::marker::Sync + 'static,
9521    E: ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static,
9522{
9523    fn from(err: ::aws_smithy_runtime_api::client::waiters::error::WaiterError<O, E>) -> Self {
9524        Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9525            meta: ::std::default::Default::default(),
9526            source: err.into(),
9527        })
9528    }
9529}
9530impl ::std::error::Error for Error {
9531    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
9532        match self {
9533            Error::ConflictException(inner) => inner.source(),
9534            Error::ResourceInUse(inner) => inner.source(),
9535            Error::ResourceLimitExceeded(inner) => inner.source(),
9536            Error::ResourceNotFound(inner) => inner.source(),
9537            Error::Unhandled(inner) => ::std::option::Option::Some(&*inner.source),
9538        }
9539    }
9540}
9541impl ::aws_types::request_id::RequestId for Error {
9542    fn request_id(&self) -> Option<&str> {
9543        match self {
9544            Self::ConflictException(e) => e.request_id(),
9545            Self::ResourceInUse(e) => e.request_id(),
9546            Self::ResourceLimitExceeded(e) => e.request_id(),
9547            Self::ResourceNotFound(e) => e.request_id(),
9548            Self::Unhandled(e) => e.meta.request_id(),
9549        }
9550    }
9551}