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::batch_delete_cluster_nodes::BatchDeleteClusterNodesError, 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::batch_delete_cluster_nodes::BatchDeleteClusterNodesError, 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::batch_delete_cluster_nodes::BatchDeleteClusterNodesError> for Error {
149    fn from(err: crate::operation::batch_delete_cluster_nodes::BatchDeleteClusterNodesError) -> Self {
150        match err {
151            crate::operation::batch_delete_cluster_nodes::BatchDeleteClusterNodesError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
152            crate::operation::batch_delete_cluster_nodes::BatchDeleteClusterNodesError::Unhandled(inner) => Error::Unhandled(inner),
153        }
154    }
155}
156impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_describe_model_package::BatchDescribeModelPackageError, R>>
157    for Error
158where
159    R: Send + Sync + std::fmt::Debug + 'static,
160{
161    fn from(
162        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_describe_model_package::BatchDescribeModelPackageError, R>,
163    ) -> Self {
164        match err {
165            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
166            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
167                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
168                source: err.into(),
169            }),
170        }
171    }
172}
173impl From<crate::operation::batch_describe_model_package::BatchDescribeModelPackageError> for Error {
174    fn from(err: crate::operation::batch_describe_model_package::BatchDescribeModelPackageError) -> Self {
175        match err {
176            crate::operation::batch_describe_model_package::BatchDescribeModelPackageError::Unhandled(inner) => Error::Unhandled(inner),
177        }
178    }
179}
180impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_action::CreateActionError, R>> for Error
181where
182    R: Send + Sync + std::fmt::Debug + 'static,
183{
184    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_action::CreateActionError, R>) -> Self {
185        match err {
186            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
187            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
188                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
189                source: err.into(),
190            }),
191        }
192    }
193}
194impl From<crate::operation::create_action::CreateActionError> for Error {
195    fn from(err: crate::operation::create_action::CreateActionError) -> Self {
196        match err {
197            crate::operation::create_action::CreateActionError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
198            crate::operation::create_action::CreateActionError::Unhandled(inner) => Error::Unhandled(inner),
199        }
200    }
201}
202impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_algorithm::CreateAlgorithmError, R>> for Error
203where
204    R: Send + Sync + std::fmt::Debug + 'static,
205{
206    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_algorithm::CreateAlgorithmError, R>) -> Self {
207        match err {
208            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
209            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
210                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
211                source: err.into(),
212            }),
213        }
214    }
215}
216impl From<crate::operation::create_algorithm::CreateAlgorithmError> for Error {
217    fn from(err: crate::operation::create_algorithm::CreateAlgorithmError) -> Self {
218        match err {
219            crate::operation::create_algorithm::CreateAlgorithmError::Unhandled(inner) => Error::Unhandled(inner),
220        }
221    }
222}
223impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_app::CreateAppError, R>> for Error
224where
225    R: Send + Sync + std::fmt::Debug + 'static,
226{
227    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_app::CreateAppError, R>) -> Self {
228        match err {
229            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
230            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
231                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
232                source: err.into(),
233            }),
234        }
235    }
236}
237impl From<crate::operation::create_app::CreateAppError> for Error {
238    fn from(err: crate::operation::create_app::CreateAppError) -> Self {
239        match err {
240            crate::operation::create_app::CreateAppError::ResourceInUse(inner) => Error::ResourceInUse(inner),
241            crate::operation::create_app::CreateAppError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
242            crate::operation::create_app::CreateAppError::Unhandled(inner) => Error::Unhandled(inner),
243        }
244    }
245}
246impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_app_image_config::CreateAppImageConfigError, R>> for Error
247where
248    R: Send + Sync + std::fmt::Debug + 'static,
249{
250    fn from(
251        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_app_image_config::CreateAppImageConfigError, R>,
252    ) -> Self {
253        match err {
254            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
255            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
256                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
257                source: err.into(),
258            }),
259        }
260    }
261}
262impl From<crate::operation::create_app_image_config::CreateAppImageConfigError> for Error {
263    fn from(err: crate::operation::create_app_image_config::CreateAppImageConfigError) -> Self {
264        match err {
265            crate::operation::create_app_image_config::CreateAppImageConfigError::ResourceInUse(inner) => Error::ResourceInUse(inner),
266            crate::operation::create_app_image_config::CreateAppImageConfigError::Unhandled(inner) => Error::Unhandled(inner),
267        }
268    }
269}
270impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_artifact::CreateArtifactError, R>> for Error
271where
272    R: Send + Sync + std::fmt::Debug + 'static,
273{
274    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_artifact::CreateArtifactError, R>) -> Self {
275        match err {
276            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
277            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
278                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
279                source: err.into(),
280            }),
281        }
282    }
283}
284impl From<crate::operation::create_artifact::CreateArtifactError> for Error {
285    fn from(err: crate::operation::create_artifact::CreateArtifactError) -> Self {
286        match err {
287            crate::operation::create_artifact::CreateArtifactError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
288            crate::operation::create_artifact::CreateArtifactError::Unhandled(inner) => Error::Unhandled(inner),
289        }
290    }
291}
292impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_auto_ml_job::CreateAutoMLJobError, R>> for Error
293where
294    R: Send + Sync + std::fmt::Debug + 'static,
295{
296    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_auto_ml_job::CreateAutoMLJobError, R>) -> Self {
297        match err {
298            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
299            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
300                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
301                source: err.into(),
302            }),
303        }
304    }
305}
306impl From<crate::operation::create_auto_ml_job::CreateAutoMLJobError> for Error {
307    fn from(err: crate::operation::create_auto_ml_job::CreateAutoMLJobError) -> Self {
308        match err {
309            crate::operation::create_auto_ml_job::CreateAutoMLJobError::ResourceInUse(inner) => Error::ResourceInUse(inner),
310            crate::operation::create_auto_ml_job::CreateAutoMLJobError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
311            crate::operation::create_auto_ml_job::CreateAutoMLJobError::Unhandled(inner) => Error::Unhandled(inner),
312        }
313    }
314}
315impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_auto_ml_job_v2::CreateAutoMLJobV2Error, R>> for Error
316where
317    R: Send + Sync + std::fmt::Debug + 'static,
318{
319    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_auto_ml_job_v2::CreateAutoMLJobV2Error, R>) -> Self {
320        match err {
321            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
322            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
323                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
324                source: err.into(),
325            }),
326        }
327    }
328}
329impl From<crate::operation::create_auto_ml_job_v2::CreateAutoMLJobV2Error> for Error {
330    fn from(err: crate::operation::create_auto_ml_job_v2::CreateAutoMLJobV2Error) -> Self {
331        match err {
332            crate::operation::create_auto_ml_job_v2::CreateAutoMLJobV2Error::ResourceInUse(inner) => Error::ResourceInUse(inner),
333            crate::operation::create_auto_ml_job_v2::CreateAutoMLJobV2Error::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
334            crate::operation::create_auto_ml_job_v2::CreateAutoMLJobV2Error::Unhandled(inner) => Error::Unhandled(inner),
335        }
336    }
337}
338impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_cluster::CreateClusterError, R>> for Error
339where
340    R: Send + Sync + std::fmt::Debug + 'static,
341{
342    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_cluster::CreateClusterError, R>) -> Self {
343        match err {
344            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
345            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
346                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
347                source: err.into(),
348            }),
349        }
350    }
351}
352impl From<crate::operation::create_cluster::CreateClusterError> for Error {
353    fn from(err: crate::operation::create_cluster::CreateClusterError) -> Self {
354        match err {
355            crate::operation::create_cluster::CreateClusterError::ResourceInUse(inner) => Error::ResourceInUse(inner),
356            crate::operation::create_cluster::CreateClusterError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
357            crate::operation::create_cluster::CreateClusterError::Unhandled(inner) => Error::Unhandled(inner),
358        }
359    }
360}
361impl<R>
362    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_cluster_scheduler_config::CreateClusterSchedulerConfigError, R>>
363    for Error
364where
365    R: Send + Sync + std::fmt::Debug + 'static,
366{
367    fn from(
368        err: ::aws_smithy_runtime_api::client::result::SdkError<
369            crate::operation::create_cluster_scheduler_config::CreateClusterSchedulerConfigError,
370            R,
371        >,
372    ) -> Self {
373        match err {
374            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
375            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
376                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
377                source: err.into(),
378            }),
379        }
380    }
381}
382impl From<crate::operation::create_cluster_scheduler_config::CreateClusterSchedulerConfigError> for Error {
383    fn from(err: crate::operation::create_cluster_scheduler_config::CreateClusterSchedulerConfigError) -> Self {
384        match err {
385            crate::operation::create_cluster_scheduler_config::CreateClusterSchedulerConfigError::ConflictException(inner) => {
386                Error::ConflictException(inner)
387            }
388            crate::operation::create_cluster_scheduler_config::CreateClusterSchedulerConfigError::ResourceLimitExceeded(inner) => {
389                Error::ResourceLimitExceeded(inner)
390            }
391            crate::operation::create_cluster_scheduler_config::CreateClusterSchedulerConfigError::Unhandled(inner) => Error::Unhandled(inner),
392        }
393    }
394}
395impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_code_repository::CreateCodeRepositoryError, R>> for Error
396where
397    R: Send + Sync + std::fmt::Debug + 'static,
398{
399    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_code_repository::CreateCodeRepositoryError, R>) -> Self {
400        match err {
401            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
402            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
403                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
404                source: err.into(),
405            }),
406        }
407    }
408}
409impl From<crate::operation::create_code_repository::CreateCodeRepositoryError> for Error {
410    fn from(err: crate::operation::create_code_repository::CreateCodeRepositoryError) -> Self {
411        match err {
412            crate::operation::create_code_repository::CreateCodeRepositoryError::Unhandled(inner) => Error::Unhandled(inner),
413        }
414    }
415}
416impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_compilation_job::CreateCompilationJobError, R>> for Error
417where
418    R: Send + Sync + std::fmt::Debug + 'static,
419{
420    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_compilation_job::CreateCompilationJobError, R>) -> Self {
421        match err {
422            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
423            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
424                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
425                source: err.into(),
426            }),
427        }
428    }
429}
430impl From<crate::operation::create_compilation_job::CreateCompilationJobError> for Error {
431    fn from(err: crate::operation::create_compilation_job::CreateCompilationJobError) -> Self {
432        match err {
433            crate::operation::create_compilation_job::CreateCompilationJobError::ResourceInUse(inner) => Error::ResourceInUse(inner),
434            crate::operation::create_compilation_job::CreateCompilationJobError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
435            crate::operation::create_compilation_job::CreateCompilationJobError::Unhandled(inner) => Error::Unhandled(inner),
436        }
437    }
438}
439impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_compute_quota::CreateComputeQuotaError, R>> for Error
440where
441    R: Send + Sync + std::fmt::Debug + 'static,
442{
443    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_compute_quota::CreateComputeQuotaError, R>) -> Self {
444        match err {
445            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
446            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
447                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
448                source: err.into(),
449            }),
450        }
451    }
452}
453impl From<crate::operation::create_compute_quota::CreateComputeQuotaError> for Error {
454    fn from(err: crate::operation::create_compute_quota::CreateComputeQuotaError) -> Self {
455        match err {
456            crate::operation::create_compute_quota::CreateComputeQuotaError::ConflictException(inner) => Error::ConflictException(inner),
457            crate::operation::create_compute_quota::CreateComputeQuotaError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
458            crate::operation::create_compute_quota::CreateComputeQuotaError::Unhandled(inner) => Error::Unhandled(inner),
459        }
460    }
461}
462impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_context::CreateContextError, R>> for Error
463where
464    R: Send + Sync + std::fmt::Debug + 'static,
465{
466    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_context::CreateContextError, R>) -> Self {
467        match err {
468            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
469            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
470                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
471                source: err.into(),
472            }),
473        }
474    }
475}
476impl From<crate::operation::create_context::CreateContextError> for Error {
477    fn from(err: crate::operation::create_context::CreateContextError) -> Self {
478        match err {
479            crate::operation::create_context::CreateContextError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
480            crate::operation::create_context::CreateContextError::Unhandled(inner) => Error::Unhandled(inner),
481        }
482    }
483}
484impl<R>
485    From<
486        ::aws_smithy_runtime_api::client::result::SdkError<
487            crate::operation::create_data_quality_job_definition::CreateDataQualityJobDefinitionError,
488            R,
489        >,
490    > for Error
491where
492    R: Send + Sync + std::fmt::Debug + 'static,
493{
494    fn from(
495        err: ::aws_smithy_runtime_api::client::result::SdkError<
496            crate::operation::create_data_quality_job_definition::CreateDataQualityJobDefinitionError,
497            R,
498        >,
499    ) -> 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_data_quality_job_definition::CreateDataQualityJobDefinitionError> for Error {
510    fn from(err: crate::operation::create_data_quality_job_definition::CreateDataQualityJobDefinitionError) -> Self {
511        match err {
512            crate::operation::create_data_quality_job_definition::CreateDataQualityJobDefinitionError::ResourceInUse(inner) => {
513                Error::ResourceInUse(inner)
514            }
515            crate::operation::create_data_quality_job_definition::CreateDataQualityJobDefinitionError::ResourceLimitExceeded(inner) => {
516                Error::ResourceLimitExceeded(inner)
517            }
518            crate::operation::create_data_quality_job_definition::CreateDataQualityJobDefinitionError::Unhandled(inner) => Error::Unhandled(inner),
519        }
520    }
521}
522impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_device_fleet::CreateDeviceFleetError, R>> for Error
523where
524    R: Send + Sync + std::fmt::Debug + 'static,
525{
526    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_device_fleet::CreateDeviceFleetError, R>) -> Self {
527        match err {
528            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
529            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
530                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
531                source: err.into(),
532            }),
533        }
534    }
535}
536impl From<crate::operation::create_device_fleet::CreateDeviceFleetError> for Error {
537    fn from(err: crate::operation::create_device_fleet::CreateDeviceFleetError) -> Self {
538        match err {
539            crate::operation::create_device_fleet::CreateDeviceFleetError::ResourceInUse(inner) => Error::ResourceInUse(inner),
540            crate::operation::create_device_fleet::CreateDeviceFleetError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
541            crate::operation::create_device_fleet::CreateDeviceFleetError::Unhandled(inner) => Error::Unhandled(inner),
542        }
543    }
544}
545impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_domain::CreateDomainError, R>> for Error
546where
547    R: Send + Sync + std::fmt::Debug + 'static,
548{
549    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_domain::CreateDomainError, R>) -> Self {
550        match err {
551            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
552            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
553                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
554                source: err.into(),
555            }),
556        }
557    }
558}
559impl From<crate::operation::create_domain::CreateDomainError> for Error {
560    fn from(err: crate::operation::create_domain::CreateDomainError) -> Self {
561        match err {
562            crate::operation::create_domain::CreateDomainError::ResourceInUse(inner) => Error::ResourceInUse(inner),
563            crate::operation::create_domain::CreateDomainError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
564            crate::operation::create_domain::CreateDomainError::Unhandled(inner) => Error::Unhandled(inner),
565        }
566    }
567}
568impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_edge_deployment_plan::CreateEdgeDeploymentPlanError, R>>
569    for Error
570where
571    R: Send + Sync + std::fmt::Debug + 'static,
572{
573    fn from(
574        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_edge_deployment_plan::CreateEdgeDeploymentPlanError, R>,
575    ) -> Self {
576        match err {
577            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
578            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
579                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
580                source: err.into(),
581            }),
582        }
583    }
584}
585impl From<crate::operation::create_edge_deployment_plan::CreateEdgeDeploymentPlanError> for Error {
586    fn from(err: crate::operation::create_edge_deployment_plan::CreateEdgeDeploymentPlanError) -> Self {
587        match err {
588            crate::operation::create_edge_deployment_plan::CreateEdgeDeploymentPlanError::ResourceLimitExceeded(inner) => {
589                Error::ResourceLimitExceeded(inner)
590            }
591            crate::operation::create_edge_deployment_plan::CreateEdgeDeploymentPlanError::Unhandled(inner) => Error::Unhandled(inner),
592        }
593    }
594}
595impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_edge_deployment_stage::CreateEdgeDeploymentStageError, R>>
596    for Error
597where
598    R: Send + Sync + std::fmt::Debug + 'static,
599{
600    fn from(
601        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_edge_deployment_stage::CreateEdgeDeploymentStageError, R>,
602    ) -> Self {
603        match err {
604            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
605            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
606                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
607                source: err.into(),
608            }),
609        }
610    }
611}
612impl From<crate::operation::create_edge_deployment_stage::CreateEdgeDeploymentStageError> for Error {
613    fn from(err: crate::operation::create_edge_deployment_stage::CreateEdgeDeploymentStageError) -> Self {
614        match err {
615            crate::operation::create_edge_deployment_stage::CreateEdgeDeploymentStageError::ResourceLimitExceeded(inner) => {
616                Error::ResourceLimitExceeded(inner)
617            }
618            crate::operation::create_edge_deployment_stage::CreateEdgeDeploymentStageError::Unhandled(inner) => Error::Unhandled(inner),
619        }
620    }
621}
622impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_edge_packaging_job::CreateEdgePackagingJobError, R>>
623    for Error
624where
625    R: Send + Sync + std::fmt::Debug + 'static,
626{
627    fn from(
628        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_edge_packaging_job::CreateEdgePackagingJobError, R>,
629    ) -> Self {
630        match err {
631            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
632            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
633                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
634                source: err.into(),
635            }),
636        }
637    }
638}
639impl From<crate::operation::create_edge_packaging_job::CreateEdgePackagingJobError> for Error {
640    fn from(err: crate::operation::create_edge_packaging_job::CreateEdgePackagingJobError) -> Self {
641        match err {
642            crate::operation::create_edge_packaging_job::CreateEdgePackagingJobError::ResourceLimitExceeded(inner) => {
643                Error::ResourceLimitExceeded(inner)
644            }
645            crate::operation::create_edge_packaging_job::CreateEdgePackagingJobError::Unhandled(inner) => Error::Unhandled(inner),
646        }
647    }
648}
649impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_endpoint::CreateEndpointError, R>> for Error
650where
651    R: Send + Sync + std::fmt::Debug + 'static,
652{
653    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_endpoint::CreateEndpointError, R>) -> Self {
654        match err {
655            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
656            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
657                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
658                source: err.into(),
659            }),
660        }
661    }
662}
663impl From<crate::operation::create_endpoint::CreateEndpointError> for Error {
664    fn from(err: crate::operation::create_endpoint::CreateEndpointError) -> Self {
665        match err {
666            crate::operation::create_endpoint::CreateEndpointError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
667            crate::operation::create_endpoint::CreateEndpointError::Unhandled(inner) => Error::Unhandled(inner),
668        }
669    }
670}
671impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_endpoint_config::CreateEndpointConfigError, R>> for Error
672where
673    R: Send + Sync + std::fmt::Debug + 'static,
674{
675    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_endpoint_config::CreateEndpointConfigError, R>) -> 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_endpoint_config::CreateEndpointConfigError> for Error {
686    fn from(err: crate::operation::create_endpoint_config::CreateEndpointConfigError) -> Self {
687        match err {
688            crate::operation::create_endpoint_config::CreateEndpointConfigError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
689            crate::operation::create_endpoint_config::CreateEndpointConfigError::Unhandled(inner) => Error::Unhandled(inner),
690        }
691    }
692}
693impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_experiment::CreateExperimentError, R>> for Error
694where
695    R: Send + Sync + std::fmt::Debug + 'static,
696{
697    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_experiment::CreateExperimentError, R>) -> Self {
698        match err {
699            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
700            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
701                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
702                source: err.into(),
703            }),
704        }
705    }
706}
707impl From<crate::operation::create_experiment::CreateExperimentError> for Error {
708    fn from(err: crate::operation::create_experiment::CreateExperimentError) -> Self {
709        match err {
710            crate::operation::create_experiment::CreateExperimentError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
711            crate::operation::create_experiment::CreateExperimentError::Unhandled(inner) => Error::Unhandled(inner),
712        }
713    }
714}
715impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_feature_group::CreateFeatureGroupError, R>> for Error
716where
717    R: Send + Sync + std::fmt::Debug + 'static,
718{
719    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_feature_group::CreateFeatureGroupError, R>) -> Self {
720        match err {
721            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
722            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
723                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
724                source: err.into(),
725            }),
726        }
727    }
728}
729impl From<crate::operation::create_feature_group::CreateFeatureGroupError> for Error {
730    fn from(err: crate::operation::create_feature_group::CreateFeatureGroupError) -> Self {
731        match err {
732            crate::operation::create_feature_group::CreateFeatureGroupError::ResourceInUse(inner) => Error::ResourceInUse(inner),
733            crate::operation::create_feature_group::CreateFeatureGroupError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
734            crate::operation::create_feature_group::CreateFeatureGroupError::Unhandled(inner) => Error::Unhandled(inner),
735        }
736    }
737}
738impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_flow_definition::CreateFlowDefinitionError, R>> for Error
739where
740    R: Send + Sync + std::fmt::Debug + 'static,
741{
742    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_flow_definition::CreateFlowDefinitionError, R>) -> Self {
743        match err {
744            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
745            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
746                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
747                source: err.into(),
748            }),
749        }
750    }
751}
752impl From<crate::operation::create_flow_definition::CreateFlowDefinitionError> for Error {
753    fn from(err: crate::operation::create_flow_definition::CreateFlowDefinitionError) -> Self {
754        match err {
755            crate::operation::create_flow_definition::CreateFlowDefinitionError::ResourceInUse(inner) => Error::ResourceInUse(inner),
756            crate::operation::create_flow_definition::CreateFlowDefinitionError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
757            crate::operation::create_flow_definition::CreateFlowDefinitionError::Unhandled(inner) => Error::Unhandled(inner),
758        }
759    }
760}
761impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_hub::CreateHubError, R>> for Error
762where
763    R: Send + Sync + std::fmt::Debug + 'static,
764{
765    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_hub::CreateHubError, R>) -> Self {
766        match err {
767            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
768            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
769                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
770                source: err.into(),
771            }),
772        }
773    }
774}
775impl From<crate::operation::create_hub::CreateHubError> for Error {
776    fn from(err: crate::operation::create_hub::CreateHubError) -> Self {
777        match err {
778            crate::operation::create_hub::CreateHubError::ResourceInUse(inner) => Error::ResourceInUse(inner),
779            crate::operation::create_hub::CreateHubError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
780            crate::operation::create_hub::CreateHubError::Unhandled(inner) => Error::Unhandled(inner),
781        }
782    }
783}
784impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_hub_content_reference::CreateHubContentReferenceError, R>>
785    for Error
786where
787    R: Send + Sync + std::fmt::Debug + 'static,
788{
789    fn from(
790        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_hub_content_reference::CreateHubContentReferenceError, R>,
791    ) -> Self {
792        match err {
793            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
794            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
795                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
796                source: err.into(),
797            }),
798        }
799    }
800}
801impl From<crate::operation::create_hub_content_reference::CreateHubContentReferenceError> for Error {
802    fn from(err: crate::operation::create_hub_content_reference::CreateHubContentReferenceError) -> Self {
803        match err {
804            crate::operation::create_hub_content_reference::CreateHubContentReferenceError::ResourceInUse(inner) => Error::ResourceInUse(inner),
805            crate::operation::create_hub_content_reference::CreateHubContentReferenceError::ResourceLimitExceeded(inner) => {
806                Error::ResourceLimitExceeded(inner)
807            }
808            crate::operation::create_hub_content_reference::CreateHubContentReferenceError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
809            crate::operation::create_hub_content_reference::CreateHubContentReferenceError::Unhandled(inner) => Error::Unhandled(inner),
810        }
811    }
812}
813impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_human_task_ui::CreateHumanTaskUiError, R>> for Error
814where
815    R: Send + Sync + std::fmt::Debug + 'static,
816{
817    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_human_task_ui::CreateHumanTaskUiError, R>) -> Self {
818        match err {
819            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
820            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
821                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
822                source: err.into(),
823            }),
824        }
825    }
826}
827impl From<crate::operation::create_human_task_ui::CreateHumanTaskUiError> for Error {
828    fn from(err: crate::operation::create_human_task_ui::CreateHumanTaskUiError) -> Self {
829        match err {
830            crate::operation::create_human_task_ui::CreateHumanTaskUiError::ResourceInUse(inner) => Error::ResourceInUse(inner),
831            crate::operation::create_human_task_ui::CreateHumanTaskUiError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
832            crate::operation::create_human_task_ui::CreateHumanTaskUiError::Unhandled(inner) => Error::Unhandled(inner),
833        }
834    }
835}
836impl<R>
837    From<
838        ::aws_smithy_runtime_api::client::result::SdkError<
839            crate::operation::create_hyper_parameter_tuning_job::CreateHyperParameterTuningJobError,
840            R,
841        >,
842    > for Error
843where
844    R: Send + Sync + std::fmt::Debug + 'static,
845{
846    fn from(
847        err: ::aws_smithy_runtime_api::client::result::SdkError<
848            crate::operation::create_hyper_parameter_tuning_job::CreateHyperParameterTuningJobError,
849            R,
850        >,
851    ) -> Self {
852        match err {
853            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
854            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
855                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
856                source: err.into(),
857            }),
858        }
859    }
860}
861impl From<crate::operation::create_hyper_parameter_tuning_job::CreateHyperParameterTuningJobError> for Error {
862    fn from(err: crate::operation::create_hyper_parameter_tuning_job::CreateHyperParameterTuningJobError) -> Self {
863        match err {
864            crate::operation::create_hyper_parameter_tuning_job::CreateHyperParameterTuningJobError::ResourceInUse(inner) => {
865                Error::ResourceInUse(inner)
866            }
867            crate::operation::create_hyper_parameter_tuning_job::CreateHyperParameterTuningJobError::ResourceLimitExceeded(inner) => {
868                Error::ResourceLimitExceeded(inner)
869            }
870            crate::operation::create_hyper_parameter_tuning_job::CreateHyperParameterTuningJobError::Unhandled(inner) => Error::Unhandled(inner),
871        }
872    }
873}
874impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_image::CreateImageError, R>> for Error
875where
876    R: Send + Sync + std::fmt::Debug + 'static,
877{
878    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_image::CreateImageError, R>) -> Self {
879        match err {
880            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
881            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
882                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
883                source: err.into(),
884            }),
885        }
886    }
887}
888impl From<crate::operation::create_image::CreateImageError> for Error {
889    fn from(err: crate::operation::create_image::CreateImageError) -> Self {
890        match err {
891            crate::operation::create_image::CreateImageError::ResourceInUse(inner) => Error::ResourceInUse(inner),
892            crate::operation::create_image::CreateImageError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
893            crate::operation::create_image::CreateImageError::Unhandled(inner) => Error::Unhandled(inner),
894        }
895    }
896}
897impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_image_version::CreateImageVersionError, R>> for Error
898where
899    R: Send + Sync + std::fmt::Debug + 'static,
900{
901    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_image_version::CreateImageVersionError, R>) -> Self {
902        match err {
903            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
904            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
905                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
906                source: err.into(),
907            }),
908        }
909    }
910}
911impl From<crate::operation::create_image_version::CreateImageVersionError> for Error {
912    fn from(err: crate::operation::create_image_version::CreateImageVersionError) -> Self {
913        match err {
914            crate::operation::create_image_version::CreateImageVersionError::ResourceInUse(inner) => Error::ResourceInUse(inner),
915            crate::operation::create_image_version::CreateImageVersionError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
916            crate::operation::create_image_version::CreateImageVersionError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
917            crate::operation::create_image_version::CreateImageVersionError::Unhandled(inner) => Error::Unhandled(inner),
918        }
919    }
920}
921impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_inference_component::CreateInferenceComponentError, R>>
922    for Error
923where
924    R: Send + Sync + std::fmt::Debug + 'static,
925{
926    fn from(
927        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_inference_component::CreateInferenceComponentError, R>,
928    ) -> Self {
929        match err {
930            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
931            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
932                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
933                source: err.into(),
934            }),
935        }
936    }
937}
938impl From<crate::operation::create_inference_component::CreateInferenceComponentError> for Error {
939    fn from(err: crate::operation::create_inference_component::CreateInferenceComponentError) -> Self {
940        match err {
941            crate::operation::create_inference_component::CreateInferenceComponentError::ResourceLimitExceeded(inner) => {
942                Error::ResourceLimitExceeded(inner)
943            }
944            crate::operation::create_inference_component::CreateInferenceComponentError::Unhandled(inner) => Error::Unhandled(inner),
945        }
946    }
947}
948impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_inference_experiment::CreateInferenceExperimentError, R>>
949    for Error
950where
951    R: Send + Sync + std::fmt::Debug + 'static,
952{
953    fn from(
954        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_inference_experiment::CreateInferenceExperimentError, R>,
955    ) -> Self {
956        match err {
957            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
958            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
959                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
960                source: err.into(),
961            }),
962        }
963    }
964}
965impl From<crate::operation::create_inference_experiment::CreateInferenceExperimentError> for Error {
966    fn from(err: crate::operation::create_inference_experiment::CreateInferenceExperimentError) -> Self {
967        match err {
968            crate::operation::create_inference_experiment::CreateInferenceExperimentError::ResourceInUse(inner) => Error::ResourceInUse(inner),
969            crate::operation::create_inference_experiment::CreateInferenceExperimentError::ResourceLimitExceeded(inner) => {
970                Error::ResourceLimitExceeded(inner)
971            }
972            crate::operation::create_inference_experiment::CreateInferenceExperimentError::Unhandled(inner) => Error::Unhandled(inner),
973        }
974    }
975}
976impl<R>
977    From<
978        ::aws_smithy_runtime_api::client::result::SdkError<
979            crate::operation::create_inference_recommendations_job::CreateInferenceRecommendationsJobError,
980            R,
981        >,
982    > for Error
983where
984    R: Send + Sync + std::fmt::Debug + 'static,
985{
986    fn from(
987        err: ::aws_smithy_runtime_api::client::result::SdkError<
988            crate::operation::create_inference_recommendations_job::CreateInferenceRecommendationsJobError,
989            R,
990        >,
991    ) -> Self {
992        match err {
993            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
994            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
995                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
996                source: err.into(),
997            }),
998        }
999    }
1000}
1001impl From<crate::operation::create_inference_recommendations_job::CreateInferenceRecommendationsJobError> for Error {
1002    fn from(err: crate::operation::create_inference_recommendations_job::CreateInferenceRecommendationsJobError) -> Self {
1003        match err {
1004            crate::operation::create_inference_recommendations_job::CreateInferenceRecommendationsJobError::ResourceInUse(inner) => {
1005                Error::ResourceInUse(inner)
1006            }
1007            crate::operation::create_inference_recommendations_job::CreateInferenceRecommendationsJobError::ResourceLimitExceeded(inner) => {
1008                Error::ResourceLimitExceeded(inner)
1009            }
1010            crate::operation::create_inference_recommendations_job::CreateInferenceRecommendationsJobError::Unhandled(inner) => {
1011                Error::Unhandled(inner)
1012            }
1013        }
1014    }
1015}
1016impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_labeling_job::CreateLabelingJobError, R>> for Error
1017where
1018    R: Send + Sync + std::fmt::Debug + 'static,
1019{
1020    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_labeling_job::CreateLabelingJobError, R>) -> Self {
1021        match err {
1022            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1023            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1024                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1025                source: err.into(),
1026            }),
1027        }
1028    }
1029}
1030impl From<crate::operation::create_labeling_job::CreateLabelingJobError> for Error {
1031    fn from(err: crate::operation::create_labeling_job::CreateLabelingJobError) -> Self {
1032        match err {
1033            crate::operation::create_labeling_job::CreateLabelingJobError::ResourceInUse(inner) => Error::ResourceInUse(inner),
1034            crate::operation::create_labeling_job::CreateLabelingJobError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
1035            crate::operation::create_labeling_job::CreateLabelingJobError::Unhandled(inner) => Error::Unhandled(inner),
1036        }
1037    }
1038}
1039impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_mlflow_tracking_server::CreateMlflowTrackingServerError, R>>
1040    for Error
1041where
1042    R: Send + Sync + std::fmt::Debug + 'static,
1043{
1044    fn from(
1045        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_mlflow_tracking_server::CreateMlflowTrackingServerError, R>,
1046    ) -> Self {
1047        match err {
1048            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1049            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1050                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1051                source: err.into(),
1052            }),
1053        }
1054    }
1055}
1056impl From<crate::operation::create_mlflow_tracking_server::CreateMlflowTrackingServerError> for Error {
1057    fn from(err: crate::operation::create_mlflow_tracking_server::CreateMlflowTrackingServerError) -> Self {
1058        match err {
1059            crate::operation::create_mlflow_tracking_server::CreateMlflowTrackingServerError::ResourceLimitExceeded(inner) => {
1060                Error::ResourceLimitExceeded(inner)
1061            }
1062            crate::operation::create_mlflow_tracking_server::CreateMlflowTrackingServerError::Unhandled(inner) => Error::Unhandled(inner),
1063        }
1064    }
1065}
1066impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_model::CreateModelError, R>> for Error
1067where
1068    R: Send + Sync + std::fmt::Debug + 'static,
1069{
1070    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_model::CreateModelError, R>) -> Self {
1071        match err {
1072            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1073            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1074                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1075                source: err.into(),
1076            }),
1077        }
1078    }
1079}
1080impl From<crate::operation::create_model::CreateModelError> for Error {
1081    fn from(err: crate::operation::create_model::CreateModelError) -> Self {
1082        match err {
1083            crate::operation::create_model::CreateModelError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
1084            crate::operation::create_model::CreateModelError::Unhandled(inner) => Error::Unhandled(inner),
1085        }
1086    }
1087}
1088impl<R>
1089    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_model_bias_job_definition::CreateModelBiasJobDefinitionError, R>>
1090    for Error
1091where
1092    R: Send + Sync + std::fmt::Debug + 'static,
1093{
1094    fn from(
1095        err: ::aws_smithy_runtime_api::client::result::SdkError<
1096            crate::operation::create_model_bias_job_definition::CreateModelBiasJobDefinitionError,
1097            R,
1098        >,
1099    ) -> Self {
1100        match err {
1101            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1102            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1103                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1104                source: err.into(),
1105            }),
1106        }
1107    }
1108}
1109impl From<crate::operation::create_model_bias_job_definition::CreateModelBiasJobDefinitionError> for Error {
1110    fn from(err: crate::operation::create_model_bias_job_definition::CreateModelBiasJobDefinitionError) -> Self {
1111        match err {
1112            crate::operation::create_model_bias_job_definition::CreateModelBiasJobDefinitionError::ResourceInUse(inner) => {
1113                Error::ResourceInUse(inner)
1114            }
1115            crate::operation::create_model_bias_job_definition::CreateModelBiasJobDefinitionError::ResourceLimitExceeded(inner) => {
1116                Error::ResourceLimitExceeded(inner)
1117            }
1118            crate::operation::create_model_bias_job_definition::CreateModelBiasJobDefinitionError::Unhandled(inner) => Error::Unhandled(inner),
1119        }
1120    }
1121}
1122impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_model_card::CreateModelCardError, R>> for Error
1123where
1124    R: Send + Sync + std::fmt::Debug + 'static,
1125{
1126    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_model_card::CreateModelCardError, R>) -> Self {
1127        match err {
1128            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1129            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1130                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1131                source: err.into(),
1132            }),
1133        }
1134    }
1135}
1136impl From<crate::operation::create_model_card::CreateModelCardError> for Error {
1137    fn from(err: crate::operation::create_model_card::CreateModelCardError) -> Self {
1138        match err {
1139            crate::operation::create_model_card::CreateModelCardError::ConflictException(inner) => Error::ConflictException(inner),
1140            crate::operation::create_model_card::CreateModelCardError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
1141            crate::operation::create_model_card::CreateModelCardError::Unhandled(inner) => Error::Unhandled(inner),
1142        }
1143    }
1144}
1145impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_model_card_export_job::CreateModelCardExportJobError, R>>
1146    for Error
1147where
1148    R: Send + Sync + std::fmt::Debug + 'static,
1149{
1150    fn from(
1151        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_model_card_export_job::CreateModelCardExportJobError, R>,
1152    ) -> Self {
1153        match err {
1154            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1155            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1156                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1157                source: err.into(),
1158            }),
1159        }
1160    }
1161}
1162impl From<crate::operation::create_model_card_export_job::CreateModelCardExportJobError> for Error {
1163    fn from(err: crate::operation::create_model_card_export_job::CreateModelCardExportJobError) -> Self {
1164        match err {
1165            crate::operation::create_model_card_export_job::CreateModelCardExportJobError::ConflictException(inner) => {
1166                Error::ConflictException(inner)
1167            }
1168            crate::operation::create_model_card_export_job::CreateModelCardExportJobError::ResourceLimitExceeded(inner) => {
1169                Error::ResourceLimitExceeded(inner)
1170            }
1171            crate::operation::create_model_card_export_job::CreateModelCardExportJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
1172            crate::operation::create_model_card_export_job::CreateModelCardExportJobError::Unhandled(inner) => Error::Unhandled(inner),
1173        }
1174    }
1175}
1176impl<R>
1177    From<
1178        ::aws_smithy_runtime_api::client::result::SdkError<
1179            crate::operation::create_model_explainability_job_definition::CreateModelExplainabilityJobDefinitionError,
1180            R,
1181        >,
1182    > for Error
1183where
1184    R: Send + Sync + std::fmt::Debug + 'static,
1185{
1186    fn from(
1187        err: ::aws_smithy_runtime_api::client::result::SdkError<
1188            crate::operation::create_model_explainability_job_definition::CreateModelExplainabilityJobDefinitionError,
1189            R,
1190        >,
1191    ) -> Self {
1192        match err {
1193            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1194            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1195                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1196                source: err.into(),
1197            }),
1198        }
1199    }
1200}
1201impl From<crate::operation::create_model_explainability_job_definition::CreateModelExplainabilityJobDefinitionError> for Error {
1202    fn from(err: crate::operation::create_model_explainability_job_definition::CreateModelExplainabilityJobDefinitionError) -> Self {
1203        match err {
1204            crate::operation::create_model_explainability_job_definition::CreateModelExplainabilityJobDefinitionError::ResourceInUse(inner) => {
1205                Error::ResourceInUse(inner)
1206            }
1207            crate::operation::create_model_explainability_job_definition::CreateModelExplainabilityJobDefinitionError::ResourceLimitExceeded(
1208                inner,
1209            ) => Error::ResourceLimitExceeded(inner),
1210            crate::operation::create_model_explainability_job_definition::CreateModelExplainabilityJobDefinitionError::Unhandled(inner) => {
1211                Error::Unhandled(inner)
1212            }
1213        }
1214    }
1215}
1216impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_model_package::CreateModelPackageError, R>> for Error
1217where
1218    R: Send + Sync + std::fmt::Debug + 'static,
1219{
1220    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_model_package::CreateModelPackageError, R>) -> Self {
1221        match err {
1222            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1223            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1224                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1225                source: err.into(),
1226            }),
1227        }
1228    }
1229}
1230impl From<crate::operation::create_model_package::CreateModelPackageError> for Error {
1231    fn from(err: crate::operation::create_model_package::CreateModelPackageError) -> Self {
1232        match err {
1233            crate::operation::create_model_package::CreateModelPackageError::ConflictException(inner) => Error::ConflictException(inner),
1234            crate::operation::create_model_package::CreateModelPackageError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
1235            crate::operation::create_model_package::CreateModelPackageError::Unhandled(inner) => Error::Unhandled(inner),
1236        }
1237    }
1238}
1239impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_model_package_group::CreateModelPackageGroupError, R>>
1240    for Error
1241where
1242    R: Send + Sync + std::fmt::Debug + 'static,
1243{
1244    fn from(
1245        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_model_package_group::CreateModelPackageGroupError, R>,
1246    ) -> Self {
1247        match err {
1248            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1249            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1250                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1251                source: err.into(),
1252            }),
1253        }
1254    }
1255}
1256impl From<crate::operation::create_model_package_group::CreateModelPackageGroupError> for Error {
1257    fn from(err: crate::operation::create_model_package_group::CreateModelPackageGroupError) -> Self {
1258        match err {
1259            crate::operation::create_model_package_group::CreateModelPackageGroupError::ResourceLimitExceeded(inner) => {
1260                Error::ResourceLimitExceeded(inner)
1261            }
1262            crate::operation::create_model_package_group::CreateModelPackageGroupError::Unhandled(inner) => Error::Unhandled(inner),
1263        }
1264    }
1265}
1266impl<R>
1267    From<
1268        ::aws_smithy_runtime_api::client::result::SdkError<
1269            crate::operation::create_model_quality_job_definition::CreateModelQualityJobDefinitionError,
1270            R,
1271        >,
1272    > for Error
1273where
1274    R: Send + Sync + std::fmt::Debug + 'static,
1275{
1276    fn from(
1277        err: ::aws_smithy_runtime_api::client::result::SdkError<
1278            crate::operation::create_model_quality_job_definition::CreateModelQualityJobDefinitionError,
1279            R,
1280        >,
1281    ) -> Self {
1282        match err {
1283            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1284            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1285                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1286                source: err.into(),
1287            }),
1288        }
1289    }
1290}
1291impl From<crate::operation::create_model_quality_job_definition::CreateModelQualityJobDefinitionError> for Error {
1292    fn from(err: crate::operation::create_model_quality_job_definition::CreateModelQualityJobDefinitionError) -> Self {
1293        match err {
1294            crate::operation::create_model_quality_job_definition::CreateModelQualityJobDefinitionError::ResourceInUse(inner) => {
1295                Error::ResourceInUse(inner)
1296            }
1297            crate::operation::create_model_quality_job_definition::CreateModelQualityJobDefinitionError::ResourceLimitExceeded(inner) => {
1298                Error::ResourceLimitExceeded(inner)
1299            }
1300            crate::operation::create_model_quality_job_definition::CreateModelQualityJobDefinitionError::Unhandled(inner) => Error::Unhandled(inner),
1301        }
1302    }
1303}
1304impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_monitoring_schedule::CreateMonitoringScheduleError, R>>
1305    for Error
1306where
1307    R: Send + Sync + std::fmt::Debug + 'static,
1308{
1309    fn from(
1310        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_monitoring_schedule::CreateMonitoringScheduleError, R>,
1311    ) -> Self {
1312        match err {
1313            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1314            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1315                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1316                source: err.into(),
1317            }),
1318        }
1319    }
1320}
1321impl From<crate::operation::create_monitoring_schedule::CreateMonitoringScheduleError> for Error {
1322    fn from(err: crate::operation::create_monitoring_schedule::CreateMonitoringScheduleError) -> Self {
1323        match err {
1324            crate::operation::create_monitoring_schedule::CreateMonitoringScheduleError::ResourceInUse(inner) => Error::ResourceInUse(inner),
1325            crate::operation::create_monitoring_schedule::CreateMonitoringScheduleError::ResourceLimitExceeded(inner) => {
1326                Error::ResourceLimitExceeded(inner)
1327            }
1328            crate::operation::create_monitoring_schedule::CreateMonitoringScheduleError::Unhandled(inner) => Error::Unhandled(inner),
1329        }
1330    }
1331}
1332impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_notebook_instance::CreateNotebookInstanceError, R>> for Error
1333where
1334    R: Send + Sync + std::fmt::Debug + 'static,
1335{
1336    fn from(
1337        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_notebook_instance::CreateNotebookInstanceError, R>,
1338    ) -> Self {
1339        match err {
1340            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1341            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1342                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1343                source: err.into(),
1344            }),
1345        }
1346    }
1347}
1348impl From<crate::operation::create_notebook_instance::CreateNotebookInstanceError> for Error {
1349    fn from(err: crate::operation::create_notebook_instance::CreateNotebookInstanceError) -> Self {
1350        match err {
1351            crate::operation::create_notebook_instance::CreateNotebookInstanceError::ResourceLimitExceeded(inner) => {
1352                Error::ResourceLimitExceeded(inner)
1353            }
1354            crate::operation::create_notebook_instance::CreateNotebookInstanceError::Unhandled(inner) => Error::Unhandled(inner),
1355        }
1356    }
1357}
1358impl<R>
1359    From<
1360        ::aws_smithy_runtime_api::client::result::SdkError<
1361            crate::operation::create_notebook_instance_lifecycle_config::CreateNotebookInstanceLifecycleConfigError,
1362            R,
1363        >,
1364    > for Error
1365where
1366    R: Send + Sync + std::fmt::Debug + 'static,
1367{
1368    fn from(
1369        err: ::aws_smithy_runtime_api::client::result::SdkError<
1370            crate::operation::create_notebook_instance_lifecycle_config::CreateNotebookInstanceLifecycleConfigError,
1371            R,
1372        >,
1373    ) -> Self {
1374        match err {
1375            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1376            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1377                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1378                source: err.into(),
1379            }),
1380        }
1381    }
1382}
1383impl From<crate::operation::create_notebook_instance_lifecycle_config::CreateNotebookInstanceLifecycleConfigError> for Error {
1384    fn from(err: crate::operation::create_notebook_instance_lifecycle_config::CreateNotebookInstanceLifecycleConfigError) -> Self {
1385        match err {
1386            crate::operation::create_notebook_instance_lifecycle_config::CreateNotebookInstanceLifecycleConfigError::ResourceLimitExceeded(inner) => {
1387                Error::ResourceLimitExceeded(inner)
1388            }
1389            crate::operation::create_notebook_instance_lifecycle_config::CreateNotebookInstanceLifecycleConfigError::Unhandled(inner) => {
1390                Error::Unhandled(inner)
1391            }
1392        }
1393    }
1394}
1395impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_optimization_job::CreateOptimizationJobError, R>> for Error
1396where
1397    R: Send + Sync + std::fmt::Debug + 'static,
1398{
1399    fn from(
1400        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_optimization_job::CreateOptimizationJobError, R>,
1401    ) -> Self {
1402        match err {
1403            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1404            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1405                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1406                source: err.into(),
1407            }),
1408        }
1409    }
1410}
1411impl From<crate::operation::create_optimization_job::CreateOptimizationJobError> for Error {
1412    fn from(err: crate::operation::create_optimization_job::CreateOptimizationJobError) -> Self {
1413        match err {
1414            crate::operation::create_optimization_job::CreateOptimizationJobError::ResourceInUse(inner) => Error::ResourceInUse(inner),
1415            crate::operation::create_optimization_job::CreateOptimizationJobError::ResourceLimitExceeded(inner) => {
1416                Error::ResourceLimitExceeded(inner)
1417            }
1418            crate::operation::create_optimization_job::CreateOptimizationJobError::Unhandled(inner) => Error::Unhandled(inner),
1419        }
1420    }
1421}
1422impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_partner_app::CreatePartnerAppError, R>> for Error
1423where
1424    R: Send + Sync + std::fmt::Debug + 'static,
1425{
1426    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_partner_app::CreatePartnerAppError, R>) -> Self {
1427        match err {
1428            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1429            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1430                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1431                source: err.into(),
1432            }),
1433        }
1434    }
1435}
1436impl From<crate::operation::create_partner_app::CreatePartnerAppError> for Error {
1437    fn from(err: crate::operation::create_partner_app::CreatePartnerAppError) -> Self {
1438        match err {
1439            crate::operation::create_partner_app::CreatePartnerAppError::ConflictException(inner) => Error::ConflictException(inner),
1440            crate::operation::create_partner_app::CreatePartnerAppError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
1441            crate::operation::create_partner_app::CreatePartnerAppError::Unhandled(inner) => Error::Unhandled(inner),
1442        }
1443    }
1444}
1445impl<R>
1446    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_partner_app_presigned_url::CreatePartnerAppPresignedUrlError, R>>
1447    for Error
1448where
1449    R: Send + Sync + std::fmt::Debug + 'static,
1450{
1451    fn from(
1452        err: ::aws_smithy_runtime_api::client::result::SdkError<
1453            crate::operation::create_partner_app_presigned_url::CreatePartnerAppPresignedUrlError,
1454            R,
1455        >,
1456    ) -> Self {
1457        match err {
1458            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1459            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1460                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1461                source: err.into(),
1462            }),
1463        }
1464    }
1465}
1466impl From<crate::operation::create_partner_app_presigned_url::CreatePartnerAppPresignedUrlError> for Error {
1467    fn from(err: crate::operation::create_partner_app_presigned_url::CreatePartnerAppPresignedUrlError) -> Self {
1468        match err {
1469            crate::operation::create_partner_app_presigned_url::CreatePartnerAppPresignedUrlError::ResourceNotFound(inner) => {
1470                Error::ResourceNotFound(inner)
1471            }
1472            crate::operation::create_partner_app_presigned_url::CreatePartnerAppPresignedUrlError::Unhandled(inner) => Error::Unhandled(inner),
1473        }
1474    }
1475}
1476impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_pipeline::CreatePipelineError, R>> for Error
1477where
1478    R: Send + Sync + std::fmt::Debug + 'static,
1479{
1480    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_pipeline::CreatePipelineError, R>) -> Self {
1481        match err {
1482            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1483            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1484                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1485                source: err.into(),
1486            }),
1487        }
1488    }
1489}
1490impl From<crate::operation::create_pipeline::CreatePipelineError> for Error {
1491    fn from(err: crate::operation::create_pipeline::CreatePipelineError) -> Self {
1492        match err {
1493            crate::operation::create_pipeline::CreatePipelineError::ConflictException(inner) => Error::ConflictException(inner),
1494            crate::operation::create_pipeline::CreatePipelineError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
1495            crate::operation::create_pipeline::CreatePipelineError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
1496            crate::operation::create_pipeline::CreatePipelineError::Unhandled(inner) => Error::Unhandled(inner),
1497        }
1498    }
1499}
1500impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_presigned_domain_url::CreatePresignedDomainUrlError, R>>
1501    for Error
1502where
1503    R: Send + Sync + std::fmt::Debug + 'static,
1504{
1505    fn from(
1506        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_presigned_domain_url::CreatePresignedDomainUrlError, R>,
1507    ) -> Self {
1508        match err {
1509            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1510            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1511                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1512                source: err.into(),
1513            }),
1514        }
1515    }
1516}
1517impl From<crate::operation::create_presigned_domain_url::CreatePresignedDomainUrlError> for Error {
1518    fn from(err: crate::operation::create_presigned_domain_url::CreatePresignedDomainUrlError) -> Self {
1519        match err {
1520            crate::operation::create_presigned_domain_url::CreatePresignedDomainUrlError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
1521            crate::operation::create_presigned_domain_url::CreatePresignedDomainUrlError::Unhandled(inner) => Error::Unhandled(inner),
1522        }
1523    }
1524}
1525impl<R>
1526    From<
1527        ::aws_smithy_runtime_api::client::result::SdkError<
1528            crate::operation::create_presigned_mlflow_tracking_server_url::CreatePresignedMlflowTrackingServerUrlError,
1529            R,
1530        >,
1531    > for Error
1532where
1533    R: Send + Sync + std::fmt::Debug + 'static,
1534{
1535    fn from(
1536        err: ::aws_smithy_runtime_api::client::result::SdkError<
1537            crate::operation::create_presigned_mlflow_tracking_server_url::CreatePresignedMlflowTrackingServerUrlError,
1538            R,
1539        >,
1540    ) -> Self {
1541        match err {
1542            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1543            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1544                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1545                source: err.into(),
1546            }),
1547        }
1548    }
1549}
1550impl From<crate::operation::create_presigned_mlflow_tracking_server_url::CreatePresignedMlflowTrackingServerUrlError> for Error {
1551    fn from(err: crate::operation::create_presigned_mlflow_tracking_server_url::CreatePresignedMlflowTrackingServerUrlError) -> Self {
1552        match err {
1553            crate::operation::create_presigned_mlflow_tracking_server_url::CreatePresignedMlflowTrackingServerUrlError::ResourceNotFound(inner) => {
1554                Error::ResourceNotFound(inner)
1555            }
1556            crate::operation::create_presigned_mlflow_tracking_server_url::CreatePresignedMlflowTrackingServerUrlError::Unhandled(inner) => {
1557                Error::Unhandled(inner)
1558            }
1559        }
1560    }
1561}
1562impl<R>
1563    From<
1564        ::aws_smithy_runtime_api::client::result::SdkError<
1565            crate::operation::create_presigned_notebook_instance_url::CreatePresignedNotebookInstanceUrlError,
1566            R,
1567        >,
1568    > for Error
1569where
1570    R: Send + Sync + std::fmt::Debug + 'static,
1571{
1572    fn from(
1573        err: ::aws_smithy_runtime_api::client::result::SdkError<
1574            crate::operation::create_presigned_notebook_instance_url::CreatePresignedNotebookInstanceUrlError,
1575            R,
1576        >,
1577    ) -> Self {
1578        match err {
1579            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1580            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1581                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1582                source: err.into(),
1583            }),
1584        }
1585    }
1586}
1587impl From<crate::operation::create_presigned_notebook_instance_url::CreatePresignedNotebookInstanceUrlError> for Error {
1588    fn from(err: crate::operation::create_presigned_notebook_instance_url::CreatePresignedNotebookInstanceUrlError) -> Self {
1589        match err {
1590            crate::operation::create_presigned_notebook_instance_url::CreatePresignedNotebookInstanceUrlError::Unhandled(inner) => {
1591                Error::Unhandled(inner)
1592            }
1593        }
1594    }
1595}
1596impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_processing_job::CreateProcessingJobError, R>> for Error
1597where
1598    R: Send + Sync + std::fmt::Debug + 'static,
1599{
1600    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_processing_job::CreateProcessingJobError, R>) -> Self {
1601        match err {
1602            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1603            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1604                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1605                source: err.into(),
1606            }),
1607        }
1608    }
1609}
1610impl From<crate::operation::create_processing_job::CreateProcessingJobError> for Error {
1611    fn from(err: crate::operation::create_processing_job::CreateProcessingJobError) -> Self {
1612        match err {
1613            crate::operation::create_processing_job::CreateProcessingJobError::ResourceInUse(inner) => Error::ResourceInUse(inner),
1614            crate::operation::create_processing_job::CreateProcessingJobError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
1615            crate::operation::create_processing_job::CreateProcessingJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
1616            crate::operation::create_processing_job::CreateProcessingJobError::Unhandled(inner) => Error::Unhandled(inner),
1617        }
1618    }
1619}
1620impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_project::CreateProjectError, R>> for Error
1621where
1622    R: Send + Sync + std::fmt::Debug + 'static,
1623{
1624    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_project::CreateProjectError, R>) -> Self {
1625        match err {
1626            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1627            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1628                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1629                source: err.into(),
1630            }),
1631        }
1632    }
1633}
1634impl From<crate::operation::create_project::CreateProjectError> for Error {
1635    fn from(err: crate::operation::create_project::CreateProjectError) -> Self {
1636        match err {
1637            crate::operation::create_project::CreateProjectError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
1638            crate::operation::create_project::CreateProjectError::Unhandled(inner) => Error::Unhandled(inner),
1639        }
1640    }
1641}
1642impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_space::CreateSpaceError, R>> for Error
1643where
1644    R: Send + Sync + std::fmt::Debug + 'static,
1645{
1646    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_space::CreateSpaceError, R>) -> Self {
1647        match err {
1648            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1649            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1650                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1651                source: err.into(),
1652            }),
1653        }
1654    }
1655}
1656impl From<crate::operation::create_space::CreateSpaceError> for Error {
1657    fn from(err: crate::operation::create_space::CreateSpaceError) -> Self {
1658        match err {
1659            crate::operation::create_space::CreateSpaceError::ResourceInUse(inner) => Error::ResourceInUse(inner),
1660            crate::operation::create_space::CreateSpaceError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
1661            crate::operation::create_space::CreateSpaceError::Unhandled(inner) => Error::Unhandled(inner),
1662        }
1663    }
1664}
1665impl<R>
1666    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_studio_lifecycle_config::CreateStudioLifecycleConfigError, R>>
1667    for Error
1668where
1669    R: Send + Sync + std::fmt::Debug + 'static,
1670{
1671    fn from(
1672        err: ::aws_smithy_runtime_api::client::result::SdkError<
1673            crate::operation::create_studio_lifecycle_config::CreateStudioLifecycleConfigError,
1674            R,
1675        >,
1676    ) -> Self {
1677        match err {
1678            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1679            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1680                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1681                source: err.into(),
1682            }),
1683        }
1684    }
1685}
1686impl From<crate::operation::create_studio_lifecycle_config::CreateStudioLifecycleConfigError> for Error {
1687    fn from(err: crate::operation::create_studio_lifecycle_config::CreateStudioLifecycleConfigError) -> Self {
1688        match err {
1689            crate::operation::create_studio_lifecycle_config::CreateStudioLifecycleConfigError::ResourceInUse(inner) => Error::ResourceInUse(inner),
1690            crate::operation::create_studio_lifecycle_config::CreateStudioLifecycleConfigError::Unhandled(inner) => Error::Unhandled(inner),
1691        }
1692    }
1693}
1694impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_training_job::CreateTrainingJobError, R>> for Error
1695where
1696    R: Send + Sync + std::fmt::Debug + 'static,
1697{
1698    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_training_job::CreateTrainingJobError, R>) -> Self {
1699        match err {
1700            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1701            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1702                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1703                source: err.into(),
1704            }),
1705        }
1706    }
1707}
1708impl From<crate::operation::create_training_job::CreateTrainingJobError> for Error {
1709    fn from(err: crate::operation::create_training_job::CreateTrainingJobError) -> Self {
1710        match err {
1711            crate::operation::create_training_job::CreateTrainingJobError::ResourceInUse(inner) => Error::ResourceInUse(inner),
1712            crate::operation::create_training_job::CreateTrainingJobError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
1713            crate::operation::create_training_job::CreateTrainingJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
1714            crate::operation::create_training_job::CreateTrainingJobError::Unhandled(inner) => Error::Unhandled(inner),
1715        }
1716    }
1717}
1718impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_training_plan::CreateTrainingPlanError, R>> for Error
1719where
1720    R: Send + Sync + std::fmt::Debug + 'static,
1721{
1722    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_training_plan::CreateTrainingPlanError, R>) -> Self {
1723        match err {
1724            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1725            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1726                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1727                source: err.into(),
1728            }),
1729        }
1730    }
1731}
1732impl From<crate::operation::create_training_plan::CreateTrainingPlanError> for Error {
1733    fn from(err: crate::operation::create_training_plan::CreateTrainingPlanError) -> Self {
1734        match err {
1735            crate::operation::create_training_plan::CreateTrainingPlanError::ResourceInUse(inner) => Error::ResourceInUse(inner),
1736            crate::operation::create_training_plan::CreateTrainingPlanError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
1737            crate::operation::create_training_plan::CreateTrainingPlanError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
1738            crate::operation::create_training_plan::CreateTrainingPlanError::Unhandled(inner) => Error::Unhandled(inner),
1739        }
1740    }
1741}
1742impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_transform_job::CreateTransformJobError, R>> for Error
1743where
1744    R: Send + Sync + std::fmt::Debug + 'static,
1745{
1746    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_transform_job::CreateTransformJobError, R>) -> Self {
1747        match err {
1748            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1749            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1750                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1751                source: err.into(),
1752            }),
1753        }
1754    }
1755}
1756impl From<crate::operation::create_transform_job::CreateTransformJobError> for Error {
1757    fn from(err: crate::operation::create_transform_job::CreateTransformJobError) -> Self {
1758        match err {
1759            crate::operation::create_transform_job::CreateTransformJobError::ResourceInUse(inner) => Error::ResourceInUse(inner),
1760            crate::operation::create_transform_job::CreateTransformJobError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
1761            crate::operation::create_transform_job::CreateTransformJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
1762            crate::operation::create_transform_job::CreateTransformJobError::Unhandled(inner) => Error::Unhandled(inner),
1763        }
1764    }
1765}
1766impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_trial::CreateTrialError, R>> for Error
1767where
1768    R: Send + Sync + std::fmt::Debug + 'static,
1769{
1770    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_trial::CreateTrialError, R>) -> Self {
1771        match err {
1772            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1773            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1774                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1775                source: err.into(),
1776            }),
1777        }
1778    }
1779}
1780impl From<crate::operation::create_trial::CreateTrialError> for Error {
1781    fn from(err: crate::operation::create_trial::CreateTrialError) -> Self {
1782        match err {
1783            crate::operation::create_trial::CreateTrialError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
1784            crate::operation::create_trial::CreateTrialError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
1785            crate::operation::create_trial::CreateTrialError::Unhandled(inner) => Error::Unhandled(inner),
1786        }
1787    }
1788}
1789impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_trial_component::CreateTrialComponentError, R>> for Error
1790where
1791    R: Send + Sync + std::fmt::Debug + 'static,
1792{
1793    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_trial_component::CreateTrialComponentError, R>) -> Self {
1794        match err {
1795            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1796            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1797                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1798                source: err.into(),
1799            }),
1800        }
1801    }
1802}
1803impl From<crate::operation::create_trial_component::CreateTrialComponentError> for Error {
1804    fn from(err: crate::operation::create_trial_component::CreateTrialComponentError) -> Self {
1805        match err {
1806            crate::operation::create_trial_component::CreateTrialComponentError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
1807            crate::operation::create_trial_component::CreateTrialComponentError::Unhandled(inner) => Error::Unhandled(inner),
1808        }
1809    }
1810}
1811impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_user_profile::CreateUserProfileError, R>> for Error
1812where
1813    R: Send + Sync + std::fmt::Debug + 'static,
1814{
1815    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_user_profile::CreateUserProfileError, R>) -> Self {
1816        match err {
1817            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1818            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1819                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1820                source: err.into(),
1821            }),
1822        }
1823    }
1824}
1825impl From<crate::operation::create_user_profile::CreateUserProfileError> for Error {
1826    fn from(err: crate::operation::create_user_profile::CreateUserProfileError) -> Self {
1827        match err {
1828            crate::operation::create_user_profile::CreateUserProfileError::ResourceInUse(inner) => Error::ResourceInUse(inner),
1829            crate::operation::create_user_profile::CreateUserProfileError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
1830            crate::operation::create_user_profile::CreateUserProfileError::Unhandled(inner) => Error::Unhandled(inner),
1831        }
1832    }
1833}
1834impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_workforce::CreateWorkforceError, R>> for Error
1835where
1836    R: Send + Sync + std::fmt::Debug + 'static,
1837{
1838    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_workforce::CreateWorkforceError, R>) -> Self {
1839        match err {
1840            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1841            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1842                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1843                source: err.into(),
1844            }),
1845        }
1846    }
1847}
1848impl From<crate::operation::create_workforce::CreateWorkforceError> for Error {
1849    fn from(err: crate::operation::create_workforce::CreateWorkforceError) -> Self {
1850        match err {
1851            crate::operation::create_workforce::CreateWorkforceError::Unhandled(inner) => Error::Unhandled(inner),
1852        }
1853    }
1854}
1855impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_workteam::CreateWorkteamError, R>> for Error
1856where
1857    R: Send + Sync + std::fmt::Debug + 'static,
1858{
1859    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_workteam::CreateWorkteamError, R>) -> Self {
1860        match err {
1861            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1862            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1863                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1864                source: err.into(),
1865            }),
1866        }
1867    }
1868}
1869impl From<crate::operation::create_workteam::CreateWorkteamError> for Error {
1870    fn from(err: crate::operation::create_workteam::CreateWorkteamError) -> Self {
1871        match err {
1872            crate::operation::create_workteam::CreateWorkteamError::ResourceInUse(inner) => Error::ResourceInUse(inner),
1873            crate::operation::create_workteam::CreateWorkteamError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
1874            crate::operation::create_workteam::CreateWorkteamError::Unhandled(inner) => Error::Unhandled(inner),
1875        }
1876    }
1877}
1878impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_action::DeleteActionError, R>> for Error
1879where
1880    R: Send + Sync + std::fmt::Debug + 'static,
1881{
1882    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_action::DeleteActionError, R>) -> Self {
1883        match err {
1884            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1885            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1886                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1887                source: err.into(),
1888            }),
1889        }
1890    }
1891}
1892impl From<crate::operation::delete_action::DeleteActionError> for Error {
1893    fn from(err: crate::operation::delete_action::DeleteActionError) -> Self {
1894        match err {
1895            crate::operation::delete_action::DeleteActionError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
1896            crate::operation::delete_action::DeleteActionError::Unhandled(inner) => Error::Unhandled(inner),
1897        }
1898    }
1899}
1900impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_algorithm::DeleteAlgorithmError, R>> for Error
1901where
1902    R: Send + Sync + std::fmt::Debug + 'static,
1903{
1904    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_algorithm::DeleteAlgorithmError, R>) -> Self {
1905        match err {
1906            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1907            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1908                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1909                source: err.into(),
1910            }),
1911        }
1912    }
1913}
1914impl From<crate::operation::delete_algorithm::DeleteAlgorithmError> for Error {
1915    fn from(err: crate::operation::delete_algorithm::DeleteAlgorithmError) -> Self {
1916        match err {
1917            crate::operation::delete_algorithm::DeleteAlgorithmError::ConflictException(inner) => Error::ConflictException(inner),
1918            crate::operation::delete_algorithm::DeleteAlgorithmError::Unhandled(inner) => Error::Unhandled(inner),
1919        }
1920    }
1921}
1922impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_app::DeleteAppError, R>> for Error
1923where
1924    R: Send + Sync + std::fmt::Debug + 'static,
1925{
1926    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_app::DeleteAppError, R>) -> Self {
1927        match err {
1928            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1929            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1930                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1931                source: err.into(),
1932            }),
1933        }
1934    }
1935}
1936impl From<crate::operation::delete_app::DeleteAppError> for Error {
1937    fn from(err: crate::operation::delete_app::DeleteAppError) -> Self {
1938        match err {
1939            crate::operation::delete_app::DeleteAppError::ResourceInUse(inner) => Error::ResourceInUse(inner),
1940            crate::operation::delete_app::DeleteAppError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
1941            crate::operation::delete_app::DeleteAppError::Unhandled(inner) => Error::Unhandled(inner),
1942        }
1943    }
1944}
1945impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_app_image_config::DeleteAppImageConfigError, R>> for Error
1946where
1947    R: Send + Sync + std::fmt::Debug + 'static,
1948{
1949    fn from(
1950        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_app_image_config::DeleteAppImageConfigError, R>,
1951    ) -> Self {
1952        match err {
1953            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1954            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1955                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1956                source: err.into(),
1957            }),
1958        }
1959    }
1960}
1961impl From<crate::operation::delete_app_image_config::DeleteAppImageConfigError> for Error {
1962    fn from(err: crate::operation::delete_app_image_config::DeleteAppImageConfigError) -> Self {
1963        match err {
1964            crate::operation::delete_app_image_config::DeleteAppImageConfigError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
1965            crate::operation::delete_app_image_config::DeleteAppImageConfigError::Unhandled(inner) => Error::Unhandled(inner),
1966        }
1967    }
1968}
1969impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_artifact::DeleteArtifactError, R>> for Error
1970where
1971    R: Send + Sync + std::fmt::Debug + 'static,
1972{
1973    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_artifact::DeleteArtifactError, R>) -> Self {
1974        match err {
1975            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1976            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1977                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1978                source: err.into(),
1979            }),
1980        }
1981    }
1982}
1983impl From<crate::operation::delete_artifact::DeleteArtifactError> for Error {
1984    fn from(err: crate::operation::delete_artifact::DeleteArtifactError) -> Self {
1985        match err {
1986            crate::operation::delete_artifact::DeleteArtifactError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
1987            crate::operation::delete_artifact::DeleteArtifactError::Unhandled(inner) => Error::Unhandled(inner),
1988        }
1989    }
1990}
1991impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_association::DeleteAssociationError, R>> for Error
1992where
1993    R: Send + Sync + std::fmt::Debug + 'static,
1994{
1995    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_association::DeleteAssociationError, R>) -> Self {
1996        match err {
1997            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1998            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1999                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2000                source: err.into(),
2001            }),
2002        }
2003    }
2004}
2005impl From<crate::operation::delete_association::DeleteAssociationError> for Error {
2006    fn from(err: crate::operation::delete_association::DeleteAssociationError) -> Self {
2007        match err {
2008            crate::operation::delete_association::DeleteAssociationError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2009            crate::operation::delete_association::DeleteAssociationError::Unhandled(inner) => Error::Unhandled(inner),
2010        }
2011    }
2012}
2013impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_cluster::DeleteClusterError, R>> for Error
2014where
2015    R: Send + Sync + std::fmt::Debug + 'static,
2016{
2017    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_cluster::DeleteClusterError, R>) -> Self {
2018        match err {
2019            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2020            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2021                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2022                source: err.into(),
2023            }),
2024        }
2025    }
2026}
2027impl From<crate::operation::delete_cluster::DeleteClusterError> for Error {
2028    fn from(err: crate::operation::delete_cluster::DeleteClusterError) -> Self {
2029        match err {
2030            crate::operation::delete_cluster::DeleteClusterError::ConflictException(inner) => Error::ConflictException(inner),
2031            crate::operation::delete_cluster::DeleteClusterError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2032            crate::operation::delete_cluster::DeleteClusterError::Unhandled(inner) => Error::Unhandled(inner),
2033        }
2034    }
2035}
2036impl<R>
2037    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_cluster_scheduler_config::DeleteClusterSchedulerConfigError, R>>
2038    for Error
2039where
2040    R: Send + Sync + std::fmt::Debug + 'static,
2041{
2042    fn from(
2043        err: ::aws_smithy_runtime_api::client::result::SdkError<
2044            crate::operation::delete_cluster_scheduler_config::DeleteClusterSchedulerConfigError,
2045            R,
2046        >,
2047    ) -> Self {
2048        match err {
2049            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2050            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2051                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2052                source: err.into(),
2053            }),
2054        }
2055    }
2056}
2057impl From<crate::operation::delete_cluster_scheduler_config::DeleteClusterSchedulerConfigError> for Error {
2058    fn from(err: crate::operation::delete_cluster_scheduler_config::DeleteClusterSchedulerConfigError) -> Self {
2059        match err {
2060            crate::operation::delete_cluster_scheduler_config::DeleteClusterSchedulerConfigError::ResourceNotFound(inner) => {
2061                Error::ResourceNotFound(inner)
2062            }
2063            crate::operation::delete_cluster_scheduler_config::DeleteClusterSchedulerConfigError::Unhandled(inner) => Error::Unhandled(inner),
2064        }
2065    }
2066}
2067impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_code_repository::DeleteCodeRepositoryError, R>> for Error
2068where
2069    R: Send + Sync + std::fmt::Debug + 'static,
2070{
2071    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_code_repository::DeleteCodeRepositoryError, R>) -> Self {
2072        match err {
2073            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2074            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2075                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2076                source: err.into(),
2077            }),
2078        }
2079    }
2080}
2081impl From<crate::operation::delete_code_repository::DeleteCodeRepositoryError> for Error {
2082    fn from(err: crate::operation::delete_code_repository::DeleteCodeRepositoryError) -> Self {
2083        match err {
2084            crate::operation::delete_code_repository::DeleteCodeRepositoryError::Unhandled(inner) => Error::Unhandled(inner),
2085        }
2086    }
2087}
2088impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_compilation_job::DeleteCompilationJobError, R>> for Error
2089where
2090    R: Send + Sync + std::fmt::Debug + 'static,
2091{
2092    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_compilation_job::DeleteCompilationJobError, R>) -> Self {
2093        match err {
2094            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2095            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2096                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2097                source: err.into(),
2098            }),
2099        }
2100    }
2101}
2102impl From<crate::operation::delete_compilation_job::DeleteCompilationJobError> for Error {
2103    fn from(err: crate::operation::delete_compilation_job::DeleteCompilationJobError) -> Self {
2104        match err {
2105            crate::operation::delete_compilation_job::DeleteCompilationJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2106            crate::operation::delete_compilation_job::DeleteCompilationJobError::Unhandled(inner) => Error::Unhandled(inner),
2107        }
2108    }
2109}
2110impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_compute_quota::DeleteComputeQuotaError, R>> for Error
2111where
2112    R: Send + Sync + std::fmt::Debug + 'static,
2113{
2114    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_compute_quota::DeleteComputeQuotaError, R>) -> Self {
2115        match err {
2116            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2117            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2118                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2119                source: err.into(),
2120            }),
2121        }
2122    }
2123}
2124impl From<crate::operation::delete_compute_quota::DeleteComputeQuotaError> for Error {
2125    fn from(err: crate::operation::delete_compute_quota::DeleteComputeQuotaError) -> Self {
2126        match err {
2127            crate::operation::delete_compute_quota::DeleteComputeQuotaError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2128            crate::operation::delete_compute_quota::DeleteComputeQuotaError::Unhandled(inner) => Error::Unhandled(inner),
2129        }
2130    }
2131}
2132impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_context::DeleteContextError, R>> for Error
2133where
2134    R: Send + Sync + std::fmt::Debug + 'static,
2135{
2136    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_context::DeleteContextError, R>) -> 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_context::DeleteContextError> for Error {
2147    fn from(err: crate::operation::delete_context::DeleteContextError) -> Self {
2148        match err {
2149            crate::operation::delete_context::DeleteContextError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2150            crate::operation::delete_context::DeleteContextError::Unhandled(inner) => Error::Unhandled(inner),
2151        }
2152    }
2153}
2154impl<R>
2155    From<
2156        ::aws_smithy_runtime_api::client::result::SdkError<
2157            crate::operation::delete_data_quality_job_definition::DeleteDataQualityJobDefinitionError,
2158            R,
2159        >,
2160    > for Error
2161where
2162    R: Send + Sync + std::fmt::Debug + 'static,
2163{
2164    fn from(
2165        err: ::aws_smithy_runtime_api::client::result::SdkError<
2166            crate::operation::delete_data_quality_job_definition::DeleteDataQualityJobDefinitionError,
2167            R,
2168        >,
2169    ) -> Self {
2170        match err {
2171            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2172            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2173                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2174                source: err.into(),
2175            }),
2176        }
2177    }
2178}
2179impl From<crate::operation::delete_data_quality_job_definition::DeleteDataQualityJobDefinitionError> for Error {
2180    fn from(err: crate::operation::delete_data_quality_job_definition::DeleteDataQualityJobDefinitionError) -> Self {
2181        match err {
2182            crate::operation::delete_data_quality_job_definition::DeleteDataQualityJobDefinitionError::ResourceNotFound(inner) => {
2183                Error::ResourceNotFound(inner)
2184            }
2185            crate::operation::delete_data_quality_job_definition::DeleteDataQualityJobDefinitionError::Unhandled(inner) => Error::Unhandled(inner),
2186        }
2187    }
2188}
2189impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_device_fleet::DeleteDeviceFleetError, R>> for Error
2190where
2191    R: Send + Sync + std::fmt::Debug + 'static,
2192{
2193    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_device_fleet::DeleteDeviceFleetError, R>) -> Self {
2194        match err {
2195            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2196            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2197                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2198                source: err.into(),
2199            }),
2200        }
2201    }
2202}
2203impl From<crate::operation::delete_device_fleet::DeleteDeviceFleetError> for Error {
2204    fn from(err: crate::operation::delete_device_fleet::DeleteDeviceFleetError) -> Self {
2205        match err {
2206            crate::operation::delete_device_fleet::DeleteDeviceFleetError::ResourceInUse(inner) => Error::ResourceInUse(inner),
2207            crate::operation::delete_device_fleet::DeleteDeviceFleetError::Unhandled(inner) => Error::Unhandled(inner),
2208        }
2209    }
2210}
2211impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_domain::DeleteDomainError, R>> for Error
2212where
2213    R: Send + Sync + std::fmt::Debug + 'static,
2214{
2215    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_domain::DeleteDomainError, R>) -> Self {
2216        match err {
2217            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2218            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2219                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2220                source: err.into(),
2221            }),
2222        }
2223    }
2224}
2225impl From<crate::operation::delete_domain::DeleteDomainError> for Error {
2226    fn from(err: crate::operation::delete_domain::DeleteDomainError) -> Self {
2227        match err {
2228            crate::operation::delete_domain::DeleteDomainError::ResourceInUse(inner) => Error::ResourceInUse(inner),
2229            crate::operation::delete_domain::DeleteDomainError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2230            crate::operation::delete_domain::DeleteDomainError::Unhandled(inner) => Error::Unhandled(inner),
2231        }
2232    }
2233}
2234impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_edge_deployment_plan::DeleteEdgeDeploymentPlanError, R>>
2235    for Error
2236where
2237    R: Send + Sync + std::fmt::Debug + 'static,
2238{
2239    fn from(
2240        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_edge_deployment_plan::DeleteEdgeDeploymentPlanError, R>,
2241    ) -> Self {
2242        match err {
2243            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2244            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2245                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2246                source: err.into(),
2247            }),
2248        }
2249    }
2250}
2251impl From<crate::operation::delete_edge_deployment_plan::DeleteEdgeDeploymentPlanError> for Error {
2252    fn from(err: crate::operation::delete_edge_deployment_plan::DeleteEdgeDeploymentPlanError) -> Self {
2253        match err {
2254            crate::operation::delete_edge_deployment_plan::DeleteEdgeDeploymentPlanError::ResourceInUse(inner) => Error::ResourceInUse(inner),
2255            crate::operation::delete_edge_deployment_plan::DeleteEdgeDeploymentPlanError::Unhandled(inner) => Error::Unhandled(inner),
2256        }
2257    }
2258}
2259impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_edge_deployment_stage::DeleteEdgeDeploymentStageError, R>>
2260    for Error
2261where
2262    R: Send + Sync + std::fmt::Debug + 'static,
2263{
2264    fn from(
2265        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_edge_deployment_stage::DeleteEdgeDeploymentStageError, R>,
2266    ) -> Self {
2267        match err {
2268            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2269            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2270                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2271                source: err.into(),
2272            }),
2273        }
2274    }
2275}
2276impl From<crate::operation::delete_edge_deployment_stage::DeleteEdgeDeploymentStageError> for Error {
2277    fn from(err: crate::operation::delete_edge_deployment_stage::DeleteEdgeDeploymentStageError) -> Self {
2278        match err {
2279            crate::operation::delete_edge_deployment_stage::DeleteEdgeDeploymentStageError::ResourceInUse(inner) => Error::ResourceInUse(inner),
2280            crate::operation::delete_edge_deployment_stage::DeleteEdgeDeploymentStageError::Unhandled(inner) => Error::Unhandled(inner),
2281        }
2282    }
2283}
2284impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_endpoint::DeleteEndpointError, R>> for Error
2285where
2286    R: Send + Sync + std::fmt::Debug + 'static,
2287{
2288    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_endpoint::DeleteEndpointError, R>) -> Self {
2289        match err {
2290            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2291            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2292                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2293                source: err.into(),
2294            }),
2295        }
2296    }
2297}
2298impl From<crate::operation::delete_endpoint::DeleteEndpointError> for Error {
2299    fn from(err: crate::operation::delete_endpoint::DeleteEndpointError) -> Self {
2300        match err {
2301            crate::operation::delete_endpoint::DeleteEndpointError::Unhandled(inner) => Error::Unhandled(inner),
2302        }
2303    }
2304}
2305impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_endpoint_config::DeleteEndpointConfigError, R>> for Error
2306where
2307    R: Send + Sync + std::fmt::Debug + 'static,
2308{
2309    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_endpoint_config::DeleteEndpointConfigError, R>) -> Self {
2310        match err {
2311            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2312            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2313                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2314                source: err.into(),
2315            }),
2316        }
2317    }
2318}
2319impl From<crate::operation::delete_endpoint_config::DeleteEndpointConfigError> for Error {
2320    fn from(err: crate::operation::delete_endpoint_config::DeleteEndpointConfigError) -> Self {
2321        match err {
2322            crate::operation::delete_endpoint_config::DeleteEndpointConfigError::Unhandled(inner) => Error::Unhandled(inner),
2323        }
2324    }
2325}
2326impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_experiment::DeleteExperimentError, R>> for Error
2327where
2328    R: Send + Sync + std::fmt::Debug + 'static,
2329{
2330    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_experiment::DeleteExperimentError, R>) -> Self {
2331        match err {
2332            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2333            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2334                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2335                source: err.into(),
2336            }),
2337        }
2338    }
2339}
2340impl From<crate::operation::delete_experiment::DeleteExperimentError> for Error {
2341    fn from(err: crate::operation::delete_experiment::DeleteExperimentError) -> Self {
2342        match err {
2343            crate::operation::delete_experiment::DeleteExperimentError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2344            crate::operation::delete_experiment::DeleteExperimentError::Unhandled(inner) => Error::Unhandled(inner),
2345        }
2346    }
2347}
2348impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_feature_group::DeleteFeatureGroupError, R>> for Error
2349where
2350    R: Send + Sync + std::fmt::Debug + 'static,
2351{
2352    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_feature_group::DeleteFeatureGroupError, R>) -> Self {
2353        match err {
2354            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2355            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2356                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2357                source: err.into(),
2358            }),
2359        }
2360    }
2361}
2362impl From<crate::operation::delete_feature_group::DeleteFeatureGroupError> for Error {
2363    fn from(err: crate::operation::delete_feature_group::DeleteFeatureGroupError) -> Self {
2364        match err {
2365            crate::operation::delete_feature_group::DeleteFeatureGroupError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2366            crate::operation::delete_feature_group::DeleteFeatureGroupError::Unhandled(inner) => Error::Unhandled(inner),
2367        }
2368    }
2369}
2370impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_flow_definition::DeleteFlowDefinitionError, R>> for Error
2371where
2372    R: Send + Sync + std::fmt::Debug + 'static,
2373{
2374    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_flow_definition::DeleteFlowDefinitionError, R>) -> Self {
2375        match err {
2376            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2377            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2378                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2379                source: err.into(),
2380            }),
2381        }
2382    }
2383}
2384impl From<crate::operation::delete_flow_definition::DeleteFlowDefinitionError> for Error {
2385    fn from(err: crate::operation::delete_flow_definition::DeleteFlowDefinitionError) -> Self {
2386        match err {
2387            crate::operation::delete_flow_definition::DeleteFlowDefinitionError::ResourceInUse(inner) => Error::ResourceInUse(inner),
2388            crate::operation::delete_flow_definition::DeleteFlowDefinitionError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2389            crate::operation::delete_flow_definition::DeleteFlowDefinitionError::Unhandled(inner) => Error::Unhandled(inner),
2390        }
2391    }
2392}
2393impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_hub::DeleteHubError, R>> for Error
2394where
2395    R: Send + Sync + std::fmt::Debug + 'static,
2396{
2397    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_hub::DeleteHubError, R>) -> Self {
2398        match err {
2399            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2400            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2401                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2402                source: err.into(),
2403            }),
2404        }
2405    }
2406}
2407impl From<crate::operation::delete_hub::DeleteHubError> for Error {
2408    fn from(err: crate::operation::delete_hub::DeleteHubError) -> Self {
2409        match err {
2410            crate::operation::delete_hub::DeleteHubError::ResourceInUse(inner) => Error::ResourceInUse(inner),
2411            crate::operation::delete_hub::DeleteHubError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2412            crate::operation::delete_hub::DeleteHubError::Unhandled(inner) => Error::Unhandled(inner),
2413        }
2414    }
2415}
2416impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_hub_content::DeleteHubContentError, R>> for Error
2417where
2418    R: Send + Sync + std::fmt::Debug + 'static,
2419{
2420    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_hub_content::DeleteHubContentError, R>) -> Self {
2421        match err {
2422            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2423            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2424                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2425                source: err.into(),
2426            }),
2427        }
2428    }
2429}
2430impl From<crate::operation::delete_hub_content::DeleteHubContentError> for Error {
2431    fn from(err: crate::operation::delete_hub_content::DeleteHubContentError) -> Self {
2432        match err {
2433            crate::operation::delete_hub_content::DeleteHubContentError::ResourceInUse(inner) => Error::ResourceInUse(inner),
2434            crate::operation::delete_hub_content::DeleteHubContentError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2435            crate::operation::delete_hub_content::DeleteHubContentError::Unhandled(inner) => Error::Unhandled(inner),
2436        }
2437    }
2438}
2439impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_hub_content_reference::DeleteHubContentReferenceError, R>>
2440    for Error
2441where
2442    R: Send + Sync + std::fmt::Debug + 'static,
2443{
2444    fn from(
2445        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_hub_content_reference::DeleteHubContentReferenceError, R>,
2446    ) -> Self {
2447        match err {
2448            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2449            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2450                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2451                source: err.into(),
2452            }),
2453        }
2454    }
2455}
2456impl From<crate::operation::delete_hub_content_reference::DeleteHubContentReferenceError> for Error {
2457    fn from(err: crate::operation::delete_hub_content_reference::DeleteHubContentReferenceError) -> Self {
2458        match err {
2459            crate::operation::delete_hub_content_reference::DeleteHubContentReferenceError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2460            crate::operation::delete_hub_content_reference::DeleteHubContentReferenceError::Unhandled(inner) => Error::Unhandled(inner),
2461        }
2462    }
2463}
2464impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_human_task_ui::DeleteHumanTaskUiError, R>> for Error
2465where
2466    R: Send + Sync + std::fmt::Debug + 'static,
2467{
2468    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_human_task_ui::DeleteHumanTaskUiError, R>) -> Self {
2469        match err {
2470            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2471            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2472                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2473                source: err.into(),
2474            }),
2475        }
2476    }
2477}
2478impl From<crate::operation::delete_human_task_ui::DeleteHumanTaskUiError> for Error {
2479    fn from(err: crate::operation::delete_human_task_ui::DeleteHumanTaskUiError) -> Self {
2480        match err {
2481            crate::operation::delete_human_task_ui::DeleteHumanTaskUiError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2482            crate::operation::delete_human_task_ui::DeleteHumanTaskUiError::Unhandled(inner) => Error::Unhandled(inner),
2483        }
2484    }
2485}
2486impl<R>
2487    From<
2488        ::aws_smithy_runtime_api::client::result::SdkError<
2489            crate::operation::delete_hyper_parameter_tuning_job::DeleteHyperParameterTuningJobError,
2490            R,
2491        >,
2492    > for Error
2493where
2494    R: Send + Sync + std::fmt::Debug + 'static,
2495{
2496    fn from(
2497        err: ::aws_smithy_runtime_api::client::result::SdkError<
2498            crate::operation::delete_hyper_parameter_tuning_job::DeleteHyperParameterTuningJobError,
2499            R,
2500        >,
2501    ) -> Self {
2502        match err {
2503            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2504            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2505                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2506                source: err.into(),
2507            }),
2508        }
2509    }
2510}
2511impl From<crate::operation::delete_hyper_parameter_tuning_job::DeleteHyperParameterTuningJobError> for Error {
2512    fn from(err: crate::operation::delete_hyper_parameter_tuning_job::DeleteHyperParameterTuningJobError) -> Self {
2513        match err {
2514            crate::operation::delete_hyper_parameter_tuning_job::DeleteHyperParameterTuningJobError::Unhandled(inner) => Error::Unhandled(inner),
2515        }
2516    }
2517}
2518impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_image::DeleteImageError, R>> for Error
2519where
2520    R: Send + Sync + std::fmt::Debug + 'static,
2521{
2522    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_image::DeleteImageError, R>) -> Self {
2523        match err {
2524            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2525            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2526                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2527                source: err.into(),
2528            }),
2529        }
2530    }
2531}
2532impl From<crate::operation::delete_image::DeleteImageError> for Error {
2533    fn from(err: crate::operation::delete_image::DeleteImageError) -> Self {
2534        match err {
2535            crate::operation::delete_image::DeleteImageError::ResourceInUse(inner) => Error::ResourceInUse(inner),
2536            crate::operation::delete_image::DeleteImageError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2537            crate::operation::delete_image::DeleteImageError::Unhandled(inner) => Error::Unhandled(inner),
2538        }
2539    }
2540}
2541impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_image_version::DeleteImageVersionError, R>> for Error
2542where
2543    R: Send + Sync + std::fmt::Debug + 'static,
2544{
2545    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_image_version::DeleteImageVersionError, R>) -> Self {
2546        match err {
2547            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2548            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2549                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2550                source: err.into(),
2551            }),
2552        }
2553    }
2554}
2555impl From<crate::operation::delete_image_version::DeleteImageVersionError> for Error {
2556    fn from(err: crate::operation::delete_image_version::DeleteImageVersionError) -> Self {
2557        match err {
2558            crate::operation::delete_image_version::DeleteImageVersionError::ResourceInUse(inner) => Error::ResourceInUse(inner),
2559            crate::operation::delete_image_version::DeleteImageVersionError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2560            crate::operation::delete_image_version::DeleteImageVersionError::Unhandled(inner) => Error::Unhandled(inner),
2561        }
2562    }
2563}
2564impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_inference_component::DeleteInferenceComponentError, R>>
2565    for Error
2566where
2567    R: Send + Sync + std::fmt::Debug + 'static,
2568{
2569    fn from(
2570        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_inference_component::DeleteInferenceComponentError, R>,
2571    ) -> Self {
2572        match err {
2573            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2574            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2575                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2576                source: err.into(),
2577            }),
2578        }
2579    }
2580}
2581impl From<crate::operation::delete_inference_component::DeleteInferenceComponentError> for Error {
2582    fn from(err: crate::operation::delete_inference_component::DeleteInferenceComponentError) -> Self {
2583        match err {
2584            crate::operation::delete_inference_component::DeleteInferenceComponentError::Unhandled(inner) => Error::Unhandled(inner),
2585        }
2586    }
2587}
2588impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_inference_experiment::DeleteInferenceExperimentError, R>>
2589    for Error
2590where
2591    R: Send + Sync + std::fmt::Debug + 'static,
2592{
2593    fn from(
2594        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_inference_experiment::DeleteInferenceExperimentError, R>,
2595    ) -> Self {
2596        match err {
2597            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2598            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2599                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2600                source: err.into(),
2601            }),
2602        }
2603    }
2604}
2605impl From<crate::operation::delete_inference_experiment::DeleteInferenceExperimentError> for Error {
2606    fn from(err: crate::operation::delete_inference_experiment::DeleteInferenceExperimentError) -> Self {
2607        match err {
2608            crate::operation::delete_inference_experiment::DeleteInferenceExperimentError::ConflictException(inner) => {
2609                Error::ConflictException(inner)
2610            }
2611            crate::operation::delete_inference_experiment::DeleteInferenceExperimentError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2612            crate::operation::delete_inference_experiment::DeleteInferenceExperimentError::Unhandled(inner) => Error::Unhandled(inner),
2613        }
2614    }
2615}
2616impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_mlflow_tracking_server::DeleteMlflowTrackingServerError, R>>
2617    for Error
2618where
2619    R: Send + Sync + std::fmt::Debug + 'static,
2620{
2621    fn from(
2622        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_mlflow_tracking_server::DeleteMlflowTrackingServerError, R>,
2623    ) -> Self {
2624        match err {
2625            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2626            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2627                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2628                source: err.into(),
2629            }),
2630        }
2631    }
2632}
2633impl From<crate::operation::delete_mlflow_tracking_server::DeleteMlflowTrackingServerError> for Error {
2634    fn from(err: crate::operation::delete_mlflow_tracking_server::DeleteMlflowTrackingServerError) -> Self {
2635        match err {
2636            crate::operation::delete_mlflow_tracking_server::DeleteMlflowTrackingServerError::ResourceNotFound(inner) => {
2637                Error::ResourceNotFound(inner)
2638            }
2639            crate::operation::delete_mlflow_tracking_server::DeleteMlflowTrackingServerError::Unhandled(inner) => Error::Unhandled(inner),
2640        }
2641    }
2642}
2643impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_model::DeleteModelError, R>> for Error
2644where
2645    R: Send + Sync + std::fmt::Debug + 'static,
2646{
2647    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_model::DeleteModelError, R>) -> Self {
2648        match err {
2649            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2650            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2651                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2652                source: err.into(),
2653            }),
2654        }
2655    }
2656}
2657impl From<crate::operation::delete_model::DeleteModelError> for Error {
2658    fn from(err: crate::operation::delete_model::DeleteModelError) -> Self {
2659        match err {
2660            crate::operation::delete_model::DeleteModelError::Unhandled(inner) => Error::Unhandled(inner),
2661        }
2662    }
2663}
2664impl<R>
2665    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_model_bias_job_definition::DeleteModelBiasJobDefinitionError, R>>
2666    for Error
2667where
2668    R: Send + Sync + std::fmt::Debug + 'static,
2669{
2670    fn from(
2671        err: ::aws_smithy_runtime_api::client::result::SdkError<
2672            crate::operation::delete_model_bias_job_definition::DeleteModelBiasJobDefinitionError,
2673            R,
2674        >,
2675    ) -> Self {
2676        match err {
2677            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2678            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2679                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2680                source: err.into(),
2681            }),
2682        }
2683    }
2684}
2685impl From<crate::operation::delete_model_bias_job_definition::DeleteModelBiasJobDefinitionError> for Error {
2686    fn from(err: crate::operation::delete_model_bias_job_definition::DeleteModelBiasJobDefinitionError) -> Self {
2687        match err {
2688            crate::operation::delete_model_bias_job_definition::DeleteModelBiasJobDefinitionError::ResourceNotFound(inner) => {
2689                Error::ResourceNotFound(inner)
2690            }
2691            crate::operation::delete_model_bias_job_definition::DeleteModelBiasJobDefinitionError::Unhandled(inner) => Error::Unhandled(inner),
2692        }
2693    }
2694}
2695impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_model_card::DeleteModelCardError, R>> for Error
2696where
2697    R: Send + Sync + std::fmt::Debug + 'static,
2698{
2699    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_model_card::DeleteModelCardError, R>) -> Self {
2700        match err {
2701            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2702            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2703                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2704                source: err.into(),
2705            }),
2706        }
2707    }
2708}
2709impl From<crate::operation::delete_model_card::DeleteModelCardError> for Error {
2710    fn from(err: crate::operation::delete_model_card::DeleteModelCardError) -> Self {
2711        match err {
2712            crate::operation::delete_model_card::DeleteModelCardError::ConflictException(inner) => Error::ConflictException(inner),
2713            crate::operation::delete_model_card::DeleteModelCardError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2714            crate::operation::delete_model_card::DeleteModelCardError::Unhandled(inner) => Error::Unhandled(inner),
2715        }
2716    }
2717}
2718impl<R>
2719    From<
2720        ::aws_smithy_runtime_api::client::result::SdkError<
2721            crate::operation::delete_model_explainability_job_definition::DeleteModelExplainabilityJobDefinitionError,
2722            R,
2723        >,
2724    > for Error
2725where
2726    R: Send + Sync + std::fmt::Debug + 'static,
2727{
2728    fn from(
2729        err: ::aws_smithy_runtime_api::client::result::SdkError<
2730            crate::operation::delete_model_explainability_job_definition::DeleteModelExplainabilityJobDefinitionError,
2731            R,
2732        >,
2733    ) -> Self {
2734        match err {
2735            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2736            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2737                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2738                source: err.into(),
2739            }),
2740        }
2741    }
2742}
2743impl From<crate::operation::delete_model_explainability_job_definition::DeleteModelExplainabilityJobDefinitionError> for Error {
2744    fn from(err: crate::operation::delete_model_explainability_job_definition::DeleteModelExplainabilityJobDefinitionError) -> Self {
2745        match err {
2746            crate::operation::delete_model_explainability_job_definition::DeleteModelExplainabilityJobDefinitionError::ResourceNotFound(inner) => {
2747                Error::ResourceNotFound(inner)
2748            }
2749            crate::operation::delete_model_explainability_job_definition::DeleteModelExplainabilityJobDefinitionError::Unhandled(inner) => {
2750                Error::Unhandled(inner)
2751            }
2752        }
2753    }
2754}
2755impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_model_package::DeleteModelPackageError, R>> for Error
2756where
2757    R: Send + Sync + std::fmt::Debug + 'static,
2758{
2759    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_model_package::DeleteModelPackageError, R>) -> Self {
2760        match err {
2761            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2762            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2763                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2764                source: err.into(),
2765            }),
2766        }
2767    }
2768}
2769impl From<crate::operation::delete_model_package::DeleteModelPackageError> for Error {
2770    fn from(err: crate::operation::delete_model_package::DeleteModelPackageError) -> Self {
2771        match err {
2772            crate::operation::delete_model_package::DeleteModelPackageError::ConflictException(inner) => Error::ConflictException(inner),
2773            crate::operation::delete_model_package::DeleteModelPackageError::Unhandled(inner) => Error::Unhandled(inner),
2774        }
2775    }
2776}
2777impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_model_package_group::DeleteModelPackageGroupError, R>>
2778    for Error
2779where
2780    R: Send + Sync + std::fmt::Debug + 'static,
2781{
2782    fn from(
2783        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_model_package_group::DeleteModelPackageGroupError, R>,
2784    ) -> Self {
2785        match err {
2786            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2787            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2788                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2789                source: err.into(),
2790            }),
2791        }
2792    }
2793}
2794impl From<crate::operation::delete_model_package_group::DeleteModelPackageGroupError> for Error {
2795    fn from(err: crate::operation::delete_model_package_group::DeleteModelPackageGroupError) -> Self {
2796        match err {
2797            crate::operation::delete_model_package_group::DeleteModelPackageGroupError::ConflictException(inner) => Error::ConflictException(inner),
2798            crate::operation::delete_model_package_group::DeleteModelPackageGroupError::Unhandled(inner) => Error::Unhandled(inner),
2799        }
2800    }
2801}
2802impl<R>
2803    From<
2804        ::aws_smithy_runtime_api::client::result::SdkError<
2805            crate::operation::delete_model_package_group_policy::DeleteModelPackageGroupPolicyError,
2806            R,
2807        >,
2808    > for Error
2809where
2810    R: Send + Sync + std::fmt::Debug + 'static,
2811{
2812    fn from(
2813        err: ::aws_smithy_runtime_api::client::result::SdkError<
2814            crate::operation::delete_model_package_group_policy::DeleteModelPackageGroupPolicyError,
2815            R,
2816        >,
2817    ) -> Self {
2818        match err {
2819            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2820            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2821                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2822                source: err.into(),
2823            }),
2824        }
2825    }
2826}
2827impl From<crate::operation::delete_model_package_group_policy::DeleteModelPackageGroupPolicyError> for Error {
2828    fn from(err: crate::operation::delete_model_package_group_policy::DeleteModelPackageGroupPolicyError) -> Self {
2829        match err {
2830            crate::operation::delete_model_package_group_policy::DeleteModelPackageGroupPolicyError::Unhandled(inner) => Error::Unhandled(inner),
2831        }
2832    }
2833}
2834impl<R>
2835    From<
2836        ::aws_smithy_runtime_api::client::result::SdkError<
2837            crate::operation::delete_model_quality_job_definition::DeleteModelQualityJobDefinitionError,
2838            R,
2839        >,
2840    > for Error
2841where
2842    R: Send + Sync + std::fmt::Debug + 'static,
2843{
2844    fn from(
2845        err: ::aws_smithy_runtime_api::client::result::SdkError<
2846            crate::operation::delete_model_quality_job_definition::DeleteModelQualityJobDefinitionError,
2847            R,
2848        >,
2849    ) -> Self {
2850        match err {
2851            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2852            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2853                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2854                source: err.into(),
2855            }),
2856        }
2857    }
2858}
2859impl From<crate::operation::delete_model_quality_job_definition::DeleteModelQualityJobDefinitionError> for Error {
2860    fn from(err: crate::operation::delete_model_quality_job_definition::DeleteModelQualityJobDefinitionError) -> Self {
2861        match err {
2862            crate::operation::delete_model_quality_job_definition::DeleteModelQualityJobDefinitionError::ResourceNotFound(inner) => {
2863                Error::ResourceNotFound(inner)
2864            }
2865            crate::operation::delete_model_quality_job_definition::DeleteModelQualityJobDefinitionError::Unhandled(inner) => Error::Unhandled(inner),
2866        }
2867    }
2868}
2869impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_monitoring_schedule::DeleteMonitoringScheduleError, R>>
2870    for Error
2871where
2872    R: Send + Sync + std::fmt::Debug + 'static,
2873{
2874    fn from(
2875        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_monitoring_schedule::DeleteMonitoringScheduleError, R>,
2876    ) -> Self {
2877        match err {
2878            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2879            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2880                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2881                source: err.into(),
2882            }),
2883        }
2884    }
2885}
2886impl From<crate::operation::delete_monitoring_schedule::DeleteMonitoringScheduleError> for Error {
2887    fn from(err: crate::operation::delete_monitoring_schedule::DeleteMonitoringScheduleError) -> Self {
2888        match err {
2889            crate::operation::delete_monitoring_schedule::DeleteMonitoringScheduleError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2890            crate::operation::delete_monitoring_schedule::DeleteMonitoringScheduleError::Unhandled(inner) => Error::Unhandled(inner),
2891        }
2892    }
2893}
2894impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_notebook_instance::DeleteNotebookInstanceError, R>> for Error
2895where
2896    R: Send + Sync + std::fmt::Debug + 'static,
2897{
2898    fn from(
2899        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_notebook_instance::DeleteNotebookInstanceError, R>,
2900    ) -> Self {
2901        match err {
2902            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2903            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2904                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2905                source: err.into(),
2906            }),
2907        }
2908    }
2909}
2910impl From<crate::operation::delete_notebook_instance::DeleteNotebookInstanceError> for Error {
2911    fn from(err: crate::operation::delete_notebook_instance::DeleteNotebookInstanceError) -> Self {
2912        match err {
2913            crate::operation::delete_notebook_instance::DeleteNotebookInstanceError::Unhandled(inner) => Error::Unhandled(inner),
2914        }
2915    }
2916}
2917impl<R>
2918    From<
2919        ::aws_smithy_runtime_api::client::result::SdkError<
2920            crate::operation::delete_notebook_instance_lifecycle_config::DeleteNotebookInstanceLifecycleConfigError,
2921            R,
2922        >,
2923    > for Error
2924where
2925    R: Send + Sync + std::fmt::Debug + 'static,
2926{
2927    fn from(
2928        err: ::aws_smithy_runtime_api::client::result::SdkError<
2929            crate::operation::delete_notebook_instance_lifecycle_config::DeleteNotebookInstanceLifecycleConfigError,
2930            R,
2931        >,
2932    ) -> Self {
2933        match err {
2934            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2935            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2936                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2937                source: err.into(),
2938            }),
2939        }
2940    }
2941}
2942impl From<crate::operation::delete_notebook_instance_lifecycle_config::DeleteNotebookInstanceLifecycleConfigError> for Error {
2943    fn from(err: crate::operation::delete_notebook_instance_lifecycle_config::DeleteNotebookInstanceLifecycleConfigError) -> Self {
2944        match err {
2945            crate::operation::delete_notebook_instance_lifecycle_config::DeleteNotebookInstanceLifecycleConfigError::Unhandled(inner) => {
2946                Error::Unhandled(inner)
2947            }
2948        }
2949    }
2950}
2951impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_optimization_job::DeleteOptimizationJobError, R>> for Error
2952where
2953    R: Send + Sync + std::fmt::Debug + 'static,
2954{
2955    fn from(
2956        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_optimization_job::DeleteOptimizationJobError, R>,
2957    ) -> Self {
2958        match err {
2959            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2960            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2961                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2962                source: err.into(),
2963            }),
2964        }
2965    }
2966}
2967impl From<crate::operation::delete_optimization_job::DeleteOptimizationJobError> for Error {
2968    fn from(err: crate::operation::delete_optimization_job::DeleteOptimizationJobError) -> Self {
2969        match err {
2970            crate::operation::delete_optimization_job::DeleteOptimizationJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2971            crate::operation::delete_optimization_job::DeleteOptimizationJobError::Unhandled(inner) => Error::Unhandled(inner),
2972        }
2973    }
2974}
2975impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_partner_app::DeletePartnerAppError, R>> for Error
2976where
2977    R: Send + Sync + std::fmt::Debug + 'static,
2978{
2979    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_partner_app::DeletePartnerAppError, R>) -> Self {
2980        match err {
2981            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2982            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2983                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2984                source: err.into(),
2985            }),
2986        }
2987    }
2988}
2989impl From<crate::operation::delete_partner_app::DeletePartnerAppError> for Error {
2990    fn from(err: crate::operation::delete_partner_app::DeletePartnerAppError) -> Self {
2991        match err {
2992            crate::operation::delete_partner_app::DeletePartnerAppError::ConflictException(inner) => Error::ConflictException(inner),
2993            crate::operation::delete_partner_app::DeletePartnerAppError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
2994            crate::operation::delete_partner_app::DeletePartnerAppError::Unhandled(inner) => Error::Unhandled(inner),
2995        }
2996    }
2997}
2998impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_pipeline::DeletePipelineError, R>> for Error
2999where
3000    R: Send + Sync + std::fmt::Debug + 'static,
3001{
3002    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_pipeline::DeletePipelineError, R>) -> Self {
3003        match err {
3004            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3005            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3006                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3007                source: err.into(),
3008            }),
3009        }
3010    }
3011}
3012impl From<crate::operation::delete_pipeline::DeletePipelineError> for Error {
3013    fn from(err: crate::operation::delete_pipeline::DeletePipelineError) -> Self {
3014        match err {
3015            crate::operation::delete_pipeline::DeletePipelineError::ConflictException(inner) => Error::ConflictException(inner),
3016            crate::operation::delete_pipeline::DeletePipelineError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3017            crate::operation::delete_pipeline::DeletePipelineError::Unhandled(inner) => Error::Unhandled(inner),
3018        }
3019    }
3020}
3021impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_project::DeleteProjectError, R>> for Error
3022where
3023    R: Send + Sync + std::fmt::Debug + 'static,
3024{
3025    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_project::DeleteProjectError, R>) -> Self {
3026        match err {
3027            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3028            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3029                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3030                source: err.into(),
3031            }),
3032        }
3033    }
3034}
3035impl From<crate::operation::delete_project::DeleteProjectError> for Error {
3036    fn from(err: crate::operation::delete_project::DeleteProjectError) -> Self {
3037        match err {
3038            crate::operation::delete_project::DeleteProjectError::ConflictException(inner) => Error::ConflictException(inner),
3039            crate::operation::delete_project::DeleteProjectError::Unhandled(inner) => Error::Unhandled(inner),
3040        }
3041    }
3042}
3043impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_space::DeleteSpaceError, R>> for Error
3044where
3045    R: Send + Sync + std::fmt::Debug + 'static,
3046{
3047    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_space::DeleteSpaceError, R>) -> Self {
3048        match err {
3049            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3050            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3051                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3052                source: err.into(),
3053            }),
3054        }
3055    }
3056}
3057impl From<crate::operation::delete_space::DeleteSpaceError> for Error {
3058    fn from(err: crate::operation::delete_space::DeleteSpaceError) -> Self {
3059        match err {
3060            crate::operation::delete_space::DeleteSpaceError::ResourceInUse(inner) => Error::ResourceInUse(inner),
3061            crate::operation::delete_space::DeleteSpaceError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3062            crate::operation::delete_space::DeleteSpaceError::Unhandled(inner) => Error::Unhandled(inner),
3063        }
3064    }
3065}
3066impl<R>
3067    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_studio_lifecycle_config::DeleteStudioLifecycleConfigError, R>>
3068    for Error
3069where
3070    R: Send + Sync + std::fmt::Debug + 'static,
3071{
3072    fn from(
3073        err: ::aws_smithy_runtime_api::client::result::SdkError<
3074            crate::operation::delete_studio_lifecycle_config::DeleteStudioLifecycleConfigError,
3075            R,
3076        >,
3077    ) -> Self {
3078        match err {
3079            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3080            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3081                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3082                source: err.into(),
3083            }),
3084        }
3085    }
3086}
3087impl From<crate::operation::delete_studio_lifecycle_config::DeleteStudioLifecycleConfigError> for Error {
3088    fn from(err: crate::operation::delete_studio_lifecycle_config::DeleteStudioLifecycleConfigError) -> Self {
3089        match err {
3090            crate::operation::delete_studio_lifecycle_config::DeleteStudioLifecycleConfigError::ResourceInUse(inner) => Error::ResourceInUse(inner),
3091            crate::operation::delete_studio_lifecycle_config::DeleteStudioLifecycleConfigError::ResourceNotFound(inner) => {
3092                Error::ResourceNotFound(inner)
3093            }
3094            crate::operation::delete_studio_lifecycle_config::DeleteStudioLifecycleConfigError::Unhandled(inner) => Error::Unhandled(inner),
3095        }
3096    }
3097}
3098impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_tags::DeleteTagsError, R>> for Error
3099where
3100    R: Send + Sync + std::fmt::Debug + 'static,
3101{
3102    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_tags::DeleteTagsError, R>) -> Self {
3103        match err {
3104            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3105            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3106                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3107                source: err.into(),
3108            }),
3109        }
3110    }
3111}
3112impl From<crate::operation::delete_tags::DeleteTagsError> for Error {
3113    fn from(err: crate::operation::delete_tags::DeleteTagsError) -> Self {
3114        match err {
3115            crate::operation::delete_tags::DeleteTagsError::Unhandled(inner) => Error::Unhandled(inner),
3116        }
3117    }
3118}
3119impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_trial::DeleteTrialError, R>> for Error
3120where
3121    R: Send + Sync + std::fmt::Debug + 'static,
3122{
3123    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_trial::DeleteTrialError, R>) -> Self {
3124        match err {
3125            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3126            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3127                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3128                source: err.into(),
3129            }),
3130        }
3131    }
3132}
3133impl From<crate::operation::delete_trial::DeleteTrialError> for Error {
3134    fn from(err: crate::operation::delete_trial::DeleteTrialError) -> Self {
3135        match err {
3136            crate::operation::delete_trial::DeleteTrialError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3137            crate::operation::delete_trial::DeleteTrialError::Unhandled(inner) => Error::Unhandled(inner),
3138        }
3139    }
3140}
3141impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_trial_component::DeleteTrialComponentError, R>> for Error
3142where
3143    R: Send + Sync + std::fmt::Debug + 'static,
3144{
3145    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_trial_component::DeleteTrialComponentError, R>) -> Self {
3146        match err {
3147            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3148            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3149                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3150                source: err.into(),
3151            }),
3152        }
3153    }
3154}
3155impl From<crate::operation::delete_trial_component::DeleteTrialComponentError> for Error {
3156    fn from(err: crate::operation::delete_trial_component::DeleteTrialComponentError) -> Self {
3157        match err {
3158            crate::operation::delete_trial_component::DeleteTrialComponentError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3159            crate::operation::delete_trial_component::DeleteTrialComponentError::Unhandled(inner) => Error::Unhandled(inner),
3160        }
3161    }
3162}
3163impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_user_profile::DeleteUserProfileError, R>> for Error
3164where
3165    R: Send + Sync + std::fmt::Debug + 'static,
3166{
3167    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_user_profile::DeleteUserProfileError, R>) -> Self {
3168        match err {
3169            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3170            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3171                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3172                source: err.into(),
3173            }),
3174        }
3175    }
3176}
3177impl From<crate::operation::delete_user_profile::DeleteUserProfileError> for Error {
3178    fn from(err: crate::operation::delete_user_profile::DeleteUserProfileError) -> Self {
3179        match err {
3180            crate::operation::delete_user_profile::DeleteUserProfileError::ResourceInUse(inner) => Error::ResourceInUse(inner),
3181            crate::operation::delete_user_profile::DeleteUserProfileError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3182            crate::operation::delete_user_profile::DeleteUserProfileError::Unhandled(inner) => Error::Unhandled(inner),
3183        }
3184    }
3185}
3186impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_workforce::DeleteWorkforceError, R>> for Error
3187where
3188    R: Send + Sync + std::fmt::Debug + 'static,
3189{
3190    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_workforce::DeleteWorkforceError, R>) -> Self {
3191        match err {
3192            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3193            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3194                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3195                source: err.into(),
3196            }),
3197        }
3198    }
3199}
3200impl From<crate::operation::delete_workforce::DeleteWorkforceError> for Error {
3201    fn from(err: crate::operation::delete_workforce::DeleteWorkforceError) -> Self {
3202        match err {
3203            crate::operation::delete_workforce::DeleteWorkforceError::Unhandled(inner) => Error::Unhandled(inner),
3204        }
3205    }
3206}
3207impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_workteam::DeleteWorkteamError, R>> for Error
3208where
3209    R: Send + Sync + std::fmt::Debug + 'static,
3210{
3211    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_workteam::DeleteWorkteamError, R>) -> Self {
3212        match err {
3213            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3214            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3215                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3216                source: err.into(),
3217            }),
3218        }
3219    }
3220}
3221impl From<crate::operation::delete_workteam::DeleteWorkteamError> for Error {
3222    fn from(err: crate::operation::delete_workteam::DeleteWorkteamError) -> Self {
3223        match err {
3224            crate::operation::delete_workteam::DeleteWorkteamError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
3225            crate::operation::delete_workteam::DeleteWorkteamError::Unhandled(inner) => Error::Unhandled(inner),
3226        }
3227    }
3228}
3229impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deregister_devices::DeregisterDevicesError, R>> for Error
3230where
3231    R: Send + Sync + std::fmt::Debug + 'static,
3232{
3233    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deregister_devices::DeregisterDevicesError, R>) -> Self {
3234        match err {
3235            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3236            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3237                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3238                source: err.into(),
3239            }),
3240        }
3241    }
3242}
3243impl From<crate::operation::deregister_devices::DeregisterDevicesError> for Error {
3244    fn from(err: crate::operation::deregister_devices::DeregisterDevicesError) -> Self {
3245        match err {
3246            crate::operation::deregister_devices::DeregisterDevicesError::Unhandled(inner) => Error::Unhandled(inner),
3247        }
3248    }
3249}
3250impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_action::DescribeActionError, R>> for Error
3251where
3252    R: Send + Sync + std::fmt::Debug + 'static,
3253{
3254    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_action::DescribeActionError, R>) -> Self {
3255        match err {
3256            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3257            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3258                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3259                source: err.into(),
3260            }),
3261        }
3262    }
3263}
3264impl From<crate::operation::describe_action::DescribeActionError> for Error {
3265    fn from(err: crate::operation::describe_action::DescribeActionError) -> Self {
3266        match err {
3267            crate::operation::describe_action::DescribeActionError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3268            crate::operation::describe_action::DescribeActionError::Unhandled(inner) => Error::Unhandled(inner),
3269        }
3270    }
3271}
3272impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_algorithm::DescribeAlgorithmError, R>> for Error
3273where
3274    R: Send + Sync + std::fmt::Debug + 'static,
3275{
3276    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_algorithm::DescribeAlgorithmError, R>) -> Self {
3277        match err {
3278            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3279            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3280                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3281                source: err.into(),
3282            }),
3283        }
3284    }
3285}
3286impl From<crate::operation::describe_algorithm::DescribeAlgorithmError> for Error {
3287    fn from(err: crate::operation::describe_algorithm::DescribeAlgorithmError) -> Self {
3288        match err {
3289            crate::operation::describe_algorithm::DescribeAlgorithmError::Unhandled(inner) => Error::Unhandled(inner),
3290        }
3291    }
3292}
3293impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_app::DescribeAppError, R>> for Error
3294where
3295    R: Send + Sync + std::fmt::Debug + 'static,
3296{
3297    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_app::DescribeAppError, R>) -> Self {
3298        match err {
3299            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3300            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3301                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3302                source: err.into(),
3303            }),
3304        }
3305    }
3306}
3307impl From<crate::operation::describe_app::DescribeAppError> for Error {
3308    fn from(err: crate::operation::describe_app::DescribeAppError) -> Self {
3309        match err {
3310            crate::operation::describe_app::DescribeAppError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3311            crate::operation::describe_app::DescribeAppError::Unhandled(inner) => Error::Unhandled(inner),
3312        }
3313    }
3314}
3315impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_app_image_config::DescribeAppImageConfigError, R>>
3316    for Error
3317where
3318    R: Send + Sync + std::fmt::Debug + 'static,
3319{
3320    fn from(
3321        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_app_image_config::DescribeAppImageConfigError, R>,
3322    ) -> Self {
3323        match err {
3324            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3325            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3326                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3327                source: err.into(),
3328            }),
3329        }
3330    }
3331}
3332impl From<crate::operation::describe_app_image_config::DescribeAppImageConfigError> for Error {
3333    fn from(err: crate::operation::describe_app_image_config::DescribeAppImageConfigError) -> Self {
3334        match err {
3335            crate::operation::describe_app_image_config::DescribeAppImageConfigError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3336            crate::operation::describe_app_image_config::DescribeAppImageConfigError::Unhandled(inner) => Error::Unhandled(inner),
3337        }
3338    }
3339}
3340impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_artifact::DescribeArtifactError, R>> for Error
3341where
3342    R: Send + Sync + std::fmt::Debug + 'static,
3343{
3344    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_artifact::DescribeArtifactError, R>) -> Self {
3345        match err {
3346            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3347            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3348                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3349                source: err.into(),
3350            }),
3351        }
3352    }
3353}
3354impl From<crate::operation::describe_artifact::DescribeArtifactError> for Error {
3355    fn from(err: crate::operation::describe_artifact::DescribeArtifactError) -> Self {
3356        match err {
3357            crate::operation::describe_artifact::DescribeArtifactError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3358            crate::operation::describe_artifact::DescribeArtifactError::Unhandled(inner) => Error::Unhandled(inner),
3359        }
3360    }
3361}
3362impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_auto_ml_job::DescribeAutoMLJobError, R>> for Error
3363where
3364    R: Send + Sync + std::fmt::Debug + 'static,
3365{
3366    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_auto_ml_job::DescribeAutoMLJobError, R>) -> Self {
3367        match err {
3368            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3369            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3370                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3371                source: err.into(),
3372            }),
3373        }
3374    }
3375}
3376impl From<crate::operation::describe_auto_ml_job::DescribeAutoMLJobError> for Error {
3377    fn from(err: crate::operation::describe_auto_ml_job::DescribeAutoMLJobError) -> Self {
3378        match err {
3379            crate::operation::describe_auto_ml_job::DescribeAutoMLJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3380            crate::operation::describe_auto_ml_job::DescribeAutoMLJobError::Unhandled(inner) => Error::Unhandled(inner),
3381        }
3382    }
3383}
3384impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_auto_ml_job_v2::DescribeAutoMLJobV2Error, R>> for Error
3385where
3386    R: Send + Sync + std::fmt::Debug + 'static,
3387{
3388    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_auto_ml_job_v2::DescribeAutoMLJobV2Error, R>) -> Self {
3389        match err {
3390            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3391            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3392                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3393                source: err.into(),
3394            }),
3395        }
3396    }
3397}
3398impl From<crate::operation::describe_auto_ml_job_v2::DescribeAutoMLJobV2Error> for Error {
3399    fn from(err: crate::operation::describe_auto_ml_job_v2::DescribeAutoMLJobV2Error) -> Self {
3400        match err {
3401            crate::operation::describe_auto_ml_job_v2::DescribeAutoMLJobV2Error::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3402            crate::operation::describe_auto_ml_job_v2::DescribeAutoMLJobV2Error::Unhandled(inner) => Error::Unhandled(inner),
3403        }
3404    }
3405}
3406impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_cluster::DescribeClusterError, R>> for Error
3407where
3408    R: Send + Sync + std::fmt::Debug + 'static,
3409{
3410    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_cluster::DescribeClusterError, R>) -> Self {
3411        match err {
3412            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3413            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3414                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3415                source: err.into(),
3416            }),
3417        }
3418    }
3419}
3420impl From<crate::operation::describe_cluster::DescribeClusterError> for Error {
3421    fn from(err: crate::operation::describe_cluster::DescribeClusterError) -> Self {
3422        match err {
3423            crate::operation::describe_cluster::DescribeClusterError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3424            crate::operation::describe_cluster::DescribeClusterError::Unhandled(inner) => Error::Unhandled(inner),
3425        }
3426    }
3427}
3428impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_cluster_node::DescribeClusterNodeError, R>> for Error
3429where
3430    R: Send + Sync + std::fmt::Debug + 'static,
3431{
3432    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_cluster_node::DescribeClusterNodeError, R>) -> Self {
3433        match err {
3434            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3435            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3436                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3437                source: err.into(),
3438            }),
3439        }
3440    }
3441}
3442impl From<crate::operation::describe_cluster_node::DescribeClusterNodeError> for Error {
3443    fn from(err: crate::operation::describe_cluster_node::DescribeClusterNodeError) -> Self {
3444        match err {
3445            crate::operation::describe_cluster_node::DescribeClusterNodeError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3446            crate::operation::describe_cluster_node::DescribeClusterNodeError::Unhandled(inner) => Error::Unhandled(inner),
3447        }
3448    }
3449}
3450impl<R>
3451    From<
3452        ::aws_smithy_runtime_api::client::result::SdkError<
3453            crate::operation::describe_cluster_scheduler_config::DescribeClusterSchedulerConfigError,
3454            R,
3455        >,
3456    > for Error
3457where
3458    R: Send + Sync + std::fmt::Debug + 'static,
3459{
3460    fn from(
3461        err: ::aws_smithy_runtime_api::client::result::SdkError<
3462            crate::operation::describe_cluster_scheduler_config::DescribeClusterSchedulerConfigError,
3463            R,
3464        >,
3465    ) -> Self {
3466        match err {
3467            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3468            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3469                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3470                source: err.into(),
3471            }),
3472        }
3473    }
3474}
3475impl From<crate::operation::describe_cluster_scheduler_config::DescribeClusterSchedulerConfigError> for Error {
3476    fn from(err: crate::operation::describe_cluster_scheduler_config::DescribeClusterSchedulerConfigError) -> Self {
3477        match err {
3478            crate::operation::describe_cluster_scheduler_config::DescribeClusterSchedulerConfigError::ResourceNotFound(inner) => {
3479                Error::ResourceNotFound(inner)
3480            }
3481            crate::operation::describe_cluster_scheduler_config::DescribeClusterSchedulerConfigError::Unhandled(inner) => Error::Unhandled(inner),
3482        }
3483    }
3484}
3485impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_code_repository::DescribeCodeRepositoryError, R>> for Error
3486where
3487    R: Send + Sync + std::fmt::Debug + 'static,
3488{
3489    fn from(
3490        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_code_repository::DescribeCodeRepositoryError, R>,
3491    ) -> Self {
3492        match err {
3493            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3494            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3495                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3496                source: err.into(),
3497            }),
3498        }
3499    }
3500}
3501impl From<crate::operation::describe_code_repository::DescribeCodeRepositoryError> for Error {
3502    fn from(err: crate::operation::describe_code_repository::DescribeCodeRepositoryError) -> Self {
3503        match err {
3504            crate::operation::describe_code_repository::DescribeCodeRepositoryError::Unhandled(inner) => Error::Unhandled(inner),
3505        }
3506    }
3507}
3508impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_compilation_job::DescribeCompilationJobError, R>> for Error
3509where
3510    R: Send + Sync + std::fmt::Debug + 'static,
3511{
3512    fn from(
3513        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_compilation_job::DescribeCompilationJobError, R>,
3514    ) -> Self {
3515        match err {
3516            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3517            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3518                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3519                source: err.into(),
3520            }),
3521        }
3522    }
3523}
3524impl From<crate::operation::describe_compilation_job::DescribeCompilationJobError> for Error {
3525    fn from(err: crate::operation::describe_compilation_job::DescribeCompilationJobError) -> Self {
3526        match err {
3527            crate::operation::describe_compilation_job::DescribeCompilationJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3528            crate::operation::describe_compilation_job::DescribeCompilationJobError::Unhandled(inner) => Error::Unhandled(inner),
3529        }
3530    }
3531}
3532impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_compute_quota::DescribeComputeQuotaError, R>> for Error
3533where
3534    R: Send + Sync + std::fmt::Debug + 'static,
3535{
3536    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_compute_quota::DescribeComputeQuotaError, R>) -> Self {
3537        match err {
3538            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3539            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3540                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3541                source: err.into(),
3542            }),
3543        }
3544    }
3545}
3546impl From<crate::operation::describe_compute_quota::DescribeComputeQuotaError> for Error {
3547    fn from(err: crate::operation::describe_compute_quota::DescribeComputeQuotaError) -> Self {
3548        match err {
3549            crate::operation::describe_compute_quota::DescribeComputeQuotaError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3550            crate::operation::describe_compute_quota::DescribeComputeQuotaError::Unhandled(inner) => Error::Unhandled(inner),
3551        }
3552    }
3553}
3554impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_context::DescribeContextError, R>> for Error
3555where
3556    R: Send + Sync + std::fmt::Debug + 'static,
3557{
3558    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_context::DescribeContextError, R>) -> Self {
3559        match err {
3560            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3561            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3562                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3563                source: err.into(),
3564            }),
3565        }
3566    }
3567}
3568impl From<crate::operation::describe_context::DescribeContextError> for Error {
3569    fn from(err: crate::operation::describe_context::DescribeContextError) -> Self {
3570        match err {
3571            crate::operation::describe_context::DescribeContextError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3572            crate::operation::describe_context::DescribeContextError::Unhandled(inner) => Error::Unhandled(inner),
3573        }
3574    }
3575}
3576impl<R>
3577    From<
3578        ::aws_smithy_runtime_api::client::result::SdkError<
3579            crate::operation::describe_data_quality_job_definition::DescribeDataQualityJobDefinitionError,
3580            R,
3581        >,
3582    > for Error
3583where
3584    R: Send + Sync + std::fmt::Debug + 'static,
3585{
3586    fn from(
3587        err: ::aws_smithy_runtime_api::client::result::SdkError<
3588            crate::operation::describe_data_quality_job_definition::DescribeDataQualityJobDefinitionError,
3589            R,
3590        >,
3591    ) -> Self {
3592        match err {
3593            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3594            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3595                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3596                source: err.into(),
3597            }),
3598        }
3599    }
3600}
3601impl From<crate::operation::describe_data_quality_job_definition::DescribeDataQualityJobDefinitionError> for Error {
3602    fn from(err: crate::operation::describe_data_quality_job_definition::DescribeDataQualityJobDefinitionError) -> Self {
3603        match err {
3604            crate::operation::describe_data_quality_job_definition::DescribeDataQualityJobDefinitionError::ResourceNotFound(inner) => {
3605                Error::ResourceNotFound(inner)
3606            }
3607            crate::operation::describe_data_quality_job_definition::DescribeDataQualityJobDefinitionError::Unhandled(inner) => {
3608                Error::Unhandled(inner)
3609            }
3610        }
3611    }
3612}
3613impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_device::DescribeDeviceError, R>> for Error
3614where
3615    R: Send + Sync + std::fmt::Debug + 'static,
3616{
3617    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_device::DescribeDeviceError, R>) -> Self {
3618        match err {
3619            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3620            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3621                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3622                source: err.into(),
3623            }),
3624        }
3625    }
3626}
3627impl From<crate::operation::describe_device::DescribeDeviceError> for Error {
3628    fn from(err: crate::operation::describe_device::DescribeDeviceError) -> Self {
3629        match err {
3630            crate::operation::describe_device::DescribeDeviceError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3631            crate::operation::describe_device::DescribeDeviceError::Unhandled(inner) => Error::Unhandled(inner),
3632        }
3633    }
3634}
3635impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_device_fleet::DescribeDeviceFleetError, R>> for Error
3636where
3637    R: Send + Sync + std::fmt::Debug + 'static,
3638{
3639    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_device_fleet::DescribeDeviceFleetError, R>) -> Self {
3640        match err {
3641            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3642            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3643                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3644                source: err.into(),
3645            }),
3646        }
3647    }
3648}
3649impl From<crate::operation::describe_device_fleet::DescribeDeviceFleetError> for Error {
3650    fn from(err: crate::operation::describe_device_fleet::DescribeDeviceFleetError) -> Self {
3651        match err {
3652            crate::operation::describe_device_fleet::DescribeDeviceFleetError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3653            crate::operation::describe_device_fleet::DescribeDeviceFleetError::Unhandled(inner) => Error::Unhandled(inner),
3654        }
3655    }
3656}
3657impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_domain::DescribeDomainError, R>> for Error
3658where
3659    R: Send + Sync + std::fmt::Debug + 'static,
3660{
3661    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_domain::DescribeDomainError, R>) -> Self {
3662        match err {
3663            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3664            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3665                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3666                source: err.into(),
3667            }),
3668        }
3669    }
3670}
3671impl From<crate::operation::describe_domain::DescribeDomainError> for Error {
3672    fn from(err: crate::operation::describe_domain::DescribeDomainError) -> Self {
3673        match err {
3674            crate::operation::describe_domain::DescribeDomainError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3675            crate::operation::describe_domain::DescribeDomainError::Unhandled(inner) => Error::Unhandled(inner),
3676        }
3677    }
3678}
3679impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_edge_deployment_plan::DescribeEdgeDeploymentPlanError, R>>
3680    for Error
3681where
3682    R: Send + Sync + std::fmt::Debug + 'static,
3683{
3684    fn from(
3685        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_edge_deployment_plan::DescribeEdgeDeploymentPlanError, R>,
3686    ) -> Self {
3687        match err {
3688            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3689            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3690                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3691                source: err.into(),
3692            }),
3693        }
3694    }
3695}
3696impl From<crate::operation::describe_edge_deployment_plan::DescribeEdgeDeploymentPlanError> for Error {
3697    fn from(err: crate::operation::describe_edge_deployment_plan::DescribeEdgeDeploymentPlanError) -> Self {
3698        match err {
3699            crate::operation::describe_edge_deployment_plan::DescribeEdgeDeploymentPlanError::ResourceNotFound(inner) => {
3700                Error::ResourceNotFound(inner)
3701            }
3702            crate::operation::describe_edge_deployment_plan::DescribeEdgeDeploymentPlanError::Unhandled(inner) => Error::Unhandled(inner),
3703        }
3704    }
3705}
3706impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_edge_packaging_job::DescribeEdgePackagingJobError, R>>
3707    for Error
3708where
3709    R: Send + Sync + std::fmt::Debug + 'static,
3710{
3711    fn from(
3712        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_edge_packaging_job::DescribeEdgePackagingJobError, R>,
3713    ) -> Self {
3714        match err {
3715            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3716            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3717                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3718                source: err.into(),
3719            }),
3720        }
3721    }
3722}
3723impl From<crate::operation::describe_edge_packaging_job::DescribeEdgePackagingJobError> for Error {
3724    fn from(err: crate::operation::describe_edge_packaging_job::DescribeEdgePackagingJobError) -> Self {
3725        match err {
3726            crate::operation::describe_edge_packaging_job::DescribeEdgePackagingJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3727            crate::operation::describe_edge_packaging_job::DescribeEdgePackagingJobError::Unhandled(inner) => Error::Unhandled(inner),
3728        }
3729    }
3730}
3731impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_endpoint::DescribeEndpointError, R>> for Error
3732where
3733    R: Send + Sync + std::fmt::Debug + 'static,
3734{
3735    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_endpoint::DescribeEndpointError, R>) -> Self {
3736        match err {
3737            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3738            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3739                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3740                source: err.into(),
3741            }),
3742        }
3743    }
3744}
3745impl From<crate::operation::describe_endpoint::DescribeEndpointError> for Error {
3746    fn from(err: crate::operation::describe_endpoint::DescribeEndpointError) -> Self {
3747        match err {
3748            crate::operation::describe_endpoint::DescribeEndpointError::Unhandled(inner) => Error::Unhandled(inner),
3749        }
3750    }
3751}
3752impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_endpoint_config::DescribeEndpointConfigError, R>> for Error
3753where
3754    R: Send + Sync + std::fmt::Debug + 'static,
3755{
3756    fn from(
3757        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_endpoint_config::DescribeEndpointConfigError, R>,
3758    ) -> Self {
3759        match err {
3760            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3761            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3762                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3763                source: err.into(),
3764            }),
3765        }
3766    }
3767}
3768impl From<crate::operation::describe_endpoint_config::DescribeEndpointConfigError> for Error {
3769    fn from(err: crate::operation::describe_endpoint_config::DescribeEndpointConfigError) -> Self {
3770        match err {
3771            crate::operation::describe_endpoint_config::DescribeEndpointConfigError::Unhandled(inner) => Error::Unhandled(inner),
3772        }
3773    }
3774}
3775impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_experiment::DescribeExperimentError, R>> for Error
3776where
3777    R: Send + Sync + std::fmt::Debug + 'static,
3778{
3779    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_experiment::DescribeExperimentError, R>) -> Self {
3780        match err {
3781            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3782            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3783                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3784                source: err.into(),
3785            }),
3786        }
3787    }
3788}
3789impl From<crate::operation::describe_experiment::DescribeExperimentError> for Error {
3790    fn from(err: crate::operation::describe_experiment::DescribeExperimentError) -> Self {
3791        match err {
3792            crate::operation::describe_experiment::DescribeExperimentError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3793            crate::operation::describe_experiment::DescribeExperimentError::Unhandled(inner) => Error::Unhandled(inner),
3794        }
3795    }
3796}
3797impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_feature_group::DescribeFeatureGroupError, R>> for Error
3798where
3799    R: Send + Sync + std::fmt::Debug + 'static,
3800{
3801    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_feature_group::DescribeFeatureGroupError, R>) -> Self {
3802        match err {
3803            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3804            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3805                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3806                source: err.into(),
3807            }),
3808        }
3809    }
3810}
3811impl From<crate::operation::describe_feature_group::DescribeFeatureGroupError> for Error {
3812    fn from(err: crate::operation::describe_feature_group::DescribeFeatureGroupError) -> Self {
3813        match err {
3814            crate::operation::describe_feature_group::DescribeFeatureGroupError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3815            crate::operation::describe_feature_group::DescribeFeatureGroupError::Unhandled(inner) => Error::Unhandled(inner),
3816        }
3817    }
3818}
3819impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_feature_metadata::DescribeFeatureMetadataError, R>>
3820    for Error
3821where
3822    R: Send + Sync + std::fmt::Debug + 'static,
3823{
3824    fn from(
3825        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_feature_metadata::DescribeFeatureMetadataError, R>,
3826    ) -> Self {
3827        match err {
3828            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3829            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3830                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3831                source: err.into(),
3832            }),
3833        }
3834    }
3835}
3836impl From<crate::operation::describe_feature_metadata::DescribeFeatureMetadataError> for Error {
3837    fn from(err: crate::operation::describe_feature_metadata::DescribeFeatureMetadataError) -> Self {
3838        match err {
3839            crate::operation::describe_feature_metadata::DescribeFeatureMetadataError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3840            crate::operation::describe_feature_metadata::DescribeFeatureMetadataError::Unhandled(inner) => Error::Unhandled(inner),
3841        }
3842    }
3843}
3844impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_flow_definition::DescribeFlowDefinitionError, R>> for Error
3845where
3846    R: Send + Sync + std::fmt::Debug + 'static,
3847{
3848    fn from(
3849        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_flow_definition::DescribeFlowDefinitionError, R>,
3850    ) -> Self {
3851        match err {
3852            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3853            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3854                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3855                source: err.into(),
3856            }),
3857        }
3858    }
3859}
3860impl From<crate::operation::describe_flow_definition::DescribeFlowDefinitionError> for Error {
3861    fn from(err: crate::operation::describe_flow_definition::DescribeFlowDefinitionError) -> Self {
3862        match err {
3863            crate::operation::describe_flow_definition::DescribeFlowDefinitionError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3864            crate::operation::describe_flow_definition::DescribeFlowDefinitionError::Unhandled(inner) => Error::Unhandled(inner),
3865        }
3866    }
3867}
3868impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_hub::DescribeHubError, R>> for Error
3869where
3870    R: Send + Sync + std::fmt::Debug + 'static,
3871{
3872    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_hub::DescribeHubError, R>) -> Self {
3873        match err {
3874            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3875            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3876                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3877                source: err.into(),
3878            }),
3879        }
3880    }
3881}
3882impl From<crate::operation::describe_hub::DescribeHubError> for Error {
3883    fn from(err: crate::operation::describe_hub::DescribeHubError) -> Self {
3884        match err {
3885            crate::operation::describe_hub::DescribeHubError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3886            crate::operation::describe_hub::DescribeHubError::Unhandled(inner) => Error::Unhandled(inner),
3887        }
3888    }
3889}
3890impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_hub_content::DescribeHubContentError, R>> for Error
3891where
3892    R: Send + Sync + std::fmt::Debug + 'static,
3893{
3894    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_hub_content::DescribeHubContentError, R>) -> Self {
3895        match err {
3896            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3897            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3898                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3899                source: err.into(),
3900            }),
3901        }
3902    }
3903}
3904impl From<crate::operation::describe_hub_content::DescribeHubContentError> for Error {
3905    fn from(err: crate::operation::describe_hub_content::DescribeHubContentError) -> Self {
3906        match err {
3907            crate::operation::describe_hub_content::DescribeHubContentError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3908            crate::operation::describe_hub_content::DescribeHubContentError::Unhandled(inner) => Error::Unhandled(inner),
3909        }
3910    }
3911}
3912impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_human_task_ui::DescribeHumanTaskUiError, R>> for Error
3913where
3914    R: Send + Sync + std::fmt::Debug + 'static,
3915{
3916    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_human_task_ui::DescribeHumanTaskUiError, R>) -> Self {
3917        match err {
3918            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3919            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3920                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3921                source: err.into(),
3922            }),
3923        }
3924    }
3925}
3926impl From<crate::operation::describe_human_task_ui::DescribeHumanTaskUiError> for Error {
3927    fn from(err: crate::operation::describe_human_task_ui::DescribeHumanTaskUiError) -> Self {
3928        match err {
3929            crate::operation::describe_human_task_ui::DescribeHumanTaskUiError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3930            crate::operation::describe_human_task_ui::DescribeHumanTaskUiError::Unhandled(inner) => Error::Unhandled(inner),
3931        }
3932    }
3933}
3934impl<R>
3935    From<
3936        ::aws_smithy_runtime_api::client::result::SdkError<
3937            crate::operation::describe_hyper_parameter_tuning_job::DescribeHyperParameterTuningJobError,
3938            R,
3939        >,
3940    > for Error
3941where
3942    R: Send + Sync + std::fmt::Debug + 'static,
3943{
3944    fn from(
3945        err: ::aws_smithy_runtime_api::client::result::SdkError<
3946            crate::operation::describe_hyper_parameter_tuning_job::DescribeHyperParameterTuningJobError,
3947            R,
3948        >,
3949    ) -> Self {
3950        match err {
3951            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3952            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3953                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3954                source: err.into(),
3955            }),
3956        }
3957    }
3958}
3959impl From<crate::operation::describe_hyper_parameter_tuning_job::DescribeHyperParameterTuningJobError> for Error {
3960    fn from(err: crate::operation::describe_hyper_parameter_tuning_job::DescribeHyperParameterTuningJobError) -> Self {
3961        match err {
3962            crate::operation::describe_hyper_parameter_tuning_job::DescribeHyperParameterTuningJobError::ResourceNotFound(inner) => {
3963                Error::ResourceNotFound(inner)
3964            }
3965            crate::operation::describe_hyper_parameter_tuning_job::DescribeHyperParameterTuningJobError::Unhandled(inner) => Error::Unhandled(inner),
3966        }
3967    }
3968}
3969impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_image::DescribeImageError, R>> for Error
3970where
3971    R: Send + Sync + std::fmt::Debug + 'static,
3972{
3973    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_image::DescribeImageError, R>) -> Self {
3974        match err {
3975            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3976            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3977                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3978                source: err.into(),
3979            }),
3980        }
3981    }
3982}
3983impl From<crate::operation::describe_image::DescribeImageError> for Error {
3984    fn from(err: crate::operation::describe_image::DescribeImageError) -> Self {
3985        match err {
3986            crate::operation::describe_image::DescribeImageError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
3987            crate::operation::describe_image::DescribeImageError::Unhandled(inner) => Error::Unhandled(inner),
3988        }
3989    }
3990}
3991impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_image_version::DescribeImageVersionError, R>> for Error
3992where
3993    R: Send + Sync + std::fmt::Debug + 'static,
3994{
3995    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_image_version::DescribeImageVersionError, R>) -> Self {
3996        match err {
3997            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3998            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3999                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4000                source: err.into(),
4001            }),
4002        }
4003    }
4004}
4005impl From<crate::operation::describe_image_version::DescribeImageVersionError> for Error {
4006    fn from(err: crate::operation::describe_image_version::DescribeImageVersionError) -> Self {
4007        match err {
4008            crate::operation::describe_image_version::DescribeImageVersionError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
4009            crate::operation::describe_image_version::DescribeImageVersionError::Unhandled(inner) => Error::Unhandled(inner),
4010        }
4011    }
4012}
4013impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_inference_component::DescribeInferenceComponentError, R>>
4014    for Error
4015where
4016    R: Send + Sync + std::fmt::Debug + 'static,
4017{
4018    fn from(
4019        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_inference_component::DescribeInferenceComponentError, R>,
4020    ) -> Self {
4021        match err {
4022            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4023            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4024                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4025                source: err.into(),
4026            }),
4027        }
4028    }
4029}
4030impl From<crate::operation::describe_inference_component::DescribeInferenceComponentError> for Error {
4031    fn from(err: crate::operation::describe_inference_component::DescribeInferenceComponentError) -> Self {
4032        match err {
4033            crate::operation::describe_inference_component::DescribeInferenceComponentError::Unhandled(inner) => Error::Unhandled(inner),
4034        }
4035    }
4036}
4037impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_inference_experiment::DescribeInferenceExperimentError, R>>
4038    for Error
4039where
4040    R: Send + Sync + std::fmt::Debug + 'static,
4041{
4042    fn from(
4043        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_inference_experiment::DescribeInferenceExperimentError, R>,
4044    ) -> Self {
4045        match err {
4046            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4047            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4048                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4049                source: err.into(),
4050            }),
4051        }
4052    }
4053}
4054impl From<crate::operation::describe_inference_experiment::DescribeInferenceExperimentError> for Error {
4055    fn from(err: crate::operation::describe_inference_experiment::DescribeInferenceExperimentError) -> Self {
4056        match err {
4057            crate::operation::describe_inference_experiment::DescribeInferenceExperimentError::ResourceNotFound(inner) => {
4058                Error::ResourceNotFound(inner)
4059            }
4060            crate::operation::describe_inference_experiment::DescribeInferenceExperimentError::Unhandled(inner) => Error::Unhandled(inner),
4061        }
4062    }
4063}
4064impl<R>
4065    From<
4066        ::aws_smithy_runtime_api::client::result::SdkError<
4067            crate::operation::describe_inference_recommendations_job::DescribeInferenceRecommendationsJobError,
4068            R,
4069        >,
4070    > for Error
4071where
4072    R: Send + Sync + std::fmt::Debug + 'static,
4073{
4074    fn from(
4075        err: ::aws_smithy_runtime_api::client::result::SdkError<
4076            crate::operation::describe_inference_recommendations_job::DescribeInferenceRecommendationsJobError,
4077            R,
4078        >,
4079    ) -> Self {
4080        match err {
4081            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4082            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4083                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4084                source: err.into(),
4085            }),
4086        }
4087    }
4088}
4089impl From<crate::operation::describe_inference_recommendations_job::DescribeInferenceRecommendationsJobError> for Error {
4090    fn from(err: crate::operation::describe_inference_recommendations_job::DescribeInferenceRecommendationsJobError) -> Self {
4091        match err {
4092            crate::operation::describe_inference_recommendations_job::DescribeInferenceRecommendationsJobError::ResourceNotFound(inner) => {
4093                Error::ResourceNotFound(inner)
4094            }
4095            crate::operation::describe_inference_recommendations_job::DescribeInferenceRecommendationsJobError::Unhandled(inner) => {
4096                Error::Unhandled(inner)
4097            }
4098        }
4099    }
4100}
4101impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_labeling_job::DescribeLabelingJobError, R>> for Error
4102where
4103    R: Send + Sync + std::fmt::Debug + 'static,
4104{
4105    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_labeling_job::DescribeLabelingJobError, R>) -> Self {
4106        match err {
4107            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4108            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4109                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4110                source: err.into(),
4111            }),
4112        }
4113    }
4114}
4115impl From<crate::operation::describe_labeling_job::DescribeLabelingJobError> for Error {
4116    fn from(err: crate::operation::describe_labeling_job::DescribeLabelingJobError) -> Self {
4117        match err {
4118            crate::operation::describe_labeling_job::DescribeLabelingJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
4119            crate::operation::describe_labeling_job::DescribeLabelingJobError::Unhandled(inner) => Error::Unhandled(inner),
4120        }
4121    }
4122}
4123impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_lineage_group::DescribeLineageGroupError, R>> for Error
4124where
4125    R: Send + Sync + std::fmt::Debug + 'static,
4126{
4127    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_lineage_group::DescribeLineageGroupError, R>) -> Self {
4128        match err {
4129            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4130            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4131                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4132                source: err.into(),
4133            }),
4134        }
4135    }
4136}
4137impl From<crate::operation::describe_lineage_group::DescribeLineageGroupError> for Error {
4138    fn from(err: crate::operation::describe_lineage_group::DescribeLineageGroupError) -> Self {
4139        match err {
4140            crate::operation::describe_lineage_group::DescribeLineageGroupError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
4141            crate::operation::describe_lineage_group::DescribeLineageGroupError::Unhandled(inner) => Error::Unhandled(inner),
4142        }
4143    }
4144}
4145impl<R>
4146    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_mlflow_tracking_server::DescribeMlflowTrackingServerError, R>>
4147    for Error
4148where
4149    R: Send + Sync + std::fmt::Debug + 'static,
4150{
4151    fn from(
4152        err: ::aws_smithy_runtime_api::client::result::SdkError<
4153            crate::operation::describe_mlflow_tracking_server::DescribeMlflowTrackingServerError,
4154            R,
4155        >,
4156    ) -> Self {
4157        match err {
4158            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4159            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4160                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4161                source: err.into(),
4162            }),
4163        }
4164    }
4165}
4166impl From<crate::operation::describe_mlflow_tracking_server::DescribeMlflowTrackingServerError> for Error {
4167    fn from(err: crate::operation::describe_mlflow_tracking_server::DescribeMlflowTrackingServerError) -> Self {
4168        match err {
4169            crate::operation::describe_mlflow_tracking_server::DescribeMlflowTrackingServerError::ResourceNotFound(inner) => {
4170                Error::ResourceNotFound(inner)
4171            }
4172            crate::operation::describe_mlflow_tracking_server::DescribeMlflowTrackingServerError::Unhandled(inner) => Error::Unhandled(inner),
4173        }
4174    }
4175}
4176impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_model::DescribeModelError, R>> for Error
4177where
4178    R: Send + Sync + std::fmt::Debug + 'static,
4179{
4180    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_model::DescribeModelError, R>) -> Self {
4181        match err {
4182            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4183            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4184                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4185                source: err.into(),
4186            }),
4187        }
4188    }
4189}
4190impl From<crate::operation::describe_model::DescribeModelError> for Error {
4191    fn from(err: crate::operation::describe_model::DescribeModelError) -> Self {
4192        match err {
4193            crate::operation::describe_model::DescribeModelError::Unhandled(inner) => Error::Unhandled(inner),
4194        }
4195    }
4196}
4197impl<R>
4198    From<
4199        ::aws_smithy_runtime_api::client::result::SdkError<
4200            crate::operation::describe_model_bias_job_definition::DescribeModelBiasJobDefinitionError,
4201            R,
4202        >,
4203    > for Error
4204where
4205    R: Send + Sync + std::fmt::Debug + 'static,
4206{
4207    fn from(
4208        err: ::aws_smithy_runtime_api::client::result::SdkError<
4209            crate::operation::describe_model_bias_job_definition::DescribeModelBiasJobDefinitionError,
4210            R,
4211        >,
4212    ) -> Self {
4213        match err {
4214            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4215            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4216                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4217                source: err.into(),
4218            }),
4219        }
4220    }
4221}
4222impl From<crate::operation::describe_model_bias_job_definition::DescribeModelBiasJobDefinitionError> for Error {
4223    fn from(err: crate::operation::describe_model_bias_job_definition::DescribeModelBiasJobDefinitionError) -> Self {
4224        match err {
4225            crate::operation::describe_model_bias_job_definition::DescribeModelBiasJobDefinitionError::ResourceNotFound(inner) => {
4226                Error::ResourceNotFound(inner)
4227            }
4228            crate::operation::describe_model_bias_job_definition::DescribeModelBiasJobDefinitionError::Unhandled(inner) => Error::Unhandled(inner),
4229        }
4230    }
4231}
4232impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_model_card::DescribeModelCardError, R>> for Error
4233where
4234    R: Send + Sync + std::fmt::Debug + 'static,
4235{
4236    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_model_card::DescribeModelCardError, R>) -> Self {
4237        match err {
4238            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4239            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4240                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4241                source: err.into(),
4242            }),
4243        }
4244    }
4245}
4246impl From<crate::operation::describe_model_card::DescribeModelCardError> for Error {
4247    fn from(err: crate::operation::describe_model_card::DescribeModelCardError) -> Self {
4248        match err {
4249            crate::operation::describe_model_card::DescribeModelCardError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
4250            crate::operation::describe_model_card::DescribeModelCardError::Unhandled(inner) => Error::Unhandled(inner),
4251        }
4252    }
4253}
4254impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_model_card_export_job::DescribeModelCardExportJobError, R>>
4255    for Error
4256where
4257    R: Send + Sync + std::fmt::Debug + 'static,
4258{
4259    fn from(
4260        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_model_card_export_job::DescribeModelCardExportJobError, R>,
4261    ) -> Self {
4262        match err {
4263            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4264            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4265                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4266                source: err.into(),
4267            }),
4268        }
4269    }
4270}
4271impl From<crate::operation::describe_model_card_export_job::DescribeModelCardExportJobError> for Error {
4272    fn from(err: crate::operation::describe_model_card_export_job::DescribeModelCardExportJobError) -> Self {
4273        match err {
4274            crate::operation::describe_model_card_export_job::DescribeModelCardExportJobError::ResourceNotFound(inner) => {
4275                Error::ResourceNotFound(inner)
4276            }
4277            crate::operation::describe_model_card_export_job::DescribeModelCardExportJobError::Unhandled(inner) => Error::Unhandled(inner),
4278        }
4279    }
4280}
4281impl<R>
4282    From<
4283        ::aws_smithy_runtime_api::client::result::SdkError<
4284            crate::operation::describe_model_explainability_job_definition::DescribeModelExplainabilityJobDefinitionError,
4285            R,
4286        >,
4287    > for Error
4288where
4289    R: Send + Sync + std::fmt::Debug + 'static,
4290{
4291    fn from(
4292        err: ::aws_smithy_runtime_api::client::result::SdkError<
4293            crate::operation::describe_model_explainability_job_definition::DescribeModelExplainabilityJobDefinitionError,
4294            R,
4295        >,
4296    ) -> Self {
4297        match err {
4298            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4299            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4300                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4301                source: err.into(),
4302            }),
4303        }
4304    }
4305}
4306impl From<crate::operation::describe_model_explainability_job_definition::DescribeModelExplainabilityJobDefinitionError> for Error {
4307    fn from(err: crate::operation::describe_model_explainability_job_definition::DescribeModelExplainabilityJobDefinitionError) -> Self {
4308        match err {
4309            crate::operation::describe_model_explainability_job_definition::DescribeModelExplainabilityJobDefinitionError::ResourceNotFound(
4310                inner,
4311            ) => Error::ResourceNotFound(inner),
4312            crate::operation::describe_model_explainability_job_definition::DescribeModelExplainabilityJobDefinitionError::Unhandled(inner) => {
4313                Error::Unhandled(inner)
4314            }
4315        }
4316    }
4317}
4318impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_model_package::DescribeModelPackageError, R>> for Error
4319where
4320    R: Send + Sync + std::fmt::Debug + 'static,
4321{
4322    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_model_package::DescribeModelPackageError, R>) -> Self {
4323        match err {
4324            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4325            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4326                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4327                source: err.into(),
4328            }),
4329        }
4330    }
4331}
4332impl From<crate::operation::describe_model_package::DescribeModelPackageError> for Error {
4333    fn from(err: crate::operation::describe_model_package::DescribeModelPackageError) -> Self {
4334        match err {
4335            crate::operation::describe_model_package::DescribeModelPackageError::Unhandled(inner) => Error::Unhandled(inner),
4336        }
4337    }
4338}
4339impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_model_package_group::DescribeModelPackageGroupError, R>>
4340    for Error
4341where
4342    R: Send + Sync + std::fmt::Debug + 'static,
4343{
4344    fn from(
4345        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_model_package_group::DescribeModelPackageGroupError, R>,
4346    ) -> Self {
4347        match err {
4348            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4349            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4350                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4351                source: err.into(),
4352            }),
4353        }
4354    }
4355}
4356impl From<crate::operation::describe_model_package_group::DescribeModelPackageGroupError> for Error {
4357    fn from(err: crate::operation::describe_model_package_group::DescribeModelPackageGroupError) -> Self {
4358        match err {
4359            crate::operation::describe_model_package_group::DescribeModelPackageGroupError::Unhandled(inner) => Error::Unhandled(inner),
4360        }
4361    }
4362}
4363impl<R>
4364    From<
4365        ::aws_smithy_runtime_api::client::result::SdkError<
4366            crate::operation::describe_model_quality_job_definition::DescribeModelQualityJobDefinitionError,
4367            R,
4368        >,
4369    > for Error
4370where
4371    R: Send + Sync + std::fmt::Debug + 'static,
4372{
4373    fn from(
4374        err: ::aws_smithy_runtime_api::client::result::SdkError<
4375            crate::operation::describe_model_quality_job_definition::DescribeModelQualityJobDefinitionError,
4376            R,
4377        >,
4378    ) -> Self {
4379        match err {
4380            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4381            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4382                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4383                source: err.into(),
4384            }),
4385        }
4386    }
4387}
4388impl From<crate::operation::describe_model_quality_job_definition::DescribeModelQualityJobDefinitionError> for Error {
4389    fn from(err: crate::operation::describe_model_quality_job_definition::DescribeModelQualityJobDefinitionError) -> Self {
4390        match err {
4391            crate::operation::describe_model_quality_job_definition::DescribeModelQualityJobDefinitionError::ResourceNotFound(inner) => {
4392                Error::ResourceNotFound(inner)
4393            }
4394            crate::operation::describe_model_quality_job_definition::DescribeModelQualityJobDefinitionError::Unhandled(inner) => {
4395                Error::Unhandled(inner)
4396            }
4397        }
4398    }
4399}
4400impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_monitoring_schedule::DescribeMonitoringScheduleError, R>>
4401    for Error
4402where
4403    R: Send + Sync + std::fmt::Debug + 'static,
4404{
4405    fn from(
4406        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_monitoring_schedule::DescribeMonitoringScheduleError, R>,
4407    ) -> Self {
4408        match err {
4409            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4410            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4411                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4412                source: err.into(),
4413            }),
4414        }
4415    }
4416}
4417impl From<crate::operation::describe_monitoring_schedule::DescribeMonitoringScheduleError> for Error {
4418    fn from(err: crate::operation::describe_monitoring_schedule::DescribeMonitoringScheduleError) -> Self {
4419        match err {
4420            crate::operation::describe_monitoring_schedule::DescribeMonitoringScheduleError::ResourceNotFound(inner) => {
4421                Error::ResourceNotFound(inner)
4422            }
4423            crate::operation::describe_monitoring_schedule::DescribeMonitoringScheduleError::Unhandled(inner) => Error::Unhandled(inner),
4424        }
4425    }
4426}
4427impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_notebook_instance::DescribeNotebookInstanceError, R>>
4428    for Error
4429where
4430    R: Send + Sync + std::fmt::Debug + 'static,
4431{
4432    fn from(
4433        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_notebook_instance::DescribeNotebookInstanceError, R>,
4434    ) -> Self {
4435        match err {
4436            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4437            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4438                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4439                source: err.into(),
4440            }),
4441        }
4442    }
4443}
4444impl From<crate::operation::describe_notebook_instance::DescribeNotebookInstanceError> for Error {
4445    fn from(err: crate::operation::describe_notebook_instance::DescribeNotebookInstanceError) -> Self {
4446        match err {
4447            crate::operation::describe_notebook_instance::DescribeNotebookInstanceError::Unhandled(inner) => Error::Unhandled(inner),
4448        }
4449    }
4450}
4451impl<R>
4452    From<
4453        ::aws_smithy_runtime_api::client::result::SdkError<
4454            crate::operation::describe_notebook_instance_lifecycle_config::DescribeNotebookInstanceLifecycleConfigError,
4455            R,
4456        >,
4457    > for Error
4458where
4459    R: Send + Sync + std::fmt::Debug + 'static,
4460{
4461    fn from(
4462        err: ::aws_smithy_runtime_api::client::result::SdkError<
4463            crate::operation::describe_notebook_instance_lifecycle_config::DescribeNotebookInstanceLifecycleConfigError,
4464            R,
4465        >,
4466    ) -> Self {
4467        match err {
4468            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4469            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4470                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4471                source: err.into(),
4472            }),
4473        }
4474    }
4475}
4476impl From<crate::operation::describe_notebook_instance_lifecycle_config::DescribeNotebookInstanceLifecycleConfigError> for Error {
4477    fn from(err: crate::operation::describe_notebook_instance_lifecycle_config::DescribeNotebookInstanceLifecycleConfigError) -> Self {
4478        match err {
4479            crate::operation::describe_notebook_instance_lifecycle_config::DescribeNotebookInstanceLifecycleConfigError::Unhandled(inner) => {
4480                Error::Unhandled(inner)
4481            }
4482        }
4483    }
4484}
4485impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_optimization_job::DescribeOptimizationJobError, R>>
4486    for Error
4487where
4488    R: Send + Sync + std::fmt::Debug + 'static,
4489{
4490    fn from(
4491        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_optimization_job::DescribeOptimizationJobError, R>,
4492    ) -> Self {
4493        match err {
4494            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4495            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4496                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4497                source: err.into(),
4498            }),
4499        }
4500    }
4501}
4502impl From<crate::operation::describe_optimization_job::DescribeOptimizationJobError> for Error {
4503    fn from(err: crate::operation::describe_optimization_job::DescribeOptimizationJobError) -> Self {
4504        match err {
4505            crate::operation::describe_optimization_job::DescribeOptimizationJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
4506            crate::operation::describe_optimization_job::DescribeOptimizationJobError::Unhandled(inner) => Error::Unhandled(inner),
4507        }
4508    }
4509}
4510impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_partner_app::DescribePartnerAppError, R>> for Error
4511where
4512    R: Send + Sync + std::fmt::Debug + 'static,
4513{
4514    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_partner_app::DescribePartnerAppError, R>) -> Self {
4515        match err {
4516            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4517            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4518                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4519                source: err.into(),
4520            }),
4521        }
4522    }
4523}
4524impl From<crate::operation::describe_partner_app::DescribePartnerAppError> for Error {
4525    fn from(err: crate::operation::describe_partner_app::DescribePartnerAppError) -> Self {
4526        match err {
4527            crate::operation::describe_partner_app::DescribePartnerAppError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
4528            crate::operation::describe_partner_app::DescribePartnerAppError::Unhandled(inner) => Error::Unhandled(inner),
4529        }
4530    }
4531}
4532impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_pipeline::DescribePipelineError, R>> for Error
4533where
4534    R: Send + Sync + std::fmt::Debug + 'static,
4535{
4536    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_pipeline::DescribePipelineError, R>) -> Self {
4537        match err {
4538            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4539            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4540                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4541                source: err.into(),
4542            }),
4543        }
4544    }
4545}
4546impl From<crate::operation::describe_pipeline::DescribePipelineError> for Error {
4547    fn from(err: crate::operation::describe_pipeline::DescribePipelineError) -> Self {
4548        match err {
4549            crate::operation::describe_pipeline::DescribePipelineError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
4550            crate::operation::describe_pipeline::DescribePipelineError::Unhandled(inner) => Error::Unhandled(inner),
4551        }
4552    }
4553}
4554impl<R>
4555    From<
4556        ::aws_smithy_runtime_api::client::result::SdkError<
4557            crate::operation::describe_pipeline_definition_for_execution::DescribePipelineDefinitionForExecutionError,
4558            R,
4559        >,
4560    > for Error
4561where
4562    R: Send + Sync + std::fmt::Debug + 'static,
4563{
4564    fn from(
4565        err: ::aws_smithy_runtime_api::client::result::SdkError<
4566            crate::operation::describe_pipeline_definition_for_execution::DescribePipelineDefinitionForExecutionError,
4567            R,
4568        >,
4569    ) -> Self {
4570        match err {
4571            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4572            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4573                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4574                source: err.into(),
4575            }),
4576        }
4577    }
4578}
4579impl From<crate::operation::describe_pipeline_definition_for_execution::DescribePipelineDefinitionForExecutionError> for Error {
4580    fn from(err: crate::operation::describe_pipeline_definition_for_execution::DescribePipelineDefinitionForExecutionError) -> Self {
4581        match err {
4582            crate::operation::describe_pipeline_definition_for_execution::DescribePipelineDefinitionForExecutionError::ResourceNotFound(inner) => {
4583                Error::ResourceNotFound(inner)
4584            }
4585            crate::operation::describe_pipeline_definition_for_execution::DescribePipelineDefinitionForExecutionError::Unhandled(inner) => {
4586                Error::Unhandled(inner)
4587            }
4588        }
4589    }
4590}
4591impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_pipeline_execution::DescribePipelineExecutionError, R>>
4592    for Error
4593where
4594    R: Send + Sync + std::fmt::Debug + 'static,
4595{
4596    fn from(
4597        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_pipeline_execution::DescribePipelineExecutionError, R>,
4598    ) -> Self {
4599        match err {
4600            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4601            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4602                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4603                source: err.into(),
4604            }),
4605        }
4606    }
4607}
4608impl From<crate::operation::describe_pipeline_execution::DescribePipelineExecutionError> for Error {
4609    fn from(err: crate::operation::describe_pipeline_execution::DescribePipelineExecutionError) -> Self {
4610        match err {
4611            crate::operation::describe_pipeline_execution::DescribePipelineExecutionError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
4612            crate::operation::describe_pipeline_execution::DescribePipelineExecutionError::Unhandled(inner) => Error::Unhandled(inner),
4613        }
4614    }
4615}
4616impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_processing_job::DescribeProcessingJobError, R>> for Error
4617where
4618    R: Send + Sync + std::fmt::Debug + 'static,
4619{
4620    fn from(
4621        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_processing_job::DescribeProcessingJobError, R>,
4622    ) -> Self {
4623        match err {
4624            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4625            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4626                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4627                source: err.into(),
4628            }),
4629        }
4630    }
4631}
4632impl From<crate::operation::describe_processing_job::DescribeProcessingJobError> for Error {
4633    fn from(err: crate::operation::describe_processing_job::DescribeProcessingJobError) -> Self {
4634        match err {
4635            crate::operation::describe_processing_job::DescribeProcessingJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
4636            crate::operation::describe_processing_job::DescribeProcessingJobError::Unhandled(inner) => Error::Unhandled(inner),
4637        }
4638    }
4639}
4640impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_project::DescribeProjectError, R>> for Error
4641where
4642    R: Send + Sync + std::fmt::Debug + 'static,
4643{
4644    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_project::DescribeProjectError, R>) -> Self {
4645        match err {
4646            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4647            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4648                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4649                source: err.into(),
4650            }),
4651        }
4652    }
4653}
4654impl From<crate::operation::describe_project::DescribeProjectError> for Error {
4655    fn from(err: crate::operation::describe_project::DescribeProjectError) -> Self {
4656        match err {
4657            crate::operation::describe_project::DescribeProjectError::Unhandled(inner) => Error::Unhandled(inner),
4658        }
4659    }
4660}
4661impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_space::DescribeSpaceError, R>> for Error
4662where
4663    R: Send + Sync + std::fmt::Debug + 'static,
4664{
4665    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_space::DescribeSpaceError, R>) -> Self {
4666        match err {
4667            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4668            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4669                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4670                source: err.into(),
4671            }),
4672        }
4673    }
4674}
4675impl From<crate::operation::describe_space::DescribeSpaceError> for Error {
4676    fn from(err: crate::operation::describe_space::DescribeSpaceError) -> Self {
4677        match err {
4678            crate::operation::describe_space::DescribeSpaceError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
4679            crate::operation::describe_space::DescribeSpaceError::Unhandled(inner) => Error::Unhandled(inner),
4680        }
4681    }
4682}
4683impl<R>
4684    From<
4685        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_studio_lifecycle_config::DescribeStudioLifecycleConfigError, R>,
4686    > for Error
4687where
4688    R: Send + Sync + std::fmt::Debug + 'static,
4689{
4690    fn from(
4691        err: ::aws_smithy_runtime_api::client::result::SdkError<
4692            crate::operation::describe_studio_lifecycle_config::DescribeStudioLifecycleConfigError,
4693            R,
4694        >,
4695    ) -> Self {
4696        match err {
4697            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4698            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4699                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4700                source: err.into(),
4701            }),
4702        }
4703    }
4704}
4705impl From<crate::operation::describe_studio_lifecycle_config::DescribeStudioLifecycleConfigError> for Error {
4706    fn from(err: crate::operation::describe_studio_lifecycle_config::DescribeStudioLifecycleConfigError) -> Self {
4707        match err {
4708            crate::operation::describe_studio_lifecycle_config::DescribeStudioLifecycleConfigError::ResourceNotFound(inner) => {
4709                Error::ResourceNotFound(inner)
4710            }
4711            crate::operation::describe_studio_lifecycle_config::DescribeStudioLifecycleConfigError::Unhandled(inner) => Error::Unhandled(inner),
4712        }
4713    }
4714}
4715impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_subscribed_workteam::DescribeSubscribedWorkteamError, R>>
4716    for Error
4717where
4718    R: Send + Sync + std::fmt::Debug + 'static,
4719{
4720    fn from(
4721        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_subscribed_workteam::DescribeSubscribedWorkteamError, R>,
4722    ) -> Self {
4723        match err {
4724            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4725            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4726                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4727                source: err.into(),
4728            }),
4729        }
4730    }
4731}
4732impl From<crate::operation::describe_subscribed_workteam::DescribeSubscribedWorkteamError> for Error {
4733    fn from(err: crate::operation::describe_subscribed_workteam::DescribeSubscribedWorkteamError) -> Self {
4734        match err {
4735            crate::operation::describe_subscribed_workteam::DescribeSubscribedWorkteamError::Unhandled(inner) => Error::Unhandled(inner),
4736        }
4737    }
4738}
4739impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_training_job::DescribeTrainingJobError, R>> for Error
4740where
4741    R: Send + Sync + std::fmt::Debug + 'static,
4742{
4743    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_training_job::DescribeTrainingJobError, R>) -> Self {
4744        match err {
4745            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4746            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4747                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4748                source: err.into(),
4749            }),
4750        }
4751    }
4752}
4753impl From<crate::operation::describe_training_job::DescribeTrainingJobError> for Error {
4754    fn from(err: crate::operation::describe_training_job::DescribeTrainingJobError) -> Self {
4755        match err {
4756            crate::operation::describe_training_job::DescribeTrainingJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
4757            crate::operation::describe_training_job::DescribeTrainingJobError::Unhandled(inner) => Error::Unhandled(inner),
4758        }
4759    }
4760}
4761impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_training_plan::DescribeTrainingPlanError, R>> for Error
4762where
4763    R: Send + Sync + std::fmt::Debug + 'static,
4764{
4765    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_training_plan::DescribeTrainingPlanError, R>) -> Self {
4766        match err {
4767            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4768            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4769                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4770                source: err.into(),
4771            }),
4772        }
4773    }
4774}
4775impl From<crate::operation::describe_training_plan::DescribeTrainingPlanError> for Error {
4776    fn from(err: crate::operation::describe_training_plan::DescribeTrainingPlanError) -> Self {
4777        match err {
4778            crate::operation::describe_training_plan::DescribeTrainingPlanError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
4779            crate::operation::describe_training_plan::DescribeTrainingPlanError::Unhandled(inner) => Error::Unhandled(inner),
4780        }
4781    }
4782}
4783impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_transform_job::DescribeTransformJobError, R>> for Error
4784where
4785    R: Send + Sync + std::fmt::Debug + 'static,
4786{
4787    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_transform_job::DescribeTransformJobError, R>) -> Self {
4788        match err {
4789            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4790            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4791                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4792                source: err.into(),
4793            }),
4794        }
4795    }
4796}
4797impl From<crate::operation::describe_transform_job::DescribeTransformJobError> for Error {
4798    fn from(err: crate::operation::describe_transform_job::DescribeTransformJobError) -> Self {
4799        match err {
4800            crate::operation::describe_transform_job::DescribeTransformJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
4801            crate::operation::describe_transform_job::DescribeTransformJobError::Unhandled(inner) => Error::Unhandled(inner),
4802        }
4803    }
4804}
4805impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_trial::DescribeTrialError, R>> for Error
4806where
4807    R: Send + Sync + std::fmt::Debug + 'static,
4808{
4809    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_trial::DescribeTrialError, R>) -> Self {
4810        match err {
4811            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4812            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4813                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4814                source: err.into(),
4815            }),
4816        }
4817    }
4818}
4819impl From<crate::operation::describe_trial::DescribeTrialError> for Error {
4820    fn from(err: crate::operation::describe_trial::DescribeTrialError) -> Self {
4821        match err {
4822            crate::operation::describe_trial::DescribeTrialError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
4823            crate::operation::describe_trial::DescribeTrialError::Unhandled(inner) => Error::Unhandled(inner),
4824        }
4825    }
4826}
4827impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_trial_component::DescribeTrialComponentError, R>> for Error
4828where
4829    R: Send + Sync + std::fmt::Debug + 'static,
4830{
4831    fn from(
4832        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_trial_component::DescribeTrialComponentError, R>,
4833    ) -> 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_trial_component::DescribeTrialComponentError> for Error {
4844    fn from(err: crate::operation::describe_trial_component::DescribeTrialComponentError) -> Self {
4845        match err {
4846            crate::operation::describe_trial_component::DescribeTrialComponentError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
4847            crate::operation::describe_trial_component::DescribeTrialComponentError::Unhandled(inner) => Error::Unhandled(inner),
4848        }
4849    }
4850}
4851impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_user_profile::DescribeUserProfileError, R>> for Error
4852where
4853    R: Send + Sync + std::fmt::Debug + 'static,
4854{
4855    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_user_profile::DescribeUserProfileError, R>) -> Self {
4856        match err {
4857            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4858            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4859                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4860                source: err.into(),
4861            }),
4862        }
4863    }
4864}
4865impl From<crate::operation::describe_user_profile::DescribeUserProfileError> for Error {
4866    fn from(err: crate::operation::describe_user_profile::DescribeUserProfileError) -> Self {
4867        match err {
4868            crate::operation::describe_user_profile::DescribeUserProfileError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
4869            crate::operation::describe_user_profile::DescribeUserProfileError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
4870            crate::operation::describe_user_profile::DescribeUserProfileError::Unhandled(inner) => Error::Unhandled(inner),
4871        }
4872    }
4873}
4874impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_workforce::DescribeWorkforceError, R>> for Error
4875where
4876    R: Send + Sync + std::fmt::Debug + 'static,
4877{
4878    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_workforce::DescribeWorkforceError, R>) -> Self {
4879        match err {
4880            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4881            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4882                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4883                source: err.into(),
4884            }),
4885        }
4886    }
4887}
4888impl From<crate::operation::describe_workforce::DescribeWorkforceError> for Error {
4889    fn from(err: crate::operation::describe_workforce::DescribeWorkforceError) -> Self {
4890        match err {
4891            crate::operation::describe_workforce::DescribeWorkforceError::Unhandled(inner) => Error::Unhandled(inner),
4892        }
4893    }
4894}
4895impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_workteam::DescribeWorkteamError, R>> for Error
4896where
4897    R: Send + Sync + std::fmt::Debug + 'static,
4898{
4899    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_workteam::DescribeWorkteamError, R>) -> Self {
4900        match err {
4901            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4902            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4903                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4904                source: err.into(),
4905            }),
4906        }
4907    }
4908}
4909impl From<crate::operation::describe_workteam::DescribeWorkteamError> for Error {
4910    fn from(err: crate::operation::describe_workteam::DescribeWorkteamError) -> Self {
4911        match err {
4912            crate::operation::describe_workteam::DescribeWorkteamError::Unhandled(inner) => Error::Unhandled(inner),
4913        }
4914    }
4915}
4916impl<R>
4917    From<
4918        ::aws_smithy_runtime_api::client::result::SdkError<
4919            crate::operation::disable_sagemaker_servicecatalog_portfolio::DisableSagemakerServicecatalogPortfolioError,
4920            R,
4921        >,
4922    > for Error
4923where
4924    R: Send + Sync + std::fmt::Debug + 'static,
4925{
4926    fn from(
4927        err: ::aws_smithy_runtime_api::client::result::SdkError<
4928            crate::operation::disable_sagemaker_servicecatalog_portfolio::DisableSagemakerServicecatalogPortfolioError,
4929            R,
4930        >,
4931    ) -> Self {
4932        match err {
4933            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4934            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4935                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4936                source: err.into(),
4937            }),
4938        }
4939    }
4940}
4941impl From<crate::operation::disable_sagemaker_servicecatalog_portfolio::DisableSagemakerServicecatalogPortfolioError> for Error {
4942    fn from(err: crate::operation::disable_sagemaker_servicecatalog_portfolio::DisableSagemakerServicecatalogPortfolioError) -> Self {
4943        match err {
4944            crate::operation::disable_sagemaker_servicecatalog_portfolio::DisableSagemakerServicecatalogPortfolioError::Unhandled(inner) => {
4945                Error::Unhandled(inner)
4946            }
4947        }
4948    }
4949}
4950impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_trial_component::DisassociateTrialComponentError, R>>
4951    for Error
4952where
4953    R: Send + Sync + std::fmt::Debug + 'static,
4954{
4955    fn from(
4956        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_trial_component::DisassociateTrialComponentError, R>,
4957    ) -> Self {
4958        match err {
4959            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4960            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4961                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4962                source: err.into(),
4963            }),
4964        }
4965    }
4966}
4967impl From<crate::operation::disassociate_trial_component::DisassociateTrialComponentError> for Error {
4968    fn from(err: crate::operation::disassociate_trial_component::DisassociateTrialComponentError) -> Self {
4969        match err {
4970            crate::operation::disassociate_trial_component::DisassociateTrialComponentError::ResourceNotFound(inner) => {
4971                Error::ResourceNotFound(inner)
4972            }
4973            crate::operation::disassociate_trial_component::DisassociateTrialComponentError::Unhandled(inner) => Error::Unhandled(inner),
4974        }
4975    }
4976}
4977impl<R>
4978    From<
4979        ::aws_smithy_runtime_api::client::result::SdkError<
4980            crate::operation::enable_sagemaker_servicecatalog_portfolio::EnableSagemakerServicecatalogPortfolioError,
4981            R,
4982        >,
4983    > for Error
4984where
4985    R: Send + Sync + std::fmt::Debug + 'static,
4986{
4987    fn from(
4988        err: ::aws_smithy_runtime_api::client::result::SdkError<
4989            crate::operation::enable_sagemaker_servicecatalog_portfolio::EnableSagemakerServicecatalogPortfolioError,
4990            R,
4991        >,
4992    ) -> Self {
4993        match err {
4994            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4995            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4996                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4997                source: err.into(),
4998            }),
4999        }
5000    }
5001}
5002impl From<crate::operation::enable_sagemaker_servicecatalog_portfolio::EnableSagemakerServicecatalogPortfolioError> for Error {
5003    fn from(err: crate::operation::enable_sagemaker_servicecatalog_portfolio::EnableSagemakerServicecatalogPortfolioError) -> Self {
5004        match err {
5005            crate::operation::enable_sagemaker_servicecatalog_portfolio::EnableSagemakerServicecatalogPortfolioError::Unhandled(inner) => {
5006                Error::Unhandled(inner)
5007            }
5008        }
5009    }
5010}
5011impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_device_fleet_report::GetDeviceFleetReportError, R>> for Error
5012where
5013    R: Send + Sync + std::fmt::Debug + 'static,
5014{
5015    fn from(
5016        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_device_fleet_report::GetDeviceFleetReportError, R>,
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::get_device_fleet_report::GetDeviceFleetReportError> for Error {
5028    fn from(err: crate::operation::get_device_fleet_report::GetDeviceFleetReportError) -> Self {
5029        match err {
5030            crate::operation::get_device_fleet_report::GetDeviceFleetReportError::Unhandled(inner) => Error::Unhandled(inner),
5031        }
5032    }
5033}
5034impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_lineage_group_policy::GetLineageGroupPolicyError, R>> for Error
5035where
5036    R: Send + Sync + std::fmt::Debug + 'static,
5037{
5038    fn from(
5039        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_lineage_group_policy::GetLineageGroupPolicyError, R>,
5040    ) -> Self {
5041        match err {
5042            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5043            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5044                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5045                source: err.into(),
5046            }),
5047        }
5048    }
5049}
5050impl From<crate::operation::get_lineage_group_policy::GetLineageGroupPolicyError> for Error {
5051    fn from(err: crate::operation::get_lineage_group_policy::GetLineageGroupPolicyError) -> Self {
5052        match err {
5053            crate::operation::get_lineage_group_policy::GetLineageGroupPolicyError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
5054            crate::operation::get_lineage_group_policy::GetLineageGroupPolicyError::Unhandled(inner) => Error::Unhandled(inner),
5055        }
5056    }
5057}
5058impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_model_package_group_policy::GetModelPackageGroupPolicyError, R>>
5059    for Error
5060where
5061    R: Send + Sync + std::fmt::Debug + 'static,
5062{
5063    fn from(
5064        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_model_package_group_policy::GetModelPackageGroupPolicyError, R>,
5065    ) -> 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::get_model_package_group_policy::GetModelPackageGroupPolicyError> for Error {
5076    fn from(err: crate::operation::get_model_package_group_policy::GetModelPackageGroupPolicyError) -> Self {
5077        match err {
5078            crate::operation::get_model_package_group_policy::GetModelPackageGroupPolicyError::Unhandled(inner) => Error::Unhandled(inner),
5079        }
5080    }
5081}
5082impl<R>
5083    From<
5084        ::aws_smithy_runtime_api::client::result::SdkError<
5085            crate::operation::get_sagemaker_servicecatalog_portfolio_status::GetSagemakerServicecatalogPortfolioStatusError,
5086            R,
5087        >,
5088    > for Error
5089where
5090    R: Send + Sync + std::fmt::Debug + 'static,
5091{
5092    fn from(
5093        err: ::aws_smithy_runtime_api::client::result::SdkError<
5094            crate::operation::get_sagemaker_servicecatalog_portfolio_status::GetSagemakerServicecatalogPortfolioStatusError,
5095            R,
5096        >,
5097    ) -> Self {
5098        match err {
5099            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5100            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5101                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5102                source: err.into(),
5103            }),
5104        }
5105    }
5106}
5107impl From<crate::operation::get_sagemaker_servicecatalog_portfolio_status::GetSagemakerServicecatalogPortfolioStatusError> for Error {
5108    fn from(err: crate::operation::get_sagemaker_servicecatalog_portfolio_status::GetSagemakerServicecatalogPortfolioStatusError) -> Self {
5109        match err {
5110            crate::operation::get_sagemaker_servicecatalog_portfolio_status::GetSagemakerServicecatalogPortfolioStatusError::Unhandled(inner) => {
5111                Error::Unhandled(inner)
5112            }
5113        }
5114    }
5115}
5116impl<R>
5117    From<
5118        ::aws_smithy_runtime_api::client::result::SdkError<
5119            crate::operation::get_scaling_configuration_recommendation::GetScalingConfigurationRecommendationError,
5120            R,
5121        >,
5122    > for Error
5123where
5124    R: Send + Sync + std::fmt::Debug + 'static,
5125{
5126    fn from(
5127        err: ::aws_smithy_runtime_api::client::result::SdkError<
5128            crate::operation::get_scaling_configuration_recommendation::GetScalingConfigurationRecommendationError,
5129            R,
5130        >,
5131    ) -> 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::get_scaling_configuration_recommendation::GetScalingConfigurationRecommendationError> for Error {
5142    fn from(err: crate::operation::get_scaling_configuration_recommendation::GetScalingConfigurationRecommendationError) -> Self {
5143        match err {
5144            crate::operation::get_scaling_configuration_recommendation::GetScalingConfigurationRecommendationError::ResourceNotFound(inner) => {
5145                Error::ResourceNotFound(inner)
5146            }
5147            crate::operation::get_scaling_configuration_recommendation::GetScalingConfigurationRecommendationError::Unhandled(inner) => {
5148                Error::Unhandled(inner)
5149            }
5150        }
5151    }
5152}
5153impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_search_suggestions::GetSearchSuggestionsError, R>> for Error
5154where
5155    R: Send + Sync + std::fmt::Debug + 'static,
5156{
5157    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_search_suggestions::GetSearchSuggestionsError, R>) -> Self {
5158        match err {
5159            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5160            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5161                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5162                source: err.into(),
5163            }),
5164        }
5165    }
5166}
5167impl From<crate::operation::get_search_suggestions::GetSearchSuggestionsError> for Error {
5168    fn from(err: crate::operation::get_search_suggestions::GetSearchSuggestionsError) -> Self {
5169        match err {
5170            crate::operation::get_search_suggestions::GetSearchSuggestionsError::Unhandled(inner) => Error::Unhandled(inner),
5171        }
5172    }
5173}
5174impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_hub_content::ImportHubContentError, R>> for Error
5175where
5176    R: Send + Sync + std::fmt::Debug + 'static,
5177{
5178    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_hub_content::ImportHubContentError, R>) -> Self {
5179        match err {
5180            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5181            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5182                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5183                source: err.into(),
5184            }),
5185        }
5186    }
5187}
5188impl From<crate::operation::import_hub_content::ImportHubContentError> for Error {
5189    fn from(err: crate::operation::import_hub_content::ImportHubContentError) -> Self {
5190        match err {
5191            crate::operation::import_hub_content::ImportHubContentError::ResourceInUse(inner) => Error::ResourceInUse(inner),
5192            crate::operation::import_hub_content::ImportHubContentError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
5193            crate::operation::import_hub_content::ImportHubContentError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
5194            crate::operation::import_hub_content::ImportHubContentError::Unhandled(inner) => Error::Unhandled(inner),
5195        }
5196    }
5197}
5198impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_actions::ListActionsError, R>> for Error
5199where
5200    R: Send + Sync + std::fmt::Debug + 'static,
5201{
5202    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_actions::ListActionsError, R>) -> Self {
5203        match err {
5204            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5205            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5206                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5207                source: err.into(),
5208            }),
5209        }
5210    }
5211}
5212impl From<crate::operation::list_actions::ListActionsError> for Error {
5213    fn from(err: crate::operation::list_actions::ListActionsError) -> Self {
5214        match err {
5215            crate::operation::list_actions::ListActionsError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
5216            crate::operation::list_actions::ListActionsError::Unhandled(inner) => Error::Unhandled(inner),
5217        }
5218    }
5219}
5220impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_algorithms::ListAlgorithmsError, R>> for Error
5221where
5222    R: Send + Sync + std::fmt::Debug + 'static,
5223{
5224    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_algorithms::ListAlgorithmsError, R>) -> Self {
5225        match err {
5226            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5227            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5228                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5229                source: err.into(),
5230            }),
5231        }
5232    }
5233}
5234impl From<crate::operation::list_algorithms::ListAlgorithmsError> for Error {
5235    fn from(err: crate::operation::list_algorithms::ListAlgorithmsError) -> Self {
5236        match err {
5237            crate::operation::list_algorithms::ListAlgorithmsError::Unhandled(inner) => Error::Unhandled(inner),
5238        }
5239    }
5240}
5241impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_aliases::ListAliasesError, R>> for Error
5242where
5243    R: Send + Sync + std::fmt::Debug + 'static,
5244{
5245    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_aliases::ListAliasesError, R>) -> 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::list_aliases::ListAliasesError> for Error {
5256    fn from(err: crate::operation::list_aliases::ListAliasesError) -> Self {
5257        match err {
5258            crate::operation::list_aliases::ListAliasesError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
5259            crate::operation::list_aliases::ListAliasesError::Unhandled(inner) => Error::Unhandled(inner),
5260        }
5261    }
5262}
5263impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_app_image_configs::ListAppImageConfigsError, R>> for Error
5264where
5265    R: Send + Sync + std::fmt::Debug + 'static,
5266{
5267    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_app_image_configs::ListAppImageConfigsError, R>) -> Self {
5268        match err {
5269            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5270            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5271                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5272                source: err.into(),
5273            }),
5274        }
5275    }
5276}
5277impl From<crate::operation::list_app_image_configs::ListAppImageConfigsError> for Error {
5278    fn from(err: crate::operation::list_app_image_configs::ListAppImageConfigsError) -> Self {
5279        match err {
5280            crate::operation::list_app_image_configs::ListAppImageConfigsError::Unhandled(inner) => Error::Unhandled(inner),
5281        }
5282    }
5283}
5284impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_apps::ListAppsError, R>> for Error
5285where
5286    R: Send + Sync + std::fmt::Debug + 'static,
5287{
5288    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_apps::ListAppsError, R>) -> Self {
5289        match err {
5290            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5291            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5292                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5293                source: err.into(),
5294            }),
5295        }
5296    }
5297}
5298impl From<crate::operation::list_apps::ListAppsError> for Error {
5299    fn from(err: crate::operation::list_apps::ListAppsError) -> Self {
5300        match err {
5301            crate::operation::list_apps::ListAppsError::Unhandled(inner) => Error::Unhandled(inner),
5302        }
5303    }
5304}
5305impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_artifacts::ListArtifactsError, R>> for Error
5306where
5307    R: Send + Sync + std::fmt::Debug + 'static,
5308{
5309    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_artifacts::ListArtifactsError, R>) -> Self {
5310        match err {
5311            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5312            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5313                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5314                source: err.into(),
5315            }),
5316        }
5317    }
5318}
5319impl From<crate::operation::list_artifacts::ListArtifactsError> for Error {
5320    fn from(err: crate::operation::list_artifacts::ListArtifactsError) -> Self {
5321        match err {
5322            crate::operation::list_artifacts::ListArtifactsError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
5323            crate::operation::list_artifacts::ListArtifactsError::Unhandled(inner) => Error::Unhandled(inner),
5324        }
5325    }
5326}
5327impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_associations::ListAssociationsError, R>> for Error
5328where
5329    R: Send + Sync + std::fmt::Debug + 'static,
5330{
5331    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_associations::ListAssociationsError, R>) -> Self {
5332        match err {
5333            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5334            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5335                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5336                source: err.into(),
5337            }),
5338        }
5339    }
5340}
5341impl From<crate::operation::list_associations::ListAssociationsError> for Error {
5342    fn from(err: crate::operation::list_associations::ListAssociationsError) -> Self {
5343        match err {
5344            crate::operation::list_associations::ListAssociationsError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
5345            crate::operation::list_associations::ListAssociationsError::Unhandled(inner) => Error::Unhandled(inner),
5346        }
5347    }
5348}
5349impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_auto_ml_jobs::ListAutoMLJobsError, R>> for Error
5350where
5351    R: Send + Sync + std::fmt::Debug + 'static,
5352{
5353    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_auto_ml_jobs::ListAutoMLJobsError, R>) -> Self {
5354        match err {
5355            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5356            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5357                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5358                source: err.into(),
5359            }),
5360        }
5361    }
5362}
5363impl From<crate::operation::list_auto_ml_jobs::ListAutoMLJobsError> for Error {
5364    fn from(err: crate::operation::list_auto_ml_jobs::ListAutoMLJobsError) -> Self {
5365        match err {
5366            crate::operation::list_auto_ml_jobs::ListAutoMLJobsError::Unhandled(inner) => Error::Unhandled(inner),
5367        }
5368    }
5369}
5370impl<R>
5371    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_candidates_for_auto_ml_job::ListCandidatesForAutoMLJobError, R>>
5372    for Error
5373where
5374    R: Send + Sync + std::fmt::Debug + 'static,
5375{
5376    fn from(
5377        err: ::aws_smithy_runtime_api::client::result::SdkError<
5378            crate::operation::list_candidates_for_auto_ml_job::ListCandidatesForAutoMLJobError,
5379            R,
5380        >,
5381    ) -> Self {
5382        match err {
5383            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5384            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5385                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5386                source: err.into(),
5387            }),
5388        }
5389    }
5390}
5391impl From<crate::operation::list_candidates_for_auto_ml_job::ListCandidatesForAutoMLJobError> for Error {
5392    fn from(err: crate::operation::list_candidates_for_auto_ml_job::ListCandidatesForAutoMLJobError) -> Self {
5393        match err {
5394            crate::operation::list_candidates_for_auto_ml_job::ListCandidatesForAutoMLJobError::ResourceNotFound(inner) => {
5395                Error::ResourceNotFound(inner)
5396            }
5397            crate::operation::list_candidates_for_auto_ml_job::ListCandidatesForAutoMLJobError::Unhandled(inner) => Error::Unhandled(inner),
5398        }
5399    }
5400}
5401impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_cluster_nodes::ListClusterNodesError, R>> for Error
5402where
5403    R: Send + Sync + std::fmt::Debug + 'static,
5404{
5405    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_cluster_nodes::ListClusterNodesError, R>) -> Self {
5406        match err {
5407            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5408            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5409                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5410                source: err.into(),
5411            }),
5412        }
5413    }
5414}
5415impl From<crate::operation::list_cluster_nodes::ListClusterNodesError> for Error {
5416    fn from(err: crate::operation::list_cluster_nodes::ListClusterNodesError) -> Self {
5417        match err {
5418            crate::operation::list_cluster_nodes::ListClusterNodesError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
5419            crate::operation::list_cluster_nodes::ListClusterNodesError::Unhandled(inner) => Error::Unhandled(inner),
5420        }
5421    }
5422}
5423impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_clusters::ListClustersError, R>> for Error
5424where
5425    R: Send + Sync + std::fmt::Debug + 'static,
5426{
5427    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_clusters::ListClustersError, R>) -> Self {
5428        match err {
5429            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5430            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5431                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5432                source: err.into(),
5433            }),
5434        }
5435    }
5436}
5437impl From<crate::operation::list_clusters::ListClustersError> for Error {
5438    fn from(err: crate::operation::list_clusters::ListClustersError) -> Self {
5439        match err {
5440            crate::operation::list_clusters::ListClustersError::Unhandled(inner) => Error::Unhandled(inner),
5441        }
5442    }
5443}
5444impl<R>
5445    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_cluster_scheduler_configs::ListClusterSchedulerConfigsError, R>>
5446    for Error
5447where
5448    R: Send + Sync + std::fmt::Debug + 'static,
5449{
5450    fn from(
5451        err: ::aws_smithy_runtime_api::client::result::SdkError<
5452            crate::operation::list_cluster_scheduler_configs::ListClusterSchedulerConfigsError,
5453            R,
5454        >,
5455    ) -> Self {
5456        match err {
5457            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5458            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5459                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5460                source: err.into(),
5461            }),
5462        }
5463    }
5464}
5465impl From<crate::operation::list_cluster_scheduler_configs::ListClusterSchedulerConfigsError> for Error {
5466    fn from(err: crate::operation::list_cluster_scheduler_configs::ListClusterSchedulerConfigsError) -> Self {
5467        match err {
5468            crate::operation::list_cluster_scheduler_configs::ListClusterSchedulerConfigsError::Unhandled(inner) => Error::Unhandled(inner),
5469        }
5470    }
5471}
5472impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_code_repositories::ListCodeRepositoriesError, R>> for Error
5473where
5474    R: Send + Sync + std::fmt::Debug + 'static,
5475{
5476    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_code_repositories::ListCodeRepositoriesError, R>) -> Self {
5477        match err {
5478            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5479            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5480                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5481                source: err.into(),
5482            }),
5483        }
5484    }
5485}
5486impl From<crate::operation::list_code_repositories::ListCodeRepositoriesError> for Error {
5487    fn from(err: crate::operation::list_code_repositories::ListCodeRepositoriesError) -> Self {
5488        match err {
5489            crate::operation::list_code_repositories::ListCodeRepositoriesError::Unhandled(inner) => Error::Unhandled(inner),
5490        }
5491    }
5492}
5493impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_compilation_jobs::ListCompilationJobsError, R>> for Error
5494where
5495    R: Send + Sync + std::fmt::Debug + 'static,
5496{
5497    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_compilation_jobs::ListCompilationJobsError, R>) -> Self {
5498        match err {
5499            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5500            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5501                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5502                source: err.into(),
5503            }),
5504        }
5505    }
5506}
5507impl From<crate::operation::list_compilation_jobs::ListCompilationJobsError> for Error {
5508    fn from(err: crate::operation::list_compilation_jobs::ListCompilationJobsError) -> Self {
5509        match err {
5510            crate::operation::list_compilation_jobs::ListCompilationJobsError::Unhandled(inner) => Error::Unhandled(inner),
5511        }
5512    }
5513}
5514impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_compute_quotas::ListComputeQuotasError, R>> for Error
5515where
5516    R: Send + Sync + std::fmt::Debug + 'static,
5517{
5518    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_compute_quotas::ListComputeQuotasError, R>) -> Self {
5519        match err {
5520            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5521            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5522                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5523                source: err.into(),
5524            }),
5525        }
5526    }
5527}
5528impl From<crate::operation::list_compute_quotas::ListComputeQuotasError> for Error {
5529    fn from(err: crate::operation::list_compute_quotas::ListComputeQuotasError) -> Self {
5530        match err {
5531            crate::operation::list_compute_quotas::ListComputeQuotasError::Unhandled(inner) => Error::Unhandled(inner),
5532        }
5533    }
5534}
5535impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_contexts::ListContextsError, R>> for Error
5536where
5537    R: Send + Sync + std::fmt::Debug + 'static,
5538{
5539    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_contexts::ListContextsError, R>) -> Self {
5540        match err {
5541            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5542            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5543                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5544                source: err.into(),
5545            }),
5546        }
5547    }
5548}
5549impl From<crate::operation::list_contexts::ListContextsError> for Error {
5550    fn from(err: crate::operation::list_contexts::ListContextsError) -> Self {
5551        match err {
5552            crate::operation::list_contexts::ListContextsError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
5553            crate::operation::list_contexts::ListContextsError::Unhandled(inner) => Error::Unhandled(inner),
5554        }
5555    }
5556}
5557impl<R>
5558    From<
5559        ::aws_smithy_runtime_api::client::result::SdkError<
5560            crate::operation::list_data_quality_job_definitions::ListDataQualityJobDefinitionsError,
5561            R,
5562        >,
5563    > for Error
5564where
5565    R: Send + Sync + std::fmt::Debug + 'static,
5566{
5567    fn from(
5568        err: ::aws_smithy_runtime_api::client::result::SdkError<
5569            crate::operation::list_data_quality_job_definitions::ListDataQualityJobDefinitionsError,
5570            R,
5571        >,
5572    ) -> Self {
5573        match err {
5574            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5575            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5576                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5577                source: err.into(),
5578            }),
5579        }
5580    }
5581}
5582impl From<crate::operation::list_data_quality_job_definitions::ListDataQualityJobDefinitionsError> for Error {
5583    fn from(err: crate::operation::list_data_quality_job_definitions::ListDataQualityJobDefinitionsError) -> Self {
5584        match err {
5585            crate::operation::list_data_quality_job_definitions::ListDataQualityJobDefinitionsError::Unhandled(inner) => Error::Unhandled(inner),
5586        }
5587    }
5588}
5589impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_device_fleets::ListDeviceFleetsError, R>> for Error
5590where
5591    R: Send + Sync + std::fmt::Debug + 'static,
5592{
5593    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_device_fleets::ListDeviceFleetsError, R>) -> Self {
5594        match err {
5595            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5596            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5597                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5598                source: err.into(),
5599            }),
5600        }
5601    }
5602}
5603impl From<crate::operation::list_device_fleets::ListDeviceFleetsError> for Error {
5604    fn from(err: crate::operation::list_device_fleets::ListDeviceFleetsError) -> Self {
5605        match err {
5606            crate::operation::list_device_fleets::ListDeviceFleetsError::Unhandled(inner) => Error::Unhandled(inner),
5607        }
5608    }
5609}
5610impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_devices::ListDevicesError, 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_devices::ListDevicesError, 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_devices::ListDevicesError> for Error {
5625    fn from(err: crate::operation::list_devices::ListDevicesError) -> Self {
5626        match err {
5627            crate::operation::list_devices::ListDevicesError::Unhandled(inner) => Error::Unhandled(inner),
5628        }
5629    }
5630}
5631impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_domains::ListDomainsError, 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_domains::ListDomainsError, 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_domains::ListDomainsError> for Error {
5646    fn from(err: crate::operation::list_domains::ListDomainsError) -> Self {
5647        match err {
5648            crate::operation::list_domains::ListDomainsError::Unhandled(inner) => Error::Unhandled(inner),
5649        }
5650    }
5651}
5652impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_edge_deployment_plans::ListEdgeDeploymentPlansError, R>>
5653    for Error
5654where
5655    R: Send + Sync + std::fmt::Debug + 'static,
5656{
5657    fn from(
5658        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_edge_deployment_plans::ListEdgeDeploymentPlansError, R>,
5659    ) -> Self {
5660        match err {
5661            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5662            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5663                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5664                source: err.into(),
5665            }),
5666        }
5667    }
5668}
5669impl From<crate::operation::list_edge_deployment_plans::ListEdgeDeploymentPlansError> for Error {
5670    fn from(err: crate::operation::list_edge_deployment_plans::ListEdgeDeploymentPlansError) -> Self {
5671        match err {
5672            crate::operation::list_edge_deployment_plans::ListEdgeDeploymentPlansError::Unhandled(inner) => Error::Unhandled(inner),
5673        }
5674    }
5675}
5676impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_edge_packaging_jobs::ListEdgePackagingJobsError, R>> for Error
5677where
5678    R: Send + Sync + std::fmt::Debug + 'static,
5679{
5680    fn from(
5681        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_edge_packaging_jobs::ListEdgePackagingJobsError, R>,
5682    ) -> Self {
5683        match err {
5684            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5685            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5686                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5687                source: err.into(),
5688            }),
5689        }
5690    }
5691}
5692impl From<crate::operation::list_edge_packaging_jobs::ListEdgePackagingJobsError> for Error {
5693    fn from(err: crate::operation::list_edge_packaging_jobs::ListEdgePackagingJobsError) -> Self {
5694        match err {
5695            crate::operation::list_edge_packaging_jobs::ListEdgePackagingJobsError::Unhandled(inner) => Error::Unhandled(inner),
5696        }
5697    }
5698}
5699impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_endpoint_configs::ListEndpointConfigsError, R>> for Error
5700where
5701    R: Send + Sync + std::fmt::Debug + 'static,
5702{
5703    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_endpoint_configs::ListEndpointConfigsError, R>) -> Self {
5704        match err {
5705            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5706            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5707                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5708                source: err.into(),
5709            }),
5710        }
5711    }
5712}
5713impl From<crate::operation::list_endpoint_configs::ListEndpointConfigsError> for Error {
5714    fn from(err: crate::operation::list_endpoint_configs::ListEndpointConfigsError) -> Self {
5715        match err {
5716            crate::operation::list_endpoint_configs::ListEndpointConfigsError::Unhandled(inner) => Error::Unhandled(inner),
5717        }
5718    }
5719}
5720impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_endpoints::ListEndpointsError, R>> for Error
5721where
5722    R: Send + Sync + std::fmt::Debug + 'static,
5723{
5724    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_endpoints::ListEndpointsError, R>) -> Self {
5725        match err {
5726            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5727            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5728                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5729                source: err.into(),
5730            }),
5731        }
5732    }
5733}
5734impl From<crate::operation::list_endpoints::ListEndpointsError> for Error {
5735    fn from(err: crate::operation::list_endpoints::ListEndpointsError) -> Self {
5736        match err {
5737            crate::operation::list_endpoints::ListEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
5738        }
5739    }
5740}
5741impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_experiments::ListExperimentsError, R>> for Error
5742where
5743    R: Send + Sync + std::fmt::Debug + 'static,
5744{
5745    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_experiments::ListExperimentsError, R>) -> Self {
5746        match err {
5747            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5748            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5749                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5750                source: err.into(),
5751            }),
5752        }
5753    }
5754}
5755impl From<crate::operation::list_experiments::ListExperimentsError> for Error {
5756    fn from(err: crate::operation::list_experiments::ListExperimentsError) -> Self {
5757        match err {
5758            crate::operation::list_experiments::ListExperimentsError::Unhandled(inner) => Error::Unhandled(inner),
5759        }
5760    }
5761}
5762impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_feature_groups::ListFeatureGroupsError, R>> for Error
5763where
5764    R: Send + Sync + std::fmt::Debug + 'static,
5765{
5766    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_feature_groups::ListFeatureGroupsError, R>) -> Self {
5767        match err {
5768            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5769            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5770                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5771                source: err.into(),
5772            }),
5773        }
5774    }
5775}
5776impl From<crate::operation::list_feature_groups::ListFeatureGroupsError> for Error {
5777    fn from(err: crate::operation::list_feature_groups::ListFeatureGroupsError) -> Self {
5778        match err {
5779            crate::operation::list_feature_groups::ListFeatureGroupsError::Unhandled(inner) => Error::Unhandled(inner),
5780        }
5781    }
5782}
5783impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_flow_definitions::ListFlowDefinitionsError, R>> for Error
5784where
5785    R: Send + Sync + std::fmt::Debug + 'static,
5786{
5787    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_flow_definitions::ListFlowDefinitionsError, R>) -> Self {
5788        match err {
5789            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5790            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5791                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5792                source: err.into(),
5793            }),
5794        }
5795    }
5796}
5797impl From<crate::operation::list_flow_definitions::ListFlowDefinitionsError> for Error {
5798    fn from(err: crate::operation::list_flow_definitions::ListFlowDefinitionsError) -> Self {
5799        match err {
5800            crate::operation::list_flow_definitions::ListFlowDefinitionsError::Unhandled(inner) => Error::Unhandled(inner),
5801        }
5802    }
5803}
5804impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_hub_contents::ListHubContentsError, R>> for Error
5805where
5806    R: Send + Sync + std::fmt::Debug + 'static,
5807{
5808    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_hub_contents::ListHubContentsError, R>) -> Self {
5809        match err {
5810            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5811            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5812                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5813                source: err.into(),
5814            }),
5815        }
5816    }
5817}
5818impl From<crate::operation::list_hub_contents::ListHubContentsError> for Error {
5819    fn from(err: crate::operation::list_hub_contents::ListHubContentsError) -> Self {
5820        match err {
5821            crate::operation::list_hub_contents::ListHubContentsError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
5822            crate::operation::list_hub_contents::ListHubContentsError::Unhandled(inner) => Error::Unhandled(inner),
5823        }
5824    }
5825}
5826impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_hub_content_versions::ListHubContentVersionsError, R>>
5827    for Error
5828where
5829    R: Send + Sync + std::fmt::Debug + 'static,
5830{
5831    fn from(
5832        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_hub_content_versions::ListHubContentVersionsError, R>,
5833    ) -> Self {
5834        match err {
5835            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5836            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5837                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5838                source: err.into(),
5839            }),
5840        }
5841    }
5842}
5843impl From<crate::operation::list_hub_content_versions::ListHubContentVersionsError> for Error {
5844    fn from(err: crate::operation::list_hub_content_versions::ListHubContentVersionsError) -> Self {
5845        match err {
5846            crate::operation::list_hub_content_versions::ListHubContentVersionsError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
5847            crate::operation::list_hub_content_versions::ListHubContentVersionsError::Unhandled(inner) => Error::Unhandled(inner),
5848        }
5849    }
5850}
5851impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_hubs::ListHubsError, R>> for Error
5852where
5853    R: Send + Sync + std::fmt::Debug + 'static,
5854{
5855    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_hubs::ListHubsError, R>) -> Self {
5856        match err {
5857            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5858            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5859                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5860                source: err.into(),
5861            }),
5862        }
5863    }
5864}
5865impl From<crate::operation::list_hubs::ListHubsError> for Error {
5866    fn from(err: crate::operation::list_hubs::ListHubsError) -> Self {
5867        match err {
5868            crate::operation::list_hubs::ListHubsError::Unhandled(inner) => Error::Unhandled(inner),
5869        }
5870    }
5871}
5872impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_human_task_uis::ListHumanTaskUisError, R>> for Error
5873where
5874    R: Send + Sync + std::fmt::Debug + 'static,
5875{
5876    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_human_task_uis::ListHumanTaskUisError, R>) -> Self {
5877        match err {
5878            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5879            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5880                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5881                source: err.into(),
5882            }),
5883        }
5884    }
5885}
5886impl From<crate::operation::list_human_task_uis::ListHumanTaskUisError> for Error {
5887    fn from(err: crate::operation::list_human_task_uis::ListHumanTaskUisError) -> Self {
5888        match err {
5889            crate::operation::list_human_task_uis::ListHumanTaskUisError::Unhandled(inner) => Error::Unhandled(inner),
5890        }
5891    }
5892}
5893impl<R>
5894    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_hyper_parameter_tuning_jobs::ListHyperParameterTuningJobsError, R>>
5895    for Error
5896where
5897    R: Send + Sync + std::fmt::Debug + 'static,
5898{
5899    fn from(
5900        err: ::aws_smithy_runtime_api::client::result::SdkError<
5901            crate::operation::list_hyper_parameter_tuning_jobs::ListHyperParameterTuningJobsError,
5902            R,
5903        >,
5904    ) -> Self {
5905        match err {
5906            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5907            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5908                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5909                source: err.into(),
5910            }),
5911        }
5912    }
5913}
5914impl From<crate::operation::list_hyper_parameter_tuning_jobs::ListHyperParameterTuningJobsError> for Error {
5915    fn from(err: crate::operation::list_hyper_parameter_tuning_jobs::ListHyperParameterTuningJobsError) -> Self {
5916        match err {
5917            crate::operation::list_hyper_parameter_tuning_jobs::ListHyperParameterTuningJobsError::Unhandled(inner) => Error::Unhandled(inner),
5918        }
5919    }
5920}
5921impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_images::ListImagesError, R>> for Error
5922where
5923    R: Send + Sync + std::fmt::Debug + 'static,
5924{
5925    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_images::ListImagesError, R>) -> Self {
5926        match err {
5927            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5928            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5929                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5930                source: err.into(),
5931            }),
5932        }
5933    }
5934}
5935impl From<crate::operation::list_images::ListImagesError> for Error {
5936    fn from(err: crate::operation::list_images::ListImagesError) -> Self {
5937        match err {
5938            crate::operation::list_images::ListImagesError::Unhandled(inner) => Error::Unhandled(inner),
5939        }
5940    }
5941}
5942impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_image_versions::ListImageVersionsError, R>> for Error
5943where
5944    R: Send + Sync + std::fmt::Debug + 'static,
5945{
5946    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_image_versions::ListImageVersionsError, R>) -> Self {
5947        match err {
5948            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5949            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5950                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5951                source: err.into(),
5952            }),
5953        }
5954    }
5955}
5956impl From<crate::operation::list_image_versions::ListImageVersionsError> for Error {
5957    fn from(err: crate::operation::list_image_versions::ListImageVersionsError) -> Self {
5958        match err {
5959            crate::operation::list_image_versions::ListImageVersionsError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
5960            crate::operation::list_image_versions::ListImageVersionsError::Unhandled(inner) => Error::Unhandled(inner),
5961        }
5962    }
5963}
5964impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_inference_components::ListInferenceComponentsError, R>>
5965    for Error
5966where
5967    R: Send + Sync + std::fmt::Debug + 'static,
5968{
5969    fn from(
5970        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_inference_components::ListInferenceComponentsError, R>,
5971    ) -> Self {
5972        match err {
5973            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5974            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5975                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5976                source: err.into(),
5977            }),
5978        }
5979    }
5980}
5981impl From<crate::operation::list_inference_components::ListInferenceComponentsError> for Error {
5982    fn from(err: crate::operation::list_inference_components::ListInferenceComponentsError) -> Self {
5983        match err {
5984            crate::operation::list_inference_components::ListInferenceComponentsError::Unhandled(inner) => Error::Unhandled(inner),
5985        }
5986    }
5987}
5988impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_inference_experiments::ListInferenceExperimentsError, R>>
5989    for Error
5990where
5991    R: Send + Sync + std::fmt::Debug + 'static,
5992{
5993    fn from(
5994        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_inference_experiments::ListInferenceExperimentsError, R>,
5995    ) -> Self {
5996        match err {
5997            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5998            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5999                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6000                source: err.into(),
6001            }),
6002        }
6003    }
6004}
6005impl From<crate::operation::list_inference_experiments::ListInferenceExperimentsError> for Error {
6006    fn from(err: crate::operation::list_inference_experiments::ListInferenceExperimentsError) -> Self {
6007        match err {
6008            crate::operation::list_inference_experiments::ListInferenceExperimentsError::Unhandled(inner) => Error::Unhandled(inner),
6009        }
6010    }
6011}
6012impl<R>
6013    From<
6014        ::aws_smithy_runtime_api::client::result::SdkError<
6015            crate::operation::list_inference_recommendations_jobs::ListInferenceRecommendationsJobsError,
6016            R,
6017        >,
6018    > for Error
6019where
6020    R: Send + Sync + std::fmt::Debug + 'static,
6021{
6022    fn from(
6023        err: ::aws_smithy_runtime_api::client::result::SdkError<
6024            crate::operation::list_inference_recommendations_jobs::ListInferenceRecommendationsJobsError,
6025            R,
6026        >,
6027    ) -> Self {
6028        match err {
6029            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6030            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6031                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6032                source: err.into(),
6033            }),
6034        }
6035    }
6036}
6037impl From<crate::operation::list_inference_recommendations_jobs::ListInferenceRecommendationsJobsError> for Error {
6038    fn from(err: crate::operation::list_inference_recommendations_jobs::ListInferenceRecommendationsJobsError) -> Self {
6039        match err {
6040            crate::operation::list_inference_recommendations_jobs::ListInferenceRecommendationsJobsError::Unhandled(inner) => Error::Unhandled(inner),
6041        }
6042    }
6043}
6044impl<R>
6045    From<
6046        ::aws_smithy_runtime_api::client::result::SdkError<
6047            crate::operation::list_inference_recommendations_job_steps::ListInferenceRecommendationsJobStepsError,
6048            R,
6049        >,
6050    > for Error
6051where
6052    R: Send + Sync + std::fmt::Debug + 'static,
6053{
6054    fn from(
6055        err: ::aws_smithy_runtime_api::client::result::SdkError<
6056            crate::operation::list_inference_recommendations_job_steps::ListInferenceRecommendationsJobStepsError,
6057            R,
6058        >,
6059    ) -> Self {
6060        match err {
6061            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6062            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6063                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6064                source: err.into(),
6065            }),
6066        }
6067    }
6068}
6069impl From<crate::operation::list_inference_recommendations_job_steps::ListInferenceRecommendationsJobStepsError> for Error {
6070    fn from(err: crate::operation::list_inference_recommendations_job_steps::ListInferenceRecommendationsJobStepsError) -> Self {
6071        match err {
6072            crate::operation::list_inference_recommendations_job_steps::ListInferenceRecommendationsJobStepsError::ResourceNotFound(inner) => {
6073                Error::ResourceNotFound(inner)
6074            }
6075            crate::operation::list_inference_recommendations_job_steps::ListInferenceRecommendationsJobStepsError::Unhandled(inner) => {
6076                Error::Unhandled(inner)
6077            }
6078        }
6079    }
6080}
6081impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_labeling_jobs::ListLabelingJobsError, R>> for Error
6082where
6083    R: Send + Sync + std::fmt::Debug + 'static,
6084{
6085    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_labeling_jobs::ListLabelingJobsError, R>) -> Self {
6086        match err {
6087            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6088            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6089                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6090                source: err.into(),
6091            }),
6092        }
6093    }
6094}
6095impl From<crate::operation::list_labeling_jobs::ListLabelingJobsError> for Error {
6096    fn from(err: crate::operation::list_labeling_jobs::ListLabelingJobsError) -> Self {
6097        match err {
6098            crate::operation::list_labeling_jobs::ListLabelingJobsError::Unhandled(inner) => Error::Unhandled(inner),
6099        }
6100    }
6101}
6102impl<R>
6103    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_labeling_jobs_for_workteam::ListLabelingJobsForWorkteamError, R>>
6104    for Error
6105where
6106    R: Send + Sync + std::fmt::Debug + 'static,
6107{
6108    fn from(
6109        err: ::aws_smithy_runtime_api::client::result::SdkError<
6110            crate::operation::list_labeling_jobs_for_workteam::ListLabelingJobsForWorkteamError,
6111            R,
6112        >,
6113    ) -> Self {
6114        match err {
6115            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6116            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6117                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6118                source: err.into(),
6119            }),
6120        }
6121    }
6122}
6123impl From<crate::operation::list_labeling_jobs_for_workteam::ListLabelingJobsForWorkteamError> for Error {
6124    fn from(err: crate::operation::list_labeling_jobs_for_workteam::ListLabelingJobsForWorkteamError) -> Self {
6125        match err {
6126            crate::operation::list_labeling_jobs_for_workteam::ListLabelingJobsForWorkteamError::ResourceNotFound(inner) => {
6127                Error::ResourceNotFound(inner)
6128            }
6129            crate::operation::list_labeling_jobs_for_workteam::ListLabelingJobsForWorkteamError::Unhandled(inner) => Error::Unhandled(inner),
6130        }
6131    }
6132}
6133impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_lineage_groups::ListLineageGroupsError, R>> for Error
6134where
6135    R: Send + Sync + std::fmt::Debug + 'static,
6136{
6137    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_lineage_groups::ListLineageGroupsError, R>) -> Self {
6138        match err {
6139            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6140            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6141                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6142                source: err.into(),
6143            }),
6144        }
6145    }
6146}
6147impl From<crate::operation::list_lineage_groups::ListLineageGroupsError> for Error {
6148    fn from(err: crate::operation::list_lineage_groups::ListLineageGroupsError) -> Self {
6149        match err {
6150            crate::operation::list_lineage_groups::ListLineageGroupsError::Unhandled(inner) => Error::Unhandled(inner),
6151        }
6152    }
6153}
6154impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_mlflow_tracking_servers::ListMlflowTrackingServersError, R>>
6155    for Error
6156where
6157    R: Send + Sync + std::fmt::Debug + 'static,
6158{
6159    fn from(
6160        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_mlflow_tracking_servers::ListMlflowTrackingServersError, R>,
6161    ) -> Self {
6162        match err {
6163            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6164            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6165                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6166                source: err.into(),
6167            }),
6168        }
6169    }
6170}
6171impl From<crate::operation::list_mlflow_tracking_servers::ListMlflowTrackingServersError> for Error {
6172    fn from(err: crate::operation::list_mlflow_tracking_servers::ListMlflowTrackingServersError) -> Self {
6173        match err {
6174            crate::operation::list_mlflow_tracking_servers::ListMlflowTrackingServersError::Unhandled(inner) => Error::Unhandled(inner),
6175        }
6176    }
6177}
6178impl<R>
6179    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_model_bias_job_definitions::ListModelBiasJobDefinitionsError, R>>
6180    for Error
6181where
6182    R: Send + Sync + std::fmt::Debug + 'static,
6183{
6184    fn from(
6185        err: ::aws_smithy_runtime_api::client::result::SdkError<
6186            crate::operation::list_model_bias_job_definitions::ListModelBiasJobDefinitionsError,
6187            R,
6188        >,
6189    ) -> Self {
6190        match err {
6191            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6192            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6193                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6194                source: err.into(),
6195            }),
6196        }
6197    }
6198}
6199impl From<crate::operation::list_model_bias_job_definitions::ListModelBiasJobDefinitionsError> for Error {
6200    fn from(err: crate::operation::list_model_bias_job_definitions::ListModelBiasJobDefinitionsError) -> Self {
6201        match err {
6202            crate::operation::list_model_bias_job_definitions::ListModelBiasJobDefinitionsError::Unhandled(inner) => Error::Unhandled(inner),
6203        }
6204    }
6205}
6206impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_model_card_export_jobs::ListModelCardExportJobsError, R>>
6207    for Error
6208where
6209    R: Send + Sync + std::fmt::Debug + 'static,
6210{
6211    fn from(
6212        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_model_card_export_jobs::ListModelCardExportJobsError, R>,
6213    ) -> Self {
6214        match err {
6215            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6216            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6217                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6218                source: err.into(),
6219            }),
6220        }
6221    }
6222}
6223impl From<crate::operation::list_model_card_export_jobs::ListModelCardExportJobsError> for Error {
6224    fn from(err: crate::operation::list_model_card_export_jobs::ListModelCardExportJobsError) -> Self {
6225        match err {
6226            crate::operation::list_model_card_export_jobs::ListModelCardExportJobsError::Unhandled(inner) => Error::Unhandled(inner),
6227        }
6228    }
6229}
6230impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_model_cards::ListModelCardsError, R>> for Error
6231where
6232    R: Send + Sync + std::fmt::Debug + 'static,
6233{
6234    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_model_cards::ListModelCardsError, R>) -> Self {
6235        match err {
6236            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6237            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6238                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6239                source: err.into(),
6240            }),
6241        }
6242    }
6243}
6244impl From<crate::operation::list_model_cards::ListModelCardsError> for Error {
6245    fn from(err: crate::operation::list_model_cards::ListModelCardsError) -> Self {
6246        match err {
6247            crate::operation::list_model_cards::ListModelCardsError::Unhandled(inner) => Error::Unhandled(inner),
6248        }
6249    }
6250}
6251impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_model_card_versions::ListModelCardVersionsError, R>> for Error
6252where
6253    R: Send + Sync + std::fmt::Debug + 'static,
6254{
6255    fn from(
6256        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_model_card_versions::ListModelCardVersionsError, R>,
6257    ) -> Self {
6258        match err {
6259            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6260            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6261                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6262                source: err.into(),
6263            }),
6264        }
6265    }
6266}
6267impl From<crate::operation::list_model_card_versions::ListModelCardVersionsError> for Error {
6268    fn from(err: crate::operation::list_model_card_versions::ListModelCardVersionsError) -> Self {
6269        match err {
6270            crate::operation::list_model_card_versions::ListModelCardVersionsError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
6271            crate::operation::list_model_card_versions::ListModelCardVersionsError::Unhandled(inner) => Error::Unhandled(inner),
6272        }
6273    }
6274}
6275impl<R>
6276    From<
6277        ::aws_smithy_runtime_api::client::result::SdkError<
6278            crate::operation::list_model_explainability_job_definitions::ListModelExplainabilityJobDefinitionsError,
6279            R,
6280        >,
6281    > for Error
6282where
6283    R: Send + Sync + std::fmt::Debug + 'static,
6284{
6285    fn from(
6286        err: ::aws_smithy_runtime_api::client::result::SdkError<
6287            crate::operation::list_model_explainability_job_definitions::ListModelExplainabilityJobDefinitionsError,
6288            R,
6289        >,
6290    ) -> Self {
6291        match err {
6292            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6293            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6294                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6295                source: err.into(),
6296            }),
6297        }
6298    }
6299}
6300impl From<crate::operation::list_model_explainability_job_definitions::ListModelExplainabilityJobDefinitionsError> for Error {
6301    fn from(err: crate::operation::list_model_explainability_job_definitions::ListModelExplainabilityJobDefinitionsError) -> Self {
6302        match err {
6303            crate::operation::list_model_explainability_job_definitions::ListModelExplainabilityJobDefinitionsError::Unhandled(inner) => {
6304                Error::Unhandled(inner)
6305            }
6306        }
6307    }
6308}
6309impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_model_metadata::ListModelMetadataError, R>> for Error
6310where
6311    R: Send + Sync + std::fmt::Debug + 'static,
6312{
6313    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_model_metadata::ListModelMetadataError, R>) -> Self {
6314        match err {
6315            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6316            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6317                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6318                source: err.into(),
6319            }),
6320        }
6321    }
6322}
6323impl From<crate::operation::list_model_metadata::ListModelMetadataError> for Error {
6324    fn from(err: crate::operation::list_model_metadata::ListModelMetadataError) -> Self {
6325        match err {
6326            crate::operation::list_model_metadata::ListModelMetadataError::Unhandled(inner) => Error::Unhandled(inner),
6327        }
6328    }
6329}
6330impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_model_package_groups::ListModelPackageGroupsError, R>>
6331    for Error
6332where
6333    R: Send + Sync + std::fmt::Debug + 'static,
6334{
6335    fn from(
6336        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_model_package_groups::ListModelPackageGroupsError, R>,
6337    ) -> Self {
6338        match err {
6339            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6340            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6341                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6342                source: err.into(),
6343            }),
6344        }
6345    }
6346}
6347impl From<crate::operation::list_model_package_groups::ListModelPackageGroupsError> for Error {
6348    fn from(err: crate::operation::list_model_package_groups::ListModelPackageGroupsError) -> Self {
6349        match err {
6350            crate::operation::list_model_package_groups::ListModelPackageGroupsError::Unhandled(inner) => Error::Unhandled(inner),
6351        }
6352    }
6353}
6354impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_model_packages::ListModelPackagesError, R>> for Error
6355where
6356    R: Send + Sync + std::fmt::Debug + 'static,
6357{
6358    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_model_packages::ListModelPackagesError, R>) -> Self {
6359        match err {
6360            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6361            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6362                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6363                source: err.into(),
6364            }),
6365        }
6366    }
6367}
6368impl From<crate::operation::list_model_packages::ListModelPackagesError> for Error {
6369    fn from(err: crate::operation::list_model_packages::ListModelPackagesError) -> Self {
6370        match err {
6371            crate::operation::list_model_packages::ListModelPackagesError::Unhandled(inner) => Error::Unhandled(inner),
6372        }
6373    }
6374}
6375impl<R>
6376    From<
6377        ::aws_smithy_runtime_api::client::result::SdkError<
6378            crate::operation::list_model_quality_job_definitions::ListModelQualityJobDefinitionsError,
6379            R,
6380        >,
6381    > for Error
6382where
6383    R: Send + Sync + std::fmt::Debug + 'static,
6384{
6385    fn from(
6386        err: ::aws_smithy_runtime_api::client::result::SdkError<
6387            crate::operation::list_model_quality_job_definitions::ListModelQualityJobDefinitionsError,
6388            R,
6389        >,
6390    ) -> Self {
6391        match err {
6392            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6393            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6394                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6395                source: err.into(),
6396            }),
6397        }
6398    }
6399}
6400impl From<crate::operation::list_model_quality_job_definitions::ListModelQualityJobDefinitionsError> for Error {
6401    fn from(err: crate::operation::list_model_quality_job_definitions::ListModelQualityJobDefinitionsError) -> Self {
6402        match err {
6403            crate::operation::list_model_quality_job_definitions::ListModelQualityJobDefinitionsError::Unhandled(inner) => Error::Unhandled(inner),
6404        }
6405    }
6406}
6407impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_models::ListModelsError, R>> for Error
6408where
6409    R: Send + Sync + std::fmt::Debug + 'static,
6410{
6411    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_models::ListModelsError, R>) -> Self {
6412        match err {
6413            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6414            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6415                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6416                source: err.into(),
6417            }),
6418        }
6419    }
6420}
6421impl From<crate::operation::list_models::ListModelsError> for Error {
6422    fn from(err: crate::operation::list_models::ListModelsError) -> Self {
6423        match err {
6424            crate::operation::list_models::ListModelsError::Unhandled(inner) => Error::Unhandled(inner),
6425        }
6426    }
6427}
6428impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_monitoring_alert_history::ListMonitoringAlertHistoryError, R>>
6429    for Error
6430where
6431    R: Send + Sync + std::fmt::Debug + 'static,
6432{
6433    fn from(
6434        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_monitoring_alert_history::ListMonitoringAlertHistoryError, R>,
6435    ) -> Self {
6436        match err {
6437            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6438            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6439                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6440                source: err.into(),
6441            }),
6442        }
6443    }
6444}
6445impl From<crate::operation::list_monitoring_alert_history::ListMonitoringAlertHistoryError> for Error {
6446    fn from(err: crate::operation::list_monitoring_alert_history::ListMonitoringAlertHistoryError) -> Self {
6447        match err {
6448            crate::operation::list_monitoring_alert_history::ListMonitoringAlertHistoryError::ResourceNotFound(inner) => {
6449                Error::ResourceNotFound(inner)
6450            }
6451            crate::operation::list_monitoring_alert_history::ListMonitoringAlertHistoryError::Unhandled(inner) => Error::Unhandled(inner),
6452        }
6453    }
6454}
6455impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_monitoring_alerts::ListMonitoringAlertsError, R>> for Error
6456where
6457    R: Send + Sync + std::fmt::Debug + 'static,
6458{
6459    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_monitoring_alerts::ListMonitoringAlertsError, R>) -> Self {
6460        match err {
6461            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6462            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6463                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6464                source: err.into(),
6465            }),
6466        }
6467    }
6468}
6469impl From<crate::operation::list_monitoring_alerts::ListMonitoringAlertsError> for Error {
6470    fn from(err: crate::operation::list_monitoring_alerts::ListMonitoringAlertsError) -> Self {
6471        match err {
6472            crate::operation::list_monitoring_alerts::ListMonitoringAlertsError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
6473            crate::operation::list_monitoring_alerts::ListMonitoringAlertsError::Unhandled(inner) => Error::Unhandled(inner),
6474        }
6475    }
6476}
6477impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_monitoring_executions::ListMonitoringExecutionsError, R>>
6478    for Error
6479where
6480    R: Send + Sync + std::fmt::Debug + 'static,
6481{
6482    fn from(
6483        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_monitoring_executions::ListMonitoringExecutionsError, R>,
6484    ) -> Self {
6485        match err {
6486            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6487            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6488                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6489                source: err.into(),
6490            }),
6491        }
6492    }
6493}
6494impl From<crate::operation::list_monitoring_executions::ListMonitoringExecutionsError> for Error {
6495    fn from(err: crate::operation::list_monitoring_executions::ListMonitoringExecutionsError) -> Self {
6496        match err {
6497            crate::operation::list_monitoring_executions::ListMonitoringExecutionsError::Unhandled(inner) => Error::Unhandled(inner),
6498        }
6499    }
6500}
6501impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_monitoring_schedules::ListMonitoringSchedulesError, R>>
6502    for Error
6503where
6504    R: Send + Sync + std::fmt::Debug + 'static,
6505{
6506    fn from(
6507        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_monitoring_schedules::ListMonitoringSchedulesError, R>,
6508    ) -> Self {
6509        match err {
6510            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6511            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6512                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6513                source: err.into(),
6514            }),
6515        }
6516    }
6517}
6518impl From<crate::operation::list_monitoring_schedules::ListMonitoringSchedulesError> for Error {
6519    fn from(err: crate::operation::list_monitoring_schedules::ListMonitoringSchedulesError) -> Self {
6520        match err {
6521            crate::operation::list_monitoring_schedules::ListMonitoringSchedulesError::Unhandled(inner) => Error::Unhandled(inner),
6522        }
6523    }
6524}
6525impl<R>
6526    From<
6527        ::aws_smithy_runtime_api::client::result::SdkError<
6528            crate::operation::list_notebook_instance_lifecycle_configs::ListNotebookInstanceLifecycleConfigsError,
6529            R,
6530        >,
6531    > for Error
6532where
6533    R: Send + Sync + std::fmt::Debug + 'static,
6534{
6535    fn from(
6536        err: ::aws_smithy_runtime_api::client::result::SdkError<
6537            crate::operation::list_notebook_instance_lifecycle_configs::ListNotebookInstanceLifecycleConfigsError,
6538            R,
6539        >,
6540    ) -> Self {
6541        match err {
6542            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6543            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6544                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6545                source: err.into(),
6546            }),
6547        }
6548    }
6549}
6550impl From<crate::operation::list_notebook_instance_lifecycle_configs::ListNotebookInstanceLifecycleConfigsError> for Error {
6551    fn from(err: crate::operation::list_notebook_instance_lifecycle_configs::ListNotebookInstanceLifecycleConfigsError) -> Self {
6552        match err {
6553            crate::operation::list_notebook_instance_lifecycle_configs::ListNotebookInstanceLifecycleConfigsError::Unhandled(inner) => {
6554                Error::Unhandled(inner)
6555            }
6556        }
6557    }
6558}
6559impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_notebook_instances::ListNotebookInstancesError, R>> for Error
6560where
6561    R: Send + Sync + std::fmt::Debug + 'static,
6562{
6563    fn from(
6564        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_notebook_instances::ListNotebookInstancesError, R>,
6565    ) -> Self {
6566        match err {
6567            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6568            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6569                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6570                source: err.into(),
6571            }),
6572        }
6573    }
6574}
6575impl From<crate::operation::list_notebook_instances::ListNotebookInstancesError> for Error {
6576    fn from(err: crate::operation::list_notebook_instances::ListNotebookInstancesError) -> Self {
6577        match err {
6578            crate::operation::list_notebook_instances::ListNotebookInstancesError::Unhandled(inner) => Error::Unhandled(inner),
6579        }
6580    }
6581}
6582impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_optimization_jobs::ListOptimizationJobsError, R>> for Error
6583where
6584    R: Send + Sync + std::fmt::Debug + 'static,
6585{
6586    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_optimization_jobs::ListOptimizationJobsError, R>) -> Self {
6587        match err {
6588            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6589            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6590                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6591                source: err.into(),
6592            }),
6593        }
6594    }
6595}
6596impl From<crate::operation::list_optimization_jobs::ListOptimizationJobsError> for Error {
6597    fn from(err: crate::operation::list_optimization_jobs::ListOptimizationJobsError) -> Self {
6598        match err {
6599            crate::operation::list_optimization_jobs::ListOptimizationJobsError::Unhandled(inner) => Error::Unhandled(inner),
6600        }
6601    }
6602}
6603impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_partner_apps::ListPartnerAppsError, R>> for Error
6604where
6605    R: Send + Sync + std::fmt::Debug + 'static,
6606{
6607    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_partner_apps::ListPartnerAppsError, R>) -> Self {
6608        match err {
6609            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6610            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6611                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6612                source: err.into(),
6613            }),
6614        }
6615    }
6616}
6617impl From<crate::operation::list_partner_apps::ListPartnerAppsError> for Error {
6618    fn from(err: crate::operation::list_partner_apps::ListPartnerAppsError) -> Self {
6619        match err {
6620            crate::operation::list_partner_apps::ListPartnerAppsError::Unhandled(inner) => Error::Unhandled(inner),
6621        }
6622    }
6623}
6624impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_pipeline_executions::ListPipelineExecutionsError, R>> for Error
6625where
6626    R: Send + Sync + std::fmt::Debug + 'static,
6627{
6628    fn from(
6629        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_pipeline_executions::ListPipelineExecutionsError, R>,
6630    ) -> Self {
6631        match err {
6632            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6633            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6634                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6635                source: err.into(),
6636            }),
6637        }
6638    }
6639}
6640impl From<crate::operation::list_pipeline_executions::ListPipelineExecutionsError> for Error {
6641    fn from(err: crate::operation::list_pipeline_executions::ListPipelineExecutionsError) -> Self {
6642        match err {
6643            crate::operation::list_pipeline_executions::ListPipelineExecutionsError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
6644            crate::operation::list_pipeline_executions::ListPipelineExecutionsError::Unhandled(inner) => Error::Unhandled(inner),
6645        }
6646    }
6647}
6648impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_pipeline_execution_steps::ListPipelineExecutionStepsError, R>>
6649    for Error
6650where
6651    R: Send + Sync + std::fmt::Debug + 'static,
6652{
6653    fn from(
6654        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_pipeline_execution_steps::ListPipelineExecutionStepsError, R>,
6655    ) -> Self {
6656        match err {
6657            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6658            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6659                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6660                source: err.into(),
6661            }),
6662        }
6663    }
6664}
6665impl From<crate::operation::list_pipeline_execution_steps::ListPipelineExecutionStepsError> for Error {
6666    fn from(err: crate::operation::list_pipeline_execution_steps::ListPipelineExecutionStepsError) -> Self {
6667        match err {
6668            crate::operation::list_pipeline_execution_steps::ListPipelineExecutionStepsError::ResourceNotFound(inner) => {
6669                Error::ResourceNotFound(inner)
6670            }
6671            crate::operation::list_pipeline_execution_steps::ListPipelineExecutionStepsError::Unhandled(inner) => Error::Unhandled(inner),
6672        }
6673    }
6674}
6675impl<R>
6676    From<
6677        ::aws_smithy_runtime_api::client::result::SdkError<
6678            crate::operation::list_pipeline_parameters_for_execution::ListPipelineParametersForExecutionError,
6679            R,
6680        >,
6681    > for Error
6682where
6683    R: Send + Sync + std::fmt::Debug + 'static,
6684{
6685    fn from(
6686        err: ::aws_smithy_runtime_api::client::result::SdkError<
6687            crate::operation::list_pipeline_parameters_for_execution::ListPipelineParametersForExecutionError,
6688            R,
6689        >,
6690    ) -> Self {
6691        match err {
6692            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6693            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6694                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6695                source: err.into(),
6696            }),
6697        }
6698    }
6699}
6700impl From<crate::operation::list_pipeline_parameters_for_execution::ListPipelineParametersForExecutionError> for Error {
6701    fn from(err: crate::operation::list_pipeline_parameters_for_execution::ListPipelineParametersForExecutionError) -> Self {
6702        match err {
6703            crate::operation::list_pipeline_parameters_for_execution::ListPipelineParametersForExecutionError::ResourceNotFound(inner) => {
6704                Error::ResourceNotFound(inner)
6705            }
6706            crate::operation::list_pipeline_parameters_for_execution::ListPipelineParametersForExecutionError::Unhandled(inner) => {
6707                Error::Unhandled(inner)
6708            }
6709        }
6710    }
6711}
6712impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_pipelines::ListPipelinesError, R>> for Error
6713where
6714    R: Send + Sync + std::fmt::Debug + 'static,
6715{
6716    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_pipelines::ListPipelinesError, R>) -> Self {
6717        match err {
6718            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6719            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6720                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6721                source: err.into(),
6722            }),
6723        }
6724    }
6725}
6726impl From<crate::operation::list_pipelines::ListPipelinesError> for Error {
6727    fn from(err: crate::operation::list_pipelines::ListPipelinesError) -> Self {
6728        match err {
6729            crate::operation::list_pipelines::ListPipelinesError::Unhandled(inner) => Error::Unhandled(inner),
6730        }
6731    }
6732}
6733impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_processing_jobs::ListProcessingJobsError, R>> for Error
6734where
6735    R: Send + Sync + std::fmt::Debug + 'static,
6736{
6737    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_processing_jobs::ListProcessingJobsError, R>) -> Self {
6738        match err {
6739            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6740            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6741                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6742                source: err.into(),
6743            }),
6744        }
6745    }
6746}
6747impl From<crate::operation::list_processing_jobs::ListProcessingJobsError> for Error {
6748    fn from(err: crate::operation::list_processing_jobs::ListProcessingJobsError) -> Self {
6749        match err {
6750            crate::operation::list_processing_jobs::ListProcessingJobsError::Unhandled(inner) => Error::Unhandled(inner),
6751        }
6752    }
6753}
6754impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_projects::ListProjectsError, R>> for Error
6755where
6756    R: Send + Sync + std::fmt::Debug + 'static,
6757{
6758    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_projects::ListProjectsError, R>) -> Self {
6759        match err {
6760            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6761            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6762                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6763                source: err.into(),
6764            }),
6765        }
6766    }
6767}
6768impl From<crate::operation::list_projects::ListProjectsError> for Error {
6769    fn from(err: crate::operation::list_projects::ListProjectsError) -> Self {
6770        match err {
6771            crate::operation::list_projects::ListProjectsError::Unhandled(inner) => Error::Unhandled(inner),
6772        }
6773    }
6774}
6775impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_resource_catalogs::ListResourceCatalogsError, R>> for Error
6776where
6777    R: Send + Sync + std::fmt::Debug + 'static,
6778{
6779    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_resource_catalogs::ListResourceCatalogsError, R>) -> Self {
6780        match err {
6781            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6782            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6783                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6784                source: err.into(),
6785            }),
6786        }
6787    }
6788}
6789impl From<crate::operation::list_resource_catalogs::ListResourceCatalogsError> for Error {
6790    fn from(err: crate::operation::list_resource_catalogs::ListResourceCatalogsError) -> Self {
6791        match err {
6792            crate::operation::list_resource_catalogs::ListResourceCatalogsError::Unhandled(inner) => Error::Unhandled(inner),
6793        }
6794    }
6795}
6796impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_spaces::ListSpacesError, R>> for Error
6797where
6798    R: Send + Sync + std::fmt::Debug + 'static,
6799{
6800    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_spaces::ListSpacesError, R>) -> Self {
6801        match err {
6802            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6803            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6804                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6805                source: err.into(),
6806            }),
6807        }
6808    }
6809}
6810impl From<crate::operation::list_spaces::ListSpacesError> for Error {
6811    fn from(err: crate::operation::list_spaces::ListSpacesError) -> Self {
6812        match err {
6813            crate::operation::list_spaces::ListSpacesError::Unhandled(inner) => Error::Unhandled(inner),
6814        }
6815    }
6816}
6817impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_stage_devices::ListStageDevicesError, R>> for Error
6818where
6819    R: Send + Sync + std::fmt::Debug + 'static,
6820{
6821    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_stage_devices::ListStageDevicesError, R>) -> Self {
6822        match err {
6823            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6824            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6825                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6826                source: err.into(),
6827            }),
6828        }
6829    }
6830}
6831impl From<crate::operation::list_stage_devices::ListStageDevicesError> for Error {
6832    fn from(err: crate::operation::list_stage_devices::ListStageDevicesError) -> Self {
6833        match err {
6834            crate::operation::list_stage_devices::ListStageDevicesError::Unhandled(inner) => Error::Unhandled(inner),
6835        }
6836    }
6837}
6838impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_studio_lifecycle_configs::ListStudioLifecycleConfigsError, R>>
6839    for Error
6840where
6841    R: Send + Sync + std::fmt::Debug + 'static,
6842{
6843    fn from(
6844        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_studio_lifecycle_configs::ListStudioLifecycleConfigsError, R>,
6845    ) -> Self {
6846        match err {
6847            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6848            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6849                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6850                source: err.into(),
6851            }),
6852        }
6853    }
6854}
6855impl From<crate::operation::list_studio_lifecycle_configs::ListStudioLifecycleConfigsError> for Error {
6856    fn from(err: crate::operation::list_studio_lifecycle_configs::ListStudioLifecycleConfigsError) -> Self {
6857        match err {
6858            crate::operation::list_studio_lifecycle_configs::ListStudioLifecycleConfigsError::ResourceInUse(inner) => Error::ResourceInUse(inner),
6859            crate::operation::list_studio_lifecycle_configs::ListStudioLifecycleConfigsError::Unhandled(inner) => Error::Unhandled(inner),
6860        }
6861    }
6862}
6863impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_subscribed_workteams::ListSubscribedWorkteamsError, R>>
6864    for Error
6865where
6866    R: Send + Sync + std::fmt::Debug + 'static,
6867{
6868    fn from(
6869        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_subscribed_workteams::ListSubscribedWorkteamsError, R>,
6870    ) -> Self {
6871        match err {
6872            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6873            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6874                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6875                source: err.into(),
6876            }),
6877        }
6878    }
6879}
6880impl From<crate::operation::list_subscribed_workteams::ListSubscribedWorkteamsError> for Error {
6881    fn from(err: crate::operation::list_subscribed_workteams::ListSubscribedWorkteamsError) -> Self {
6882        match err {
6883            crate::operation::list_subscribed_workteams::ListSubscribedWorkteamsError::Unhandled(inner) => Error::Unhandled(inner),
6884        }
6885    }
6886}
6887impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_tags::ListTagsError, R>> for Error
6888where
6889    R: Send + Sync + std::fmt::Debug + 'static,
6890{
6891    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_tags::ListTagsError, R>) -> Self {
6892        match err {
6893            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6894            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6895                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6896                source: err.into(),
6897            }),
6898        }
6899    }
6900}
6901impl From<crate::operation::list_tags::ListTagsError> for Error {
6902    fn from(err: crate::operation::list_tags::ListTagsError) -> Self {
6903        match err {
6904            crate::operation::list_tags::ListTagsError::Unhandled(inner) => Error::Unhandled(inner),
6905        }
6906    }
6907}
6908impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_training_jobs::ListTrainingJobsError, R>> for Error
6909where
6910    R: Send + Sync + std::fmt::Debug + 'static,
6911{
6912    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_training_jobs::ListTrainingJobsError, R>) -> Self {
6913        match err {
6914            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6915            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6916                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6917                source: err.into(),
6918            }),
6919        }
6920    }
6921}
6922impl From<crate::operation::list_training_jobs::ListTrainingJobsError> for Error {
6923    fn from(err: crate::operation::list_training_jobs::ListTrainingJobsError) -> Self {
6924        match err {
6925            crate::operation::list_training_jobs::ListTrainingJobsError::Unhandled(inner) => Error::Unhandled(inner),
6926        }
6927    }
6928}
6929impl<R>
6930    From<
6931        ::aws_smithy_runtime_api::client::result::SdkError<
6932            crate::operation::list_training_jobs_for_hyper_parameter_tuning_job::ListTrainingJobsForHyperParameterTuningJobError,
6933            R,
6934        >,
6935    > for Error
6936where
6937    R: Send + Sync + std::fmt::Debug + 'static,
6938{
6939    fn from(
6940        err: ::aws_smithy_runtime_api::client::result::SdkError<
6941            crate::operation::list_training_jobs_for_hyper_parameter_tuning_job::ListTrainingJobsForHyperParameterTuningJobError,
6942            R,
6943        >,
6944    ) -> Self {
6945        match err {
6946            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6947            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6948                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6949                source: err.into(),
6950            }),
6951        }
6952    }
6953}
6954impl From<crate::operation::list_training_jobs_for_hyper_parameter_tuning_job::ListTrainingJobsForHyperParameterTuningJobError> for Error {
6955    fn from(err: crate::operation::list_training_jobs_for_hyper_parameter_tuning_job::ListTrainingJobsForHyperParameterTuningJobError) -> Self {
6956        match err {
6957            crate::operation::list_training_jobs_for_hyper_parameter_tuning_job::ListTrainingJobsForHyperParameterTuningJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
6958            crate::operation::list_training_jobs_for_hyper_parameter_tuning_job::ListTrainingJobsForHyperParameterTuningJobError::Unhandled(inner) => Error::Unhandled(inner),
6959        }
6960    }
6961}
6962impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_training_plans::ListTrainingPlansError, R>> for Error
6963where
6964    R: Send + Sync + std::fmt::Debug + 'static,
6965{
6966    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_training_plans::ListTrainingPlansError, R>) -> Self {
6967        match err {
6968            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6969            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6970                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6971                source: err.into(),
6972            }),
6973        }
6974    }
6975}
6976impl From<crate::operation::list_training_plans::ListTrainingPlansError> for Error {
6977    fn from(err: crate::operation::list_training_plans::ListTrainingPlansError) -> Self {
6978        match err {
6979            crate::operation::list_training_plans::ListTrainingPlansError::Unhandled(inner) => Error::Unhandled(inner),
6980        }
6981    }
6982}
6983impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_transform_jobs::ListTransformJobsError, R>> for Error
6984where
6985    R: Send + Sync + std::fmt::Debug + 'static,
6986{
6987    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_transform_jobs::ListTransformJobsError, R>) -> Self {
6988        match err {
6989            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6990            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6991                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6992                source: err.into(),
6993            }),
6994        }
6995    }
6996}
6997impl From<crate::operation::list_transform_jobs::ListTransformJobsError> for Error {
6998    fn from(err: crate::operation::list_transform_jobs::ListTransformJobsError) -> Self {
6999        match err {
7000            crate::operation::list_transform_jobs::ListTransformJobsError::Unhandled(inner) => Error::Unhandled(inner),
7001        }
7002    }
7003}
7004impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_trial_components::ListTrialComponentsError, R>> for Error
7005where
7006    R: Send + Sync + std::fmt::Debug + 'static,
7007{
7008    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_trial_components::ListTrialComponentsError, R>) -> Self {
7009        match err {
7010            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7011            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7012                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7013                source: err.into(),
7014            }),
7015        }
7016    }
7017}
7018impl From<crate::operation::list_trial_components::ListTrialComponentsError> for Error {
7019    fn from(err: crate::operation::list_trial_components::ListTrialComponentsError) -> Self {
7020        match err {
7021            crate::operation::list_trial_components::ListTrialComponentsError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
7022            crate::operation::list_trial_components::ListTrialComponentsError::Unhandled(inner) => Error::Unhandled(inner),
7023        }
7024    }
7025}
7026impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_trials::ListTrialsError, R>> for Error
7027where
7028    R: Send + Sync + std::fmt::Debug + 'static,
7029{
7030    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_trials::ListTrialsError, R>) -> Self {
7031        match err {
7032            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7033            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7034                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7035                source: err.into(),
7036            }),
7037        }
7038    }
7039}
7040impl From<crate::operation::list_trials::ListTrialsError> for Error {
7041    fn from(err: crate::operation::list_trials::ListTrialsError) -> Self {
7042        match err {
7043            crate::operation::list_trials::ListTrialsError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
7044            crate::operation::list_trials::ListTrialsError::Unhandled(inner) => Error::Unhandled(inner),
7045        }
7046    }
7047}
7048impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_user_profiles::ListUserProfilesError, R>> for Error
7049where
7050    R: Send + Sync + std::fmt::Debug + 'static,
7051{
7052    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_user_profiles::ListUserProfilesError, R>) -> Self {
7053        match err {
7054            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7055            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7056                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7057                source: err.into(),
7058            }),
7059        }
7060    }
7061}
7062impl From<crate::operation::list_user_profiles::ListUserProfilesError> for Error {
7063    fn from(err: crate::operation::list_user_profiles::ListUserProfilesError) -> Self {
7064        match err {
7065            crate::operation::list_user_profiles::ListUserProfilesError::Unhandled(inner) => Error::Unhandled(inner),
7066        }
7067    }
7068}
7069impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_workforces::ListWorkforcesError, R>> for Error
7070where
7071    R: Send + Sync + std::fmt::Debug + 'static,
7072{
7073    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_workforces::ListWorkforcesError, R>) -> Self {
7074        match err {
7075            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7076            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7077                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7078                source: err.into(),
7079            }),
7080        }
7081    }
7082}
7083impl From<crate::operation::list_workforces::ListWorkforcesError> for Error {
7084    fn from(err: crate::operation::list_workforces::ListWorkforcesError) -> Self {
7085        match err {
7086            crate::operation::list_workforces::ListWorkforcesError::Unhandled(inner) => Error::Unhandled(inner),
7087        }
7088    }
7089}
7090impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_workteams::ListWorkteamsError, R>> for Error
7091where
7092    R: Send + Sync + std::fmt::Debug + 'static,
7093{
7094    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_workteams::ListWorkteamsError, R>) -> Self {
7095        match err {
7096            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7097            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7098                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7099                source: err.into(),
7100            }),
7101        }
7102    }
7103}
7104impl From<crate::operation::list_workteams::ListWorkteamsError> for Error {
7105    fn from(err: crate::operation::list_workteams::ListWorkteamsError) -> Self {
7106        match err {
7107            crate::operation::list_workteams::ListWorkteamsError::Unhandled(inner) => Error::Unhandled(inner),
7108        }
7109    }
7110}
7111impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_model_package_group_policy::PutModelPackageGroupPolicyError, R>>
7112    for Error
7113where
7114    R: Send + Sync + std::fmt::Debug + 'static,
7115{
7116    fn from(
7117        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_model_package_group_policy::PutModelPackageGroupPolicyError, R>,
7118    ) -> Self {
7119        match err {
7120            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7121            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7122                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7123                source: err.into(),
7124            }),
7125        }
7126    }
7127}
7128impl From<crate::operation::put_model_package_group_policy::PutModelPackageGroupPolicyError> for Error {
7129    fn from(err: crate::operation::put_model_package_group_policy::PutModelPackageGroupPolicyError) -> Self {
7130        match err {
7131            crate::operation::put_model_package_group_policy::PutModelPackageGroupPolicyError::ConflictException(inner) => {
7132                Error::ConflictException(inner)
7133            }
7134            crate::operation::put_model_package_group_policy::PutModelPackageGroupPolicyError::Unhandled(inner) => Error::Unhandled(inner),
7135        }
7136    }
7137}
7138impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::query_lineage::QueryLineageError, R>> for Error
7139where
7140    R: Send + Sync + std::fmt::Debug + 'static,
7141{
7142    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::query_lineage::QueryLineageError, R>) -> Self {
7143        match err {
7144            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7145            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7146                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7147                source: err.into(),
7148            }),
7149        }
7150    }
7151}
7152impl From<crate::operation::query_lineage::QueryLineageError> for Error {
7153    fn from(err: crate::operation::query_lineage::QueryLineageError) -> Self {
7154        match err {
7155            crate::operation::query_lineage::QueryLineageError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
7156            crate::operation::query_lineage::QueryLineageError::Unhandled(inner) => Error::Unhandled(inner),
7157        }
7158    }
7159}
7160impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::register_devices::RegisterDevicesError, R>> for Error
7161where
7162    R: Send + Sync + std::fmt::Debug + 'static,
7163{
7164    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::register_devices::RegisterDevicesError, R>) -> Self {
7165        match err {
7166            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7167            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7168                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7169                source: err.into(),
7170            }),
7171        }
7172    }
7173}
7174impl From<crate::operation::register_devices::RegisterDevicesError> for Error {
7175    fn from(err: crate::operation::register_devices::RegisterDevicesError) -> Self {
7176        match err {
7177            crate::operation::register_devices::RegisterDevicesError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
7178            crate::operation::register_devices::RegisterDevicesError::Unhandled(inner) => Error::Unhandled(inner),
7179        }
7180    }
7181}
7182impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::render_ui_template::RenderUiTemplateError, R>> for Error
7183where
7184    R: Send + Sync + std::fmt::Debug + 'static,
7185{
7186    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::render_ui_template::RenderUiTemplateError, R>) -> Self {
7187        match err {
7188            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7189            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7190                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7191                source: err.into(),
7192            }),
7193        }
7194    }
7195}
7196impl From<crate::operation::render_ui_template::RenderUiTemplateError> for Error {
7197    fn from(err: crate::operation::render_ui_template::RenderUiTemplateError) -> Self {
7198        match err {
7199            crate::operation::render_ui_template::RenderUiTemplateError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
7200            crate::operation::render_ui_template::RenderUiTemplateError::Unhandled(inner) => Error::Unhandled(inner),
7201        }
7202    }
7203}
7204impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::retry_pipeline_execution::RetryPipelineExecutionError, R>> for Error
7205where
7206    R: Send + Sync + std::fmt::Debug + 'static,
7207{
7208    fn from(
7209        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::retry_pipeline_execution::RetryPipelineExecutionError, R>,
7210    ) -> Self {
7211        match err {
7212            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7213            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7214                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7215                source: err.into(),
7216            }),
7217        }
7218    }
7219}
7220impl From<crate::operation::retry_pipeline_execution::RetryPipelineExecutionError> for Error {
7221    fn from(err: crate::operation::retry_pipeline_execution::RetryPipelineExecutionError) -> Self {
7222        match err {
7223            crate::operation::retry_pipeline_execution::RetryPipelineExecutionError::ConflictException(inner) => Error::ConflictException(inner),
7224            crate::operation::retry_pipeline_execution::RetryPipelineExecutionError::ResourceLimitExceeded(inner) => {
7225                Error::ResourceLimitExceeded(inner)
7226            }
7227            crate::operation::retry_pipeline_execution::RetryPipelineExecutionError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
7228            crate::operation::retry_pipeline_execution::RetryPipelineExecutionError::Unhandled(inner) => Error::Unhandled(inner),
7229        }
7230    }
7231}
7232impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::search::SearchError, R>> for Error
7233where
7234    R: Send + Sync + std::fmt::Debug + 'static,
7235{
7236    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::search::SearchError, R>) -> Self {
7237        match err {
7238            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7239            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7240                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7241                source: err.into(),
7242            }),
7243        }
7244    }
7245}
7246impl From<crate::operation::search::SearchError> for Error {
7247    fn from(err: crate::operation::search::SearchError) -> Self {
7248        match err {
7249            crate::operation::search::SearchError::Unhandled(inner) => Error::Unhandled(inner),
7250        }
7251    }
7252}
7253impl<R>
7254    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::search_training_plan_offerings::SearchTrainingPlanOfferingsError, R>>
7255    for Error
7256where
7257    R: Send + Sync + std::fmt::Debug + 'static,
7258{
7259    fn from(
7260        err: ::aws_smithy_runtime_api::client::result::SdkError<
7261            crate::operation::search_training_plan_offerings::SearchTrainingPlanOfferingsError,
7262            R,
7263        >,
7264    ) -> Self {
7265        match err {
7266            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7267            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7268                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7269                source: err.into(),
7270            }),
7271        }
7272    }
7273}
7274impl From<crate::operation::search_training_plan_offerings::SearchTrainingPlanOfferingsError> for Error {
7275    fn from(err: crate::operation::search_training_plan_offerings::SearchTrainingPlanOfferingsError) -> Self {
7276        match err {
7277            crate::operation::search_training_plan_offerings::SearchTrainingPlanOfferingsError::ResourceLimitExceeded(inner) => {
7278                Error::ResourceLimitExceeded(inner)
7279            }
7280            crate::operation::search_training_plan_offerings::SearchTrainingPlanOfferingsError::Unhandled(inner) => Error::Unhandled(inner),
7281        }
7282    }
7283}
7284impl<R>
7285    From<
7286        ::aws_smithy_runtime_api::client::result::SdkError<
7287            crate::operation::send_pipeline_execution_step_failure::SendPipelineExecutionStepFailureError,
7288            R,
7289        >,
7290    > for Error
7291where
7292    R: Send + Sync + std::fmt::Debug + 'static,
7293{
7294    fn from(
7295        err: ::aws_smithy_runtime_api::client::result::SdkError<
7296            crate::operation::send_pipeline_execution_step_failure::SendPipelineExecutionStepFailureError,
7297            R,
7298        >,
7299    ) -> Self {
7300        match err {
7301            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7302            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7303                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7304                source: err.into(),
7305            }),
7306        }
7307    }
7308}
7309impl From<crate::operation::send_pipeline_execution_step_failure::SendPipelineExecutionStepFailureError> for Error {
7310    fn from(err: crate::operation::send_pipeline_execution_step_failure::SendPipelineExecutionStepFailureError) -> Self {
7311        match err {
7312            crate::operation::send_pipeline_execution_step_failure::SendPipelineExecutionStepFailureError::ConflictException(inner) => {
7313                Error::ConflictException(inner)
7314            }
7315            crate::operation::send_pipeline_execution_step_failure::SendPipelineExecutionStepFailureError::ResourceLimitExceeded(inner) => {
7316                Error::ResourceLimitExceeded(inner)
7317            }
7318            crate::operation::send_pipeline_execution_step_failure::SendPipelineExecutionStepFailureError::ResourceNotFound(inner) => {
7319                Error::ResourceNotFound(inner)
7320            }
7321            crate::operation::send_pipeline_execution_step_failure::SendPipelineExecutionStepFailureError::Unhandled(inner) => {
7322                Error::Unhandled(inner)
7323            }
7324        }
7325    }
7326}
7327impl<R>
7328    From<
7329        ::aws_smithy_runtime_api::client::result::SdkError<
7330            crate::operation::send_pipeline_execution_step_success::SendPipelineExecutionStepSuccessError,
7331            R,
7332        >,
7333    > for Error
7334where
7335    R: Send + Sync + std::fmt::Debug + 'static,
7336{
7337    fn from(
7338        err: ::aws_smithy_runtime_api::client::result::SdkError<
7339            crate::operation::send_pipeline_execution_step_success::SendPipelineExecutionStepSuccessError,
7340            R,
7341        >,
7342    ) -> Self {
7343        match err {
7344            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7345            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7346                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7347                source: err.into(),
7348            }),
7349        }
7350    }
7351}
7352impl From<crate::operation::send_pipeline_execution_step_success::SendPipelineExecutionStepSuccessError> for Error {
7353    fn from(err: crate::operation::send_pipeline_execution_step_success::SendPipelineExecutionStepSuccessError) -> Self {
7354        match err {
7355            crate::operation::send_pipeline_execution_step_success::SendPipelineExecutionStepSuccessError::ConflictException(inner) => {
7356                Error::ConflictException(inner)
7357            }
7358            crate::operation::send_pipeline_execution_step_success::SendPipelineExecutionStepSuccessError::ResourceLimitExceeded(inner) => {
7359                Error::ResourceLimitExceeded(inner)
7360            }
7361            crate::operation::send_pipeline_execution_step_success::SendPipelineExecutionStepSuccessError::ResourceNotFound(inner) => {
7362                Error::ResourceNotFound(inner)
7363            }
7364            crate::operation::send_pipeline_execution_step_success::SendPipelineExecutionStepSuccessError::Unhandled(inner) => {
7365                Error::Unhandled(inner)
7366            }
7367        }
7368    }
7369}
7370impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_edge_deployment_stage::StartEdgeDeploymentStageError, R>>
7371    for Error
7372where
7373    R: Send + Sync + std::fmt::Debug + 'static,
7374{
7375    fn from(
7376        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_edge_deployment_stage::StartEdgeDeploymentStageError, R>,
7377    ) -> Self {
7378        match err {
7379            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7380            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7381                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7382                source: err.into(),
7383            }),
7384        }
7385    }
7386}
7387impl From<crate::operation::start_edge_deployment_stage::StartEdgeDeploymentStageError> for Error {
7388    fn from(err: crate::operation::start_edge_deployment_stage::StartEdgeDeploymentStageError) -> Self {
7389        match err {
7390            crate::operation::start_edge_deployment_stage::StartEdgeDeploymentStageError::Unhandled(inner) => Error::Unhandled(inner),
7391        }
7392    }
7393}
7394impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_inference_experiment::StartInferenceExperimentError, R>>
7395    for Error
7396where
7397    R: Send + Sync + std::fmt::Debug + 'static,
7398{
7399    fn from(
7400        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_inference_experiment::StartInferenceExperimentError, R>,
7401    ) -> Self {
7402        match err {
7403            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7404            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7405                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7406                source: err.into(),
7407            }),
7408        }
7409    }
7410}
7411impl From<crate::operation::start_inference_experiment::StartInferenceExperimentError> for Error {
7412    fn from(err: crate::operation::start_inference_experiment::StartInferenceExperimentError) -> Self {
7413        match err {
7414            crate::operation::start_inference_experiment::StartInferenceExperimentError::ConflictException(inner) => Error::ConflictException(inner),
7415            crate::operation::start_inference_experiment::StartInferenceExperimentError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
7416            crate::operation::start_inference_experiment::StartInferenceExperimentError::Unhandled(inner) => Error::Unhandled(inner),
7417        }
7418    }
7419}
7420impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_mlflow_tracking_server::StartMlflowTrackingServerError, R>>
7421    for Error
7422where
7423    R: Send + Sync + std::fmt::Debug + 'static,
7424{
7425    fn from(
7426        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_mlflow_tracking_server::StartMlflowTrackingServerError, R>,
7427    ) -> Self {
7428        match err {
7429            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7430            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7431                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7432                source: err.into(),
7433            }),
7434        }
7435    }
7436}
7437impl From<crate::operation::start_mlflow_tracking_server::StartMlflowTrackingServerError> for Error {
7438    fn from(err: crate::operation::start_mlflow_tracking_server::StartMlflowTrackingServerError) -> Self {
7439        match err {
7440            crate::operation::start_mlflow_tracking_server::StartMlflowTrackingServerError::ConflictException(inner) => {
7441                Error::ConflictException(inner)
7442            }
7443            crate::operation::start_mlflow_tracking_server::StartMlflowTrackingServerError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
7444            crate::operation::start_mlflow_tracking_server::StartMlflowTrackingServerError::Unhandled(inner) => Error::Unhandled(inner),
7445        }
7446    }
7447}
7448impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_monitoring_schedule::StartMonitoringScheduleError, R>>
7449    for Error
7450where
7451    R: Send + Sync + std::fmt::Debug + 'static,
7452{
7453    fn from(
7454        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_monitoring_schedule::StartMonitoringScheduleError, R>,
7455    ) -> Self {
7456        match err {
7457            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7458            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7459                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7460                source: err.into(),
7461            }),
7462        }
7463    }
7464}
7465impl From<crate::operation::start_monitoring_schedule::StartMonitoringScheduleError> for Error {
7466    fn from(err: crate::operation::start_monitoring_schedule::StartMonitoringScheduleError) -> Self {
7467        match err {
7468            crate::operation::start_monitoring_schedule::StartMonitoringScheduleError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
7469            crate::operation::start_monitoring_schedule::StartMonitoringScheduleError::Unhandled(inner) => Error::Unhandled(inner),
7470        }
7471    }
7472}
7473impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_notebook_instance::StartNotebookInstanceError, R>> for Error
7474where
7475    R: Send + Sync + std::fmt::Debug + 'static,
7476{
7477    fn from(
7478        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_notebook_instance::StartNotebookInstanceError, R>,
7479    ) -> Self {
7480        match err {
7481            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7482            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7483                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7484                source: err.into(),
7485            }),
7486        }
7487    }
7488}
7489impl From<crate::operation::start_notebook_instance::StartNotebookInstanceError> for Error {
7490    fn from(err: crate::operation::start_notebook_instance::StartNotebookInstanceError) -> Self {
7491        match err {
7492            crate::operation::start_notebook_instance::StartNotebookInstanceError::ResourceLimitExceeded(inner) => {
7493                Error::ResourceLimitExceeded(inner)
7494            }
7495            crate::operation::start_notebook_instance::StartNotebookInstanceError::Unhandled(inner) => Error::Unhandled(inner),
7496        }
7497    }
7498}
7499impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_pipeline_execution::StartPipelineExecutionError, R>> for Error
7500where
7501    R: Send + Sync + std::fmt::Debug + 'static,
7502{
7503    fn from(
7504        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_pipeline_execution::StartPipelineExecutionError, R>,
7505    ) -> Self {
7506        match err {
7507            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7508            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7509                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7510                source: err.into(),
7511            }),
7512        }
7513    }
7514}
7515impl From<crate::operation::start_pipeline_execution::StartPipelineExecutionError> for Error {
7516    fn from(err: crate::operation::start_pipeline_execution::StartPipelineExecutionError) -> Self {
7517        match err {
7518            crate::operation::start_pipeline_execution::StartPipelineExecutionError::ConflictException(inner) => Error::ConflictException(inner),
7519            crate::operation::start_pipeline_execution::StartPipelineExecutionError::ResourceLimitExceeded(inner) => {
7520                Error::ResourceLimitExceeded(inner)
7521            }
7522            crate::operation::start_pipeline_execution::StartPipelineExecutionError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
7523            crate::operation::start_pipeline_execution::StartPipelineExecutionError::Unhandled(inner) => Error::Unhandled(inner),
7524        }
7525    }
7526}
7527impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_auto_ml_job::StopAutoMLJobError, R>> for Error
7528where
7529    R: Send + Sync + std::fmt::Debug + 'static,
7530{
7531    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_auto_ml_job::StopAutoMLJobError, R>) -> Self {
7532        match err {
7533            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7534            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7535                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7536                source: err.into(),
7537            }),
7538        }
7539    }
7540}
7541impl From<crate::operation::stop_auto_ml_job::StopAutoMLJobError> for Error {
7542    fn from(err: crate::operation::stop_auto_ml_job::StopAutoMLJobError) -> Self {
7543        match err {
7544            crate::operation::stop_auto_ml_job::StopAutoMLJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
7545            crate::operation::stop_auto_ml_job::StopAutoMLJobError::Unhandled(inner) => Error::Unhandled(inner),
7546        }
7547    }
7548}
7549impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_compilation_job::StopCompilationJobError, R>> for Error
7550where
7551    R: Send + Sync + std::fmt::Debug + 'static,
7552{
7553    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_compilation_job::StopCompilationJobError, R>) -> Self {
7554        match err {
7555            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7556            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7557                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7558                source: err.into(),
7559            }),
7560        }
7561    }
7562}
7563impl From<crate::operation::stop_compilation_job::StopCompilationJobError> for Error {
7564    fn from(err: crate::operation::stop_compilation_job::StopCompilationJobError) -> Self {
7565        match err {
7566            crate::operation::stop_compilation_job::StopCompilationJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
7567            crate::operation::stop_compilation_job::StopCompilationJobError::Unhandled(inner) => Error::Unhandled(inner),
7568        }
7569    }
7570}
7571impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_edge_deployment_stage::StopEdgeDeploymentStageError, R>>
7572    for Error
7573where
7574    R: Send + Sync + std::fmt::Debug + 'static,
7575{
7576    fn from(
7577        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_edge_deployment_stage::StopEdgeDeploymentStageError, R>,
7578    ) -> Self {
7579        match err {
7580            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7581            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7582                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7583                source: err.into(),
7584            }),
7585        }
7586    }
7587}
7588impl From<crate::operation::stop_edge_deployment_stage::StopEdgeDeploymentStageError> for Error {
7589    fn from(err: crate::operation::stop_edge_deployment_stage::StopEdgeDeploymentStageError) -> Self {
7590        match err {
7591            crate::operation::stop_edge_deployment_stage::StopEdgeDeploymentStageError::Unhandled(inner) => Error::Unhandled(inner),
7592        }
7593    }
7594}
7595impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_edge_packaging_job::StopEdgePackagingJobError, R>> for Error
7596where
7597    R: Send + Sync + std::fmt::Debug + 'static,
7598{
7599    fn from(
7600        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_edge_packaging_job::StopEdgePackagingJobError, R>,
7601    ) -> Self {
7602        match err {
7603            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7604            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7605                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7606                source: err.into(),
7607            }),
7608        }
7609    }
7610}
7611impl From<crate::operation::stop_edge_packaging_job::StopEdgePackagingJobError> for Error {
7612    fn from(err: crate::operation::stop_edge_packaging_job::StopEdgePackagingJobError) -> Self {
7613        match err {
7614            crate::operation::stop_edge_packaging_job::StopEdgePackagingJobError::Unhandled(inner) => Error::Unhandled(inner),
7615        }
7616    }
7617}
7618impl<R>
7619    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_hyper_parameter_tuning_job::StopHyperParameterTuningJobError, R>>
7620    for Error
7621where
7622    R: Send + Sync + std::fmt::Debug + 'static,
7623{
7624    fn from(
7625        err: ::aws_smithy_runtime_api::client::result::SdkError<
7626            crate::operation::stop_hyper_parameter_tuning_job::StopHyperParameterTuningJobError,
7627            R,
7628        >,
7629    ) -> Self {
7630        match err {
7631            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7632            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7633                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7634                source: err.into(),
7635            }),
7636        }
7637    }
7638}
7639impl From<crate::operation::stop_hyper_parameter_tuning_job::StopHyperParameterTuningJobError> for Error {
7640    fn from(err: crate::operation::stop_hyper_parameter_tuning_job::StopHyperParameterTuningJobError) -> Self {
7641        match err {
7642            crate::operation::stop_hyper_parameter_tuning_job::StopHyperParameterTuningJobError::ResourceNotFound(inner) => {
7643                Error::ResourceNotFound(inner)
7644            }
7645            crate::operation::stop_hyper_parameter_tuning_job::StopHyperParameterTuningJobError::Unhandled(inner) => Error::Unhandled(inner),
7646        }
7647    }
7648}
7649impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_inference_experiment::StopInferenceExperimentError, R>>
7650    for Error
7651where
7652    R: Send + Sync + std::fmt::Debug + 'static,
7653{
7654    fn from(
7655        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_inference_experiment::StopInferenceExperimentError, R>,
7656    ) -> Self {
7657        match err {
7658            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7659            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7660                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7661                source: err.into(),
7662            }),
7663        }
7664    }
7665}
7666impl From<crate::operation::stop_inference_experiment::StopInferenceExperimentError> for Error {
7667    fn from(err: crate::operation::stop_inference_experiment::StopInferenceExperimentError) -> Self {
7668        match err {
7669            crate::operation::stop_inference_experiment::StopInferenceExperimentError::ConflictException(inner) => Error::ConflictException(inner),
7670            crate::operation::stop_inference_experiment::StopInferenceExperimentError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
7671            crate::operation::stop_inference_experiment::StopInferenceExperimentError::Unhandled(inner) => Error::Unhandled(inner),
7672        }
7673    }
7674}
7675impl<R>
7676    From<
7677        ::aws_smithy_runtime_api::client::result::SdkError<
7678            crate::operation::stop_inference_recommendations_job::StopInferenceRecommendationsJobError,
7679            R,
7680        >,
7681    > for Error
7682where
7683    R: Send + Sync + std::fmt::Debug + 'static,
7684{
7685    fn from(
7686        err: ::aws_smithy_runtime_api::client::result::SdkError<
7687            crate::operation::stop_inference_recommendations_job::StopInferenceRecommendationsJobError,
7688            R,
7689        >,
7690    ) -> Self {
7691        match err {
7692            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7693            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7694                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7695                source: err.into(),
7696            }),
7697        }
7698    }
7699}
7700impl From<crate::operation::stop_inference_recommendations_job::StopInferenceRecommendationsJobError> for Error {
7701    fn from(err: crate::operation::stop_inference_recommendations_job::StopInferenceRecommendationsJobError) -> Self {
7702        match err {
7703            crate::operation::stop_inference_recommendations_job::StopInferenceRecommendationsJobError::ResourceNotFound(inner) => {
7704                Error::ResourceNotFound(inner)
7705            }
7706            crate::operation::stop_inference_recommendations_job::StopInferenceRecommendationsJobError::Unhandled(inner) => Error::Unhandled(inner),
7707        }
7708    }
7709}
7710impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_labeling_job::StopLabelingJobError, R>> for Error
7711where
7712    R: Send + Sync + std::fmt::Debug + 'static,
7713{
7714    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_labeling_job::StopLabelingJobError, R>) -> Self {
7715        match err {
7716            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7717            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7718                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7719                source: err.into(),
7720            }),
7721        }
7722    }
7723}
7724impl From<crate::operation::stop_labeling_job::StopLabelingJobError> for Error {
7725    fn from(err: crate::operation::stop_labeling_job::StopLabelingJobError) -> Self {
7726        match err {
7727            crate::operation::stop_labeling_job::StopLabelingJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
7728            crate::operation::stop_labeling_job::StopLabelingJobError::Unhandled(inner) => Error::Unhandled(inner),
7729        }
7730    }
7731}
7732impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_mlflow_tracking_server::StopMlflowTrackingServerError, R>>
7733    for Error
7734where
7735    R: Send + Sync + std::fmt::Debug + 'static,
7736{
7737    fn from(
7738        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_mlflow_tracking_server::StopMlflowTrackingServerError, R>,
7739    ) -> Self {
7740        match err {
7741            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7742            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7743                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7744                source: err.into(),
7745            }),
7746        }
7747    }
7748}
7749impl From<crate::operation::stop_mlflow_tracking_server::StopMlflowTrackingServerError> for Error {
7750    fn from(err: crate::operation::stop_mlflow_tracking_server::StopMlflowTrackingServerError) -> Self {
7751        match err {
7752            crate::operation::stop_mlflow_tracking_server::StopMlflowTrackingServerError::ConflictException(inner) => Error::ConflictException(inner),
7753            crate::operation::stop_mlflow_tracking_server::StopMlflowTrackingServerError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
7754            crate::operation::stop_mlflow_tracking_server::StopMlflowTrackingServerError::Unhandled(inner) => Error::Unhandled(inner),
7755        }
7756    }
7757}
7758impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_monitoring_schedule::StopMonitoringScheduleError, R>> for Error
7759where
7760    R: Send + Sync + std::fmt::Debug + 'static,
7761{
7762    fn from(
7763        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_monitoring_schedule::StopMonitoringScheduleError, R>,
7764    ) -> Self {
7765        match err {
7766            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7767            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7768                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7769                source: err.into(),
7770            }),
7771        }
7772    }
7773}
7774impl From<crate::operation::stop_monitoring_schedule::StopMonitoringScheduleError> for Error {
7775    fn from(err: crate::operation::stop_monitoring_schedule::StopMonitoringScheduleError) -> Self {
7776        match err {
7777            crate::operation::stop_monitoring_schedule::StopMonitoringScheduleError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
7778            crate::operation::stop_monitoring_schedule::StopMonitoringScheduleError::Unhandled(inner) => Error::Unhandled(inner),
7779        }
7780    }
7781}
7782impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_notebook_instance::StopNotebookInstanceError, R>> for Error
7783where
7784    R: Send + Sync + std::fmt::Debug + 'static,
7785{
7786    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_notebook_instance::StopNotebookInstanceError, R>) -> Self {
7787        match err {
7788            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7789            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7790                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7791                source: err.into(),
7792            }),
7793        }
7794    }
7795}
7796impl From<crate::operation::stop_notebook_instance::StopNotebookInstanceError> for Error {
7797    fn from(err: crate::operation::stop_notebook_instance::StopNotebookInstanceError) -> Self {
7798        match err {
7799            crate::operation::stop_notebook_instance::StopNotebookInstanceError::Unhandled(inner) => Error::Unhandled(inner),
7800        }
7801    }
7802}
7803impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_optimization_job::StopOptimizationJobError, R>> for Error
7804where
7805    R: Send + Sync + std::fmt::Debug + 'static,
7806{
7807    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_optimization_job::StopOptimizationJobError, R>) -> Self {
7808        match err {
7809            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7810            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7811                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7812                source: err.into(),
7813            }),
7814        }
7815    }
7816}
7817impl From<crate::operation::stop_optimization_job::StopOptimizationJobError> for Error {
7818    fn from(err: crate::operation::stop_optimization_job::StopOptimizationJobError) -> Self {
7819        match err {
7820            crate::operation::stop_optimization_job::StopOptimizationJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
7821            crate::operation::stop_optimization_job::StopOptimizationJobError::Unhandled(inner) => Error::Unhandled(inner),
7822        }
7823    }
7824}
7825impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_pipeline_execution::StopPipelineExecutionError, R>> for Error
7826where
7827    R: Send + Sync + std::fmt::Debug + 'static,
7828{
7829    fn from(
7830        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_pipeline_execution::StopPipelineExecutionError, R>,
7831    ) -> Self {
7832        match err {
7833            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7834            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7835                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7836                source: err.into(),
7837            }),
7838        }
7839    }
7840}
7841impl From<crate::operation::stop_pipeline_execution::StopPipelineExecutionError> for Error {
7842    fn from(err: crate::operation::stop_pipeline_execution::StopPipelineExecutionError) -> Self {
7843        match err {
7844            crate::operation::stop_pipeline_execution::StopPipelineExecutionError::ConflictException(inner) => Error::ConflictException(inner),
7845            crate::operation::stop_pipeline_execution::StopPipelineExecutionError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
7846            crate::operation::stop_pipeline_execution::StopPipelineExecutionError::Unhandled(inner) => Error::Unhandled(inner),
7847        }
7848    }
7849}
7850impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_processing_job::StopProcessingJobError, R>> for Error
7851where
7852    R: Send + Sync + std::fmt::Debug + 'static,
7853{
7854    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_processing_job::StopProcessingJobError, R>) -> Self {
7855        match err {
7856            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7857            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7858                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7859                source: err.into(),
7860            }),
7861        }
7862    }
7863}
7864impl From<crate::operation::stop_processing_job::StopProcessingJobError> for Error {
7865    fn from(err: crate::operation::stop_processing_job::StopProcessingJobError) -> Self {
7866        match err {
7867            crate::operation::stop_processing_job::StopProcessingJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
7868            crate::operation::stop_processing_job::StopProcessingJobError::Unhandled(inner) => Error::Unhandled(inner),
7869        }
7870    }
7871}
7872impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_training_job::StopTrainingJobError, R>> for Error
7873where
7874    R: Send + Sync + std::fmt::Debug + 'static,
7875{
7876    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_training_job::StopTrainingJobError, R>) -> 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::stop_training_job::StopTrainingJobError> for Error {
7887    fn from(err: crate::operation::stop_training_job::StopTrainingJobError) -> Self {
7888        match err {
7889            crate::operation::stop_training_job::StopTrainingJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
7890            crate::operation::stop_training_job::StopTrainingJobError::Unhandled(inner) => Error::Unhandled(inner),
7891        }
7892    }
7893}
7894impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_transform_job::StopTransformJobError, R>> for Error
7895where
7896    R: Send + Sync + std::fmt::Debug + 'static,
7897{
7898    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_transform_job::StopTransformJobError, R>) -> Self {
7899        match err {
7900            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7901            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7902                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7903                source: err.into(),
7904            }),
7905        }
7906    }
7907}
7908impl From<crate::operation::stop_transform_job::StopTransformJobError> for Error {
7909    fn from(err: crate::operation::stop_transform_job::StopTransformJobError) -> Self {
7910        match err {
7911            crate::operation::stop_transform_job::StopTransformJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
7912            crate::operation::stop_transform_job::StopTransformJobError::Unhandled(inner) => Error::Unhandled(inner),
7913        }
7914    }
7915}
7916impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_action::UpdateActionError, R>> for Error
7917where
7918    R: Send + Sync + std::fmt::Debug + 'static,
7919{
7920    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_action::UpdateActionError, R>) -> Self {
7921        match err {
7922            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7923            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7924                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7925                source: err.into(),
7926            }),
7927        }
7928    }
7929}
7930impl From<crate::operation::update_action::UpdateActionError> for Error {
7931    fn from(err: crate::operation::update_action::UpdateActionError) -> Self {
7932        match err {
7933            crate::operation::update_action::UpdateActionError::ConflictException(inner) => Error::ConflictException(inner),
7934            crate::operation::update_action::UpdateActionError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
7935            crate::operation::update_action::UpdateActionError::Unhandled(inner) => Error::Unhandled(inner),
7936        }
7937    }
7938}
7939impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_app_image_config::UpdateAppImageConfigError, R>> for Error
7940where
7941    R: Send + Sync + std::fmt::Debug + 'static,
7942{
7943    fn from(
7944        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_app_image_config::UpdateAppImageConfigError, R>,
7945    ) -> Self {
7946        match err {
7947            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7948            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7949                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7950                source: err.into(),
7951            }),
7952        }
7953    }
7954}
7955impl From<crate::operation::update_app_image_config::UpdateAppImageConfigError> for Error {
7956    fn from(err: crate::operation::update_app_image_config::UpdateAppImageConfigError) -> Self {
7957        match err {
7958            crate::operation::update_app_image_config::UpdateAppImageConfigError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
7959            crate::operation::update_app_image_config::UpdateAppImageConfigError::Unhandled(inner) => Error::Unhandled(inner),
7960        }
7961    }
7962}
7963impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_artifact::UpdateArtifactError, R>> for Error
7964where
7965    R: Send + Sync + std::fmt::Debug + 'static,
7966{
7967    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_artifact::UpdateArtifactError, R>) -> Self {
7968        match err {
7969            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7970            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7971                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7972                source: err.into(),
7973            }),
7974        }
7975    }
7976}
7977impl From<crate::operation::update_artifact::UpdateArtifactError> for Error {
7978    fn from(err: crate::operation::update_artifact::UpdateArtifactError) -> Self {
7979        match err {
7980            crate::operation::update_artifact::UpdateArtifactError::ConflictException(inner) => Error::ConflictException(inner),
7981            crate::operation::update_artifact::UpdateArtifactError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
7982            crate::operation::update_artifact::UpdateArtifactError::Unhandled(inner) => Error::Unhandled(inner),
7983        }
7984    }
7985}
7986impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_cluster::UpdateClusterError, R>> for Error
7987where
7988    R: Send + Sync + std::fmt::Debug + 'static,
7989{
7990    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_cluster::UpdateClusterError, R>) -> Self {
7991        match err {
7992            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7993            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7994                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7995                source: err.into(),
7996            }),
7997        }
7998    }
7999}
8000impl From<crate::operation::update_cluster::UpdateClusterError> for Error {
8001    fn from(err: crate::operation::update_cluster::UpdateClusterError) -> Self {
8002        match err {
8003            crate::operation::update_cluster::UpdateClusterError::ConflictException(inner) => Error::ConflictException(inner),
8004            crate::operation::update_cluster::UpdateClusterError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
8005            crate::operation::update_cluster::UpdateClusterError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8006            crate::operation::update_cluster::UpdateClusterError::Unhandled(inner) => Error::Unhandled(inner),
8007        }
8008    }
8009}
8010impl<R>
8011    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_cluster_scheduler_config::UpdateClusterSchedulerConfigError, R>>
8012    for Error
8013where
8014    R: Send + Sync + std::fmt::Debug + 'static,
8015{
8016    fn from(
8017        err: ::aws_smithy_runtime_api::client::result::SdkError<
8018            crate::operation::update_cluster_scheduler_config::UpdateClusterSchedulerConfigError,
8019            R,
8020        >,
8021    ) -> Self {
8022        match err {
8023            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8024            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8025                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8026                source: err.into(),
8027            }),
8028        }
8029    }
8030}
8031impl From<crate::operation::update_cluster_scheduler_config::UpdateClusterSchedulerConfigError> for Error {
8032    fn from(err: crate::operation::update_cluster_scheduler_config::UpdateClusterSchedulerConfigError) -> Self {
8033        match err {
8034            crate::operation::update_cluster_scheduler_config::UpdateClusterSchedulerConfigError::ConflictException(inner) => {
8035                Error::ConflictException(inner)
8036            }
8037            crate::operation::update_cluster_scheduler_config::UpdateClusterSchedulerConfigError::ResourceLimitExceeded(inner) => {
8038                Error::ResourceLimitExceeded(inner)
8039            }
8040            crate::operation::update_cluster_scheduler_config::UpdateClusterSchedulerConfigError::ResourceNotFound(inner) => {
8041                Error::ResourceNotFound(inner)
8042            }
8043            crate::operation::update_cluster_scheduler_config::UpdateClusterSchedulerConfigError::Unhandled(inner) => Error::Unhandled(inner),
8044        }
8045    }
8046}
8047impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_cluster_software::UpdateClusterSoftwareError, R>> for Error
8048where
8049    R: Send + Sync + std::fmt::Debug + 'static,
8050{
8051    fn from(
8052        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_cluster_software::UpdateClusterSoftwareError, R>,
8053    ) -> Self {
8054        match err {
8055            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8056            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8057                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8058                source: err.into(),
8059            }),
8060        }
8061    }
8062}
8063impl From<crate::operation::update_cluster_software::UpdateClusterSoftwareError> for Error {
8064    fn from(err: crate::operation::update_cluster_software::UpdateClusterSoftwareError) -> Self {
8065        match err {
8066            crate::operation::update_cluster_software::UpdateClusterSoftwareError::ConflictException(inner) => Error::ConflictException(inner),
8067            crate::operation::update_cluster_software::UpdateClusterSoftwareError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8068            crate::operation::update_cluster_software::UpdateClusterSoftwareError::Unhandled(inner) => Error::Unhandled(inner),
8069        }
8070    }
8071}
8072impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_code_repository::UpdateCodeRepositoryError, R>> for Error
8073where
8074    R: Send + Sync + std::fmt::Debug + 'static,
8075{
8076    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_code_repository::UpdateCodeRepositoryError, R>) -> Self {
8077        match err {
8078            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8079            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8080                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8081                source: err.into(),
8082            }),
8083        }
8084    }
8085}
8086impl From<crate::operation::update_code_repository::UpdateCodeRepositoryError> for Error {
8087    fn from(err: crate::operation::update_code_repository::UpdateCodeRepositoryError) -> Self {
8088        match err {
8089            crate::operation::update_code_repository::UpdateCodeRepositoryError::ConflictException(inner) => Error::ConflictException(inner),
8090            crate::operation::update_code_repository::UpdateCodeRepositoryError::Unhandled(inner) => Error::Unhandled(inner),
8091        }
8092    }
8093}
8094impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_compute_quota::UpdateComputeQuotaError, R>> for Error
8095where
8096    R: Send + Sync + std::fmt::Debug + 'static,
8097{
8098    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_compute_quota::UpdateComputeQuotaError, R>) -> Self {
8099        match err {
8100            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8101            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8102                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8103                source: err.into(),
8104            }),
8105        }
8106    }
8107}
8108impl From<crate::operation::update_compute_quota::UpdateComputeQuotaError> for Error {
8109    fn from(err: crate::operation::update_compute_quota::UpdateComputeQuotaError) -> Self {
8110        match err {
8111            crate::operation::update_compute_quota::UpdateComputeQuotaError::ConflictException(inner) => Error::ConflictException(inner),
8112            crate::operation::update_compute_quota::UpdateComputeQuotaError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
8113            crate::operation::update_compute_quota::UpdateComputeQuotaError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8114            crate::operation::update_compute_quota::UpdateComputeQuotaError::Unhandled(inner) => Error::Unhandled(inner),
8115        }
8116    }
8117}
8118impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_context::UpdateContextError, R>> for Error
8119where
8120    R: Send + Sync + std::fmt::Debug + 'static,
8121{
8122    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_context::UpdateContextError, R>) -> Self {
8123        match err {
8124            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8125            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8126                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8127                source: err.into(),
8128            }),
8129        }
8130    }
8131}
8132impl From<crate::operation::update_context::UpdateContextError> for Error {
8133    fn from(err: crate::operation::update_context::UpdateContextError) -> Self {
8134        match err {
8135            crate::operation::update_context::UpdateContextError::ConflictException(inner) => Error::ConflictException(inner),
8136            crate::operation::update_context::UpdateContextError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8137            crate::operation::update_context::UpdateContextError::Unhandled(inner) => Error::Unhandled(inner),
8138        }
8139    }
8140}
8141impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_device_fleet::UpdateDeviceFleetError, R>> for Error
8142where
8143    R: Send + Sync + std::fmt::Debug + 'static,
8144{
8145    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_device_fleet::UpdateDeviceFleetError, R>) -> Self {
8146        match err {
8147            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8148            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8149                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8150                source: err.into(),
8151            }),
8152        }
8153    }
8154}
8155impl From<crate::operation::update_device_fleet::UpdateDeviceFleetError> for Error {
8156    fn from(err: crate::operation::update_device_fleet::UpdateDeviceFleetError) -> Self {
8157        match err {
8158            crate::operation::update_device_fleet::UpdateDeviceFleetError::ResourceInUse(inner) => Error::ResourceInUse(inner),
8159            crate::operation::update_device_fleet::UpdateDeviceFleetError::Unhandled(inner) => Error::Unhandled(inner),
8160        }
8161    }
8162}
8163impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_devices::UpdateDevicesError, R>> for Error
8164where
8165    R: Send + Sync + std::fmt::Debug + 'static,
8166{
8167    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_devices::UpdateDevicesError, R>) -> Self {
8168        match err {
8169            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8170            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8171                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8172                source: err.into(),
8173            }),
8174        }
8175    }
8176}
8177impl From<crate::operation::update_devices::UpdateDevicesError> for Error {
8178    fn from(err: crate::operation::update_devices::UpdateDevicesError) -> Self {
8179        match err {
8180            crate::operation::update_devices::UpdateDevicesError::Unhandled(inner) => Error::Unhandled(inner),
8181        }
8182    }
8183}
8184impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_domain::UpdateDomainError, R>> for Error
8185where
8186    R: Send + Sync + std::fmt::Debug + 'static,
8187{
8188    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_domain::UpdateDomainError, R>) -> Self {
8189        match err {
8190            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8191            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8192                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8193                source: err.into(),
8194            }),
8195        }
8196    }
8197}
8198impl From<crate::operation::update_domain::UpdateDomainError> for Error {
8199    fn from(err: crate::operation::update_domain::UpdateDomainError) -> Self {
8200        match err {
8201            crate::operation::update_domain::UpdateDomainError::ResourceInUse(inner) => Error::ResourceInUse(inner),
8202            crate::operation::update_domain::UpdateDomainError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
8203            crate::operation::update_domain::UpdateDomainError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8204            crate::operation::update_domain::UpdateDomainError::Unhandled(inner) => Error::Unhandled(inner),
8205        }
8206    }
8207}
8208impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_endpoint::UpdateEndpointError, R>> for Error
8209where
8210    R: Send + Sync + std::fmt::Debug + 'static,
8211{
8212    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_endpoint::UpdateEndpointError, R>) -> Self {
8213        match err {
8214            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8215            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8216                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8217                source: err.into(),
8218            }),
8219        }
8220    }
8221}
8222impl From<crate::operation::update_endpoint::UpdateEndpointError> for Error {
8223    fn from(err: crate::operation::update_endpoint::UpdateEndpointError) -> Self {
8224        match err {
8225            crate::operation::update_endpoint::UpdateEndpointError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
8226            crate::operation::update_endpoint::UpdateEndpointError::Unhandled(inner) => Error::Unhandled(inner),
8227        }
8228    }
8229}
8230impl<R>
8231    From<
8232        ::aws_smithy_runtime_api::client::result::SdkError<
8233            crate::operation::update_endpoint_weights_and_capacities::UpdateEndpointWeightsAndCapacitiesError,
8234            R,
8235        >,
8236    > for Error
8237where
8238    R: Send + Sync + std::fmt::Debug + 'static,
8239{
8240    fn from(
8241        err: ::aws_smithy_runtime_api::client::result::SdkError<
8242            crate::operation::update_endpoint_weights_and_capacities::UpdateEndpointWeightsAndCapacitiesError,
8243            R,
8244        >,
8245    ) -> Self {
8246        match err {
8247            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8248            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8249                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8250                source: err.into(),
8251            }),
8252        }
8253    }
8254}
8255impl From<crate::operation::update_endpoint_weights_and_capacities::UpdateEndpointWeightsAndCapacitiesError> for Error {
8256    fn from(err: crate::operation::update_endpoint_weights_and_capacities::UpdateEndpointWeightsAndCapacitiesError) -> Self {
8257        match err {
8258            crate::operation::update_endpoint_weights_and_capacities::UpdateEndpointWeightsAndCapacitiesError::ResourceLimitExceeded(inner) => {
8259                Error::ResourceLimitExceeded(inner)
8260            }
8261            crate::operation::update_endpoint_weights_and_capacities::UpdateEndpointWeightsAndCapacitiesError::Unhandled(inner) => {
8262                Error::Unhandled(inner)
8263            }
8264        }
8265    }
8266}
8267impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_experiment::UpdateExperimentError, R>> for Error
8268where
8269    R: Send + Sync + std::fmt::Debug + 'static,
8270{
8271    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_experiment::UpdateExperimentError, R>) -> Self {
8272        match err {
8273            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8274            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8275                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8276                source: err.into(),
8277            }),
8278        }
8279    }
8280}
8281impl From<crate::operation::update_experiment::UpdateExperimentError> for Error {
8282    fn from(err: crate::operation::update_experiment::UpdateExperimentError) -> Self {
8283        match err {
8284            crate::operation::update_experiment::UpdateExperimentError::ConflictException(inner) => Error::ConflictException(inner),
8285            crate::operation::update_experiment::UpdateExperimentError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8286            crate::operation::update_experiment::UpdateExperimentError::Unhandled(inner) => Error::Unhandled(inner),
8287        }
8288    }
8289}
8290impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_feature_group::UpdateFeatureGroupError, R>> for Error
8291where
8292    R: Send + Sync + std::fmt::Debug + 'static,
8293{
8294    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_feature_group::UpdateFeatureGroupError, R>) -> Self {
8295        match err {
8296            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8297            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8298                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8299                source: err.into(),
8300            }),
8301        }
8302    }
8303}
8304impl From<crate::operation::update_feature_group::UpdateFeatureGroupError> for Error {
8305    fn from(err: crate::operation::update_feature_group::UpdateFeatureGroupError) -> Self {
8306        match err {
8307            crate::operation::update_feature_group::UpdateFeatureGroupError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
8308            crate::operation::update_feature_group::UpdateFeatureGroupError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8309            crate::operation::update_feature_group::UpdateFeatureGroupError::Unhandled(inner) => Error::Unhandled(inner),
8310        }
8311    }
8312}
8313impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_feature_metadata::UpdateFeatureMetadataError, R>> for Error
8314where
8315    R: Send + Sync + std::fmt::Debug + 'static,
8316{
8317    fn from(
8318        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_feature_metadata::UpdateFeatureMetadataError, R>,
8319    ) -> Self {
8320        match err {
8321            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8322            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8323                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8324                source: err.into(),
8325            }),
8326        }
8327    }
8328}
8329impl From<crate::operation::update_feature_metadata::UpdateFeatureMetadataError> for Error {
8330    fn from(err: crate::operation::update_feature_metadata::UpdateFeatureMetadataError) -> Self {
8331        match err {
8332            crate::operation::update_feature_metadata::UpdateFeatureMetadataError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8333            crate::operation::update_feature_metadata::UpdateFeatureMetadataError::Unhandled(inner) => Error::Unhandled(inner),
8334        }
8335    }
8336}
8337impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_hub::UpdateHubError, R>> for Error
8338where
8339    R: Send + Sync + std::fmt::Debug + 'static,
8340{
8341    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_hub::UpdateHubError, R>) -> Self {
8342        match err {
8343            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8344            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8345                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8346                source: err.into(),
8347            }),
8348        }
8349    }
8350}
8351impl From<crate::operation::update_hub::UpdateHubError> for Error {
8352    fn from(err: crate::operation::update_hub::UpdateHubError) -> Self {
8353        match err {
8354            crate::operation::update_hub::UpdateHubError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8355            crate::operation::update_hub::UpdateHubError::Unhandled(inner) => Error::Unhandled(inner),
8356        }
8357    }
8358}
8359impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_hub_content::UpdateHubContentError, R>> for Error
8360where
8361    R: Send + Sync + std::fmt::Debug + 'static,
8362{
8363    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_hub_content::UpdateHubContentError, R>) -> Self {
8364        match err {
8365            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8366            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8367                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8368                source: err.into(),
8369            }),
8370        }
8371    }
8372}
8373impl From<crate::operation::update_hub_content::UpdateHubContentError> for Error {
8374    fn from(err: crate::operation::update_hub_content::UpdateHubContentError) -> Self {
8375        match err {
8376            crate::operation::update_hub_content::UpdateHubContentError::ResourceInUse(inner) => Error::ResourceInUse(inner),
8377            crate::operation::update_hub_content::UpdateHubContentError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8378            crate::operation::update_hub_content::UpdateHubContentError::Unhandled(inner) => Error::Unhandled(inner),
8379        }
8380    }
8381}
8382impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_hub_content_reference::UpdateHubContentReferenceError, R>>
8383    for Error
8384where
8385    R: Send + Sync + std::fmt::Debug + 'static,
8386{
8387    fn from(
8388        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_hub_content_reference::UpdateHubContentReferenceError, R>,
8389    ) -> Self {
8390        match err {
8391            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8392            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8393                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8394                source: err.into(),
8395            }),
8396        }
8397    }
8398}
8399impl From<crate::operation::update_hub_content_reference::UpdateHubContentReferenceError> for Error {
8400    fn from(err: crate::operation::update_hub_content_reference::UpdateHubContentReferenceError) -> Self {
8401        match err {
8402            crate::operation::update_hub_content_reference::UpdateHubContentReferenceError::ResourceInUse(inner) => Error::ResourceInUse(inner),
8403            crate::operation::update_hub_content_reference::UpdateHubContentReferenceError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8404            crate::operation::update_hub_content_reference::UpdateHubContentReferenceError::Unhandled(inner) => Error::Unhandled(inner),
8405        }
8406    }
8407}
8408impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_image::UpdateImageError, R>> for Error
8409where
8410    R: Send + Sync + std::fmt::Debug + 'static,
8411{
8412    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_image::UpdateImageError, R>) -> Self {
8413        match err {
8414            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8415            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8416                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8417                source: err.into(),
8418            }),
8419        }
8420    }
8421}
8422impl From<crate::operation::update_image::UpdateImageError> for Error {
8423    fn from(err: crate::operation::update_image::UpdateImageError) -> Self {
8424        match err {
8425            crate::operation::update_image::UpdateImageError::ResourceInUse(inner) => Error::ResourceInUse(inner),
8426            crate::operation::update_image::UpdateImageError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8427            crate::operation::update_image::UpdateImageError::Unhandled(inner) => Error::Unhandled(inner),
8428        }
8429    }
8430}
8431impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_image_version::UpdateImageVersionError, R>> for Error
8432where
8433    R: Send + Sync + std::fmt::Debug + 'static,
8434{
8435    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_image_version::UpdateImageVersionError, R>) -> Self {
8436        match err {
8437            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8438            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8439                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8440                source: err.into(),
8441            }),
8442        }
8443    }
8444}
8445impl From<crate::operation::update_image_version::UpdateImageVersionError> for Error {
8446    fn from(err: crate::operation::update_image_version::UpdateImageVersionError) -> Self {
8447        match err {
8448            crate::operation::update_image_version::UpdateImageVersionError::ResourceInUse(inner) => Error::ResourceInUse(inner),
8449            crate::operation::update_image_version::UpdateImageVersionError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8450            crate::operation::update_image_version::UpdateImageVersionError::Unhandled(inner) => Error::Unhandled(inner),
8451        }
8452    }
8453}
8454impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_inference_component::UpdateInferenceComponentError, R>>
8455    for Error
8456where
8457    R: Send + Sync + std::fmt::Debug + 'static,
8458{
8459    fn from(
8460        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_inference_component::UpdateInferenceComponentError, R>,
8461    ) -> Self {
8462        match err {
8463            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8464            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8465                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8466                source: err.into(),
8467            }),
8468        }
8469    }
8470}
8471impl From<crate::operation::update_inference_component::UpdateInferenceComponentError> for Error {
8472    fn from(err: crate::operation::update_inference_component::UpdateInferenceComponentError) -> Self {
8473        match err {
8474            crate::operation::update_inference_component::UpdateInferenceComponentError::ResourceLimitExceeded(inner) => {
8475                Error::ResourceLimitExceeded(inner)
8476            }
8477            crate::operation::update_inference_component::UpdateInferenceComponentError::Unhandled(inner) => Error::Unhandled(inner),
8478        }
8479    }
8480}
8481impl<R>
8482    From<
8483        ::aws_smithy_runtime_api::client::result::SdkError<
8484            crate::operation::update_inference_component_runtime_config::UpdateInferenceComponentRuntimeConfigError,
8485            R,
8486        >,
8487    > for Error
8488where
8489    R: Send + Sync + std::fmt::Debug + 'static,
8490{
8491    fn from(
8492        err: ::aws_smithy_runtime_api::client::result::SdkError<
8493            crate::operation::update_inference_component_runtime_config::UpdateInferenceComponentRuntimeConfigError,
8494            R,
8495        >,
8496    ) -> Self {
8497        match err {
8498            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8499            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8500                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8501                source: err.into(),
8502            }),
8503        }
8504    }
8505}
8506impl From<crate::operation::update_inference_component_runtime_config::UpdateInferenceComponentRuntimeConfigError> for Error {
8507    fn from(err: crate::operation::update_inference_component_runtime_config::UpdateInferenceComponentRuntimeConfigError) -> Self {
8508        match err {
8509            crate::operation::update_inference_component_runtime_config::UpdateInferenceComponentRuntimeConfigError::ResourceLimitExceeded(inner) => {
8510                Error::ResourceLimitExceeded(inner)
8511            }
8512            crate::operation::update_inference_component_runtime_config::UpdateInferenceComponentRuntimeConfigError::Unhandled(inner) => {
8513                Error::Unhandled(inner)
8514            }
8515        }
8516    }
8517}
8518impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_inference_experiment::UpdateInferenceExperimentError, R>>
8519    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_inference_experiment::UpdateInferenceExperimentError, 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_inference_experiment::UpdateInferenceExperimentError> for Error {
8536    fn from(err: crate::operation::update_inference_experiment::UpdateInferenceExperimentError) -> Self {
8537        match err {
8538            crate::operation::update_inference_experiment::UpdateInferenceExperimentError::ConflictException(inner) => {
8539                Error::ConflictException(inner)
8540            }
8541            crate::operation::update_inference_experiment::UpdateInferenceExperimentError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8542            crate::operation::update_inference_experiment::UpdateInferenceExperimentError::Unhandled(inner) => Error::Unhandled(inner),
8543        }
8544    }
8545}
8546impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_mlflow_tracking_server::UpdateMlflowTrackingServerError, R>>
8547    for Error
8548where
8549    R: Send + Sync + std::fmt::Debug + 'static,
8550{
8551    fn from(
8552        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_mlflow_tracking_server::UpdateMlflowTrackingServerError, R>,
8553    ) -> Self {
8554        match err {
8555            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8556            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8557                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8558                source: err.into(),
8559            }),
8560        }
8561    }
8562}
8563impl From<crate::operation::update_mlflow_tracking_server::UpdateMlflowTrackingServerError> for Error {
8564    fn from(err: crate::operation::update_mlflow_tracking_server::UpdateMlflowTrackingServerError) -> Self {
8565        match err {
8566            crate::operation::update_mlflow_tracking_server::UpdateMlflowTrackingServerError::ConflictException(inner) => {
8567                Error::ConflictException(inner)
8568            }
8569            crate::operation::update_mlflow_tracking_server::UpdateMlflowTrackingServerError::ResourceLimitExceeded(inner) => {
8570                Error::ResourceLimitExceeded(inner)
8571            }
8572            crate::operation::update_mlflow_tracking_server::UpdateMlflowTrackingServerError::ResourceNotFound(inner) => {
8573                Error::ResourceNotFound(inner)
8574            }
8575            crate::operation::update_mlflow_tracking_server::UpdateMlflowTrackingServerError::Unhandled(inner) => Error::Unhandled(inner),
8576        }
8577    }
8578}
8579impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_model_card::UpdateModelCardError, R>> for Error
8580where
8581    R: Send + Sync + std::fmt::Debug + 'static,
8582{
8583    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_model_card::UpdateModelCardError, R>) -> Self {
8584        match err {
8585            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8586            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8587                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8588                source: err.into(),
8589            }),
8590        }
8591    }
8592}
8593impl From<crate::operation::update_model_card::UpdateModelCardError> for Error {
8594    fn from(err: crate::operation::update_model_card::UpdateModelCardError) -> Self {
8595        match err {
8596            crate::operation::update_model_card::UpdateModelCardError::ConflictException(inner) => Error::ConflictException(inner),
8597            crate::operation::update_model_card::UpdateModelCardError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
8598            crate::operation::update_model_card::UpdateModelCardError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8599            crate::operation::update_model_card::UpdateModelCardError::Unhandled(inner) => Error::Unhandled(inner),
8600        }
8601    }
8602}
8603impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_model_package::UpdateModelPackageError, R>> for Error
8604where
8605    R: Send + Sync + std::fmt::Debug + 'static,
8606{
8607    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_model_package::UpdateModelPackageError, R>) -> Self {
8608        match err {
8609            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8610            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8611                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8612                source: err.into(),
8613            }),
8614        }
8615    }
8616}
8617impl From<crate::operation::update_model_package::UpdateModelPackageError> for Error {
8618    fn from(err: crate::operation::update_model_package::UpdateModelPackageError) -> Self {
8619        match err {
8620            crate::operation::update_model_package::UpdateModelPackageError::ConflictException(inner) => Error::ConflictException(inner),
8621            crate::operation::update_model_package::UpdateModelPackageError::Unhandled(inner) => Error::Unhandled(inner),
8622        }
8623    }
8624}
8625impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_monitoring_alert::UpdateMonitoringAlertError, R>> for Error
8626where
8627    R: Send + Sync + std::fmt::Debug + 'static,
8628{
8629    fn from(
8630        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_monitoring_alert::UpdateMonitoringAlertError, R>,
8631    ) -> Self {
8632        match err {
8633            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8634            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8635                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8636                source: err.into(),
8637            }),
8638        }
8639    }
8640}
8641impl From<crate::operation::update_monitoring_alert::UpdateMonitoringAlertError> for Error {
8642    fn from(err: crate::operation::update_monitoring_alert::UpdateMonitoringAlertError) -> Self {
8643        match err {
8644            crate::operation::update_monitoring_alert::UpdateMonitoringAlertError::ResourceLimitExceeded(inner) => {
8645                Error::ResourceLimitExceeded(inner)
8646            }
8647            crate::operation::update_monitoring_alert::UpdateMonitoringAlertError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8648            crate::operation::update_monitoring_alert::UpdateMonitoringAlertError::Unhandled(inner) => Error::Unhandled(inner),
8649        }
8650    }
8651}
8652impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_monitoring_schedule::UpdateMonitoringScheduleError, R>>
8653    for Error
8654where
8655    R: Send + Sync + std::fmt::Debug + 'static,
8656{
8657    fn from(
8658        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_monitoring_schedule::UpdateMonitoringScheduleError, R>,
8659    ) -> Self {
8660        match err {
8661            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8662            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8663                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8664                source: err.into(),
8665            }),
8666        }
8667    }
8668}
8669impl From<crate::operation::update_monitoring_schedule::UpdateMonitoringScheduleError> for Error {
8670    fn from(err: crate::operation::update_monitoring_schedule::UpdateMonitoringScheduleError) -> Self {
8671        match err {
8672            crate::operation::update_monitoring_schedule::UpdateMonitoringScheduleError::ResourceLimitExceeded(inner) => {
8673                Error::ResourceLimitExceeded(inner)
8674            }
8675            crate::operation::update_monitoring_schedule::UpdateMonitoringScheduleError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8676            crate::operation::update_monitoring_schedule::UpdateMonitoringScheduleError::Unhandled(inner) => Error::Unhandled(inner),
8677        }
8678    }
8679}
8680impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_notebook_instance::UpdateNotebookInstanceError, R>> for Error
8681where
8682    R: Send + Sync + std::fmt::Debug + 'static,
8683{
8684    fn from(
8685        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_notebook_instance::UpdateNotebookInstanceError, R>,
8686    ) -> Self {
8687        match err {
8688            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8689            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8690                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8691                source: err.into(),
8692            }),
8693        }
8694    }
8695}
8696impl From<crate::operation::update_notebook_instance::UpdateNotebookInstanceError> for Error {
8697    fn from(err: crate::operation::update_notebook_instance::UpdateNotebookInstanceError) -> Self {
8698        match err {
8699            crate::operation::update_notebook_instance::UpdateNotebookInstanceError::ResourceLimitExceeded(inner) => {
8700                Error::ResourceLimitExceeded(inner)
8701            }
8702            crate::operation::update_notebook_instance::UpdateNotebookInstanceError::Unhandled(inner) => Error::Unhandled(inner),
8703        }
8704    }
8705}
8706impl<R>
8707    From<
8708        ::aws_smithy_runtime_api::client::result::SdkError<
8709            crate::operation::update_notebook_instance_lifecycle_config::UpdateNotebookInstanceLifecycleConfigError,
8710            R,
8711        >,
8712    > for Error
8713where
8714    R: Send + Sync + std::fmt::Debug + 'static,
8715{
8716    fn from(
8717        err: ::aws_smithy_runtime_api::client::result::SdkError<
8718            crate::operation::update_notebook_instance_lifecycle_config::UpdateNotebookInstanceLifecycleConfigError,
8719            R,
8720        >,
8721    ) -> Self {
8722        match err {
8723            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8724            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8725                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8726                source: err.into(),
8727            }),
8728        }
8729    }
8730}
8731impl From<crate::operation::update_notebook_instance_lifecycle_config::UpdateNotebookInstanceLifecycleConfigError> for Error {
8732    fn from(err: crate::operation::update_notebook_instance_lifecycle_config::UpdateNotebookInstanceLifecycleConfigError) -> Self {
8733        match err {
8734            crate::operation::update_notebook_instance_lifecycle_config::UpdateNotebookInstanceLifecycleConfigError::ResourceLimitExceeded(inner) => {
8735                Error::ResourceLimitExceeded(inner)
8736            }
8737            crate::operation::update_notebook_instance_lifecycle_config::UpdateNotebookInstanceLifecycleConfigError::Unhandled(inner) => {
8738                Error::Unhandled(inner)
8739            }
8740        }
8741    }
8742}
8743impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_partner_app::UpdatePartnerAppError, R>> for Error
8744where
8745    R: Send + Sync + std::fmt::Debug + 'static,
8746{
8747    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_partner_app::UpdatePartnerAppError, R>) -> Self {
8748        match err {
8749            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8750            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8751                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8752                source: err.into(),
8753            }),
8754        }
8755    }
8756}
8757impl From<crate::operation::update_partner_app::UpdatePartnerAppError> for Error {
8758    fn from(err: crate::operation::update_partner_app::UpdatePartnerAppError) -> Self {
8759        match err {
8760            crate::operation::update_partner_app::UpdatePartnerAppError::ConflictException(inner) => Error::ConflictException(inner),
8761            crate::operation::update_partner_app::UpdatePartnerAppError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8762            crate::operation::update_partner_app::UpdatePartnerAppError::Unhandled(inner) => Error::Unhandled(inner),
8763        }
8764    }
8765}
8766impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_pipeline::UpdatePipelineError, R>> for Error
8767where
8768    R: Send + Sync + std::fmt::Debug + 'static,
8769{
8770    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_pipeline::UpdatePipelineError, R>) -> Self {
8771        match err {
8772            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8773            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8774                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8775                source: err.into(),
8776            }),
8777        }
8778    }
8779}
8780impl From<crate::operation::update_pipeline::UpdatePipelineError> for Error {
8781    fn from(err: crate::operation::update_pipeline::UpdatePipelineError) -> Self {
8782        match err {
8783            crate::operation::update_pipeline::UpdatePipelineError::ConflictException(inner) => Error::ConflictException(inner),
8784            crate::operation::update_pipeline::UpdatePipelineError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8785            crate::operation::update_pipeline::UpdatePipelineError::Unhandled(inner) => Error::Unhandled(inner),
8786        }
8787    }
8788}
8789impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_pipeline_execution::UpdatePipelineExecutionError, R>>
8790    for Error
8791where
8792    R: Send + Sync + std::fmt::Debug + 'static,
8793{
8794    fn from(
8795        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_pipeline_execution::UpdatePipelineExecutionError, R>,
8796    ) -> Self {
8797        match err {
8798            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8799            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8800                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8801                source: err.into(),
8802            }),
8803        }
8804    }
8805}
8806impl From<crate::operation::update_pipeline_execution::UpdatePipelineExecutionError> for Error {
8807    fn from(err: crate::operation::update_pipeline_execution::UpdatePipelineExecutionError) -> Self {
8808        match err {
8809            crate::operation::update_pipeline_execution::UpdatePipelineExecutionError::ConflictException(inner) => Error::ConflictException(inner),
8810            crate::operation::update_pipeline_execution::UpdatePipelineExecutionError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8811            crate::operation::update_pipeline_execution::UpdatePipelineExecutionError::Unhandled(inner) => Error::Unhandled(inner),
8812        }
8813    }
8814}
8815impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_project::UpdateProjectError, R>> for Error
8816where
8817    R: Send + Sync + std::fmt::Debug + 'static,
8818{
8819    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_project::UpdateProjectError, R>) -> Self {
8820        match err {
8821            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8822            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8823                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8824                source: err.into(),
8825            }),
8826        }
8827    }
8828}
8829impl From<crate::operation::update_project::UpdateProjectError> for Error {
8830    fn from(err: crate::operation::update_project::UpdateProjectError) -> Self {
8831        match err {
8832            crate::operation::update_project::UpdateProjectError::ConflictException(inner) => Error::ConflictException(inner),
8833            crate::operation::update_project::UpdateProjectError::Unhandled(inner) => Error::Unhandled(inner),
8834        }
8835    }
8836}
8837impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_space::UpdateSpaceError, R>> for Error
8838where
8839    R: Send + Sync + std::fmt::Debug + 'static,
8840{
8841    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_space::UpdateSpaceError, R>) -> Self {
8842        match err {
8843            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8844            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8845                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8846                source: err.into(),
8847            }),
8848        }
8849    }
8850}
8851impl From<crate::operation::update_space::UpdateSpaceError> for Error {
8852    fn from(err: crate::operation::update_space::UpdateSpaceError) -> Self {
8853        match err {
8854            crate::operation::update_space::UpdateSpaceError::ResourceInUse(inner) => Error::ResourceInUse(inner),
8855            crate::operation::update_space::UpdateSpaceError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
8856            crate::operation::update_space::UpdateSpaceError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8857            crate::operation::update_space::UpdateSpaceError::Unhandled(inner) => Error::Unhandled(inner),
8858        }
8859    }
8860}
8861impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_training_job::UpdateTrainingJobError, R>> for Error
8862where
8863    R: Send + Sync + std::fmt::Debug + 'static,
8864{
8865    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_training_job::UpdateTrainingJobError, R>) -> Self {
8866        match err {
8867            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8868            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8869                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8870                source: err.into(),
8871            }),
8872        }
8873    }
8874}
8875impl From<crate::operation::update_training_job::UpdateTrainingJobError> for Error {
8876    fn from(err: crate::operation::update_training_job::UpdateTrainingJobError) -> Self {
8877        match err {
8878            crate::operation::update_training_job::UpdateTrainingJobError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
8879            crate::operation::update_training_job::UpdateTrainingJobError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8880            crate::operation::update_training_job::UpdateTrainingJobError::Unhandled(inner) => Error::Unhandled(inner),
8881        }
8882    }
8883}
8884impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_trial::UpdateTrialError, R>> for Error
8885where
8886    R: Send + Sync + std::fmt::Debug + 'static,
8887{
8888    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_trial::UpdateTrialError, R>) -> Self {
8889        match err {
8890            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8891            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8892                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8893                source: err.into(),
8894            }),
8895        }
8896    }
8897}
8898impl From<crate::operation::update_trial::UpdateTrialError> for Error {
8899    fn from(err: crate::operation::update_trial::UpdateTrialError) -> Self {
8900        match err {
8901            crate::operation::update_trial::UpdateTrialError::ConflictException(inner) => Error::ConflictException(inner),
8902            crate::operation::update_trial::UpdateTrialError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8903            crate::operation::update_trial::UpdateTrialError::Unhandled(inner) => Error::Unhandled(inner),
8904        }
8905    }
8906}
8907impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_trial_component::UpdateTrialComponentError, R>> for Error
8908where
8909    R: Send + Sync + std::fmt::Debug + 'static,
8910{
8911    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_trial_component::UpdateTrialComponentError, R>) -> Self {
8912        match err {
8913            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8914            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8915                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8916                source: err.into(),
8917            }),
8918        }
8919    }
8920}
8921impl From<crate::operation::update_trial_component::UpdateTrialComponentError> for Error {
8922    fn from(err: crate::operation::update_trial_component::UpdateTrialComponentError) -> Self {
8923        match err {
8924            crate::operation::update_trial_component::UpdateTrialComponentError::ConflictException(inner) => Error::ConflictException(inner),
8925            crate::operation::update_trial_component::UpdateTrialComponentError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8926            crate::operation::update_trial_component::UpdateTrialComponentError::Unhandled(inner) => Error::Unhandled(inner),
8927        }
8928    }
8929}
8930impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_user_profile::UpdateUserProfileError, R>> for Error
8931where
8932    R: Send + Sync + std::fmt::Debug + 'static,
8933{
8934    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_user_profile::UpdateUserProfileError, R>) -> Self {
8935        match err {
8936            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8937            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8938                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8939                source: err.into(),
8940            }),
8941        }
8942    }
8943}
8944impl From<crate::operation::update_user_profile::UpdateUserProfileError> for Error {
8945    fn from(err: crate::operation::update_user_profile::UpdateUserProfileError) -> Self {
8946        match err {
8947            crate::operation::update_user_profile::UpdateUserProfileError::ResourceInUse(inner) => Error::ResourceInUse(inner),
8948            crate::operation::update_user_profile::UpdateUserProfileError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
8949            crate::operation::update_user_profile::UpdateUserProfileError::ResourceNotFound(inner) => Error::ResourceNotFound(inner),
8950            crate::operation::update_user_profile::UpdateUserProfileError::Unhandled(inner) => Error::Unhandled(inner),
8951        }
8952    }
8953}
8954impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_workforce::UpdateWorkforceError, R>> for Error
8955where
8956    R: Send + Sync + std::fmt::Debug + 'static,
8957{
8958    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_workforce::UpdateWorkforceError, R>) -> Self {
8959        match err {
8960            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8961            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8962                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8963                source: err.into(),
8964            }),
8965        }
8966    }
8967}
8968impl From<crate::operation::update_workforce::UpdateWorkforceError> for Error {
8969    fn from(err: crate::operation::update_workforce::UpdateWorkforceError) -> Self {
8970        match err {
8971            crate::operation::update_workforce::UpdateWorkforceError::ConflictException(inner) => Error::ConflictException(inner),
8972            crate::operation::update_workforce::UpdateWorkforceError::Unhandled(inner) => Error::Unhandled(inner),
8973        }
8974    }
8975}
8976impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_workteam::UpdateWorkteamError, R>> for Error
8977where
8978    R: Send + Sync + std::fmt::Debug + 'static,
8979{
8980    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_workteam::UpdateWorkteamError, R>) -> Self {
8981        match err {
8982            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8983            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8984                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8985                source: err.into(),
8986            }),
8987        }
8988    }
8989}
8990impl From<crate::operation::update_workteam::UpdateWorkteamError> for Error {
8991    fn from(err: crate::operation::update_workteam::UpdateWorkteamError) -> Self {
8992        match err {
8993            crate::operation::update_workteam::UpdateWorkteamError::ResourceLimitExceeded(inner) => Error::ResourceLimitExceeded(inner),
8994            crate::operation::update_workteam::UpdateWorkteamError::Unhandled(inner) => Error::Unhandled(inner),
8995        }
8996    }
8997}
8998impl<O, E> ::std::convert::From<::aws_smithy_runtime_api::client::waiters::error::WaiterError<O, E>> for Error
8999where
9000    O: ::std::fmt::Debug + ::std::marker::Send + ::std::marker::Sync + 'static,
9001    E: ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static,
9002{
9003    fn from(err: ::aws_smithy_runtime_api::client::waiters::error::WaiterError<O, E>) -> Self {
9004        Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9005            meta: ::std::default::Default::default(),
9006            source: err.into(),
9007        })
9008    }
9009}
9010impl ::std::error::Error for Error {
9011    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
9012        match self {
9013            Error::ConflictException(inner) => inner.source(),
9014            Error::ResourceInUse(inner) => inner.source(),
9015            Error::ResourceLimitExceeded(inner) => inner.source(),
9016            Error::ResourceNotFound(inner) => inner.source(),
9017            Error::Unhandled(inner) => ::std::option::Option::Some(&*inner.source),
9018        }
9019    }
9020}
9021impl ::aws_types::request_id::RequestId for Error {
9022    fn request_id(&self) -> Option<&str> {
9023        match self {
9024            Self::ConflictException(e) => e.request_id(),
9025            Self::ResourceInUse(e) => e.request_id(),
9026            Self::ResourceLimitExceeded(e) => e.request_id(),
9027            Self::ResourceNotFound(e) => e.request_id(),
9028            Self::Unhandled(e) => e.meta.request_id(),
9029        }
9030    }
9031}