Skip to main content

aws_sdk_omics/
error_meta.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2/// All possible error types for this service.
3#[non_exhaustive]
4#[derive(::std::fmt::Debug)]
5pub enum Error {
6    /// <p>You do not have sufficient access to perform this action.</p>
7    AccessDeniedException(crate::types::error::AccessDeniedException),
8    /// <p>The request cannot be applied to the target resource in its current state.</p>
9    ConflictException(crate::types::error::ConflictException),
10    /// <p>An unexpected error occurred. Try the request again.</p>
11    InternalServerException(crate::types::error::InternalServerException),
12    /// <p>The operation is not supported by Amazon Omics, or the API does not exist.</p>
13    NotSupportedOperationException(crate::types::error::NotSupportedOperationException),
14    /// <p>The ranges specified in the request are not valid.</p>
15    RangeNotSatisfiableException(crate::types::error::RangeNotSatisfiableException),
16    /// <p>The request timed out.</p>
17    RequestTimeoutException(crate::types::error::RequestTimeoutException),
18    /// <p>The target resource was not found in the current Region.</p>
19    ResourceNotFoundException(crate::types::error::ResourceNotFoundException),
20    /// <p>The request exceeds a service quota.</p>
21    ServiceQuotaExceededException(crate::types::error::ServiceQuotaExceededException),
22    /// <p>The request was denied due to request throttling.</p>
23    ThrottlingException(crate::types::error::ThrottlingException),
24    /// <p>The input fails to satisfy the constraints specified by an AWS service.</p>
25    ValidationException(crate::types::error::ValidationException),
26    /// An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
27    #[deprecated(note = "Matching `Unhandled` directly is not forwards compatible. Instead, match using a \
28    variable wildcard pattern and check `.code()`:
29     \
30    &nbsp;&nbsp;&nbsp;`err if err.code() == Some(\"SpecificExceptionCode\") => { /* handle the error */ }`
31     \
32    See [`ProvideErrorMetadata`](#impl-ProvideErrorMetadata-for-Error) for what information is available for the error.")]
33    Unhandled(crate::error::sealed_unhandled::Unhandled),
34}
35impl ::std::fmt::Display for Error {
36    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
37        match self {
38            Error::AccessDeniedException(inner) => inner.fmt(f),
39            Error::ConflictException(inner) => inner.fmt(f),
40            Error::InternalServerException(inner) => inner.fmt(f),
41            Error::NotSupportedOperationException(inner) => inner.fmt(f),
42            Error::RangeNotSatisfiableException(inner) => inner.fmt(f),
43            Error::RequestTimeoutException(inner) => inner.fmt(f),
44            Error::ResourceNotFoundException(inner) => inner.fmt(f),
45            Error::ServiceQuotaExceededException(inner) => inner.fmt(f),
46            Error::ThrottlingException(inner) => inner.fmt(f),
47            Error::ValidationException(inner) => inner.fmt(f),
48            Error::Unhandled(_) => {
49                if let ::std::option::Option::Some(code) = ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self) {
50                    write!(f, "unhandled error ({code})")
51                } else {
52                    f.write_str("unhandled error")
53                }
54            }
55        }
56    }
57}
58impl From<::aws_smithy_types::error::operation::BuildError> for Error {
59    fn from(value: ::aws_smithy_types::error::operation::BuildError) -> Self {
60        Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
61            source: value.into(),
62            meta: ::std::default::Default::default(),
63        })
64    }
65}
66impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for Error {
67    fn meta(&self) -> &::aws_smithy_types::error::metadata::ErrorMetadata {
68        match self {
69            Self::AccessDeniedException(inner) => inner.meta(),
70            Self::ConflictException(inner) => inner.meta(),
71            Self::InternalServerException(inner) => inner.meta(),
72            Self::NotSupportedOperationException(inner) => inner.meta(),
73            Self::RangeNotSatisfiableException(inner) => inner.meta(),
74            Self::RequestTimeoutException(inner) => inner.meta(),
75            Self::ResourceNotFoundException(inner) => inner.meta(),
76            Self::ServiceQuotaExceededException(inner) => inner.meta(),
77            Self::ThrottlingException(inner) => inner.meta(),
78            Self::ValidationException(inner) => inner.meta(),
79            Self::Unhandled(inner) => &inner.meta,
80        }
81    }
82}
83impl<R>
84    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::abort_multipart_read_set_upload::AbortMultipartReadSetUploadError, R>>
85    for Error
86where
87    R: Send + Sync + std::fmt::Debug + 'static,
88{
89    fn from(
90        err: ::aws_smithy_runtime_api::client::result::SdkError<
91            crate::operation::abort_multipart_read_set_upload::AbortMultipartReadSetUploadError,
92            R,
93        >,
94    ) -> Self {
95        match err {
96            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
97            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
98                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
99                source: err.into(),
100            }),
101        }
102    }
103}
104impl From<crate::operation::abort_multipart_read_set_upload::AbortMultipartReadSetUploadError> for Error {
105    fn from(err: crate::operation::abort_multipart_read_set_upload::AbortMultipartReadSetUploadError) -> Self {
106        match err {
107            crate::operation::abort_multipart_read_set_upload::AbortMultipartReadSetUploadError::AccessDeniedException(inner) => {
108                Error::AccessDeniedException(inner)
109            }
110            crate::operation::abort_multipart_read_set_upload::AbortMultipartReadSetUploadError::InternalServerException(inner) => {
111                Error::InternalServerException(inner)
112            }
113            crate::operation::abort_multipart_read_set_upload::AbortMultipartReadSetUploadError::NotSupportedOperationException(inner) => {
114                Error::NotSupportedOperationException(inner)
115            }
116            crate::operation::abort_multipart_read_set_upload::AbortMultipartReadSetUploadError::RequestTimeoutException(inner) => {
117                Error::RequestTimeoutException(inner)
118            }
119            crate::operation::abort_multipart_read_set_upload::AbortMultipartReadSetUploadError::ResourceNotFoundException(inner) => {
120                Error::ResourceNotFoundException(inner)
121            }
122            crate::operation::abort_multipart_read_set_upload::AbortMultipartReadSetUploadError::ServiceQuotaExceededException(inner) => {
123                Error::ServiceQuotaExceededException(inner)
124            }
125            crate::operation::abort_multipart_read_set_upload::AbortMultipartReadSetUploadError::ThrottlingException(inner) => {
126                Error::ThrottlingException(inner)
127            }
128            crate::operation::abort_multipart_read_set_upload::AbortMultipartReadSetUploadError::ValidationException(inner) => {
129                Error::ValidationException(inner)
130            }
131            crate::operation::abort_multipart_read_set_upload::AbortMultipartReadSetUploadError::Unhandled(inner) => Error::Unhandled(inner),
132        }
133    }
134}
135impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::accept_share::AcceptShareError, R>> for Error
136where
137    R: Send + Sync + std::fmt::Debug + 'static,
138{
139    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::accept_share::AcceptShareError, R>) -> Self {
140        match err {
141            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
142            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
143                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
144                source: err.into(),
145            }),
146        }
147    }
148}
149impl From<crate::operation::accept_share::AcceptShareError> for Error {
150    fn from(err: crate::operation::accept_share::AcceptShareError) -> Self {
151        match err {
152            crate::operation::accept_share::AcceptShareError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
153            crate::operation::accept_share::AcceptShareError::ConflictException(inner) => Error::ConflictException(inner),
154            crate::operation::accept_share::AcceptShareError::InternalServerException(inner) => Error::InternalServerException(inner),
155            crate::operation::accept_share::AcceptShareError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
156            crate::operation::accept_share::AcceptShareError::ServiceQuotaExceededException(inner) => Error::ServiceQuotaExceededException(inner),
157            crate::operation::accept_share::AcceptShareError::ThrottlingException(inner) => Error::ThrottlingException(inner),
158            crate::operation::accept_share::AcceptShareError::ValidationException(inner) => Error::ValidationException(inner),
159            crate::operation::accept_share::AcceptShareError::Unhandled(inner) => Error::Unhandled(inner),
160        }
161    }
162}
163impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_delete_read_set::BatchDeleteReadSetError, R>> for Error
164where
165    R: Send + Sync + std::fmt::Debug + 'static,
166{
167    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_delete_read_set::BatchDeleteReadSetError, R>) -> Self {
168        match err {
169            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
170            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
171                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
172                source: err.into(),
173            }),
174        }
175    }
176}
177impl From<crate::operation::batch_delete_read_set::BatchDeleteReadSetError> for Error {
178    fn from(err: crate::operation::batch_delete_read_set::BatchDeleteReadSetError) -> Self {
179        match err {
180            crate::operation::batch_delete_read_set::BatchDeleteReadSetError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
181            crate::operation::batch_delete_read_set::BatchDeleteReadSetError::InternalServerException(inner) => Error::InternalServerException(inner),
182            crate::operation::batch_delete_read_set::BatchDeleteReadSetError::RequestTimeoutException(inner) => Error::RequestTimeoutException(inner),
183            crate::operation::batch_delete_read_set::BatchDeleteReadSetError::ResourceNotFoundException(inner) => {
184                Error::ResourceNotFoundException(inner)
185            }
186            crate::operation::batch_delete_read_set::BatchDeleteReadSetError::ThrottlingException(inner) => Error::ThrottlingException(inner),
187            crate::operation::batch_delete_read_set::BatchDeleteReadSetError::ValidationException(inner) => Error::ValidationException(inner),
188            crate::operation::batch_delete_read_set::BatchDeleteReadSetError::Unhandled(inner) => Error::Unhandled(inner),
189        }
190    }
191}
192impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_annotation_import_job::CancelAnnotationImportJobError, R>>
193    for Error
194where
195    R: Send + Sync + std::fmt::Debug + 'static,
196{
197    fn from(
198        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_annotation_import_job::CancelAnnotationImportJobError, R>,
199    ) -> Self {
200        match err {
201            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
202            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
203                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
204                source: err.into(),
205            }),
206        }
207    }
208}
209impl From<crate::operation::cancel_annotation_import_job::CancelAnnotationImportJobError> for Error {
210    fn from(err: crate::operation::cancel_annotation_import_job::CancelAnnotationImportJobError) -> Self {
211        match err {
212            crate::operation::cancel_annotation_import_job::CancelAnnotationImportJobError::AccessDeniedException(inner) => {
213                Error::AccessDeniedException(inner)
214            }
215            crate::operation::cancel_annotation_import_job::CancelAnnotationImportJobError::InternalServerException(inner) => {
216                Error::InternalServerException(inner)
217            }
218            crate::operation::cancel_annotation_import_job::CancelAnnotationImportJobError::ResourceNotFoundException(inner) => {
219                Error::ResourceNotFoundException(inner)
220            }
221            crate::operation::cancel_annotation_import_job::CancelAnnotationImportJobError::ThrottlingException(inner) => {
222                Error::ThrottlingException(inner)
223            }
224            crate::operation::cancel_annotation_import_job::CancelAnnotationImportJobError::ValidationException(inner) => {
225                Error::ValidationException(inner)
226            }
227            crate::operation::cancel_annotation_import_job::CancelAnnotationImportJobError::Unhandled(inner) => Error::Unhandled(inner),
228        }
229    }
230}
231impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_run::CancelRunError, R>> for Error
232where
233    R: Send + Sync + std::fmt::Debug + 'static,
234{
235    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_run::CancelRunError, R>) -> Self {
236        match err {
237            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
238            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
239                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
240                source: err.into(),
241            }),
242        }
243    }
244}
245impl From<crate::operation::cancel_run::CancelRunError> for Error {
246    fn from(err: crate::operation::cancel_run::CancelRunError) -> Self {
247        match err {
248            crate::operation::cancel_run::CancelRunError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
249            crate::operation::cancel_run::CancelRunError::ConflictException(inner) => Error::ConflictException(inner),
250            crate::operation::cancel_run::CancelRunError::InternalServerException(inner) => Error::InternalServerException(inner),
251            crate::operation::cancel_run::CancelRunError::RequestTimeoutException(inner) => Error::RequestTimeoutException(inner),
252            crate::operation::cancel_run::CancelRunError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
253            crate::operation::cancel_run::CancelRunError::ServiceQuotaExceededException(inner) => Error::ServiceQuotaExceededException(inner),
254            crate::operation::cancel_run::CancelRunError::ThrottlingException(inner) => Error::ThrottlingException(inner),
255            crate::operation::cancel_run::CancelRunError::ValidationException(inner) => Error::ValidationException(inner),
256            crate::operation::cancel_run::CancelRunError::Unhandled(inner) => Error::Unhandled(inner),
257        }
258    }
259}
260impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_run_batch::CancelRunBatchError, R>> for Error
261where
262    R: Send + Sync + std::fmt::Debug + 'static,
263{
264    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_run_batch::CancelRunBatchError, R>) -> Self {
265        match err {
266            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
267            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
268                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
269                source: err.into(),
270            }),
271        }
272    }
273}
274impl From<crate::operation::cancel_run_batch::CancelRunBatchError> for Error {
275    fn from(err: crate::operation::cancel_run_batch::CancelRunBatchError) -> Self {
276        match err {
277            crate::operation::cancel_run_batch::CancelRunBatchError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
278            crate::operation::cancel_run_batch::CancelRunBatchError::ConflictException(inner) => Error::ConflictException(inner),
279            crate::operation::cancel_run_batch::CancelRunBatchError::InternalServerException(inner) => Error::InternalServerException(inner),
280            crate::operation::cancel_run_batch::CancelRunBatchError::RequestTimeoutException(inner) => Error::RequestTimeoutException(inner),
281            crate::operation::cancel_run_batch::CancelRunBatchError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
282            crate::operation::cancel_run_batch::CancelRunBatchError::ServiceQuotaExceededException(inner) => {
283                Error::ServiceQuotaExceededException(inner)
284            }
285            crate::operation::cancel_run_batch::CancelRunBatchError::ThrottlingException(inner) => Error::ThrottlingException(inner),
286            crate::operation::cancel_run_batch::CancelRunBatchError::ValidationException(inner) => Error::ValidationException(inner),
287            crate::operation::cancel_run_batch::CancelRunBatchError::Unhandled(inner) => Error::Unhandled(inner),
288        }
289    }
290}
291impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_variant_import_job::CancelVariantImportJobError, R>>
292    for Error
293where
294    R: Send + Sync + std::fmt::Debug + 'static,
295{
296    fn from(
297        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_variant_import_job::CancelVariantImportJobError, R>,
298    ) -> Self {
299        match err {
300            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
301            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
302                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
303                source: err.into(),
304            }),
305        }
306    }
307}
308impl From<crate::operation::cancel_variant_import_job::CancelVariantImportJobError> for Error {
309    fn from(err: crate::operation::cancel_variant_import_job::CancelVariantImportJobError) -> Self {
310        match err {
311            crate::operation::cancel_variant_import_job::CancelVariantImportJobError::AccessDeniedException(inner) => {
312                Error::AccessDeniedException(inner)
313            }
314            crate::operation::cancel_variant_import_job::CancelVariantImportJobError::InternalServerException(inner) => {
315                Error::InternalServerException(inner)
316            }
317            crate::operation::cancel_variant_import_job::CancelVariantImportJobError::ResourceNotFoundException(inner) => {
318                Error::ResourceNotFoundException(inner)
319            }
320            crate::operation::cancel_variant_import_job::CancelVariantImportJobError::ThrottlingException(inner) => Error::ThrottlingException(inner),
321            crate::operation::cancel_variant_import_job::CancelVariantImportJobError::ValidationException(inner) => Error::ValidationException(inner),
322            crate::operation::cancel_variant_import_job::CancelVariantImportJobError::Unhandled(inner) => Error::Unhandled(inner),
323        }
324    }
325}
326impl<R>
327    From<
328        ::aws_smithy_runtime_api::client::result::SdkError<
329            crate::operation::complete_multipart_read_set_upload::CompleteMultipartReadSetUploadError,
330            R,
331        >,
332    > for Error
333where
334    R: Send + Sync + std::fmt::Debug + 'static,
335{
336    fn from(
337        err: ::aws_smithy_runtime_api::client::result::SdkError<
338            crate::operation::complete_multipart_read_set_upload::CompleteMultipartReadSetUploadError,
339            R,
340        >,
341    ) -> Self {
342        match err {
343            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
344            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
345                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
346                source: err.into(),
347            }),
348        }
349    }
350}
351impl From<crate::operation::complete_multipart_read_set_upload::CompleteMultipartReadSetUploadError> for Error {
352    fn from(err: crate::operation::complete_multipart_read_set_upload::CompleteMultipartReadSetUploadError) -> Self {
353        match err {
354            crate::operation::complete_multipart_read_set_upload::CompleteMultipartReadSetUploadError::AccessDeniedException(inner) => {
355                Error::AccessDeniedException(inner)
356            }
357            crate::operation::complete_multipart_read_set_upload::CompleteMultipartReadSetUploadError::InternalServerException(inner) => {
358                Error::InternalServerException(inner)
359            }
360            crate::operation::complete_multipart_read_set_upload::CompleteMultipartReadSetUploadError::NotSupportedOperationException(inner) => {
361                Error::NotSupportedOperationException(inner)
362            }
363            crate::operation::complete_multipart_read_set_upload::CompleteMultipartReadSetUploadError::RequestTimeoutException(inner) => {
364                Error::RequestTimeoutException(inner)
365            }
366            crate::operation::complete_multipart_read_set_upload::CompleteMultipartReadSetUploadError::ResourceNotFoundException(inner) => {
367                Error::ResourceNotFoundException(inner)
368            }
369            crate::operation::complete_multipart_read_set_upload::CompleteMultipartReadSetUploadError::ServiceQuotaExceededException(inner) => {
370                Error::ServiceQuotaExceededException(inner)
371            }
372            crate::operation::complete_multipart_read_set_upload::CompleteMultipartReadSetUploadError::ThrottlingException(inner) => {
373                Error::ThrottlingException(inner)
374            }
375            crate::operation::complete_multipart_read_set_upload::CompleteMultipartReadSetUploadError::ValidationException(inner) => {
376                Error::ValidationException(inner)
377            }
378            crate::operation::complete_multipart_read_set_upload::CompleteMultipartReadSetUploadError::Unhandled(inner) => Error::Unhandled(inner),
379        }
380    }
381}
382impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_annotation_store::CreateAnnotationStoreError, R>> for Error
383where
384    R: Send + Sync + std::fmt::Debug + 'static,
385{
386    fn from(
387        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_annotation_store::CreateAnnotationStoreError, R>,
388    ) -> Self {
389        match err {
390            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
391            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
392                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
393                source: err.into(),
394            }),
395        }
396    }
397}
398impl From<crate::operation::create_annotation_store::CreateAnnotationStoreError> for Error {
399    fn from(err: crate::operation::create_annotation_store::CreateAnnotationStoreError) -> Self {
400        match err {
401            crate::operation::create_annotation_store::CreateAnnotationStoreError::AccessDeniedException(inner) => {
402                Error::AccessDeniedException(inner)
403            }
404            crate::operation::create_annotation_store::CreateAnnotationStoreError::ConflictException(inner) => Error::ConflictException(inner),
405            crate::operation::create_annotation_store::CreateAnnotationStoreError::InternalServerException(inner) => {
406                Error::InternalServerException(inner)
407            }
408            crate::operation::create_annotation_store::CreateAnnotationStoreError::ResourceNotFoundException(inner) => {
409                Error::ResourceNotFoundException(inner)
410            }
411            crate::operation::create_annotation_store::CreateAnnotationStoreError::ServiceQuotaExceededException(inner) => {
412                Error::ServiceQuotaExceededException(inner)
413            }
414            crate::operation::create_annotation_store::CreateAnnotationStoreError::ThrottlingException(inner) => Error::ThrottlingException(inner),
415            crate::operation::create_annotation_store::CreateAnnotationStoreError::ValidationException(inner) => Error::ValidationException(inner),
416            crate::operation::create_annotation_store::CreateAnnotationStoreError::Unhandled(inner) => Error::Unhandled(inner),
417        }
418    }
419}
420impl<R>
421    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_annotation_store_version::CreateAnnotationStoreVersionError, R>>
422    for Error
423where
424    R: Send + Sync + std::fmt::Debug + 'static,
425{
426    fn from(
427        err: ::aws_smithy_runtime_api::client::result::SdkError<
428            crate::operation::create_annotation_store_version::CreateAnnotationStoreVersionError,
429            R,
430        >,
431    ) -> Self {
432        match err {
433            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
434            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
435                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
436                source: err.into(),
437            }),
438        }
439    }
440}
441impl From<crate::operation::create_annotation_store_version::CreateAnnotationStoreVersionError> for Error {
442    fn from(err: crate::operation::create_annotation_store_version::CreateAnnotationStoreVersionError) -> Self {
443        match err {
444            crate::operation::create_annotation_store_version::CreateAnnotationStoreVersionError::AccessDeniedException(inner) => {
445                Error::AccessDeniedException(inner)
446            }
447            crate::operation::create_annotation_store_version::CreateAnnotationStoreVersionError::ConflictException(inner) => {
448                Error::ConflictException(inner)
449            }
450            crate::operation::create_annotation_store_version::CreateAnnotationStoreVersionError::InternalServerException(inner) => {
451                Error::InternalServerException(inner)
452            }
453            crate::operation::create_annotation_store_version::CreateAnnotationStoreVersionError::ResourceNotFoundException(inner) => {
454                Error::ResourceNotFoundException(inner)
455            }
456            crate::operation::create_annotation_store_version::CreateAnnotationStoreVersionError::ServiceQuotaExceededException(inner) => {
457                Error::ServiceQuotaExceededException(inner)
458            }
459            crate::operation::create_annotation_store_version::CreateAnnotationStoreVersionError::ThrottlingException(inner) => {
460                Error::ThrottlingException(inner)
461            }
462            crate::operation::create_annotation_store_version::CreateAnnotationStoreVersionError::ValidationException(inner) => {
463                Error::ValidationException(inner)
464            }
465            crate::operation::create_annotation_store_version::CreateAnnotationStoreVersionError::Unhandled(inner) => Error::Unhandled(inner),
466        }
467    }
468}
469impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_configuration::CreateConfigurationError, R>> for Error
470where
471    R: Send + Sync + std::fmt::Debug + 'static,
472{
473    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_configuration::CreateConfigurationError, R>) -> Self {
474        match err {
475            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
476            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
477                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
478                source: err.into(),
479            }),
480        }
481    }
482}
483impl From<crate::operation::create_configuration::CreateConfigurationError> for Error {
484    fn from(err: crate::operation::create_configuration::CreateConfigurationError) -> Self {
485        match err {
486            crate::operation::create_configuration::CreateConfigurationError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
487            crate::operation::create_configuration::CreateConfigurationError::ConflictException(inner) => Error::ConflictException(inner),
488            crate::operation::create_configuration::CreateConfigurationError::InternalServerException(inner) => Error::InternalServerException(inner),
489            crate::operation::create_configuration::CreateConfigurationError::RequestTimeoutException(inner) => Error::RequestTimeoutException(inner),
490            crate::operation::create_configuration::CreateConfigurationError::ResourceNotFoundException(inner) => {
491                Error::ResourceNotFoundException(inner)
492            }
493            crate::operation::create_configuration::CreateConfigurationError::ServiceQuotaExceededException(inner) => {
494                Error::ServiceQuotaExceededException(inner)
495            }
496            crate::operation::create_configuration::CreateConfigurationError::ThrottlingException(inner) => Error::ThrottlingException(inner),
497            crate::operation::create_configuration::CreateConfigurationError::ValidationException(inner) => Error::ValidationException(inner),
498            crate::operation::create_configuration::CreateConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
499        }
500    }
501}
502impl<R>
503    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_multipart_read_set_upload::CreateMultipartReadSetUploadError, R>>
504    for Error
505where
506    R: Send + Sync + std::fmt::Debug + 'static,
507{
508    fn from(
509        err: ::aws_smithy_runtime_api::client::result::SdkError<
510            crate::operation::create_multipart_read_set_upload::CreateMultipartReadSetUploadError,
511            R,
512        >,
513    ) -> Self {
514        match err {
515            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
516            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
517                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
518                source: err.into(),
519            }),
520        }
521    }
522}
523impl From<crate::operation::create_multipart_read_set_upload::CreateMultipartReadSetUploadError> for Error {
524    fn from(err: crate::operation::create_multipart_read_set_upload::CreateMultipartReadSetUploadError) -> Self {
525        match err {
526            crate::operation::create_multipart_read_set_upload::CreateMultipartReadSetUploadError::AccessDeniedException(inner) => {
527                Error::AccessDeniedException(inner)
528            }
529            crate::operation::create_multipart_read_set_upload::CreateMultipartReadSetUploadError::InternalServerException(inner) => {
530                Error::InternalServerException(inner)
531            }
532            crate::operation::create_multipart_read_set_upload::CreateMultipartReadSetUploadError::NotSupportedOperationException(inner) => {
533                Error::NotSupportedOperationException(inner)
534            }
535            crate::operation::create_multipart_read_set_upload::CreateMultipartReadSetUploadError::RequestTimeoutException(inner) => {
536                Error::RequestTimeoutException(inner)
537            }
538            crate::operation::create_multipart_read_set_upload::CreateMultipartReadSetUploadError::ResourceNotFoundException(inner) => {
539                Error::ResourceNotFoundException(inner)
540            }
541            crate::operation::create_multipart_read_set_upload::CreateMultipartReadSetUploadError::ServiceQuotaExceededException(inner) => {
542                Error::ServiceQuotaExceededException(inner)
543            }
544            crate::operation::create_multipart_read_set_upload::CreateMultipartReadSetUploadError::ThrottlingException(inner) => {
545                Error::ThrottlingException(inner)
546            }
547            crate::operation::create_multipart_read_set_upload::CreateMultipartReadSetUploadError::ValidationException(inner) => {
548                Error::ValidationException(inner)
549            }
550            crate::operation::create_multipart_read_set_upload::CreateMultipartReadSetUploadError::Unhandled(inner) => Error::Unhandled(inner),
551        }
552    }
553}
554impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_reference_store::CreateReferenceStoreError, R>> for Error
555where
556    R: Send + Sync + std::fmt::Debug + 'static,
557{
558    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_reference_store::CreateReferenceStoreError, R>) -> Self {
559        match err {
560            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
561            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
562                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
563                source: err.into(),
564            }),
565        }
566    }
567}
568impl From<crate::operation::create_reference_store::CreateReferenceStoreError> for Error {
569    fn from(err: crate::operation::create_reference_store::CreateReferenceStoreError) -> Self {
570        match err {
571            crate::operation::create_reference_store::CreateReferenceStoreError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
572            crate::operation::create_reference_store::CreateReferenceStoreError::InternalServerException(inner) => {
573                Error::InternalServerException(inner)
574            }
575            crate::operation::create_reference_store::CreateReferenceStoreError::RequestTimeoutException(inner) => {
576                Error::RequestTimeoutException(inner)
577            }
578            crate::operation::create_reference_store::CreateReferenceStoreError::ServiceQuotaExceededException(inner) => {
579                Error::ServiceQuotaExceededException(inner)
580            }
581            crate::operation::create_reference_store::CreateReferenceStoreError::ThrottlingException(inner) => Error::ThrottlingException(inner),
582            crate::operation::create_reference_store::CreateReferenceStoreError::ValidationException(inner) => Error::ValidationException(inner),
583            crate::operation::create_reference_store::CreateReferenceStoreError::Unhandled(inner) => Error::Unhandled(inner),
584        }
585    }
586}
587impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_run_cache::CreateRunCacheError, R>> for Error
588where
589    R: Send + Sync + std::fmt::Debug + 'static,
590{
591    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_run_cache::CreateRunCacheError, R>) -> Self {
592        match err {
593            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
594            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
595                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
596                source: err.into(),
597            }),
598        }
599    }
600}
601impl From<crate::operation::create_run_cache::CreateRunCacheError> for Error {
602    fn from(err: crate::operation::create_run_cache::CreateRunCacheError) -> Self {
603        match err {
604            crate::operation::create_run_cache::CreateRunCacheError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
605            crate::operation::create_run_cache::CreateRunCacheError::ConflictException(inner) => Error::ConflictException(inner),
606            crate::operation::create_run_cache::CreateRunCacheError::InternalServerException(inner) => Error::InternalServerException(inner),
607            crate::operation::create_run_cache::CreateRunCacheError::RequestTimeoutException(inner) => Error::RequestTimeoutException(inner),
608            crate::operation::create_run_cache::CreateRunCacheError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
609            crate::operation::create_run_cache::CreateRunCacheError::ServiceQuotaExceededException(inner) => {
610                Error::ServiceQuotaExceededException(inner)
611            }
612            crate::operation::create_run_cache::CreateRunCacheError::ThrottlingException(inner) => Error::ThrottlingException(inner),
613            crate::operation::create_run_cache::CreateRunCacheError::ValidationException(inner) => Error::ValidationException(inner),
614            crate::operation::create_run_cache::CreateRunCacheError::Unhandled(inner) => Error::Unhandled(inner),
615        }
616    }
617}
618impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_run_group::CreateRunGroupError, R>> for Error
619where
620    R: Send + Sync + std::fmt::Debug + 'static,
621{
622    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_run_group::CreateRunGroupError, R>) -> Self {
623        match err {
624            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
625            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
626                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
627                source: err.into(),
628            }),
629        }
630    }
631}
632impl From<crate::operation::create_run_group::CreateRunGroupError> for Error {
633    fn from(err: crate::operation::create_run_group::CreateRunGroupError) -> Self {
634        match err {
635            crate::operation::create_run_group::CreateRunGroupError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
636            crate::operation::create_run_group::CreateRunGroupError::ConflictException(inner) => Error::ConflictException(inner),
637            crate::operation::create_run_group::CreateRunGroupError::InternalServerException(inner) => Error::InternalServerException(inner),
638            crate::operation::create_run_group::CreateRunGroupError::RequestTimeoutException(inner) => Error::RequestTimeoutException(inner),
639            crate::operation::create_run_group::CreateRunGroupError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
640            crate::operation::create_run_group::CreateRunGroupError::ServiceQuotaExceededException(inner) => {
641                Error::ServiceQuotaExceededException(inner)
642            }
643            crate::operation::create_run_group::CreateRunGroupError::ThrottlingException(inner) => Error::ThrottlingException(inner),
644            crate::operation::create_run_group::CreateRunGroupError::ValidationException(inner) => Error::ValidationException(inner),
645            crate::operation::create_run_group::CreateRunGroupError::Unhandled(inner) => Error::Unhandled(inner),
646        }
647    }
648}
649impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_sequence_store::CreateSequenceStoreError, 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_sequence_store::CreateSequenceStoreError, 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_sequence_store::CreateSequenceStoreError> for Error {
664    fn from(err: crate::operation::create_sequence_store::CreateSequenceStoreError) -> Self {
665        match err {
666            crate::operation::create_sequence_store::CreateSequenceStoreError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
667            crate::operation::create_sequence_store::CreateSequenceStoreError::InternalServerException(inner) => {
668                Error::InternalServerException(inner)
669            }
670            crate::operation::create_sequence_store::CreateSequenceStoreError::RequestTimeoutException(inner) => {
671                Error::RequestTimeoutException(inner)
672            }
673            crate::operation::create_sequence_store::CreateSequenceStoreError::ServiceQuotaExceededException(inner) => {
674                Error::ServiceQuotaExceededException(inner)
675            }
676            crate::operation::create_sequence_store::CreateSequenceStoreError::ThrottlingException(inner) => Error::ThrottlingException(inner),
677            crate::operation::create_sequence_store::CreateSequenceStoreError::ValidationException(inner) => Error::ValidationException(inner),
678            crate::operation::create_sequence_store::CreateSequenceStoreError::Unhandled(inner) => Error::Unhandled(inner),
679        }
680    }
681}
682impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_share::CreateShareError, R>> for Error
683where
684    R: Send + Sync + std::fmt::Debug + 'static,
685{
686    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_share::CreateShareError, R>) -> Self {
687        match err {
688            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
689            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
690                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
691                source: err.into(),
692            }),
693        }
694    }
695}
696impl From<crate::operation::create_share::CreateShareError> for Error {
697    fn from(err: crate::operation::create_share::CreateShareError) -> Self {
698        match err {
699            crate::operation::create_share::CreateShareError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
700            crate::operation::create_share::CreateShareError::ConflictException(inner) => Error::ConflictException(inner),
701            crate::operation::create_share::CreateShareError::InternalServerException(inner) => Error::InternalServerException(inner),
702            crate::operation::create_share::CreateShareError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
703            crate::operation::create_share::CreateShareError::ServiceQuotaExceededException(inner) => Error::ServiceQuotaExceededException(inner),
704            crate::operation::create_share::CreateShareError::ThrottlingException(inner) => Error::ThrottlingException(inner),
705            crate::operation::create_share::CreateShareError::ValidationException(inner) => Error::ValidationException(inner),
706            crate::operation::create_share::CreateShareError::Unhandled(inner) => Error::Unhandled(inner),
707        }
708    }
709}
710impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_variant_store::CreateVariantStoreError, R>> for Error
711where
712    R: Send + Sync + std::fmt::Debug + 'static,
713{
714    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_variant_store::CreateVariantStoreError, R>) -> Self {
715        match err {
716            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
717            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
718                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
719                source: err.into(),
720            }),
721        }
722    }
723}
724impl From<crate::operation::create_variant_store::CreateVariantStoreError> for Error {
725    fn from(err: crate::operation::create_variant_store::CreateVariantStoreError) -> Self {
726        match err {
727            crate::operation::create_variant_store::CreateVariantStoreError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
728            crate::operation::create_variant_store::CreateVariantStoreError::ConflictException(inner) => Error::ConflictException(inner),
729            crate::operation::create_variant_store::CreateVariantStoreError::InternalServerException(inner) => Error::InternalServerException(inner),
730            crate::operation::create_variant_store::CreateVariantStoreError::ResourceNotFoundException(inner) => {
731                Error::ResourceNotFoundException(inner)
732            }
733            crate::operation::create_variant_store::CreateVariantStoreError::ServiceQuotaExceededException(inner) => {
734                Error::ServiceQuotaExceededException(inner)
735            }
736            crate::operation::create_variant_store::CreateVariantStoreError::ThrottlingException(inner) => Error::ThrottlingException(inner),
737            crate::operation::create_variant_store::CreateVariantStoreError::ValidationException(inner) => Error::ValidationException(inner),
738            crate::operation::create_variant_store::CreateVariantStoreError::Unhandled(inner) => Error::Unhandled(inner),
739        }
740    }
741}
742impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_workflow::CreateWorkflowError, R>> for Error
743where
744    R: Send + Sync + std::fmt::Debug + 'static,
745{
746    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_workflow::CreateWorkflowError, R>) -> Self {
747        match err {
748            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
749            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
750                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
751                source: err.into(),
752            }),
753        }
754    }
755}
756impl From<crate::operation::create_workflow::CreateWorkflowError> for Error {
757    fn from(err: crate::operation::create_workflow::CreateWorkflowError) -> Self {
758        match err {
759            crate::operation::create_workflow::CreateWorkflowError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
760            crate::operation::create_workflow::CreateWorkflowError::ConflictException(inner) => Error::ConflictException(inner),
761            crate::operation::create_workflow::CreateWorkflowError::InternalServerException(inner) => Error::InternalServerException(inner),
762            crate::operation::create_workflow::CreateWorkflowError::RequestTimeoutException(inner) => Error::RequestTimeoutException(inner),
763            crate::operation::create_workflow::CreateWorkflowError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
764            crate::operation::create_workflow::CreateWorkflowError::ServiceQuotaExceededException(inner) => {
765                Error::ServiceQuotaExceededException(inner)
766            }
767            crate::operation::create_workflow::CreateWorkflowError::ThrottlingException(inner) => Error::ThrottlingException(inner),
768            crate::operation::create_workflow::CreateWorkflowError::ValidationException(inner) => Error::ValidationException(inner),
769            crate::operation::create_workflow::CreateWorkflowError::Unhandled(inner) => Error::Unhandled(inner),
770        }
771    }
772}
773impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_workflow_version::CreateWorkflowVersionError, R>> for Error
774where
775    R: Send + Sync + std::fmt::Debug + 'static,
776{
777    fn from(
778        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_workflow_version::CreateWorkflowVersionError, R>,
779    ) -> Self {
780        match err {
781            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
782            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
783                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
784                source: err.into(),
785            }),
786        }
787    }
788}
789impl From<crate::operation::create_workflow_version::CreateWorkflowVersionError> for Error {
790    fn from(err: crate::operation::create_workflow_version::CreateWorkflowVersionError) -> Self {
791        match err {
792            crate::operation::create_workflow_version::CreateWorkflowVersionError::AccessDeniedException(inner) => {
793                Error::AccessDeniedException(inner)
794            }
795            crate::operation::create_workflow_version::CreateWorkflowVersionError::ConflictException(inner) => Error::ConflictException(inner),
796            crate::operation::create_workflow_version::CreateWorkflowVersionError::InternalServerException(inner) => {
797                Error::InternalServerException(inner)
798            }
799            crate::operation::create_workflow_version::CreateWorkflowVersionError::RequestTimeoutException(inner) => {
800                Error::RequestTimeoutException(inner)
801            }
802            crate::operation::create_workflow_version::CreateWorkflowVersionError::ResourceNotFoundException(inner) => {
803                Error::ResourceNotFoundException(inner)
804            }
805            crate::operation::create_workflow_version::CreateWorkflowVersionError::ServiceQuotaExceededException(inner) => {
806                Error::ServiceQuotaExceededException(inner)
807            }
808            crate::operation::create_workflow_version::CreateWorkflowVersionError::ThrottlingException(inner) => Error::ThrottlingException(inner),
809            crate::operation::create_workflow_version::CreateWorkflowVersionError::ValidationException(inner) => Error::ValidationException(inner),
810            crate::operation::create_workflow_version::CreateWorkflowVersionError::Unhandled(inner) => Error::Unhandled(inner),
811        }
812    }
813}
814impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_annotation_store::DeleteAnnotationStoreError, R>> for Error
815where
816    R: Send + Sync + std::fmt::Debug + 'static,
817{
818    fn from(
819        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_annotation_store::DeleteAnnotationStoreError, R>,
820    ) -> Self {
821        match err {
822            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
823            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
824                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
825                source: err.into(),
826            }),
827        }
828    }
829}
830impl From<crate::operation::delete_annotation_store::DeleteAnnotationStoreError> for Error {
831    fn from(err: crate::operation::delete_annotation_store::DeleteAnnotationStoreError) -> Self {
832        match err {
833            crate::operation::delete_annotation_store::DeleteAnnotationStoreError::AccessDeniedException(inner) => {
834                Error::AccessDeniedException(inner)
835            }
836            crate::operation::delete_annotation_store::DeleteAnnotationStoreError::ConflictException(inner) => Error::ConflictException(inner),
837            crate::operation::delete_annotation_store::DeleteAnnotationStoreError::InternalServerException(inner) => {
838                Error::InternalServerException(inner)
839            }
840            crate::operation::delete_annotation_store::DeleteAnnotationStoreError::ResourceNotFoundException(inner) => {
841                Error::ResourceNotFoundException(inner)
842            }
843            crate::operation::delete_annotation_store::DeleteAnnotationStoreError::ThrottlingException(inner) => Error::ThrottlingException(inner),
844            crate::operation::delete_annotation_store::DeleteAnnotationStoreError::ValidationException(inner) => Error::ValidationException(inner),
845            crate::operation::delete_annotation_store::DeleteAnnotationStoreError::Unhandled(inner) => Error::Unhandled(inner),
846        }
847    }
848}
849impl<R>
850    From<
851        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_annotation_store_versions::DeleteAnnotationStoreVersionsError, R>,
852    > for Error
853where
854    R: Send + Sync + std::fmt::Debug + 'static,
855{
856    fn from(
857        err: ::aws_smithy_runtime_api::client::result::SdkError<
858            crate::operation::delete_annotation_store_versions::DeleteAnnotationStoreVersionsError,
859            R,
860        >,
861    ) -> Self {
862        match err {
863            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
864            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
865                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
866                source: err.into(),
867            }),
868        }
869    }
870}
871impl From<crate::operation::delete_annotation_store_versions::DeleteAnnotationStoreVersionsError> for Error {
872    fn from(err: crate::operation::delete_annotation_store_versions::DeleteAnnotationStoreVersionsError) -> Self {
873        match err {
874            crate::operation::delete_annotation_store_versions::DeleteAnnotationStoreVersionsError::AccessDeniedException(inner) => {
875                Error::AccessDeniedException(inner)
876            }
877            crate::operation::delete_annotation_store_versions::DeleteAnnotationStoreVersionsError::ConflictException(inner) => {
878                Error::ConflictException(inner)
879            }
880            crate::operation::delete_annotation_store_versions::DeleteAnnotationStoreVersionsError::InternalServerException(inner) => {
881                Error::InternalServerException(inner)
882            }
883            crate::operation::delete_annotation_store_versions::DeleteAnnotationStoreVersionsError::ResourceNotFoundException(inner) => {
884                Error::ResourceNotFoundException(inner)
885            }
886            crate::operation::delete_annotation_store_versions::DeleteAnnotationStoreVersionsError::ThrottlingException(inner) => {
887                Error::ThrottlingException(inner)
888            }
889            crate::operation::delete_annotation_store_versions::DeleteAnnotationStoreVersionsError::ValidationException(inner) => {
890                Error::ValidationException(inner)
891            }
892            crate::operation::delete_annotation_store_versions::DeleteAnnotationStoreVersionsError::Unhandled(inner) => Error::Unhandled(inner),
893        }
894    }
895}
896impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_batch::DeleteBatchError, R>> for Error
897where
898    R: Send + Sync + std::fmt::Debug + 'static,
899{
900    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_batch::DeleteBatchError, R>) -> Self {
901        match err {
902            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
903            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
904                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
905                source: err.into(),
906            }),
907        }
908    }
909}
910impl From<crate::operation::delete_batch::DeleteBatchError> for Error {
911    fn from(err: crate::operation::delete_batch::DeleteBatchError) -> Self {
912        match err {
913            crate::operation::delete_batch::DeleteBatchError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
914            crate::operation::delete_batch::DeleteBatchError::ConflictException(inner) => Error::ConflictException(inner),
915            crate::operation::delete_batch::DeleteBatchError::InternalServerException(inner) => Error::InternalServerException(inner),
916            crate::operation::delete_batch::DeleteBatchError::RequestTimeoutException(inner) => Error::RequestTimeoutException(inner),
917            crate::operation::delete_batch::DeleteBatchError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
918            crate::operation::delete_batch::DeleteBatchError::ServiceQuotaExceededException(inner) => Error::ServiceQuotaExceededException(inner),
919            crate::operation::delete_batch::DeleteBatchError::ThrottlingException(inner) => Error::ThrottlingException(inner),
920            crate::operation::delete_batch::DeleteBatchError::ValidationException(inner) => Error::ValidationException(inner),
921            crate::operation::delete_batch::DeleteBatchError::Unhandled(inner) => Error::Unhandled(inner),
922        }
923    }
924}
925impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_configuration::DeleteConfigurationError, R>> for Error
926where
927    R: Send + Sync + std::fmt::Debug + 'static,
928{
929    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_configuration::DeleteConfigurationError, R>) -> Self {
930        match err {
931            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
932            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
933                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
934                source: err.into(),
935            }),
936        }
937    }
938}
939impl From<crate::operation::delete_configuration::DeleteConfigurationError> for Error {
940    fn from(err: crate::operation::delete_configuration::DeleteConfigurationError) -> Self {
941        match err {
942            crate::operation::delete_configuration::DeleteConfigurationError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
943            crate::operation::delete_configuration::DeleteConfigurationError::ConflictException(inner) => Error::ConflictException(inner),
944            crate::operation::delete_configuration::DeleteConfigurationError::InternalServerException(inner) => Error::InternalServerException(inner),
945            crate::operation::delete_configuration::DeleteConfigurationError::RequestTimeoutException(inner) => Error::RequestTimeoutException(inner),
946            crate::operation::delete_configuration::DeleteConfigurationError::ResourceNotFoundException(inner) => {
947                Error::ResourceNotFoundException(inner)
948            }
949            crate::operation::delete_configuration::DeleteConfigurationError::ServiceQuotaExceededException(inner) => {
950                Error::ServiceQuotaExceededException(inner)
951            }
952            crate::operation::delete_configuration::DeleteConfigurationError::ThrottlingException(inner) => Error::ThrottlingException(inner),
953            crate::operation::delete_configuration::DeleteConfigurationError::ValidationException(inner) => Error::ValidationException(inner),
954            crate::operation::delete_configuration::DeleteConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
955        }
956    }
957}
958impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_reference::DeleteReferenceError, R>> for Error
959where
960    R: Send + Sync + std::fmt::Debug + 'static,
961{
962    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_reference::DeleteReferenceError, R>) -> Self {
963        match err {
964            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
965            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
966                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
967                source: err.into(),
968            }),
969        }
970    }
971}
972impl From<crate::operation::delete_reference::DeleteReferenceError> for Error {
973    fn from(err: crate::operation::delete_reference::DeleteReferenceError) -> Self {
974        match err {
975            crate::operation::delete_reference::DeleteReferenceError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
976            crate::operation::delete_reference::DeleteReferenceError::ConflictException(inner) => Error::ConflictException(inner),
977            crate::operation::delete_reference::DeleteReferenceError::InternalServerException(inner) => Error::InternalServerException(inner),
978            crate::operation::delete_reference::DeleteReferenceError::RequestTimeoutException(inner) => Error::RequestTimeoutException(inner),
979            crate::operation::delete_reference::DeleteReferenceError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
980            crate::operation::delete_reference::DeleteReferenceError::ThrottlingException(inner) => Error::ThrottlingException(inner),
981            crate::operation::delete_reference::DeleteReferenceError::ValidationException(inner) => Error::ValidationException(inner),
982            crate::operation::delete_reference::DeleteReferenceError::Unhandled(inner) => Error::Unhandled(inner),
983        }
984    }
985}
986impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_reference_store::DeleteReferenceStoreError, R>> for Error
987where
988    R: Send + Sync + std::fmt::Debug + 'static,
989{
990    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_reference_store::DeleteReferenceStoreError, R>) -> Self {
991        match err {
992            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
993            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
994                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
995                source: err.into(),
996            }),
997        }
998    }
999}
1000impl From<crate::operation::delete_reference_store::DeleteReferenceStoreError> for Error {
1001    fn from(err: crate::operation::delete_reference_store::DeleteReferenceStoreError) -> Self {
1002        match err {
1003            crate::operation::delete_reference_store::DeleteReferenceStoreError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1004            crate::operation::delete_reference_store::DeleteReferenceStoreError::ConflictException(inner) => Error::ConflictException(inner),
1005            crate::operation::delete_reference_store::DeleteReferenceStoreError::InternalServerException(inner) => {
1006                Error::InternalServerException(inner)
1007            }
1008            crate::operation::delete_reference_store::DeleteReferenceStoreError::RequestTimeoutException(inner) => {
1009                Error::RequestTimeoutException(inner)
1010            }
1011            crate::operation::delete_reference_store::DeleteReferenceStoreError::ResourceNotFoundException(inner) => {
1012                Error::ResourceNotFoundException(inner)
1013            }
1014            crate::operation::delete_reference_store::DeleteReferenceStoreError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1015            crate::operation::delete_reference_store::DeleteReferenceStoreError::ValidationException(inner) => Error::ValidationException(inner),
1016            crate::operation::delete_reference_store::DeleteReferenceStoreError::Unhandled(inner) => Error::Unhandled(inner),
1017        }
1018    }
1019}
1020impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_run::DeleteRunError, R>> for Error
1021where
1022    R: Send + Sync + std::fmt::Debug + 'static,
1023{
1024    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_run::DeleteRunError, R>) -> Self {
1025        match err {
1026            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1027            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1028                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1029                source: err.into(),
1030            }),
1031        }
1032    }
1033}
1034impl From<crate::operation::delete_run::DeleteRunError> for Error {
1035    fn from(err: crate::operation::delete_run::DeleteRunError) -> Self {
1036        match err {
1037            crate::operation::delete_run::DeleteRunError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1038            crate::operation::delete_run::DeleteRunError::ConflictException(inner) => Error::ConflictException(inner),
1039            crate::operation::delete_run::DeleteRunError::InternalServerException(inner) => Error::InternalServerException(inner),
1040            crate::operation::delete_run::DeleteRunError::RequestTimeoutException(inner) => Error::RequestTimeoutException(inner),
1041            crate::operation::delete_run::DeleteRunError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1042            crate::operation::delete_run::DeleteRunError::ServiceQuotaExceededException(inner) => Error::ServiceQuotaExceededException(inner),
1043            crate::operation::delete_run::DeleteRunError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1044            crate::operation::delete_run::DeleteRunError::ValidationException(inner) => Error::ValidationException(inner),
1045            crate::operation::delete_run::DeleteRunError::Unhandled(inner) => Error::Unhandled(inner),
1046        }
1047    }
1048}
1049impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_run_batch::DeleteRunBatchError, R>> for Error
1050where
1051    R: Send + Sync + std::fmt::Debug + 'static,
1052{
1053    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_run_batch::DeleteRunBatchError, R>) -> Self {
1054        match err {
1055            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1056            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1057                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1058                source: err.into(),
1059            }),
1060        }
1061    }
1062}
1063impl From<crate::operation::delete_run_batch::DeleteRunBatchError> for Error {
1064    fn from(err: crate::operation::delete_run_batch::DeleteRunBatchError) -> Self {
1065        match err {
1066            crate::operation::delete_run_batch::DeleteRunBatchError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1067            crate::operation::delete_run_batch::DeleteRunBatchError::ConflictException(inner) => Error::ConflictException(inner),
1068            crate::operation::delete_run_batch::DeleteRunBatchError::InternalServerException(inner) => Error::InternalServerException(inner),
1069            crate::operation::delete_run_batch::DeleteRunBatchError::RequestTimeoutException(inner) => Error::RequestTimeoutException(inner),
1070            crate::operation::delete_run_batch::DeleteRunBatchError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1071            crate::operation::delete_run_batch::DeleteRunBatchError::ServiceQuotaExceededException(inner) => {
1072                Error::ServiceQuotaExceededException(inner)
1073            }
1074            crate::operation::delete_run_batch::DeleteRunBatchError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1075            crate::operation::delete_run_batch::DeleteRunBatchError::ValidationException(inner) => Error::ValidationException(inner),
1076            crate::operation::delete_run_batch::DeleteRunBatchError::Unhandled(inner) => Error::Unhandled(inner),
1077        }
1078    }
1079}
1080impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_run_cache::DeleteRunCacheError, R>> for Error
1081where
1082    R: Send + Sync + std::fmt::Debug + 'static,
1083{
1084    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_run_cache::DeleteRunCacheError, R>) -> Self {
1085        match err {
1086            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1087            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1088                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1089                source: err.into(),
1090            }),
1091        }
1092    }
1093}
1094impl From<crate::operation::delete_run_cache::DeleteRunCacheError> for Error {
1095    fn from(err: crate::operation::delete_run_cache::DeleteRunCacheError) -> Self {
1096        match err {
1097            crate::operation::delete_run_cache::DeleteRunCacheError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1098            crate::operation::delete_run_cache::DeleteRunCacheError::ConflictException(inner) => Error::ConflictException(inner),
1099            crate::operation::delete_run_cache::DeleteRunCacheError::InternalServerException(inner) => Error::InternalServerException(inner),
1100            crate::operation::delete_run_cache::DeleteRunCacheError::RequestTimeoutException(inner) => Error::RequestTimeoutException(inner),
1101            crate::operation::delete_run_cache::DeleteRunCacheError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1102            crate::operation::delete_run_cache::DeleteRunCacheError::ServiceQuotaExceededException(inner) => {
1103                Error::ServiceQuotaExceededException(inner)
1104            }
1105            crate::operation::delete_run_cache::DeleteRunCacheError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1106            crate::operation::delete_run_cache::DeleteRunCacheError::ValidationException(inner) => Error::ValidationException(inner),
1107            crate::operation::delete_run_cache::DeleteRunCacheError::Unhandled(inner) => Error::Unhandled(inner),
1108        }
1109    }
1110}
1111impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_run_group::DeleteRunGroupError, R>> for Error
1112where
1113    R: Send + Sync + std::fmt::Debug + 'static,
1114{
1115    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_run_group::DeleteRunGroupError, R>) -> Self {
1116        match err {
1117            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1118            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1119                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1120                source: err.into(),
1121            }),
1122        }
1123    }
1124}
1125impl From<crate::operation::delete_run_group::DeleteRunGroupError> for Error {
1126    fn from(err: crate::operation::delete_run_group::DeleteRunGroupError) -> Self {
1127        match err {
1128            crate::operation::delete_run_group::DeleteRunGroupError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1129            crate::operation::delete_run_group::DeleteRunGroupError::ConflictException(inner) => Error::ConflictException(inner),
1130            crate::operation::delete_run_group::DeleteRunGroupError::InternalServerException(inner) => Error::InternalServerException(inner),
1131            crate::operation::delete_run_group::DeleteRunGroupError::RequestTimeoutException(inner) => Error::RequestTimeoutException(inner),
1132            crate::operation::delete_run_group::DeleteRunGroupError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1133            crate::operation::delete_run_group::DeleteRunGroupError::ServiceQuotaExceededException(inner) => {
1134                Error::ServiceQuotaExceededException(inner)
1135            }
1136            crate::operation::delete_run_group::DeleteRunGroupError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1137            crate::operation::delete_run_group::DeleteRunGroupError::ValidationException(inner) => Error::ValidationException(inner),
1138            crate::operation::delete_run_group::DeleteRunGroupError::Unhandled(inner) => Error::Unhandled(inner),
1139        }
1140    }
1141}
1142impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_s3_access_policy::DeleteS3AccessPolicyError, R>> for Error
1143where
1144    R: Send + Sync + std::fmt::Debug + 'static,
1145{
1146    fn from(
1147        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_s3_access_policy::DeleteS3AccessPolicyError, R>,
1148    ) -> Self {
1149        match err {
1150            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1151            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1152                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1153                source: err.into(),
1154            }),
1155        }
1156    }
1157}
1158impl From<crate::operation::delete_s3_access_policy::DeleteS3AccessPolicyError> for Error {
1159    fn from(err: crate::operation::delete_s3_access_policy::DeleteS3AccessPolicyError) -> Self {
1160        match err {
1161            crate::operation::delete_s3_access_policy::DeleteS3AccessPolicyError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1162            crate::operation::delete_s3_access_policy::DeleteS3AccessPolicyError::InternalServerException(inner) => {
1163                Error::InternalServerException(inner)
1164            }
1165            crate::operation::delete_s3_access_policy::DeleteS3AccessPolicyError::NotSupportedOperationException(inner) => {
1166                Error::NotSupportedOperationException(inner)
1167            }
1168            crate::operation::delete_s3_access_policy::DeleteS3AccessPolicyError::RequestTimeoutException(inner) => {
1169                Error::RequestTimeoutException(inner)
1170            }
1171            crate::operation::delete_s3_access_policy::DeleteS3AccessPolicyError::ResourceNotFoundException(inner) => {
1172                Error::ResourceNotFoundException(inner)
1173            }
1174            crate::operation::delete_s3_access_policy::DeleteS3AccessPolicyError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1175            crate::operation::delete_s3_access_policy::DeleteS3AccessPolicyError::ValidationException(inner) => Error::ValidationException(inner),
1176            crate::operation::delete_s3_access_policy::DeleteS3AccessPolicyError::Unhandled(inner) => Error::Unhandled(inner),
1177        }
1178    }
1179}
1180impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_sequence_store::DeleteSequenceStoreError, R>> for Error
1181where
1182    R: Send + Sync + std::fmt::Debug + 'static,
1183{
1184    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_sequence_store::DeleteSequenceStoreError, R>) -> Self {
1185        match err {
1186            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1187            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1188                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1189                source: err.into(),
1190            }),
1191        }
1192    }
1193}
1194impl From<crate::operation::delete_sequence_store::DeleteSequenceStoreError> for Error {
1195    fn from(err: crate::operation::delete_sequence_store::DeleteSequenceStoreError) -> Self {
1196        match err {
1197            crate::operation::delete_sequence_store::DeleteSequenceStoreError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1198            crate::operation::delete_sequence_store::DeleteSequenceStoreError::ConflictException(inner) => Error::ConflictException(inner),
1199            crate::operation::delete_sequence_store::DeleteSequenceStoreError::InternalServerException(inner) => {
1200                Error::InternalServerException(inner)
1201            }
1202            crate::operation::delete_sequence_store::DeleteSequenceStoreError::RequestTimeoutException(inner) => {
1203                Error::RequestTimeoutException(inner)
1204            }
1205            crate::operation::delete_sequence_store::DeleteSequenceStoreError::ResourceNotFoundException(inner) => {
1206                Error::ResourceNotFoundException(inner)
1207            }
1208            crate::operation::delete_sequence_store::DeleteSequenceStoreError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1209            crate::operation::delete_sequence_store::DeleteSequenceStoreError::ValidationException(inner) => Error::ValidationException(inner),
1210            crate::operation::delete_sequence_store::DeleteSequenceStoreError::Unhandled(inner) => Error::Unhandled(inner),
1211        }
1212    }
1213}
1214impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_share::DeleteShareError, R>> for Error
1215where
1216    R: Send + Sync + std::fmt::Debug + 'static,
1217{
1218    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_share::DeleteShareError, R>) -> Self {
1219        match err {
1220            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1221            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1222                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1223                source: err.into(),
1224            }),
1225        }
1226    }
1227}
1228impl From<crate::operation::delete_share::DeleteShareError> for Error {
1229    fn from(err: crate::operation::delete_share::DeleteShareError) -> Self {
1230        match err {
1231            crate::operation::delete_share::DeleteShareError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1232            crate::operation::delete_share::DeleteShareError::ConflictException(inner) => Error::ConflictException(inner),
1233            crate::operation::delete_share::DeleteShareError::InternalServerException(inner) => Error::InternalServerException(inner),
1234            crate::operation::delete_share::DeleteShareError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1235            crate::operation::delete_share::DeleteShareError::ServiceQuotaExceededException(inner) => Error::ServiceQuotaExceededException(inner),
1236            crate::operation::delete_share::DeleteShareError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1237            crate::operation::delete_share::DeleteShareError::ValidationException(inner) => Error::ValidationException(inner),
1238            crate::operation::delete_share::DeleteShareError::Unhandled(inner) => Error::Unhandled(inner),
1239        }
1240    }
1241}
1242impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_variant_store::DeleteVariantStoreError, R>> for Error
1243where
1244    R: Send + Sync + std::fmt::Debug + 'static,
1245{
1246    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_variant_store::DeleteVariantStoreError, R>) -> 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::delete_variant_store::DeleteVariantStoreError> for Error {
1257    fn from(err: crate::operation::delete_variant_store::DeleteVariantStoreError) -> Self {
1258        match err {
1259            crate::operation::delete_variant_store::DeleteVariantStoreError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1260            crate::operation::delete_variant_store::DeleteVariantStoreError::ConflictException(inner) => Error::ConflictException(inner),
1261            crate::operation::delete_variant_store::DeleteVariantStoreError::InternalServerException(inner) => Error::InternalServerException(inner),
1262            crate::operation::delete_variant_store::DeleteVariantStoreError::ResourceNotFoundException(inner) => {
1263                Error::ResourceNotFoundException(inner)
1264            }
1265            crate::operation::delete_variant_store::DeleteVariantStoreError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1266            crate::operation::delete_variant_store::DeleteVariantStoreError::ValidationException(inner) => Error::ValidationException(inner),
1267            crate::operation::delete_variant_store::DeleteVariantStoreError::Unhandled(inner) => Error::Unhandled(inner),
1268        }
1269    }
1270}
1271impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_workflow::DeleteWorkflowError, R>> for Error
1272where
1273    R: Send + Sync + std::fmt::Debug + 'static,
1274{
1275    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_workflow::DeleteWorkflowError, R>) -> Self {
1276        match err {
1277            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1278            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1279                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1280                source: err.into(),
1281            }),
1282        }
1283    }
1284}
1285impl From<crate::operation::delete_workflow::DeleteWorkflowError> for Error {
1286    fn from(err: crate::operation::delete_workflow::DeleteWorkflowError) -> Self {
1287        match err {
1288            crate::operation::delete_workflow::DeleteWorkflowError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1289            crate::operation::delete_workflow::DeleteWorkflowError::ConflictException(inner) => Error::ConflictException(inner),
1290            crate::operation::delete_workflow::DeleteWorkflowError::InternalServerException(inner) => Error::InternalServerException(inner),
1291            crate::operation::delete_workflow::DeleteWorkflowError::RequestTimeoutException(inner) => Error::RequestTimeoutException(inner),
1292            crate::operation::delete_workflow::DeleteWorkflowError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1293            crate::operation::delete_workflow::DeleteWorkflowError::ServiceQuotaExceededException(inner) => {
1294                Error::ServiceQuotaExceededException(inner)
1295            }
1296            crate::operation::delete_workflow::DeleteWorkflowError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1297            crate::operation::delete_workflow::DeleteWorkflowError::ValidationException(inner) => Error::ValidationException(inner),
1298            crate::operation::delete_workflow::DeleteWorkflowError::Unhandled(inner) => Error::Unhandled(inner),
1299        }
1300    }
1301}
1302impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_workflow_version::DeleteWorkflowVersionError, R>> for Error
1303where
1304    R: Send + Sync + std::fmt::Debug + 'static,
1305{
1306    fn from(
1307        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_workflow_version::DeleteWorkflowVersionError, R>,
1308    ) -> Self {
1309        match err {
1310            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1311            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1312                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1313                source: err.into(),
1314            }),
1315        }
1316    }
1317}
1318impl From<crate::operation::delete_workflow_version::DeleteWorkflowVersionError> for Error {
1319    fn from(err: crate::operation::delete_workflow_version::DeleteWorkflowVersionError) -> Self {
1320        match err {
1321            crate::operation::delete_workflow_version::DeleteWorkflowVersionError::AccessDeniedException(inner) => {
1322                Error::AccessDeniedException(inner)
1323            }
1324            crate::operation::delete_workflow_version::DeleteWorkflowVersionError::ConflictException(inner) => Error::ConflictException(inner),
1325            crate::operation::delete_workflow_version::DeleteWorkflowVersionError::InternalServerException(inner) => {
1326                Error::InternalServerException(inner)
1327            }
1328            crate::operation::delete_workflow_version::DeleteWorkflowVersionError::RequestTimeoutException(inner) => {
1329                Error::RequestTimeoutException(inner)
1330            }
1331            crate::operation::delete_workflow_version::DeleteWorkflowVersionError::ResourceNotFoundException(inner) => {
1332                Error::ResourceNotFoundException(inner)
1333            }
1334            crate::operation::delete_workflow_version::DeleteWorkflowVersionError::ServiceQuotaExceededException(inner) => {
1335                Error::ServiceQuotaExceededException(inner)
1336            }
1337            crate::operation::delete_workflow_version::DeleteWorkflowVersionError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1338            crate::operation::delete_workflow_version::DeleteWorkflowVersionError::ValidationException(inner) => Error::ValidationException(inner),
1339            crate::operation::delete_workflow_version::DeleteWorkflowVersionError::Unhandled(inner) => Error::Unhandled(inner),
1340        }
1341    }
1342}
1343impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_annotation_import_job::GetAnnotationImportJobError, R>>
1344    for Error
1345where
1346    R: Send + Sync + std::fmt::Debug + 'static,
1347{
1348    fn from(
1349        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_annotation_import_job::GetAnnotationImportJobError, R>,
1350    ) -> Self {
1351        match err {
1352            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1353            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1354                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1355                source: err.into(),
1356            }),
1357        }
1358    }
1359}
1360impl From<crate::operation::get_annotation_import_job::GetAnnotationImportJobError> for Error {
1361    fn from(err: crate::operation::get_annotation_import_job::GetAnnotationImportJobError) -> Self {
1362        match err {
1363            crate::operation::get_annotation_import_job::GetAnnotationImportJobError::AccessDeniedException(inner) => {
1364                Error::AccessDeniedException(inner)
1365            }
1366            crate::operation::get_annotation_import_job::GetAnnotationImportJobError::InternalServerException(inner) => {
1367                Error::InternalServerException(inner)
1368            }
1369            crate::operation::get_annotation_import_job::GetAnnotationImportJobError::ResourceNotFoundException(inner) => {
1370                Error::ResourceNotFoundException(inner)
1371            }
1372            crate::operation::get_annotation_import_job::GetAnnotationImportJobError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1373            crate::operation::get_annotation_import_job::GetAnnotationImportJobError::ValidationException(inner) => Error::ValidationException(inner),
1374            crate::operation::get_annotation_import_job::GetAnnotationImportJobError::Unhandled(inner) => Error::Unhandled(inner),
1375        }
1376    }
1377}
1378impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_annotation_store::GetAnnotationStoreError, R>> for Error
1379where
1380    R: Send + Sync + std::fmt::Debug + 'static,
1381{
1382    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_annotation_store::GetAnnotationStoreError, R>) -> Self {
1383        match err {
1384            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1385            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1386                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1387                source: err.into(),
1388            }),
1389        }
1390    }
1391}
1392impl From<crate::operation::get_annotation_store::GetAnnotationStoreError> for Error {
1393    fn from(err: crate::operation::get_annotation_store::GetAnnotationStoreError) -> Self {
1394        match err {
1395            crate::operation::get_annotation_store::GetAnnotationStoreError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1396            crate::operation::get_annotation_store::GetAnnotationStoreError::InternalServerException(inner) => Error::InternalServerException(inner),
1397            crate::operation::get_annotation_store::GetAnnotationStoreError::ResourceNotFoundException(inner) => {
1398                Error::ResourceNotFoundException(inner)
1399            }
1400            crate::operation::get_annotation_store::GetAnnotationStoreError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1401            crate::operation::get_annotation_store::GetAnnotationStoreError::ValidationException(inner) => Error::ValidationException(inner),
1402            crate::operation::get_annotation_store::GetAnnotationStoreError::Unhandled(inner) => Error::Unhandled(inner),
1403        }
1404    }
1405}
1406impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_annotation_store_version::GetAnnotationStoreVersionError, R>>
1407    for Error
1408where
1409    R: Send + Sync + std::fmt::Debug + 'static,
1410{
1411    fn from(
1412        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_annotation_store_version::GetAnnotationStoreVersionError, R>,
1413    ) -> Self {
1414        match err {
1415            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1416            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1417                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1418                source: err.into(),
1419            }),
1420        }
1421    }
1422}
1423impl From<crate::operation::get_annotation_store_version::GetAnnotationStoreVersionError> for Error {
1424    fn from(err: crate::operation::get_annotation_store_version::GetAnnotationStoreVersionError) -> Self {
1425        match err {
1426            crate::operation::get_annotation_store_version::GetAnnotationStoreVersionError::AccessDeniedException(inner) => {
1427                Error::AccessDeniedException(inner)
1428            }
1429            crate::operation::get_annotation_store_version::GetAnnotationStoreVersionError::InternalServerException(inner) => {
1430                Error::InternalServerException(inner)
1431            }
1432            crate::operation::get_annotation_store_version::GetAnnotationStoreVersionError::ResourceNotFoundException(inner) => {
1433                Error::ResourceNotFoundException(inner)
1434            }
1435            crate::operation::get_annotation_store_version::GetAnnotationStoreVersionError::ThrottlingException(inner) => {
1436                Error::ThrottlingException(inner)
1437            }
1438            crate::operation::get_annotation_store_version::GetAnnotationStoreVersionError::ValidationException(inner) => {
1439                Error::ValidationException(inner)
1440            }
1441            crate::operation::get_annotation_store_version::GetAnnotationStoreVersionError::Unhandled(inner) => Error::Unhandled(inner),
1442        }
1443    }
1444}
1445impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_batch::GetBatchError, R>> for Error
1446where
1447    R: Send + Sync + std::fmt::Debug + 'static,
1448{
1449    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_batch::GetBatchError, R>) -> Self {
1450        match err {
1451            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1452            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1453                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1454                source: err.into(),
1455            }),
1456        }
1457    }
1458}
1459impl From<crate::operation::get_batch::GetBatchError> for Error {
1460    fn from(err: crate::operation::get_batch::GetBatchError) -> Self {
1461        match err {
1462            crate::operation::get_batch::GetBatchError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1463            crate::operation::get_batch::GetBatchError::InternalServerException(inner) => Error::InternalServerException(inner),
1464            crate::operation::get_batch::GetBatchError::RequestTimeoutException(inner) => Error::RequestTimeoutException(inner),
1465            crate::operation::get_batch::GetBatchError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1466            crate::operation::get_batch::GetBatchError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1467            crate::operation::get_batch::GetBatchError::ValidationException(inner) => Error::ValidationException(inner),
1468            crate::operation::get_batch::GetBatchError::Unhandled(inner) => Error::Unhandled(inner),
1469        }
1470    }
1471}
1472impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_configuration::GetConfigurationError, R>> for Error
1473where
1474    R: Send + Sync + std::fmt::Debug + 'static,
1475{
1476    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_configuration::GetConfigurationError, R>) -> Self {
1477        match err {
1478            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1479            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1480                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1481                source: err.into(),
1482            }),
1483        }
1484    }
1485}
1486impl From<crate::operation::get_configuration::GetConfigurationError> for Error {
1487    fn from(err: crate::operation::get_configuration::GetConfigurationError) -> Self {
1488        match err {
1489            crate::operation::get_configuration::GetConfigurationError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1490            crate::operation::get_configuration::GetConfigurationError::ConflictException(inner) => Error::ConflictException(inner),
1491            crate::operation::get_configuration::GetConfigurationError::InternalServerException(inner) => Error::InternalServerException(inner),
1492            crate::operation::get_configuration::GetConfigurationError::RequestTimeoutException(inner) => Error::RequestTimeoutException(inner),
1493            crate::operation::get_configuration::GetConfigurationError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1494            crate::operation::get_configuration::GetConfigurationError::ServiceQuotaExceededException(inner) => {
1495                Error::ServiceQuotaExceededException(inner)
1496            }
1497            crate::operation::get_configuration::GetConfigurationError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1498            crate::operation::get_configuration::GetConfigurationError::ValidationException(inner) => Error::ValidationException(inner),
1499            crate::operation::get_configuration::GetConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
1500        }
1501    }
1502}
1503impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_read_set::GetReadSetError, R>> for Error
1504where
1505    R: Send + Sync + std::fmt::Debug + 'static,
1506{
1507    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_read_set::GetReadSetError, R>) -> Self {
1508        match err {
1509            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1510            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1511                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1512                source: err.into(),
1513            }),
1514        }
1515    }
1516}
1517impl From<crate::operation::get_read_set::GetReadSetError> for Error {
1518    fn from(err: crate::operation::get_read_set::GetReadSetError) -> Self {
1519        match err {
1520            crate::operation::get_read_set::GetReadSetError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1521            crate::operation::get_read_set::GetReadSetError::ConflictException(inner) => Error::ConflictException(inner),
1522            crate::operation::get_read_set::GetReadSetError::InternalServerException(inner) => Error::InternalServerException(inner),
1523            crate::operation::get_read_set::GetReadSetError::RangeNotSatisfiableException(inner) => Error::RangeNotSatisfiableException(inner),
1524            crate::operation::get_read_set::GetReadSetError::RequestTimeoutException(inner) => Error::RequestTimeoutException(inner),
1525            crate::operation::get_read_set::GetReadSetError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1526            crate::operation::get_read_set::GetReadSetError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1527            crate::operation::get_read_set::GetReadSetError::ValidationException(inner) => Error::ValidationException(inner),
1528            crate::operation::get_read_set::GetReadSetError::Unhandled(inner) => Error::Unhandled(inner),
1529        }
1530    }
1531}
1532impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_read_set_activation_job::GetReadSetActivationJobError, R>>
1533    for Error
1534where
1535    R: Send + Sync + std::fmt::Debug + 'static,
1536{
1537    fn from(
1538        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_read_set_activation_job::GetReadSetActivationJobError, R>,
1539    ) -> Self {
1540        match err {
1541            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1542            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1543                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1544                source: err.into(),
1545            }),
1546        }
1547    }
1548}
1549impl From<crate::operation::get_read_set_activation_job::GetReadSetActivationJobError> for Error {
1550    fn from(err: crate::operation::get_read_set_activation_job::GetReadSetActivationJobError) -> Self {
1551        match err {
1552            crate::operation::get_read_set_activation_job::GetReadSetActivationJobError::AccessDeniedException(inner) => {
1553                Error::AccessDeniedException(inner)
1554            }
1555            crate::operation::get_read_set_activation_job::GetReadSetActivationJobError::InternalServerException(inner) => {
1556                Error::InternalServerException(inner)
1557            }
1558            crate::operation::get_read_set_activation_job::GetReadSetActivationJobError::RequestTimeoutException(inner) => {
1559                Error::RequestTimeoutException(inner)
1560            }
1561            crate::operation::get_read_set_activation_job::GetReadSetActivationJobError::ResourceNotFoundException(inner) => {
1562                Error::ResourceNotFoundException(inner)
1563            }
1564            crate::operation::get_read_set_activation_job::GetReadSetActivationJobError::ThrottlingException(inner) => {
1565                Error::ThrottlingException(inner)
1566            }
1567            crate::operation::get_read_set_activation_job::GetReadSetActivationJobError::ValidationException(inner) => {
1568                Error::ValidationException(inner)
1569            }
1570            crate::operation::get_read_set_activation_job::GetReadSetActivationJobError::Unhandled(inner) => Error::Unhandled(inner),
1571        }
1572    }
1573}
1574impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_read_set_export_job::GetReadSetExportJobError, R>> for Error
1575where
1576    R: Send + Sync + std::fmt::Debug + 'static,
1577{
1578    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_read_set_export_job::GetReadSetExportJobError, R>) -> Self {
1579        match err {
1580            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1581            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1582                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1583                source: err.into(),
1584            }),
1585        }
1586    }
1587}
1588impl From<crate::operation::get_read_set_export_job::GetReadSetExportJobError> for Error {
1589    fn from(err: crate::operation::get_read_set_export_job::GetReadSetExportJobError) -> Self {
1590        match err {
1591            crate::operation::get_read_set_export_job::GetReadSetExportJobError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1592            crate::operation::get_read_set_export_job::GetReadSetExportJobError::InternalServerException(inner) => {
1593                Error::InternalServerException(inner)
1594            }
1595            crate::operation::get_read_set_export_job::GetReadSetExportJobError::RequestTimeoutException(inner) => {
1596                Error::RequestTimeoutException(inner)
1597            }
1598            crate::operation::get_read_set_export_job::GetReadSetExportJobError::ResourceNotFoundException(inner) => {
1599                Error::ResourceNotFoundException(inner)
1600            }
1601            crate::operation::get_read_set_export_job::GetReadSetExportJobError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1602            crate::operation::get_read_set_export_job::GetReadSetExportJobError::ValidationException(inner) => Error::ValidationException(inner),
1603            crate::operation::get_read_set_export_job::GetReadSetExportJobError::Unhandled(inner) => Error::Unhandled(inner),
1604        }
1605    }
1606}
1607impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_read_set_import_job::GetReadSetImportJobError, R>> for Error
1608where
1609    R: Send + Sync + std::fmt::Debug + 'static,
1610{
1611    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_read_set_import_job::GetReadSetImportJobError, R>) -> Self {
1612        match err {
1613            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1614            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1615                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1616                source: err.into(),
1617            }),
1618        }
1619    }
1620}
1621impl From<crate::operation::get_read_set_import_job::GetReadSetImportJobError> for Error {
1622    fn from(err: crate::operation::get_read_set_import_job::GetReadSetImportJobError) -> Self {
1623        match err {
1624            crate::operation::get_read_set_import_job::GetReadSetImportJobError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1625            crate::operation::get_read_set_import_job::GetReadSetImportJobError::InternalServerException(inner) => {
1626                Error::InternalServerException(inner)
1627            }
1628            crate::operation::get_read_set_import_job::GetReadSetImportJobError::RequestTimeoutException(inner) => {
1629                Error::RequestTimeoutException(inner)
1630            }
1631            crate::operation::get_read_set_import_job::GetReadSetImportJobError::ResourceNotFoundException(inner) => {
1632                Error::ResourceNotFoundException(inner)
1633            }
1634            crate::operation::get_read_set_import_job::GetReadSetImportJobError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1635            crate::operation::get_read_set_import_job::GetReadSetImportJobError::ValidationException(inner) => Error::ValidationException(inner),
1636            crate::operation::get_read_set_import_job::GetReadSetImportJobError::Unhandled(inner) => Error::Unhandled(inner),
1637        }
1638    }
1639}
1640impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_read_set_metadata::GetReadSetMetadataError, R>> for Error
1641where
1642    R: Send + Sync + std::fmt::Debug + 'static,
1643{
1644    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_read_set_metadata::GetReadSetMetadataError, R>) -> Self {
1645        match err {
1646            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1647            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1648                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1649                source: err.into(),
1650            }),
1651        }
1652    }
1653}
1654impl From<crate::operation::get_read_set_metadata::GetReadSetMetadataError> for Error {
1655    fn from(err: crate::operation::get_read_set_metadata::GetReadSetMetadataError) -> Self {
1656        match err {
1657            crate::operation::get_read_set_metadata::GetReadSetMetadataError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1658            crate::operation::get_read_set_metadata::GetReadSetMetadataError::InternalServerException(inner) => Error::InternalServerException(inner),
1659            crate::operation::get_read_set_metadata::GetReadSetMetadataError::RequestTimeoutException(inner) => Error::RequestTimeoutException(inner),
1660            crate::operation::get_read_set_metadata::GetReadSetMetadataError::ResourceNotFoundException(inner) => {
1661                Error::ResourceNotFoundException(inner)
1662            }
1663            crate::operation::get_read_set_metadata::GetReadSetMetadataError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1664            crate::operation::get_read_set_metadata::GetReadSetMetadataError::ValidationException(inner) => Error::ValidationException(inner),
1665            crate::operation::get_read_set_metadata::GetReadSetMetadataError::Unhandled(inner) => Error::Unhandled(inner),
1666        }
1667    }
1668}
1669impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_reference::GetReferenceError, R>> for Error
1670where
1671    R: Send + Sync + std::fmt::Debug + 'static,
1672{
1673    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_reference::GetReferenceError, R>) -> Self {
1674        match err {
1675            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1676            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1677                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1678                source: err.into(),
1679            }),
1680        }
1681    }
1682}
1683impl From<crate::operation::get_reference::GetReferenceError> for Error {
1684    fn from(err: crate::operation::get_reference::GetReferenceError) -> Self {
1685        match err {
1686            crate::operation::get_reference::GetReferenceError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1687            crate::operation::get_reference::GetReferenceError::InternalServerException(inner) => Error::InternalServerException(inner),
1688            crate::operation::get_reference::GetReferenceError::RangeNotSatisfiableException(inner) => Error::RangeNotSatisfiableException(inner),
1689            crate::operation::get_reference::GetReferenceError::RequestTimeoutException(inner) => Error::RequestTimeoutException(inner),
1690            crate::operation::get_reference::GetReferenceError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1691            crate::operation::get_reference::GetReferenceError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1692            crate::operation::get_reference::GetReferenceError::ValidationException(inner) => Error::ValidationException(inner),
1693            crate::operation::get_reference::GetReferenceError::Unhandled(inner) => Error::Unhandled(inner),
1694        }
1695    }
1696}
1697impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_reference_import_job::GetReferenceImportJobError, R>> for Error
1698where
1699    R: Send + Sync + std::fmt::Debug + 'static,
1700{
1701    fn from(
1702        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_reference_import_job::GetReferenceImportJobError, R>,
1703    ) -> Self {
1704        match err {
1705            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1706            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1707                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1708                source: err.into(),
1709            }),
1710        }
1711    }
1712}
1713impl From<crate::operation::get_reference_import_job::GetReferenceImportJobError> for Error {
1714    fn from(err: crate::operation::get_reference_import_job::GetReferenceImportJobError) -> Self {
1715        match err {
1716            crate::operation::get_reference_import_job::GetReferenceImportJobError::AccessDeniedException(inner) => {
1717                Error::AccessDeniedException(inner)
1718            }
1719            crate::operation::get_reference_import_job::GetReferenceImportJobError::InternalServerException(inner) => {
1720                Error::InternalServerException(inner)
1721            }
1722            crate::operation::get_reference_import_job::GetReferenceImportJobError::RequestTimeoutException(inner) => {
1723                Error::RequestTimeoutException(inner)
1724            }
1725            crate::operation::get_reference_import_job::GetReferenceImportJobError::ResourceNotFoundException(inner) => {
1726                Error::ResourceNotFoundException(inner)
1727            }
1728            crate::operation::get_reference_import_job::GetReferenceImportJobError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1729            crate::operation::get_reference_import_job::GetReferenceImportJobError::ValidationException(inner) => Error::ValidationException(inner),
1730            crate::operation::get_reference_import_job::GetReferenceImportJobError::Unhandled(inner) => Error::Unhandled(inner),
1731        }
1732    }
1733}
1734impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_reference_metadata::GetReferenceMetadataError, R>> for Error
1735where
1736    R: Send + Sync + std::fmt::Debug + 'static,
1737{
1738    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_reference_metadata::GetReferenceMetadataError, R>) -> Self {
1739        match err {
1740            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1741            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1742                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1743                source: err.into(),
1744            }),
1745        }
1746    }
1747}
1748impl From<crate::operation::get_reference_metadata::GetReferenceMetadataError> for Error {
1749    fn from(err: crate::operation::get_reference_metadata::GetReferenceMetadataError) -> Self {
1750        match err {
1751            crate::operation::get_reference_metadata::GetReferenceMetadataError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1752            crate::operation::get_reference_metadata::GetReferenceMetadataError::InternalServerException(inner) => {
1753                Error::InternalServerException(inner)
1754            }
1755            crate::operation::get_reference_metadata::GetReferenceMetadataError::RequestTimeoutException(inner) => {
1756                Error::RequestTimeoutException(inner)
1757            }
1758            crate::operation::get_reference_metadata::GetReferenceMetadataError::ResourceNotFoundException(inner) => {
1759                Error::ResourceNotFoundException(inner)
1760            }
1761            crate::operation::get_reference_metadata::GetReferenceMetadataError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1762            crate::operation::get_reference_metadata::GetReferenceMetadataError::ValidationException(inner) => Error::ValidationException(inner),
1763            crate::operation::get_reference_metadata::GetReferenceMetadataError::Unhandled(inner) => Error::Unhandled(inner),
1764        }
1765    }
1766}
1767impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_reference_store::GetReferenceStoreError, R>> for Error
1768where
1769    R: Send + Sync + std::fmt::Debug + 'static,
1770{
1771    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_reference_store::GetReferenceStoreError, R>) -> Self {
1772        match err {
1773            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1774            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1775                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1776                source: err.into(),
1777            }),
1778        }
1779    }
1780}
1781impl From<crate::operation::get_reference_store::GetReferenceStoreError> for Error {
1782    fn from(err: crate::operation::get_reference_store::GetReferenceStoreError) -> Self {
1783        match err {
1784            crate::operation::get_reference_store::GetReferenceStoreError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1785            crate::operation::get_reference_store::GetReferenceStoreError::InternalServerException(inner) => Error::InternalServerException(inner),
1786            crate::operation::get_reference_store::GetReferenceStoreError::RequestTimeoutException(inner) => Error::RequestTimeoutException(inner),
1787            crate::operation::get_reference_store::GetReferenceStoreError::ResourceNotFoundException(inner) => {
1788                Error::ResourceNotFoundException(inner)
1789            }
1790            crate::operation::get_reference_store::GetReferenceStoreError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1791            crate::operation::get_reference_store::GetReferenceStoreError::ValidationException(inner) => Error::ValidationException(inner),
1792            crate::operation::get_reference_store::GetReferenceStoreError::Unhandled(inner) => Error::Unhandled(inner),
1793        }
1794    }
1795}
1796impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_run::GetRunError, R>> for Error
1797where
1798    R: Send + Sync + std::fmt::Debug + 'static,
1799{
1800    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_run::GetRunError, R>) -> Self {
1801        match err {
1802            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1803            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1804                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1805                source: err.into(),
1806            }),
1807        }
1808    }
1809}
1810impl From<crate::operation::get_run::GetRunError> for Error {
1811    fn from(err: crate::operation::get_run::GetRunError) -> Self {
1812        match err {
1813            crate::operation::get_run::GetRunError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1814            crate::operation::get_run::GetRunError::ConflictException(inner) => Error::ConflictException(inner),
1815            crate::operation::get_run::GetRunError::InternalServerException(inner) => Error::InternalServerException(inner),
1816            crate::operation::get_run::GetRunError::RequestTimeoutException(inner) => Error::RequestTimeoutException(inner),
1817            crate::operation::get_run::GetRunError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1818            crate::operation::get_run::GetRunError::ServiceQuotaExceededException(inner) => Error::ServiceQuotaExceededException(inner),
1819            crate::operation::get_run::GetRunError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1820            crate::operation::get_run::GetRunError::ValidationException(inner) => Error::ValidationException(inner),
1821            crate::operation::get_run::GetRunError::Unhandled(inner) => Error::Unhandled(inner),
1822        }
1823    }
1824}
1825impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_run_cache::GetRunCacheError, R>> for Error
1826where
1827    R: Send + Sync + std::fmt::Debug + 'static,
1828{
1829    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_run_cache::GetRunCacheError, R>) -> Self {
1830        match err {
1831            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1832            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1833                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1834                source: err.into(),
1835            }),
1836        }
1837    }
1838}
1839impl From<crate::operation::get_run_cache::GetRunCacheError> for Error {
1840    fn from(err: crate::operation::get_run_cache::GetRunCacheError) -> Self {
1841        match err {
1842            crate::operation::get_run_cache::GetRunCacheError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1843            crate::operation::get_run_cache::GetRunCacheError::ConflictException(inner) => Error::ConflictException(inner),
1844            crate::operation::get_run_cache::GetRunCacheError::InternalServerException(inner) => Error::InternalServerException(inner),
1845            crate::operation::get_run_cache::GetRunCacheError::RequestTimeoutException(inner) => Error::RequestTimeoutException(inner),
1846            crate::operation::get_run_cache::GetRunCacheError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1847            crate::operation::get_run_cache::GetRunCacheError::ServiceQuotaExceededException(inner) => Error::ServiceQuotaExceededException(inner),
1848            crate::operation::get_run_cache::GetRunCacheError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1849            crate::operation::get_run_cache::GetRunCacheError::ValidationException(inner) => Error::ValidationException(inner),
1850            crate::operation::get_run_cache::GetRunCacheError::Unhandled(inner) => Error::Unhandled(inner),
1851        }
1852    }
1853}
1854impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_run_group::GetRunGroupError, R>> for Error
1855where
1856    R: Send + Sync + std::fmt::Debug + 'static,
1857{
1858    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_run_group::GetRunGroupError, R>) -> Self {
1859        match err {
1860            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1861            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1862                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1863                source: err.into(),
1864            }),
1865        }
1866    }
1867}
1868impl From<crate::operation::get_run_group::GetRunGroupError> for Error {
1869    fn from(err: crate::operation::get_run_group::GetRunGroupError) -> Self {
1870        match err {
1871            crate::operation::get_run_group::GetRunGroupError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1872            crate::operation::get_run_group::GetRunGroupError::ConflictException(inner) => Error::ConflictException(inner),
1873            crate::operation::get_run_group::GetRunGroupError::InternalServerException(inner) => Error::InternalServerException(inner),
1874            crate::operation::get_run_group::GetRunGroupError::RequestTimeoutException(inner) => Error::RequestTimeoutException(inner),
1875            crate::operation::get_run_group::GetRunGroupError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1876            crate::operation::get_run_group::GetRunGroupError::ServiceQuotaExceededException(inner) => Error::ServiceQuotaExceededException(inner),
1877            crate::operation::get_run_group::GetRunGroupError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1878            crate::operation::get_run_group::GetRunGroupError::ValidationException(inner) => Error::ValidationException(inner),
1879            crate::operation::get_run_group::GetRunGroupError::Unhandled(inner) => Error::Unhandled(inner),
1880        }
1881    }
1882}
1883impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_run_task::GetRunTaskError, R>> for Error
1884where
1885    R: Send + Sync + std::fmt::Debug + 'static,
1886{
1887    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_run_task::GetRunTaskError, R>) -> Self {
1888        match err {
1889            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1890            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1891                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1892                source: err.into(),
1893            }),
1894        }
1895    }
1896}
1897impl From<crate::operation::get_run_task::GetRunTaskError> for Error {
1898    fn from(err: crate::operation::get_run_task::GetRunTaskError) -> Self {
1899        match err {
1900            crate::operation::get_run_task::GetRunTaskError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1901            crate::operation::get_run_task::GetRunTaskError::ConflictException(inner) => Error::ConflictException(inner),
1902            crate::operation::get_run_task::GetRunTaskError::InternalServerException(inner) => Error::InternalServerException(inner),
1903            crate::operation::get_run_task::GetRunTaskError::RequestTimeoutException(inner) => Error::RequestTimeoutException(inner),
1904            crate::operation::get_run_task::GetRunTaskError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1905            crate::operation::get_run_task::GetRunTaskError::ServiceQuotaExceededException(inner) => Error::ServiceQuotaExceededException(inner),
1906            crate::operation::get_run_task::GetRunTaskError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1907            crate::operation::get_run_task::GetRunTaskError::ValidationException(inner) => Error::ValidationException(inner),
1908            crate::operation::get_run_task::GetRunTaskError::Unhandled(inner) => Error::Unhandled(inner),
1909        }
1910    }
1911}
1912impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_s3_access_policy::GetS3AccessPolicyError, R>> for Error
1913where
1914    R: Send + Sync + std::fmt::Debug + 'static,
1915{
1916    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_s3_access_policy::GetS3AccessPolicyError, R>) -> Self {
1917        match err {
1918            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1919            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1920                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1921                source: err.into(),
1922            }),
1923        }
1924    }
1925}
1926impl From<crate::operation::get_s3_access_policy::GetS3AccessPolicyError> for Error {
1927    fn from(err: crate::operation::get_s3_access_policy::GetS3AccessPolicyError) -> Self {
1928        match err {
1929            crate::operation::get_s3_access_policy::GetS3AccessPolicyError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1930            crate::operation::get_s3_access_policy::GetS3AccessPolicyError::InternalServerException(inner) => Error::InternalServerException(inner),
1931            crate::operation::get_s3_access_policy::GetS3AccessPolicyError::NotSupportedOperationException(inner) => {
1932                Error::NotSupportedOperationException(inner)
1933            }
1934            crate::operation::get_s3_access_policy::GetS3AccessPolicyError::RequestTimeoutException(inner) => Error::RequestTimeoutException(inner),
1935            crate::operation::get_s3_access_policy::GetS3AccessPolicyError::ResourceNotFoundException(inner) => {
1936                Error::ResourceNotFoundException(inner)
1937            }
1938            crate::operation::get_s3_access_policy::GetS3AccessPolicyError::ServiceQuotaExceededException(inner) => {
1939                Error::ServiceQuotaExceededException(inner)
1940            }
1941            crate::operation::get_s3_access_policy::GetS3AccessPolicyError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1942            crate::operation::get_s3_access_policy::GetS3AccessPolicyError::ValidationException(inner) => Error::ValidationException(inner),
1943            crate::operation::get_s3_access_policy::GetS3AccessPolicyError::Unhandled(inner) => Error::Unhandled(inner),
1944        }
1945    }
1946}
1947impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_sequence_store::GetSequenceStoreError, R>> for Error
1948where
1949    R: Send + Sync + std::fmt::Debug + 'static,
1950{
1951    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_sequence_store::GetSequenceStoreError, R>) -> 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::get_sequence_store::GetSequenceStoreError> for Error {
1962    fn from(err: crate::operation::get_sequence_store::GetSequenceStoreError) -> Self {
1963        match err {
1964            crate::operation::get_sequence_store::GetSequenceStoreError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1965            crate::operation::get_sequence_store::GetSequenceStoreError::InternalServerException(inner) => Error::InternalServerException(inner),
1966            crate::operation::get_sequence_store::GetSequenceStoreError::RequestTimeoutException(inner) => Error::RequestTimeoutException(inner),
1967            crate::operation::get_sequence_store::GetSequenceStoreError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1968            crate::operation::get_sequence_store::GetSequenceStoreError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1969            crate::operation::get_sequence_store::GetSequenceStoreError::ValidationException(inner) => Error::ValidationException(inner),
1970            crate::operation::get_sequence_store::GetSequenceStoreError::Unhandled(inner) => Error::Unhandled(inner),
1971        }
1972    }
1973}
1974impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_share::GetShareError, R>> for Error
1975where
1976    R: Send + Sync + std::fmt::Debug + 'static,
1977{
1978    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_share::GetShareError, R>) -> Self {
1979        match err {
1980            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1981            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1982                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1983                source: err.into(),
1984            }),
1985        }
1986    }
1987}
1988impl From<crate::operation::get_share::GetShareError> for Error {
1989    fn from(err: crate::operation::get_share::GetShareError) -> Self {
1990        match err {
1991            crate::operation::get_share::GetShareError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1992            crate::operation::get_share::GetShareError::ConflictException(inner) => Error::ConflictException(inner),
1993            crate::operation::get_share::GetShareError::InternalServerException(inner) => Error::InternalServerException(inner),
1994            crate::operation::get_share::GetShareError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1995            crate::operation::get_share::GetShareError::ServiceQuotaExceededException(inner) => Error::ServiceQuotaExceededException(inner),
1996            crate::operation::get_share::GetShareError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1997            crate::operation::get_share::GetShareError::ValidationException(inner) => Error::ValidationException(inner),
1998            crate::operation::get_share::GetShareError::Unhandled(inner) => Error::Unhandled(inner),
1999        }
2000    }
2001}
2002impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_variant_import_job::GetVariantImportJobError, R>> for Error
2003where
2004    R: Send + Sync + std::fmt::Debug + 'static,
2005{
2006    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_variant_import_job::GetVariantImportJobError, R>) -> Self {
2007        match err {
2008            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2009            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2010                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2011                source: err.into(),
2012            }),
2013        }
2014    }
2015}
2016impl From<crate::operation::get_variant_import_job::GetVariantImportJobError> for Error {
2017    fn from(err: crate::operation::get_variant_import_job::GetVariantImportJobError) -> Self {
2018        match err {
2019            crate::operation::get_variant_import_job::GetVariantImportJobError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2020            crate::operation::get_variant_import_job::GetVariantImportJobError::InternalServerException(inner) => {
2021                Error::InternalServerException(inner)
2022            }
2023            crate::operation::get_variant_import_job::GetVariantImportJobError::ResourceNotFoundException(inner) => {
2024                Error::ResourceNotFoundException(inner)
2025            }
2026            crate::operation::get_variant_import_job::GetVariantImportJobError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2027            crate::operation::get_variant_import_job::GetVariantImportJobError::ValidationException(inner) => Error::ValidationException(inner),
2028            crate::operation::get_variant_import_job::GetVariantImportJobError::Unhandled(inner) => Error::Unhandled(inner),
2029        }
2030    }
2031}
2032impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_variant_store::GetVariantStoreError, R>> for Error
2033where
2034    R: Send + Sync + std::fmt::Debug + 'static,
2035{
2036    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_variant_store::GetVariantStoreError, R>) -> Self {
2037        match err {
2038            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2039            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2040                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2041                source: err.into(),
2042            }),
2043        }
2044    }
2045}
2046impl From<crate::operation::get_variant_store::GetVariantStoreError> for Error {
2047    fn from(err: crate::operation::get_variant_store::GetVariantStoreError) -> Self {
2048        match err {
2049            crate::operation::get_variant_store::GetVariantStoreError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2050            crate::operation::get_variant_store::GetVariantStoreError::InternalServerException(inner) => Error::InternalServerException(inner),
2051            crate::operation::get_variant_store::GetVariantStoreError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
2052            crate::operation::get_variant_store::GetVariantStoreError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2053            crate::operation::get_variant_store::GetVariantStoreError::ValidationException(inner) => Error::ValidationException(inner),
2054            crate::operation::get_variant_store::GetVariantStoreError::Unhandled(inner) => Error::Unhandled(inner),
2055        }
2056    }
2057}
2058impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_workflow::GetWorkflowError, R>> for Error
2059where
2060    R: Send + Sync + std::fmt::Debug + 'static,
2061{
2062    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_workflow::GetWorkflowError, R>) -> Self {
2063        match err {
2064            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2065            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2066                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2067                source: err.into(),
2068            }),
2069        }
2070    }
2071}
2072impl From<crate::operation::get_workflow::GetWorkflowError> for Error {
2073    fn from(err: crate::operation::get_workflow::GetWorkflowError) -> Self {
2074        match err {
2075            crate::operation::get_workflow::GetWorkflowError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2076            crate::operation::get_workflow::GetWorkflowError::ConflictException(inner) => Error::ConflictException(inner),
2077            crate::operation::get_workflow::GetWorkflowError::InternalServerException(inner) => Error::InternalServerException(inner),
2078            crate::operation::get_workflow::GetWorkflowError::RequestTimeoutException(inner) => Error::RequestTimeoutException(inner),
2079            crate::operation::get_workflow::GetWorkflowError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
2080            crate::operation::get_workflow::GetWorkflowError::ServiceQuotaExceededException(inner) => Error::ServiceQuotaExceededException(inner),
2081            crate::operation::get_workflow::GetWorkflowError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2082            crate::operation::get_workflow::GetWorkflowError::ValidationException(inner) => Error::ValidationException(inner),
2083            crate::operation::get_workflow::GetWorkflowError::Unhandled(inner) => Error::Unhandled(inner),
2084        }
2085    }
2086}
2087impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_workflow_version::GetWorkflowVersionError, R>> for Error
2088where
2089    R: Send + Sync + std::fmt::Debug + 'static,
2090{
2091    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_workflow_version::GetWorkflowVersionError, R>) -> Self {
2092        match err {
2093            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2094            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2095                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2096                source: err.into(),
2097            }),
2098        }
2099    }
2100}
2101impl From<crate::operation::get_workflow_version::GetWorkflowVersionError> for Error {
2102    fn from(err: crate::operation::get_workflow_version::GetWorkflowVersionError) -> Self {
2103        match err {
2104            crate::operation::get_workflow_version::GetWorkflowVersionError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2105            crate::operation::get_workflow_version::GetWorkflowVersionError::ConflictException(inner) => Error::ConflictException(inner),
2106            crate::operation::get_workflow_version::GetWorkflowVersionError::InternalServerException(inner) => Error::InternalServerException(inner),
2107            crate::operation::get_workflow_version::GetWorkflowVersionError::RequestTimeoutException(inner) => Error::RequestTimeoutException(inner),
2108            crate::operation::get_workflow_version::GetWorkflowVersionError::ResourceNotFoundException(inner) => {
2109                Error::ResourceNotFoundException(inner)
2110            }
2111            crate::operation::get_workflow_version::GetWorkflowVersionError::ServiceQuotaExceededException(inner) => {
2112                Error::ServiceQuotaExceededException(inner)
2113            }
2114            crate::operation::get_workflow_version::GetWorkflowVersionError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2115            crate::operation::get_workflow_version::GetWorkflowVersionError::ValidationException(inner) => Error::ValidationException(inner),
2116            crate::operation::get_workflow_version::GetWorkflowVersionError::Unhandled(inner) => Error::Unhandled(inner),
2117        }
2118    }
2119}
2120impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_annotation_import_jobs::ListAnnotationImportJobsError, R>>
2121    for Error
2122where
2123    R: Send + Sync + std::fmt::Debug + 'static,
2124{
2125    fn from(
2126        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_annotation_import_jobs::ListAnnotationImportJobsError, R>,
2127    ) -> Self {
2128        match err {
2129            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2130            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2131                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2132                source: err.into(),
2133            }),
2134        }
2135    }
2136}
2137impl From<crate::operation::list_annotation_import_jobs::ListAnnotationImportJobsError> for Error {
2138    fn from(err: crate::operation::list_annotation_import_jobs::ListAnnotationImportJobsError) -> Self {
2139        match err {
2140            crate::operation::list_annotation_import_jobs::ListAnnotationImportJobsError::AccessDeniedException(inner) => {
2141                Error::AccessDeniedException(inner)
2142            }
2143            crate::operation::list_annotation_import_jobs::ListAnnotationImportJobsError::InternalServerException(inner) => {
2144                Error::InternalServerException(inner)
2145            }
2146            crate::operation::list_annotation_import_jobs::ListAnnotationImportJobsError::ResourceNotFoundException(inner) => {
2147                Error::ResourceNotFoundException(inner)
2148            }
2149            crate::operation::list_annotation_import_jobs::ListAnnotationImportJobsError::ThrottlingException(inner) => {
2150                Error::ThrottlingException(inner)
2151            }
2152            crate::operation::list_annotation_import_jobs::ListAnnotationImportJobsError::ValidationException(inner) => {
2153                Error::ValidationException(inner)
2154            }
2155            crate::operation::list_annotation_import_jobs::ListAnnotationImportJobsError::Unhandled(inner) => Error::Unhandled(inner),
2156        }
2157    }
2158}
2159impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_annotation_stores::ListAnnotationStoresError, R>> for Error
2160where
2161    R: Send + Sync + std::fmt::Debug + 'static,
2162{
2163    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_annotation_stores::ListAnnotationStoresError, R>) -> Self {
2164        match err {
2165            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2166            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2167                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2168                source: err.into(),
2169            }),
2170        }
2171    }
2172}
2173impl From<crate::operation::list_annotation_stores::ListAnnotationStoresError> for Error {
2174    fn from(err: crate::operation::list_annotation_stores::ListAnnotationStoresError) -> Self {
2175        match err {
2176            crate::operation::list_annotation_stores::ListAnnotationStoresError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2177            crate::operation::list_annotation_stores::ListAnnotationStoresError::InternalServerException(inner) => {
2178                Error::InternalServerException(inner)
2179            }
2180            crate::operation::list_annotation_stores::ListAnnotationStoresError::ResourceNotFoundException(inner) => {
2181                Error::ResourceNotFoundException(inner)
2182            }
2183            crate::operation::list_annotation_stores::ListAnnotationStoresError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2184            crate::operation::list_annotation_stores::ListAnnotationStoresError::ValidationException(inner) => Error::ValidationException(inner),
2185            crate::operation::list_annotation_stores::ListAnnotationStoresError::Unhandled(inner) => Error::Unhandled(inner),
2186        }
2187    }
2188}
2189impl<R>
2190    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_annotation_store_versions::ListAnnotationStoreVersionsError, R>>
2191    for Error
2192where
2193    R: Send + Sync + std::fmt::Debug + 'static,
2194{
2195    fn from(
2196        err: ::aws_smithy_runtime_api::client::result::SdkError<
2197            crate::operation::list_annotation_store_versions::ListAnnotationStoreVersionsError,
2198            R,
2199        >,
2200    ) -> Self {
2201        match err {
2202            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2203            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2204                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2205                source: err.into(),
2206            }),
2207        }
2208    }
2209}
2210impl From<crate::operation::list_annotation_store_versions::ListAnnotationStoreVersionsError> for Error {
2211    fn from(err: crate::operation::list_annotation_store_versions::ListAnnotationStoreVersionsError) -> Self {
2212        match err {
2213            crate::operation::list_annotation_store_versions::ListAnnotationStoreVersionsError::AccessDeniedException(inner) => {
2214                Error::AccessDeniedException(inner)
2215            }
2216            crate::operation::list_annotation_store_versions::ListAnnotationStoreVersionsError::InternalServerException(inner) => {
2217                Error::InternalServerException(inner)
2218            }
2219            crate::operation::list_annotation_store_versions::ListAnnotationStoreVersionsError::ResourceNotFoundException(inner) => {
2220                Error::ResourceNotFoundException(inner)
2221            }
2222            crate::operation::list_annotation_store_versions::ListAnnotationStoreVersionsError::ThrottlingException(inner) => {
2223                Error::ThrottlingException(inner)
2224            }
2225            crate::operation::list_annotation_store_versions::ListAnnotationStoreVersionsError::ValidationException(inner) => {
2226                Error::ValidationException(inner)
2227            }
2228            crate::operation::list_annotation_store_versions::ListAnnotationStoreVersionsError::Unhandled(inner) => Error::Unhandled(inner),
2229        }
2230    }
2231}
2232impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_batch::ListBatchError, R>> for Error
2233where
2234    R: Send + Sync + std::fmt::Debug + 'static,
2235{
2236    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_batch::ListBatchError, R>) -> Self {
2237        match err {
2238            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2239            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2240                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2241                source: err.into(),
2242            }),
2243        }
2244    }
2245}
2246impl From<crate::operation::list_batch::ListBatchError> for Error {
2247    fn from(err: crate::operation::list_batch::ListBatchError) -> Self {
2248        match err {
2249            crate::operation::list_batch::ListBatchError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2250            crate::operation::list_batch::ListBatchError::InternalServerException(inner) => Error::InternalServerException(inner),
2251            crate::operation::list_batch::ListBatchError::RequestTimeoutException(inner) => Error::RequestTimeoutException(inner),
2252            crate::operation::list_batch::ListBatchError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2253            crate::operation::list_batch::ListBatchError::ValidationException(inner) => Error::ValidationException(inner),
2254            crate::operation::list_batch::ListBatchError::Unhandled(inner) => Error::Unhandled(inner),
2255        }
2256    }
2257}
2258impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_configurations::ListConfigurationsError, R>> for Error
2259where
2260    R: Send + Sync + std::fmt::Debug + 'static,
2261{
2262    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_configurations::ListConfigurationsError, R>) -> Self {
2263        match err {
2264            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2265            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2266                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2267                source: err.into(),
2268            }),
2269        }
2270    }
2271}
2272impl From<crate::operation::list_configurations::ListConfigurationsError> for Error {
2273    fn from(err: crate::operation::list_configurations::ListConfigurationsError) -> Self {
2274        match err {
2275            crate::operation::list_configurations::ListConfigurationsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2276            crate::operation::list_configurations::ListConfigurationsError::ConflictException(inner) => Error::ConflictException(inner),
2277            crate::operation::list_configurations::ListConfigurationsError::InternalServerException(inner) => Error::InternalServerException(inner),
2278            crate::operation::list_configurations::ListConfigurationsError::RequestTimeoutException(inner) => Error::RequestTimeoutException(inner),
2279            crate::operation::list_configurations::ListConfigurationsError::ResourceNotFoundException(inner) => {
2280                Error::ResourceNotFoundException(inner)
2281            }
2282            crate::operation::list_configurations::ListConfigurationsError::ServiceQuotaExceededException(inner) => {
2283                Error::ServiceQuotaExceededException(inner)
2284            }
2285            crate::operation::list_configurations::ListConfigurationsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2286            crate::operation::list_configurations::ListConfigurationsError::ValidationException(inner) => Error::ValidationException(inner),
2287            crate::operation::list_configurations::ListConfigurationsError::Unhandled(inner) => Error::Unhandled(inner),
2288        }
2289    }
2290}
2291impl<R>
2292    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_multipart_read_set_uploads::ListMultipartReadSetUploadsError, R>>
2293    for Error
2294where
2295    R: Send + Sync + std::fmt::Debug + 'static,
2296{
2297    fn from(
2298        err: ::aws_smithy_runtime_api::client::result::SdkError<
2299            crate::operation::list_multipart_read_set_uploads::ListMultipartReadSetUploadsError,
2300            R,
2301        >,
2302    ) -> Self {
2303        match err {
2304            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2305            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2306                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2307                source: err.into(),
2308            }),
2309        }
2310    }
2311}
2312impl From<crate::operation::list_multipart_read_set_uploads::ListMultipartReadSetUploadsError> for Error {
2313    fn from(err: crate::operation::list_multipart_read_set_uploads::ListMultipartReadSetUploadsError) -> Self {
2314        match err {
2315            crate::operation::list_multipart_read_set_uploads::ListMultipartReadSetUploadsError::AccessDeniedException(inner) => {
2316                Error::AccessDeniedException(inner)
2317            }
2318            crate::operation::list_multipart_read_set_uploads::ListMultipartReadSetUploadsError::InternalServerException(inner) => {
2319                Error::InternalServerException(inner)
2320            }
2321            crate::operation::list_multipart_read_set_uploads::ListMultipartReadSetUploadsError::NotSupportedOperationException(inner) => {
2322                Error::NotSupportedOperationException(inner)
2323            }
2324            crate::operation::list_multipart_read_set_uploads::ListMultipartReadSetUploadsError::RequestTimeoutException(inner) => {
2325                Error::RequestTimeoutException(inner)
2326            }
2327            crate::operation::list_multipart_read_set_uploads::ListMultipartReadSetUploadsError::ResourceNotFoundException(inner) => {
2328                Error::ResourceNotFoundException(inner)
2329            }
2330            crate::operation::list_multipart_read_set_uploads::ListMultipartReadSetUploadsError::ServiceQuotaExceededException(inner) => {
2331                Error::ServiceQuotaExceededException(inner)
2332            }
2333            crate::operation::list_multipart_read_set_uploads::ListMultipartReadSetUploadsError::ThrottlingException(inner) => {
2334                Error::ThrottlingException(inner)
2335            }
2336            crate::operation::list_multipart_read_set_uploads::ListMultipartReadSetUploadsError::ValidationException(inner) => {
2337                Error::ValidationException(inner)
2338            }
2339            crate::operation::list_multipart_read_set_uploads::ListMultipartReadSetUploadsError::Unhandled(inner) => Error::Unhandled(inner),
2340        }
2341    }
2342}
2343impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_read_set_activation_jobs::ListReadSetActivationJobsError, R>>
2344    for Error
2345where
2346    R: Send + Sync + std::fmt::Debug + 'static,
2347{
2348    fn from(
2349        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_read_set_activation_jobs::ListReadSetActivationJobsError, R>,
2350    ) -> Self {
2351        match err {
2352            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2353            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2354                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2355                source: err.into(),
2356            }),
2357        }
2358    }
2359}
2360impl From<crate::operation::list_read_set_activation_jobs::ListReadSetActivationJobsError> for Error {
2361    fn from(err: crate::operation::list_read_set_activation_jobs::ListReadSetActivationJobsError) -> Self {
2362        match err {
2363            crate::operation::list_read_set_activation_jobs::ListReadSetActivationJobsError::AccessDeniedException(inner) => {
2364                Error::AccessDeniedException(inner)
2365            }
2366            crate::operation::list_read_set_activation_jobs::ListReadSetActivationJobsError::InternalServerException(inner) => {
2367                Error::InternalServerException(inner)
2368            }
2369            crate::operation::list_read_set_activation_jobs::ListReadSetActivationJobsError::RequestTimeoutException(inner) => {
2370                Error::RequestTimeoutException(inner)
2371            }
2372            crate::operation::list_read_set_activation_jobs::ListReadSetActivationJobsError::ResourceNotFoundException(inner) => {
2373                Error::ResourceNotFoundException(inner)
2374            }
2375            crate::operation::list_read_set_activation_jobs::ListReadSetActivationJobsError::ThrottlingException(inner) => {
2376                Error::ThrottlingException(inner)
2377            }
2378            crate::operation::list_read_set_activation_jobs::ListReadSetActivationJobsError::ValidationException(inner) => {
2379                Error::ValidationException(inner)
2380            }
2381            crate::operation::list_read_set_activation_jobs::ListReadSetActivationJobsError::Unhandled(inner) => Error::Unhandled(inner),
2382        }
2383    }
2384}
2385impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_read_set_export_jobs::ListReadSetExportJobsError, R>> for Error
2386where
2387    R: Send + Sync + std::fmt::Debug + 'static,
2388{
2389    fn from(
2390        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_read_set_export_jobs::ListReadSetExportJobsError, R>,
2391    ) -> Self {
2392        match err {
2393            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2394            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2395                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2396                source: err.into(),
2397            }),
2398        }
2399    }
2400}
2401impl From<crate::operation::list_read_set_export_jobs::ListReadSetExportJobsError> for Error {
2402    fn from(err: crate::operation::list_read_set_export_jobs::ListReadSetExportJobsError) -> Self {
2403        match err {
2404            crate::operation::list_read_set_export_jobs::ListReadSetExportJobsError::AccessDeniedException(inner) => {
2405                Error::AccessDeniedException(inner)
2406            }
2407            crate::operation::list_read_set_export_jobs::ListReadSetExportJobsError::InternalServerException(inner) => {
2408                Error::InternalServerException(inner)
2409            }
2410            crate::operation::list_read_set_export_jobs::ListReadSetExportJobsError::RequestTimeoutException(inner) => {
2411                Error::RequestTimeoutException(inner)
2412            }
2413            crate::operation::list_read_set_export_jobs::ListReadSetExportJobsError::ResourceNotFoundException(inner) => {
2414                Error::ResourceNotFoundException(inner)
2415            }
2416            crate::operation::list_read_set_export_jobs::ListReadSetExportJobsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2417            crate::operation::list_read_set_export_jobs::ListReadSetExportJobsError::ValidationException(inner) => Error::ValidationException(inner),
2418            crate::operation::list_read_set_export_jobs::ListReadSetExportJobsError::Unhandled(inner) => Error::Unhandled(inner),
2419        }
2420    }
2421}
2422impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_read_set_import_jobs::ListReadSetImportJobsError, R>> for Error
2423where
2424    R: Send + Sync + std::fmt::Debug + 'static,
2425{
2426    fn from(
2427        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_read_set_import_jobs::ListReadSetImportJobsError, R>,
2428    ) -> Self {
2429        match err {
2430            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2431            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2432                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2433                source: err.into(),
2434            }),
2435        }
2436    }
2437}
2438impl From<crate::operation::list_read_set_import_jobs::ListReadSetImportJobsError> for Error {
2439    fn from(err: crate::operation::list_read_set_import_jobs::ListReadSetImportJobsError) -> Self {
2440        match err {
2441            crate::operation::list_read_set_import_jobs::ListReadSetImportJobsError::AccessDeniedException(inner) => {
2442                Error::AccessDeniedException(inner)
2443            }
2444            crate::operation::list_read_set_import_jobs::ListReadSetImportJobsError::InternalServerException(inner) => {
2445                Error::InternalServerException(inner)
2446            }
2447            crate::operation::list_read_set_import_jobs::ListReadSetImportJobsError::RequestTimeoutException(inner) => {
2448                Error::RequestTimeoutException(inner)
2449            }
2450            crate::operation::list_read_set_import_jobs::ListReadSetImportJobsError::ResourceNotFoundException(inner) => {
2451                Error::ResourceNotFoundException(inner)
2452            }
2453            crate::operation::list_read_set_import_jobs::ListReadSetImportJobsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2454            crate::operation::list_read_set_import_jobs::ListReadSetImportJobsError::ValidationException(inner) => Error::ValidationException(inner),
2455            crate::operation::list_read_set_import_jobs::ListReadSetImportJobsError::Unhandled(inner) => Error::Unhandled(inner),
2456        }
2457    }
2458}
2459impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_read_sets::ListReadSetsError, R>> for Error
2460where
2461    R: Send + Sync + std::fmt::Debug + 'static,
2462{
2463    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_read_sets::ListReadSetsError, R>) -> Self {
2464        match err {
2465            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2466            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2467                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2468                source: err.into(),
2469            }),
2470        }
2471    }
2472}
2473impl From<crate::operation::list_read_sets::ListReadSetsError> for Error {
2474    fn from(err: crate::operation::list_read_sets::ListReadSetsError) -> Self {
2475        match err {
2476            crate::operation::list_read_sets::ListReadSetsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2477            crate::operation::list_read_sets::ListReadSetsError::InternalServerException(inner) => Error::InternalServerException(inner),
2478            crate::operation::list_read_sets::ListReadSetsError::RequestTimeoutException(inner) => Error::RequestTimeoutException(inner),
2479            crate::operation::list_read_sets::ListReadSetsError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
2480            crate::operation::list_read_sets::ListReadSetsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2481            crate::operation::list_read_sets::ListReadSetsError::ValidationException(inner) => Error::ValidationException(inner),
2482            crate::operation::list_read_sets::ListReadSetsError::Unhandled(inner) => Error::Unhandled(inner),
2483        }
2484    }
2485}
2486impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_read_set_upload_parts::ListReadSetUploadPartsError, R>>
2487    for Error
2488where
2489    R: Send + Sync + std::fmt::Debug + 'static,
2490{
2491    fn from(
2492        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_read_set_upload_parts::ListReadSetUploadPartsError, R>,
2493    ) -> Self {
2494        match err {
2495            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2496            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2497                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2498                source: err.into(),
2499            }),
2500        }
2501    }
2502}
2503impl From<crate::operation::list_read_set_upload_parts::ListReadSetUploadPartsError> for Error {
2504    fn from(err: crate::operation::list_read_set_upload_parts::ListReadSetUploadPartsError) -> Self {
2505        match err {
2506            crate::operation::list_read_set_upload_parts::ListReadSetUploadPartsError::AccessDeniedException(inner) => {
2507                Error::AccessDeniedException(inner)
2508            }
2509            crate::operation::list_read_set_upload_parts::ListReadSetUploadPartsError::InternalServerException(inner) => {
2510                Error::InternalServerException(inner)
2511            }
2512            crate::operation::list_read_set_upload_parts::ListReadSetUploadPartsError::NotSupportedOperationException(inner) => {
2513                Error::NotSupportedOperationException(inner)
2514            }
2515            crate::operation::list_read_set_upload_parts::ListReadSetUploadPartsError::RequestTimeoutException(inner) => {
2516                Error::RequestTimeoutException(inner)
2517            }
2518            crate::operation::list_read_set_upload_parts::ListReadSetUploadPartsError::ResourceNotFoundException(inner) => {
2519                Error::ResourceNotFoundException(inner)
2520            }
2521            crate::operation::list_read_set_upload_parts::ListReadSetUploadPartsError::ServiceQuotaExceededException(inner) => {
2522                Error::ServiceQuotaExceededException(inner)
2523            }
2524            crate::operation::list_read_set_upload_parts::ListReadSetUploadPartsError::ThrottlingException(inner) => {
2525                Error::ThrottlingException(inner)
2526            }
2527            crate::operation::list_read_set_upload_parts::ListReadSetUploadPartsError::ValidationException(inner) => {
2528                Error::ValidationException(inner)
2529            }
2530            crate::operation::list_read_set_upload_parts::ListReadSetUploadPartsError::Unhandled(inner) => Error::Unhandled(inner),
2531        }
2532    }
2533}
2534impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_reference_import_jobs::ListReferenceImportJobsError, R>>
2535    for Error
2536where
2537    R: Send + Sync + std::fmt::Debug + 'static,
2538{
2539    fn from(
2540        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_reference_import_jobs::ListReferenceImportJobsError, R>,
2541    ) -> Self {
2542        match err {
2543            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2544            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2545                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2546                source: err.into(),
2547            }),
2548        }
2549    }
2550}
2551impl From<crate::operation::list_reference_import_jobs::ListReferenceImportJobsError> for Error {
2552    fn from(err: crate::operation::list_reference_import_jobs::ListReferenceImportJobsError) -> Self {
2553        match err {
2554            crate::operation::list_reference_import_jobs::ListReferenceImportJobsError::AccessDeniedException(inner) => {
2555                Error::AccessDeniedException(inner)
2556            }
2557            crate::operation::list_reference_import_jobs::ListReferenceImportJobsError::InternalServerException(inner) => {
2558                Error::InternalServerException(inner)
2559            }
2560            crate::operation::list_reference_import_jobs::ListReferenceImportJobsError::RequestTimeoutException(inner) => {
2561                Error::RequestTimeoutException(inner)
2562            }
2563            crate::operation::list_reference_import_jobs::ListReferenceImportJobsError::ResourceNotFoundException(inner) => {
2564                Error::ResourceNotFoundException(inner)
2565            }
2566            crate::operation::list_reference_import_jobs::ListReferenceImportJobsError::ThrottlingException(inner) => {
2567                Error::ThrottlingException(inner)
2568            }
2569            crate::operation::list_reference_import_jobs::ListReferenceImportJobsError::ValidationException(inner) => {
2570                Error::ValidationException(inner)
2571            }
2572            crate::operation::list_reference_import_jobs::ListReferenceImportJobsError::Unhandled(inner) => Error::Unhandled(inner),
2573        }
2574    }
2575}
2576impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_references::ListReferencesError, R>> for Error
2577where
2578    R: Send + Sync + std::fmt::Debug + 'static,
2579{
2580    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_references::ListReferencesError, R>) -> Self {
2581        match err {
2582            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2583            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2584                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2585                source: err.into(),
2586            }),
2587        }
2588    }
2589}
2590impl From<crate::operation::list_references::ListReferencesError> for Error {
2591    fn from(err: crate::operation::list_references::ListReferencesError) -> Self {
2592        match err {
2593            crate::operation::list_references::ListReferencesError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2594            crate::operation::list_references::ListReferencesError::InternalServerException(inner) => Error::InternalServerException(inner),
2595            crate::operation::list_references::ListReferencesError::RequestTimeoutException(inner) => Error::RequestTimeoutException(inner),
2596            crate::operation::list_references::ListReferencesError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
2597            crate::operation::list_references::ListReferencesError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2598            crate::operation::list_references::ListReferencesError::ValidationException(inner) => Error::ValidationException(inner),
2599            crate::operation::list_references::ListReferencesError::Unhandled(inner) => Error::Unhandled(inner),
2600        }
2601    }
2602}
2603impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_reference_stores::ListReferenceStoresError, R>> for Error
2604where
2605    R: Send + Sync + std::fmt::Debug + 'static,
2606{
2607    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_reference_stores::ListReferenceStoresError, R>) -> Self {
2608        match err {
2609            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2610            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2611                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2612                source: err.into(),
2613            }),
2614        }
2615    }
2616}
2617impl From<crate::operation::list_reference_stores::ListReferenceStoresError> for Error {
2618    fn from(err: crate::operation::list_reference_stores::ListReferenceStoresError) -> Self {
2619        match err {
2620            crate::operation::list_reference_stores::ListReferenceStoresError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2621            crate::operation::list_reference_stores::ListReferenceStoresError::InternalServerException(inner) => {
2622                Error::InternalServerException(inner)
2623            }
2624            crate::operation::list_reference_stores::ListReferenceStoresError::RequestTimeoutException(inner) => {
2625                Error::RequestTimeoutException(inner)
2626            }
2627            crate::operation::list_reference_stores::ListReferenceStoresError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2628            crate::operation::list_reference_stores::ListReferenceStoresError::ValidationException(inner) => Error::ValidationException(inner),
2629            crate::operation::list_reference_stores::ListReferenceStoresError::Unhandled(inner) => Error::Unhandled(inner),
2630        }
2631    }
2632}
2633impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_run_caches::ListRunCachesError, R>> for Error
2634where
2635    R: Send + Sync + std::fmt::Debug + 'static,
2636{
2637    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_run_caches::ListRunCachesError, R>) -> Self {
2638        match err {
2639            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2640            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2641                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2642                source: err.into(),
2643            }),
2644        }
2645    }
2646}
2647impl From<crate::operation::list_run_caches::ListRunCachesError> for Error {
2648    fn from(err: crate::operation::list_run_caches::ListRunCachesError) -> Self {
2649        match err {
2650            crate::operation::list_run_caches::ListRunCachesError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2651            crate::operation::list_run_caches::ListRunCachesError::ConflictException(inner) => Error::ConflictException(inner),
2652            crate::operation::list_run_caches::ListRunCachesError::InternalServerException(inner) => Error::InternalServerException(inner),
2653            crate::operation::list_run_caches::ListRunCachesError::RequestTimeoutException(inner) => Error::RequestTimeoutException(inner),
2654            crate::operation::list_run_caches::ListRunCachesError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
2655            crate::operation::list_run_caches::ListRunCachesError::ServiceQuotaExceededException(inner) => {
2656                Error::ServiceQuotaExceededException(inner)
2657            }
2658            crate::operation::list_run_caches::ListRunCachesError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2659            crate::operation::list_run_caches::ListRunCachesError::ValidationException(inner) => Error::ValidationException(inner),
2660            crate::operation::list_run_caches::ListRunCachesError::Unhandled(inner) => Error::Unhandled(inner),
2661        }
2662    }
2663}
2664impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_run_groups::ListRunGroupsError, R>> for Error
2665where
2666    R: Send + Sync + std::fmt::Debug + 'static,
2667{
2668    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_run_groups::ListRunGroupsError, R>) -> Self {
2669        match err {
2670            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2671            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2672                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2673                source: err.into(),
2674            }),
2675        }
2676    }
2677}
2678impl From<crate::operation::list_run_groups::ListRunGroupsError> for Error {
2679    fn from(err: crate::operation::list_run_groups::ListRunGroupsError) -> Self {
2680        match err {
2681            crate::operation::list_run_groups::ListRunGroupsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2682            crate::operation::list_run_groups::ListRunGroupsError::ConflictException(inner) => Error::ConflictException(inner),
2683            crate::operation::list_run_groups::ListRunGroupsError::InternalServerException(inner) => Error::InternalServerException(inner),
2684            crate::operation::list_run_groups::ListRunGroupsError::RequestTimeoutException(inner) => Error::RequestTimeoutException(inner),
2685            crate::operation::list_run_groups::ListRunGroupsError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
2686            crate::operation::list_run_groups::ListRunGroupsError::ServiceQuotaExceededException(inner) => {
2687                Error::ServiceQuotaExceededException(inner)
2688            }
2689            crate::operation::list_run_groups::ListRunGroupsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2690            crate::operation::list_run_groups::ListRunGroupsError::ValidationException(inner) => Error::ValidationException(inner),
2691            crate::operation::list_run_groups::ListRunGroupsError::Unhandled(inner) => Error::Unhandled(inner),
2692        }
2693    }
2694}
2695impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_runs::ListRunsError, 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::list_runs::ListRunsError, 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::list_runs::ListRunsError> for Error {
2710    fn from(err: crate::operation::list_runs::ListRunsError) -> Self {
2711        match err {
2712            crate::operation::list_runs::ListRunsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2713            crate::operation::list_runs::ListRunsError::ConflictException(inner) => Error::ConflictException(inner),
2714            crate::operation::list_runs::ListRunsError::InternalServerException(inner) => Error::InternalServerException(inner),
2715            crate::operation::list_runs::ListRunsError::RequestTimeoutException(inner) => Error::RequestTimeoutException(inner),
2716            crate::operation::list_runs::ListRunsError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
2717            crate::operation::list_runs::ListRunsError::ServiceQuotaExceededException(inner) => Error::ServiceQuotaExceededException(inner),
2718            crate::operation::list_runs::ListRunsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2719            crate::operation::list_runs::ListRunsError::ValidationException(inner) => Error::ValidationException(inner),
2720            crate::operation::list_runs::ListRunsError::Unhandled(inner) => Error::Unhandled(inner),
2721        }
2722    }
2723}
2724impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_runs_in_batch::ListRunsInBatchError, R>> for Error
2725where
2726    R: Send + Sync + std::fmt::Debug + 'static,
2727{
2728    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_runs_in_batch::ListRunsInBatchError, R>) -> Self {
2729        match err {
2730            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2731            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2732                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2733                source: err.into(),
2734            }),
2735        }
2736    }
2737}
2738impl From<crate::operation::list_runs_in_batch::ListRunsInBatchError> for Error {
2739    fn from(err: crate::operation::list_runs_in_batch::ListRunsInBatchError) -> Self {
2740        match err {
2741            crate::operation::list_runs_in_batch::ListRunsInBatchError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2742            crate::operation::list_runs_in_batch::ListRunsInBatchError::ConflictException(inner) => Error::ConflictException(inner),
2743            crate::operation::list_runs_in_batch::ListRunsInBatchError::InternalServerException(inner) => Error::InternalServerException(inner),
2744            crate::operation::list_runs_in_batch::ListRunsInBatchError::RequestTimeoutException(inner) => Error::RequestTimeoutException(inner),
2745            crate::operation::list_runs_in_batch::ListRunsInBatchError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
2746            crate::operation::list_runs_in_batch::ListRunsInBatchError::ServiceQuotaExceededException(inner) => {
2747                Error::ServiceQuotaExceededException(inner)
2748            }
2749            crate::operation::list_runs_in_batch::ListRunsInBatchError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2750            crate::operation::list_runs_in_batch::ListRunsInBatchError::ValidationException(inner) => Error::ValidationException(inner),
2751            crate::operation::list_runs_in_batch::ListRunsInBatchError::Unhandled(inner) => Error::Unhandled(inner),
2752        }
2753    }
2754}
2755impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_run_tasks::ListRunTasksError, 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::list_run_tasks::ListRunTasksError, 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::list_run_tasks::ListRunTasksError> for Error {
2770    fn from(err: crate::operation::list_run_tasks::ListRunTasksError) -> Self {
2771        match err {
2772            crate::operation::list_run_tasks::ListRunTasksError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2773            crate::operation::list_run_tasks::ListRunTasksError::ConflictException(inner) => Error::ConflictException(inner),
2774            crate::operation::list_run_tasks::ListRunTasksError::InternalServerException(inner) => Error::InternalServerException(inner),
2775            crate::operation::list_run_tasks::ListRunTasksError::RequestTimeoutException(inner) => Error::RequestTimeoutException(inner),
2776            crate::operation::list_run_tasks::ListRunTasksError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
2777            crate::operation::list_run_tasks::ListRunTasksError::ServiceQuotaExceededException(inner) => Error::ServiceQuotaExceededException(inner),
2778            crate::operation::list_run_tasks::ListRunTasksError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2779            crate::operation::list_run_tasks::ListRunTasksError::ValidationException(inner) => Error::ValidationException(inner),
2780            crate::operation::list_run_tasks::ListRunTasksError::Unhandled(inner) => Error::Unhandled(inner),
2781        }
2782    }
2783}
2784impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_sequence_stores::ListSequenceStoresError, R>> for Error
2785where
2786    R: Send + Sync + std::fmt::Debug + 'static,
2787{
2788    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_sequence_stores::ListSequenceStoresError, R>) -> Self {
2789        match err {
2790            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2791            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2792                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2793                source: err.into(),
2794            }),
2795        }
2796    }
2797}
2798impl From<crate::operation::list_sequence_stores::ListSequenceStoresError> for Error {
2799    fn from(err: crate::operation::list_sequence_stores::ListSequenceStoresError) -> Self {
2800        match err {
2801            crate::operation::list_sequence_stores::ListSequenceStoresError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2802            crate::operation::list_sequence_stores::ListSequenceStoresError::InternalServerException(inner) => Error::InternalServerException(inner),
2803            crate::operation::list_sequence_stores::ListSequenceStoresError::RequestTimeoutException(inner) => Error::RequestTimeoutException(inner),
2804            crate::operation::list_sequence_stores::ListSequenceStoresError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2805            crate::operation::list_sequence_stores::ListSequenceStoresError::ValidationException(inner) => Error::ValidationException(inner),
2806            crate::operation::list_sequence_stores::ListSequenceStoresError::Unhandled(inner) => Error::Unhandled(inner),
2807        }
2808    }
2809}
2810impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_shares::ListSharesError, R>> for Error
2811where
2812    R: Send + Sync + std::fmt::Debug + 'static,
2813{
2814    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_shares::ListSharesError, R>) -> Self {
2815        match err {
2816            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2817            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2818                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2819                source: err.into(),
2820            }),
2821        }
2822    }
2823}
2824impl From<crate::operation::list_shares::ListSharesError> for Error {
2825    fn from(err: crate::operation::list_shares::ListSharesError) -> Self {
2826        match err {
2827            crate::operation::list_shares::ListSharesError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2828            crate::operation::list_shares::ListSharesError::ConflictException(inner) => Error::ConflictException(inner),
2829            crate::operation::list_shares::ListSharesError::InternalServerException(inner) => Error::InternalServerException(inner),
2830            crate::operation::list_shares::ListSharesError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
2831            crate::operation::list_shares::ListSharesError::ServiceQuotaExceededException(inner) => Error::ServiceQuotaExceededException(inner),
2832            crate::operation::list_shares::ListSharesError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2833            crate::operation::list_shares::ListSharesError::ValidationException(inner) => Error::ValidationException(inner),
2834            crate::operation::list_shares::ListSharesError::Unhandled(inner) => Error::Unhandled(inner),
2835        }
2836    }
2837}
2838impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_tags_for_resource::ListTagsForResourceError, R>> for Error
2839where
2840    R: Send + Sync + std::fmt::Debug + 'static,
2841{
2842    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_tags_for_resource::ListTagsForResourceError, R>) -> Self {
2843        match err {
2844            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2845            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2846                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2847                source: err.into(),
2848            }),
2849        }
2850    }
2851}
2852impl From<crate::operation::list_tags_for_resource::ListTagsForResourceError> for Error {
2853    fn from(err: crate::operation::list_tags_for_resource::ListTagsForResourceError) -> Self {
2854        match err {
2855            crate::operation::list_tags_for_resource::ListTagsForResourceError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2856            crate::operation::list_tags_for_resource::ListTagsForResourceError::ConflictException(inner) => Error::ConflictException(inner),
2857            crate::operation::list_tags_for_resource::ListTagsForResourceError::InternalServerException(inner) => {
2858                Error::InternalServerException(inner)
2859            }
2860            crate::operation::list_tags_for_resource::ListTagsForResourceError::RequestTimeoutException(inner) => {
2861                Error::RequestTimeoutException(inner)
2862            }
2863            crate::operation::list_tags_for_resource::ListTagsForResourceError::ResourceNotFoundException(inner) => {
2864                Error::ResourceNotFoundException(inner)
2865            }
2866            crate::operation::list_tags_for_resource::ListTagsForResourceError::ServiceQuotaExceededException(inner) => {
2867                Error::ServiceQuotaExceededException(inner)
2868            }
2869            crate::operation::list_tags_for_resource::ListTagsForResourceError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2870            crate::operation::list_tags_for_resource::ListTagsForResourceError::ValidationException(inner) => Error::ValidationException(inner),
2871            crate::operation::list_tags_for_resource::ListTagsForResourceError::Unhandled(inner) => Error::Unhandled(inner),
2872        }
2873    }
2874}
2875impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_variant_import_jobs::ListVariantImportJobsError, R>> for Error
2876where
2877    R: Send + Sync + std::fmt::Debug + 'static,
2878{
2879    fn from(
2880        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_variant_import_jobs::ListVariantImportJobsError, R>,
2881    ) -> Self {
2882        match err {
2883            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2884            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2885                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2886                source: err.into(),
2887            }),
2888        }
2889    }
2890}
2891impl From<crate::operation::list_variant_import_jobs::ListVariantImportJobsError> for Error {
2892    fn from(err: crate::operation::list_variant_import_jobs::ListVariantImportJobsError) -> Self {
2893        match err {
2894            crate::operation::list_variant_import_jobs::ListVariantImportJobsError::AccessDeniedException(inner) => {
2895                Error::AccessDeniedException(inner)
2896            }
2897            crate::operation::list_variant_import_jobs::ListVariantImportJobsError::InternalServerException(inner) => {
2898                Error::InternalServerException(inner)
2899            }
2900            crate::operation::list_variant_import_jobs::ListVariantImportJobsError::ResourceNotFoundException(inner) => {
2901                Error::ResourceNotFoundException(inner)
2902            }
2903            crate::operation::list_variant_import_jobs::ListVariantImportJobsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2904            crate::operation::list_variant_import_jobs::ListVariantImportJobsError::ValidationException(inner) => Error::ValidationException(inner),
2905            crate::operation::list_variant_import_jobs::ListVariantImportJobsError::Unhandled(inner) => Error::Unhandled(inner),
2906        }
2907    }
2908}
2909impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_variant_stores::ListVariantStoresError, R>> for Error
2910where
2911    R: Send + Sync + std::fmt::Debug + 'static,
2912{
2913    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_variant_stores::ListVariantStoresError, R>) -> Self {
2914        match err {
2915            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2916            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2917                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2918                source: err.into(),
2919            }),
2920        }
2921    }
2922}
2923impl From<crate::operation::list_variant_stores::ListVariantStoresError> for Error {
2924    fn from(err: crate::operation::list_variant_stores::ListVariantStoresError) -> Self {
2925        match err {
2926            crate::operation::list_variant_stores::ListVariantStoresError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2927            crate::operation::list_variant_stores::ListVariantStoresError::InternalServerException(inner) => Error::InternalServerException(inner),
2928            crate::operation::list_variant_stores::ListVariantStoresError::ResourceNotFoundException(inner) => {
2929                Error::ResourceNotFoundException(inner)
2930            }
2931            crate::operation::list_variant_stores::ListVariantStoresError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2932            crate::operation::list_variant_stores::ListVariantStoresError::ValidationException(inner) => Error::ValidationException(inner),
2933            crate::operation::list_variant_stores::ListVariantStoresError::Unhandled(inner) => Error::Unhandled(inner),
2934        }
2935    }
2936}
2937impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_workflows::ListWorkflowsError, R>> for Error
2938where
2939    R: Send + Sync + std::fmt::Debug + 'static,
2940{
2941    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_workflows::ListWorkflowsError, R>) -> Self {
2942        match err {
2943            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2944            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2945                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2946                source: err.into(),
2947            }),
2948        }
2949    }
2950}
2951impl From<crate::operation::list_workflows::ListWorkflowsError> for Error {
2952    fn from(err: crate::operation::list_workflows::ListWorkflowsError) -> Self {
2953        match err {
2954            crate::operation::list_workflows::ListWorkflowsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2955            crate::operation::list_workflows::ListWorkflowsError::ConflictException(inner) => Error::ConflictException(inner),
2956            crate::operation::list_workflows::ListWorkflowsError::InternalServerException(inner) => Error::InternalServerException(inner),
2957            crate::operation::list_workflows::ListWorkflowsError::RequestTimeoutException(inner) => Error::RequestTimeoutException(inner),
2958            crate::operation::list_workflows::ListWorkflowsError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
2959            crate::operation::list_workflows::ListWorkflowsError::ServiceQuotaExceededException(inner) => Error::ServiceQuotaExceededException(inner),
2960            crate::operation::list_workflows::ListWorkflowsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2961            crate::operation::list_workflows::ListWorkflowsError::ValidationException(inner) => Error::ValidationException(inner),
2962            crate::operation::list_workflows::ListWorkflowsError::Unhandled(inner) => Error::Unhandled(inner),
2963        }
2964    }
2965}
2966impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_workflow_versions::ListWorkflowVersionsError, R>> for Error
2967where
2968    R: Send + Sync + std::fmt::Debug + 'static,
2969{
2970    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_workflow_versions::ListWorkflowVersionsError, R>) -> Self {
2971        match err {
2972            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2973            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2974                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2975                source: err.into(),
2976            }),
2977        }
2978    }
2979}
2980impl From<crate::operation::list_workflow_versions::ListWorkflowVersionsError> for Error {
2981    fn from(err: crate::operation::list_workflow_versions::ListWorkflowVersionsError) -> Self {
2982        match err {
2983            crate::operation::list_workflow_versions::ListWorkflowVersionsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2984            crate::operation::list_workflow_versions::ListWorkflowVersionsError::ConflictException(inner) => Error::ConflictException(inner),
2985            crate::operation::list_workflow_versions::ListWorkflowVersionsError::InternalServerException(inner) => {
2986                Error::InternalServerException(inner)
2987            }
2988            crate::operation::list_workflow_versions::ListWorkflowVersionsError::RequestTimeoutException(inner) => {
2989                Error::RequestTimeoutException(inner)
2990            }
2991            crate::operation::list_workflow_versions::ListWorkflowVersionsError::ResourceNotFoundException(inner) => {
2992                Error::ResourceNotFoundException(inner)
2993            }
2994            crate::operation::list_workflow_versions::ListWorkflowVersionsError::ServiceQuotaExceededException(inner) => {
2995                Error::ServiceQuotaExceededException(inner)
2996            }
2997            crate::operation::list_workflow_versions::ListWorkflowVersionsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2998            crate::operation::list_workflow_versions::ListWorkflowVersionsError::ValidationException(inner) => Error::ValidationException(inner),
2999            crate::operation::list_workflow_versions::ListWorkflowVersionsError::Unhandled(inner) => Error::Unhandled(inner),
3000        }
3001    }
3002}
3003impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_s3_access_policy::PutS3AccessPolicyError, R>> for Error
3004where
3005    R: Send + Sync + std::fmt::Debug + 'static,
3006{
3007    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_s3_access_policy::PutS3AccessPolicyError, R>) -> Self {
3008        match err {
3009            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3010            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3011                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3012                source: err.into(),
3013            }),
3014        }
3015    }
3016}
3017impl From<crate::operation::put_s3_access_policy::PutS3AccessPolicyError> for Error {
3018    fn from(err: crate::operation::put_s3_access_policy::PutS3AccessPolicyError) -> Self {
3019        match err {
3020            crate::operation::put_s3_access_policy::PutS3AccessPolicyError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3021            crate::operation::put_s3_access_policy::PutS3AccessPolicyError::InternalServerException(inner) => Error::InternalServerException(inner),
3022            crate::operation::put_s3_access_policy::PutS3AccessPolicyError::NotSupportedOperationException(inner) => {
3023                Error::NotSupportedOperationException(inner)
3024            }
3025            crate::operation::put_s3_access_policy::PutS3AccessPolicyError::RequestTimeoutException(inner) => Error::RequestTimeoutException(inner),
3026            crate::operation::put_s3_access_policy::PutS3AccessPolicyError::ResourceNotFoundException(inner) => {
3027                Error::ResourceNotFoundException(inner)
3028            }
3029            crate::operation::put_s3_access_policy::PutS3AccessPolicyError::ThrottlingException(inner) => Error::ThrottlingException(inner),
3030            crate::operation::put_s3_access_policy::PutS3AccessPolicyError::ValidationException(inner) => Error::ValidationException(inner),
3031            crate::operation::put_s3_access_policy::PutS3AccessPolicyError::Unhandled(inner) => Error::Unhandled(inner),
3032        }
3033    }
3034}
3035impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_annotation_import_job::StartAnnotationImportJobError, R>>
3036    for Error
3037where
3038    R: Send + Sync + std::fmt::Debug + 'static,
3039{
3040    fn from(
3041        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_annotation_import_job::StartAnnotationImportJobError, R>,
3042    ) -> Self {
3043        match err {
3044            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3045            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3046                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3047                source: err.into(),
3048            }),
3049        }
3050    }
3051}
3052impl From<crate::operation::start_annotation_import_job::StartAnnotationImportJobError> for Error {
3053    fn from(err: crate::operation::start_annotation_import_job::StartAnnotationImportJobError) -> Self {
3054        match err {
3055            crate::operation::start_annotation_import_job::StartAnnotationImportJobError::AccessDeniedException(inner) => {
3056                Error::AccessDeniedException(inner)
3057            }
3058            crate::operation::start_annotation_import_job::StartAnnotationImportJobError::InternalServerException(inner) => {
3059                Error::InternalServerException(inner)
3060            }
3061            crate::operation::start_annotation_import_job::StartAnnotationImportJobError::ResourceNotFoundException(inner) => {
3062                Error::ResourceNotFoundException(inner)
3063            }
3064            crate::operation::start_annotation_import_job::StartAnnotationImportJobError::ServiceQuotaExceededException(inner) => {
3065                Error::ServiceQuotaExceededException(inner)
3066            }
3067            crate::operation::start_annotation_import_job::StartAnnotationImportJobError::ThrottlingException(inner) => {
3068                Error::ThrottlingException(inner)
3069            }
3070            crate::operation::start_annotation_import_job::StartAnnotationImportJobError::ValidationException(inner) => {
3071                Error::ValidationException(inner)
3072            }
3073            crate::operation::start_annotation_import_job::StartAnnotationImportJobError::Unhandled(inner) => Error::Unhandled(inner),
3074        }
3075    }
3076}
3077impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_read_set_activation_job::StartReadSetActivationJobError, R>>
3078    for Error
3079where
3080    R: Send + Sync + std::fmt::Debug + 'static,
3081{
3082    fn from(
3083        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_read_set_activation_job::StartReadSetActivationJobError, R>,
3084    ) -> Self {
3085        match err {
3086            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3087            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3088                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3089                source: err.into(),
3090            }),
3091        }
3092    }
3093}
3094impl From<crate::operation::start_read_set_activation_job::StartReadSetActivationJobError> for Error {
3095    fn from(err: crate::operation::start_read_set_activation_job::StartReadSetActivationJobError) -> Self {
3096        match err {
3097            crate::operation::start_read_set_activation_job::StartReadSetActivationJobError::AccessDeniedException(inner) => {
3098                Error::AccessDeniedException(inner)
3099            }
3100            crate::operation::start_read_set_activation_job::StartReadSetActivationJobError::InternalServerException(inner) => {
3101                Error::InternalServerException(inner)
3102            }
3103            crate::operation::start_read_set_activation_job::StartReadSetActivationJobError::RequestTimeoutException(inner) => {
3104                Error::RequestTimeoutException(inner)
3105            }
3106            crate::operation::start_read_set_activation_job::StartReadSetActivationJobError::ResourceNotFoundException(inner) => {
3107                Error::ResourceNotFoundException(inner)
3108            }
3109            crate::operation::start_read_set_activation_job::StartReadSetActivationJobError::ServiceQuotaExceededException(inner) => {
3110                Error::ServiceQuotaExceededException(inner)
3111            }
3112            crate::operation::start_read_set_activation_job::StartReadSetActivationJobError::ThrottlingException(inner) => {
3113                Error::ThrottlingException(inner)
3114            }
3115            crate::operation::start_read_set_activation_job::StartReadSetActivationJobError::ValidationException(inner) => {
3116                Error::ValidationException(inner)
3117            }
3118            crate::operation::start_read_set_activation_job::StartReadSetActivationJobError::Unhandled(inner) => Error::Unhandled(inner),
3119        }
3120    }
3121}
3122impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_read_set_export_job::StartReadSetExportJobError, R>> for Error
3123where
3124    R: Send + Sync + std::fmt::Debug + 'static,
3125{
3126    fn from(
3127        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_read_set_export_job::StartReadSetExportJobError, R>,
3128    ) -> Self {
3129        match err {
3130            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3131            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3132                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3133                source: err.into(),
3134            }),
3135        }
3136    }
3137}
3138impl From<crate::operation::start_read_set_export_job::StartReadSetExportJobError> for Error {
3139    fn from(err: crate::operation::start_read_set_export_job::StartReadSetExportJobError) -> Self {
3140        match err {
3141            crate::operation::start_read_set_export_job::StartReadSetExportJobError::AccessDeniedException(inner) => {
3142                Error::AccessDeniedException(inner)
3143            }
3144            crate::operation::start_read_set_export_job::StartReadSetExportJobError::InternalServerException(inner) => {
3145                Error::InternalServerException(inner)
3146            }
3147            crate::operation::start_read_set_export_job::StartReadSetExportJobError::RequestTimeoutException(inner) => {
3148                Error::RequestTimeoutException(inner)
3149            }
3150            crate::operation::start_read_set_export_job::StartReadSetExportJobError::ResourceNotFoundException(inner) => {
3151                Error::ResourceNotFoundException(inner)
3152            }
3153            crate::operation::start_read_set_export_job::StartReadSetExportJobError::ServiceQuotaExceededException(inner) => {
3154                Error::ServiceQuotaExceededException(inner)
3155            }
3156            crate::operation::start_read_set_export_job::StartReadSetExportJobError::ThrottlingException(inner) => Error::ThrottlingException(inner),
3157            crate::operation::start_read_set_export_job::StartReadSetExportJobError::ValidationException(inner) => Error::ValidationException(inner),
3158            crate::operation::start_read_set_export_job::StartReadSetExportJobError::Unhandled(inner) => Error::Unhandled(inner),
3159        }
3160    }
3161}
3162impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_read_set_import_job::StartReadSetImportJobError, R>> for Error
3163where
3164    R: Send + Sync + std::fmt::Debug + 'static,
3165{
3166    fn from(
3167        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_read_set_import_job::StartReadSetImportJobError, R>,
3168    ) -> Self {
3169        match err {
3170            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3171            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3172                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3173                source: err.into(),
3174            }),
3175        }
3176    }
3177}
3178impl From<crate::operation::start_read_set_import_job::StartReadSetImportJobError> for Error {
3179    fn from(err: crate::operation::start_read_set_import_job::StartReadSetImportJobError) -> Self {
3180        match err {
3181            crate::operation::start_read_set_import_job::StartReadSetImportJobError::AccessDeniedException(inner) => {
3182                Error::AccessDeniedException(inner)
3183            }
3184            crate::operation::start_read_set_import_job::StartReadSetImportJobError::InternalServerException(inner) => {
3185                Error::InternalServerException(inner)
3186            }
3187            crate::operation::start_read_set_import_job::StartReadSetImportJobError::RequestTimeoutException(inner) => {
3188                Error::RequestTimeoutException(inner)
3189            }
3190            crate::operation::start_read_set_import_job::StartReadSetImportJobError::ResourceNotFoundException(inner) => {
3191                Error::ResourceNotFoundException(inner)
3192            }
3193            crate::operation::start_read_set_import_job::StartReadSetImportJobError::ServiceQuotaExceededException(inner) => {
3194                Error::ServiceQuotaExceededException(inner)
3195            }
3196            crate::operation::start_read_set_import_job::StartReadSetImportJobError::ThrottlingException(inner) => Error::ThrottlingException(inner),
3197            crate::operation::start_read_set_import_job::StartReadSetImportJobError::ValidationException(inner) => Error::ValidationException(inner),
3198            crate::operation::start_read_set_import_job::StartReadSetImportJobError::Unhandled(inner) => Error::Unhandled(inner),
3199        }
3200    }
3201}
3202impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_reference_import_job::StartReferenceImportJobError, R>>
3203    for Error
3204where
3205    R: Send + Sync + std::fmt::Debug + 'static,
3206{
3207    fn from(
3208        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_reference_import_job::StartReferenceImportJobError, R>,
3209    ) -> Self {
3210        match err {
3211            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3212            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3213                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3214                source: err.into(),
3215            }),
3216        }
3217    }
3218}
3219impl From<crate::operation::start_reference_import_job::StartReferenceImportJobError> for Error {
3220    fn from(err: crate::operation::start_reference_import_job::StartReferenceImportJobError) -> Self {
3221        match err {
3222            crate::operation::start_reference_import_job::StartReferenceImportJobError::AccessDeniedException(inner) => {
3223                Error::AccessDeniedException(inner)
3224            }
3225            crate::operation::start_reference_import_job::StartReferenceImportJobError::InternalServerException(inner) => {
3226                Error::InternalServerException(inner)
3227            }
3228            crate::operation::start_reference_import_job::StartReferenceImportJobError::RequestTimeoutException(inner) => {
3229                Error::RequestTimeoutException(inner)
3230            }
3231            crate::operation::start_reference_import_job::StartReferenceImportJobError::ResourceNotFoundException(inner) => {
3232                Error::ResourceNotFoundException(inner)
3233            }
3234            crate::operation::start_reference_import_job::StartReferenceImportJobError::ServiceQuotaExceededException(inner) => {
3235                Error::ServiceQuotaExceededException(inner)
3236            }
3237            crate::operation::start_reference_import_job::StartReferenceImportJobError::ThrottlingException(inner) => {
3238                Error::ThrottlingException(inner)
3239            }
3240            crate::operation::start_reference_import_job::StartReferenceImportJobError::ValidationException(inner) => {
3241                Error::ValidationException(inner)
3242            }
3243            crate::operation::start_reference_import_job::StartReferenceImportJobError::Unhandled(inner) => Error::Unhandled(inner),
3244        }
3245    }
3246}
3247impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_run::StartRunError, R>> for Error
3248where
3249    R: Send + Sync + std::fmt::Debug + 'static,
3250{
3251    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_run::StartRunError, R>) -> Self {
3252        match err {
3253            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3254            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3255                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3256                source: err.into(),
3257            }),
3258        }
3259    }
3260}
3261impl From<crate::operation::start_run::StartRunError> for Error {
3262    fn from(err: crate::operation::start_run::StartRunError) -> Self {
3263        match err {
3264            crate::operation::start_run::StartRunError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3265            crate::operation::start_run::StartRunError::ConflictException(inner) => Error::ConflictException(inner),
3266            crate::operation::start_run::StartRunError::InternalServerException(inner) => Error::InternalServerException(inner),
3267            crate::operation::start_run::StartRunError::RequestTimeoutException(inner) => Error::RequestTimeoutException(inner),
3268            crate::operation::start_run::StartRunError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
3269            crate::operation::start_run::StartRunError::ServiceQuotaExceededException(inner) => Error::ServiceQuotaExceededException(inner),
3270            crate::operation::start_run::StartRunError::ThrottlingException(inner) => Error::ThrottlingException(inner),
3271            crate::operation::start_run::StartRunError::ValidationException(inner) => Error::ValidationException(inner),
3272            crate::operation::start_run::StartRunError::Unhandled(inner) => Error::Unhandled(inner),
3273        }
3274    }
3275}
3276impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_run_batch::StartRunBatchError, R>> for Error
3277where
3278    R: Send + Sync + std::fmt::Debug + 'static,
3279{
3280    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_run_batch::StartRunBatchError, R>) -> Self {
3281        match err {
3282            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3283            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3284                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3285                source: err.into(),
3286            }),
3287        }
3288    }
3289}
3290impl From<crate::operation::start_run_batch::StartRunBatchError> for Error {
3291    fn from(err: crate::operation::start_run_batch::StartRunBatchError) -> Self {
3292        match err {
3293            crate::operation::start_run_batch::StartRunBatchError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3294            crate::operation::start_run_batch::StartRunBatchError::ConflictException(inner) => Error::ConflictException(inner),
3295            crate::operation::start_run_batch::StartRunBatchError::InternalServerException(inner) => Error::InternalServerException(inner),
3296            crate::operation::start_run_batch::StartRunBatchError::RequestTimeoutException(inner) => Error::RequestTimeoutException(inner),
3297            crate::operation::start_run_batch::StartRunBatchError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
3298            crate::operation::start_run_batch::StartRunBatchError::ServiceQuotaExceededException(inner) => {
3299                Error::ServiceQuotaExceededException(inner)
3300            }
3301            crate::operation::start_run_batch::StartRunBatchError::ThrottlingException(inner) => Error::ThrottlingException(inner),
3302            crate::operation::start_run_batch::StartRunBatchError::ValidationException(inner) => Error::ValidationException(inner),
3303            crate::operation::start_run_batch::StartRunBatchError::Unhandled(inner) => Error::Unhandled(inner),
3304        }
3305    }
3306}
3307impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_variant_import_job::StartVariantImportJobError, R>> for Error
3308where
3309    R: Send + Sync + std::fmt::Debug + 'static,
3310{
3311    fn from(
3312        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_variant_import_job::StartVariantImportJobError, R>,
3313    ) -> Self {
3314        match err {
3315            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3316            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3317                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3318                source: err.into(),
3319            }),
3320        }
3321    }
3322}
3323impl From<crate::operation::start_variant_import_job::StartVariantImportJobError> for Error {
3324    fn from(err: crate::operation::start_variant_import_job::StartVariantImportJobError) -> Self {
3325        match err {
3326            crate::operation::start_variant_import_job::StartVariantImportJobError::AccessDeniedException(inner) => {
3327                Error::AccessDeniedException(inner)
3328            }
3329            crate::operation::start_variant_import_job::StartVariantImportJobError::InternalServerException(inner) => {
3330                Error::InternalServerException(inner)
3331            }
3332            crate::operation::start_variant_import_job::StartVariantImportJobError::ResourceNotFoundException(inner) => {
3333                Error::ResourceNotFoundException(inner)
3334            }
3335            crate::operation::start_variant_import_job::StartVariantImportJobError::ServiceQuotaExceededException(inner) => {
3336                Error::ServiceQuotaExceededException(inner)
3337            }
3338            crate::operation::start_variant_import_job::StartVariantImportJobError::ThrottlingException(inner) => Error::ThrottlingException(inner),
3339            crate::operation::start_variant_import_job::StartVariantImportJobError::ValidationException(inner) => Error::ValidationException(inner),
3340            crate::operation::start_variant_import_job::StartVariantImportJobError::Unhandled(inner) => Error::Unhandled(inner),
3341        }
3342    }
3343}
3344impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::tag_resource::TagResourceError, R>> for Error
3345where
3346    R: Send + Sync + std::fmt::Debug + 'static,
3347{
3348    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::tag_resource::TagResourceError, R>) -> Self {
3349        match err {
3350            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3351            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3352                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3353                source: err.into(),
3354            }),
3355        }
3356    }
3357}
3358impl From<crate::operation::tag_resource::TagResourceError> for Error {
3359    fn from(err: crate::operation::tag_resource::TagResourceError) -> Self {
3360        match err {
3361            crate::operation::tag_resource::TagResourceError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3362            crate::operation::tag_resource::TagResourceError::ConflictException(inner) => Error::ConflictException(inner),
3363            crate::operation::tag_resource::TagResourceError::InternalServerException(inner) => Error::InternalServerException(inner),
3364            crate::operation::tag_resource::TagResourceError::RequestTimeoutException(inner) => Error::RequestTimeoutException(inner),
3365            crate::operation::tag_resource::TagResourceError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
3366            crate::operation::tag_resource::TagResourceError::ServiceQuotaExceededException(inner) => Error::ServiceQuotaExceededException(inner),
3367            crate::operation::tag_resource::TagResourceError::ThrottlingException(inner) => Error::ThrottlingException(inner),
3368            crate::operation::tag_resource::TagResourceError::ValidationException(inner) => Error::ValidationException(inner),
3369            crate::operation::tag_resource::TagResourceError::Unhandled(inner) => Error::Unhandled(inner),
3370        }
3371    }
3372}
3373impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::untag_resource::UntagResourceError, R>> for Error
3374where
3375    R: Send + Sync + std::fmt::Debug + 'static,
3376{
3377    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::untag_resource::UntagResourceError, R>) -> Self {
3378        match err {
3379            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3380            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3381                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3382                source: err.into(),
3383            }),
3384        }
3385    }
3386}
3387impl From<crate::operation::untag_resource::UntagResourceError> for Error {
3388    fn from(err: crate::operation::untag_resource::UntagResourceError) -> Self {
3389        match err {
3390            crate::operation::untag_resource::UntagResourceError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3391            crate::operation::untag_resource::UntagResourceError::ConflictException(inner) => Error::ConflictException(inner),
3392            crate::operation::untag_resource::UntagResourceError::InternalServerException(inner) => Error::InternalServerException(inner),
3393            crate::operation::untag_resource::UntagResourceError::RequestTimeoutException(inner) => Error::RequestTimeoutException(inner),
3394            crate::operation::untag_resource::UntagResourceError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
3395            crate::operation::untag_resource::UntagResourceError::ServiceQuotaExceededException(inner) => Error::ServiceQuotaExceededException(inner),
3396            crate::operation::untag_resource::UntagResourceError::ThrottlingException(inner) => Error::ThrottlingException(inner),
3397            crate::operation::untag_resource::UntagResourceError::ValidationException(inner) => Error::ValidationException(inner),
3398            crate::operation::untag_resource::UntagResourceError::Unhandled(inner) => Error::Unhandled(inner),
3399        }
3400    }
3401}
3402impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_annotation_store::UpdateAnnotationStoreError, R>> for Error
3403where
3404    R: Send + Sync + std::fmt::Debug + 'static,
3405{
3406    fn from(
3407        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_annotation_store::UpdateAnnotationStoreError, R>,
3408    ) -> Self {
3409        match err {
3410            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3411            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3412                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3413                source: err.into(),
3414            }),
3415        }
3416    }
3417}
3418impl From<crate::operation::update_annotation_store::UpdateAnnotationStoreError> for Error {
3419    fn from(err: crate::operation::update_annotation_store::UpdateAnnotationStoreError) -> Self {
3420        match err {
3421            crate::operation::update_annotation_store::UpdateAnnotationStoreError::AccessDeniedException(inner) => {
3422                Error::AccessDeniedException(inner)
3423            }
3424            crate::operation::update_annotation_store::UpdateAnnotationStoreError::InternalServerException(inner) => {
3425                Error::InternalServerException(inner)
3426            }
3427            crate::operation::update_annotation_store::UpdateAnnotationStoreError::ResourceNotFoundException(inner) => {
3428                Error::ResourceNotFoundException(inner)
3429            }
3430            crate::operation::update_annotation_store::UpdateAnnotationStoreError::ThrottlingException(inner) => Error::ThrottlingException(inner),
3431            crate::operation::update_annotation_store::UpdateAnnotationStoreError::ValidationException(inner) => Error::ValidationException(inner),
3432            crate::operation::update_annotation_store::UpdateAnnotationStoreError::Unhandled(inner) => Error::Unhandled(inner),
3433        }
3434    }
3435}
3436impl<R>
3437    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_annotation_store_version::UpdateAnnotationStoreVersionError, R>>
3438    for Error
3439where
3440    R: Send + Sync + std::fmt::Debug + 'static,
3441{
3442    fn from(
3443        err: ::aws_smithy_runtime_api::client::result::SdkError<
3444            crate::operation::update_annotation_store_version::UpdateAnnotationStoreVersionError,
3445            R,
3446        >,
3447    ) -> Self {
3448        match err {
3449            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3450            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3451                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3452                source: err.into(),
3453            }),
3454        }
3455    }
3456}
3457impl From<crate::operation::update_annotation_store_version::UpdateAnnotationStoreVersionError> for Error {
3458    fn from(err: crate::operation::update_annotation_store_version::UpdateAnnotationStoreVersionError) -> Self {
3459        match err {
3460            crate::operation::update_annotation_store_version::UpdateAnnotationStoreVersionError::AccessDeniedException(inner) => {
3461                Error::AccessDeniedException(inner)
3462            }
3463            crate::operation::update_annotation_store_version::UpdateAnnotationStoreVersionError::InternalServerException(inner) => {
3464                Error::InternalServerException(inner)
3465            }
3466            crate::operation::update_annotation_store_version::UpdateAnnotationStoreVersionError::ResourceNotFoundException(inner) => {
3467                Error::ResourceNotFoundException(inner)
3468            }
3469            crate::operation::update_annotation_store_version::UpdateAnnotationStoreVersionError::ThrottlingException(inner) => {
3470                Error::ThrottlingException(inner)
3471            }
3472            crate::operation::update_annotation_store_version::UpdateAnnotationStoreVersionError::ValidationException(inner) => {
3473                Error::ValidationException(inner)
3474            }
3475            crate::operation::update_annotation_store_version::UpdateAnnotationStoreVersionError::Unhandled(inner) => Error::Unhandled(inner),
3476        }
3477    }
3478}
3479impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_run_cache::UpdateRunCacheError, R>> for Error
3480where
3481    R: Send + Sync + std::fmt::Debug + 'static,
3482{
3483    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_run_cache::UpdateRunCacheError, R>) -> Self {
3484        match err {
3485            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3486            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3487                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3488                source: err.into(),
3489            }),
3490        }
3491    }
3492}
3493impl From<crate::operation::update_run_cache::UpdateRunCacheError> for Error {
3494    fn from(err: crate::operation::update_run_cache::UpdateRunCacheError) -> Self {
3495        match err {
3496            crate::operation::update_run_cache::UpdateRunCacheError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3497            crate::operation::update_run_cache::UpdateRunCacheError::ConflictException(inner) => Error::ConflictException(inner),
3498            crate::operation::update_run_cache::UpdateRunCacheError::InternalServerException(inner) => Error::InternalServerException(inner),
3499            crate::operation::update_run_cache::UpdateRunCacheError::RequestTimeoutException(inner) => Error::RequestTimeoutException(inner),
3500            crate::operation::update_run_cache::UpdateRunCacheError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
3501            crate::operation::update_run_cache::UpdateRunCacheError::ServiceQuotaExceededException(inner) => {
3502                Error::ServiceQuotaExceededException(inner)
3503            }
3504            crate::operation::update_run_cache::UpdateRunCacheError::ThrottlingException(inner) => Error::ThrottlingException(inner),
3505            crate::operation::update_run_cache::UpdateRunCacheError::ValidationException(inner) => Error::ValidationException(inner),
3506            crate::operation::update_run_cache::UpdateRunCacheError::Unhandled(inner) => Error::Unhandled(inner),
3507        }
3508    }
3509}
3510impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_run_group::UpdateRunGroupError, R>> for Error
3511where
3512    R: Send + Sync + std::fmt::Debug + 'static,
3513{
3514    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_run_group::UpdateRunGroupError, R>) -> Self {
3515        match err {
3516            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3517            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3518                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3519                source: err.into(),
3520            }),
3521        }
3522    }
3523}
3524impl From<crate::operation::update_run_group::UpdateRunGroupError> for Error {
3525    fn from(err: crate::operation::update_run_group::UpdateRunGroupError) -> Self {
3526        match err {
3527            crate::operation::update_run_group::UpdateRunGroupError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3528            crate::operation::update_run_group::UpdateRunGroupError::ConflictException(inner) => Error::ConflictException(inner),
3529            crate::operation::update_run_group::UpdateRunGroupError::InternalServerException(inner) => Error::InternalServerException(inner),
3530            crate::operation::update_run_group::UpdateRunGroupError::RequestTimeoutException(inner) => Error::RequestTimeoutException(inner),
3531            crate::operation::update_run_group::UpdateRunGroupError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
3532            crate::operation::update_run_group::UpdateRunGroupError::ServiceQuotaExceededException(inner) => {
3533                Error::ServiceQuotaExceededException(inner)
3534            }
3535            crate::operation::update_run_group::UpdateRunGroupError::ThrottlingException(inner) => Error::ThrottlingException(inner),
3536            crate::operation::update_run_group::UpdateRunGroupError::ValidationException(inner) => Error::ValidationException(inner),
3537            crate::operation::update_run_group::UpdateRunGroupError::Unhandled(inner) => Error::Unhandled(inner),
3538        }
3539    }
3540}
3541impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_sequence_store::UpdateSequenceStoreError, R>> for Error
3542where
3543    R: Send + Sync + std::fmt::Debug + 'static,
3544{
3545    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_sequence_store::UpdateSequenceStoreError, R>) -> Self {
3546        match err {
3547            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3548            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3549                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3550                source: err.into(),
3551            }),
3552        }
3553    }
3554}
3555impl From<crate::operation::update_sequence_store::UpdateSequenceStoreError> for Error {
3556    fn from(err: crate::operation::update_sequence_store::UpdateSequenceStoreError) -> Self {
3557        match err {
3558            crate::operation::update_sequence_store::UpdateSequenceStoreError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3559            crate::operation::update_sequence_store::UpdateSequenceStoreError::ConflictException(inner) => Error::ConflictException(inner),
3560            crate::operation::update_sequence_store::UpdateSequenceStoreError::InternalServerException(inner) => {
3561                Error::InternalServerException(inner)
3562            }
3563            crate::operation::update_sequence_store::UpdateSequenceStoreError::RequestTimeoutException(inner) => {
3564                Error::RequestTimeoutException(inner)
3565            }
3566            crate::operation::update_sequence_store::UpdateSequenceStoreError::ResourceNotFoundException(inner) => {
3567                Error::ResourceNotFoundException(inner)
3568            }
3569            crate::operation::update_sequence_store::UpdateSequenceStoreError::ThrottlingException(inner) => Error::ThrottlingException(inner),
3570            crate::operation::update_sequence_store::UpdateSequenceStoreError::ValidationException(inner) => Error::ValidationException(inner),
3571            crate::operation::update_sequence_store::UpdateSequenceStoreError::Unhandled(inner) => Error::Unhandled(inner),
3572        }
3573    }
3574}
3575impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_variant_store::UpdateVariantStoreError, R>> for Error
3576where
3577    R: Send + Sync + std::fmt::Debug + 'static,
3578{
3579    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_variant_store::UpdateVariantStoreError, R>) -> Self {
3580        match err {
3581            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3582            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3583                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3584                source: err.into(),
3585            }),
3586        }
3587    }
3588}
3589impl From<crate::operation::update_variant_store::UpdateVariantStoreError> for Error {
3590    fn from(err: crate::operation::update_variant_store::UpdateVariantStoreError) -> Self {
3591        match err {
3592            crate::operation::update_variant_store::UpdateVariantStoreError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3593            crate::operation::update_variant_store::UpdateVariantStoreError::InternalServerException(inner) => Error::InternalServerException(inner),
3594            crate::operation::update_variant_store::UpdateVariantStoreError::ResourceNotFoundException(inner) => {
3595                Error::ResourceNotFoundException(inner)
3596            }
3597            crate::operation::update_variant_store::UpdateVariantStoreError::ThrottlingException(inner) => Error::ThrottlingException(inner),
3598            crate::operation::update_variant_store::UpdateVariantStoreError::ValidationException(inner) => Error::ValidationException(inner),
3599            crate::operation::update_variant_store::UpdateVariantStoreError::Unhandled(inner) => Error::Unhandled(inner),
3600        }
3601    }
3602}
3603impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_workflow::UpdateWorkflowError, R>> for Error
3604where
3605    R: Send + Sync + std::fmt::Debug + 'static,
3606{
3607    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_workflow::UpdateWorkflowError, R>) -> Self {
3608        match err {
3609            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3610            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3611                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3612                source: err.into(),
3613            }),
3614        }
3615    }
3616}
3617impl From<crate::operation::update_workflow::UpdateWorkflowError> for Error {
3618    fn from(err: crate::operation::update_workflow::UpdateWorkflowError) -> Self {
3619        match err {
3620            crate::operation::update_workflow::UpdateWorkflowError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3621            crate::operation::update_workflow::UpdateWorkflowError::ConflictException(inner) => Error::ConflictException(inner),
3622            crate::operation::update_workflow::UpdateWorkflowError::InternalServerException(inner) => Error::InternalServerException(inner),
3623            crate::operation::update_workflow::UpdateWorkflowError::RequestTimeoutException(inner) => Error::RequestTimeoutException(inner),
3624            crate::operation::update_workflow::UpdateWorkflowError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
3625            crate::operation::update_workflow::UpdateWorkflowError::ServiceQuotaExceededException(inner) => {
3626                Error::ServiceQuotaExceededException(inner)
3627            }
3628            crate::operation::update_workflow::UpdateWorkflowError::ThrottlingException(inner) => Error::ThrottlingException(inner),
3629            crate::operation::update_workflow::UpdateWorkflowError::ValidationException(inner) => Error::ValidationException(inner),
3630            crate::operation::update_workflow::UpdateWorkflowError::Unhandled(inner) => Error::Unhandled(inner),
3631        }
3632    }
3633}
3634impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_workflow_version::UpdateWorkflowVersionError, R>> for Error
3635where
3636    R: Send + Sync + std::fmt::Debug + 'static,
3637{
3638    fn from(
3639        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_workflow_version::UpdateWorkflowVersionError, R>,
3640    ) -> Self {
3641        match err {
3642            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3643            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3644                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3645                source: err.into(),
3646            }),
3647        }
3648    }
3649}
3650impl From<crate::operation::update_workflow_version::UpdateWorkflowVersionError> for Error {
3651    fn from(err: crate::operation::update_workflow_version::UpdateWorkflowVersionError) -> Self {
3652        match err {
3653            crate::operation::update_workflow_version::UpdateWorkflowVersionError::AccessDeniedException(inner) => {
3654                Error::AccessDeniedException(inner)
3655            }
3656            crate::operation::update_workflow_version::UpdateWorkflowVersionError::ConflictException(inner) => Error::ConflictException(inner),
3657            crate::operation::update_workflow_version::UpdateWorkflowVersionError::InternalServerException(inner) => {
3658                Error::InternalServerException(inner)
3659            }
3660            crate::operation::update_workflow_version::UpdateWorkflowVersionError::RequestTimeoutException(inner) => {
3661                Error::RequestTimeoutException(inner)
3662            }
3663            crate::operation::update_workflow_version::UpdateWorkflowVersionError::ResourceNotFoundException(inner) => {
3664                Error::ResourceNotFoundException(inner)
3665            }
3666            crate::operation::update_workflow_version::UpdateWorkflowVersionError::ServiceQuotaExceededException(inner) => {
3667                Error::ServiceQuotaExceededException(inner)
3668            }
3669            crate::operation::update_workflow_version::UpdateWorkflowVersionError::ThrottlingException(inner) => Error::ThrottlingException(inner),
3670            crate::operation::update_workflow_version::UpdateWorkflowVersionError::ValidationException(inner) => Error::ValidationException(inner),
3671            crate::operation::update_workflow_version::UpdateWorkflowVersionError::Unhandled(inner) => Error::Unhandled(inner),
3672        }
3673    }
3674}
3675impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::upload_read_set_part::UploadReadSetPartError, R>> for Error
3676where
3677    R: Send + Sync + std::fmt::Debug + 'static,
3678{
3679    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::upload_read_set_part::UploadReadSetPartError, R>) -> Self {
3680        match err {
3681            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3682            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3683                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3684                source: err.into(),
3685            }),
3686        }
3687    }
3688}
3689impl From<crate::operation::upload_read_set_part::UploadReadSetPartError> for Error {
3690    fn from(err: crate::operation::upload_read_set_part::UploadReadSetPartError) -> Self {
3691        match err {
3692            crate::operation::upload_read_set_part::UploadReadSetPartError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3693            crate::operation::upload_read_set_part::UploadReadSetPartError::InternalServerException(inner) => Error::InternalServerException(inner),
3694            crate::operation::upload_read_set_part::UploadReadSetPartError::NotSupportedOperationException(inner) => {
3695                Error::NotSupportedOperationException(inner)
3696            }
3697            crate::operation::upload_read_set_part::UploadReadSetPartError::RequestTimeoutException(inner) => Error::RequestTimeoutException(inner),
3698            crate::operation::upload_read_set_part::UploadReadSetPartError::ResourceNotFoundException(inner) => {
3699                Error::ResourceNotFoundException(inner)
3700            }
3701            crate::operation::upload_read_set_part::UploadReadSetPartError::ServiceQuotaExceededException(inner) => {
3702                Error::ServiceQuotaExceededException(inner)
3703            }
3704            crate::operation::upload_read_set_part::UploadReadSetPartError::ThrottlingException(inner) => Error::ThrottlingException(inner),
3705            crate::operation::upload_read_set_part::UploadReadSetPartError::ValidationException(inner) => Error::ValidationException(inner),
3706            crate::operation::upload_read_set_part::UploadReadSetPartError::Unhandled(inner) => Error::Unhandled(inner),
3707        }
3708    }
3709}
3710impl<O, E> ::std::convert::From<::aws_smithy_runtime_api::client::waiters::error::WaiterError<O, E>> for Error
3711where
3712    O: ::std::fmt::Debug + ::std::marker::Send + ::std::marker::Sync + 'static,
3713    E: ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static,
3714{
3715    fn from(err: ::aws_smithy_runtime_api::client::waiters::error::WaiterError<O, E>) -> Self {
3716        Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3717            meta: ::std::default::Default::default(),
3718            source: err.into(),
3719        })
3720    }
3721}
3722impl ::std::error::Error for Error {
3723    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
3724        match self {
3725            Error::AccessDeniedException(inner) => inner.source(),
3726            Error::ConflictException(inner) => inner.source(),
3727            Error::InternalServerException(inner) => inner.source(),
3728            Error::NotSupportedOperationException(inner) => inner.source(),
3729            Error::RangeNotSatisfiableException(inner) => inner.source(),
3730            Error::RequestTimeoutException(inner) => inner.source(),
3731            Error::ResourceNotFoundException(inner) => inner.source(),
3732            Error::ServiceQuotaExceededException(inner) => inner.source(),
3733            Error::ThrottlingException(inner) => inner.source(),
3734            Error::ValidationException(inner) => inner.source(),
3735            Error::Unhandled(inner) => ::std::option::Option::Some(&*inner.source),
3736        }
3737    }
3738}
3739impl ::aws_types::request_id::RequestId for Error {
3740    fn request_id(&self) -> Option<&str> {
3741        match self {
3742            Self::AccessDeniedException(e) => e.request_id(),
3743            Self::ConflictException(e) => e.request_id(),
3744            Self::InternalServerException(e) => e.request_id(),
3745            Self::NotSupportedOperationException(e) => e.request_id(),
3746            Self::RangeNotSatisfiableException(e) => e.request_id(),
3747            Self::RequestTimeoutException(e) => e.request_id(),
3748            Self::ResourceNotFoundException(e) => e.request_id(),
3749            Self::ServiceQuotaExceededException(e) => e.request_id(),
3750            Self::ThrottlingException(e) => e.request_id(),
3751            Self::ValidationException(e) => e.request_id(),
3752            Self::Unhandled(e) => e.meta.request_id(),
3753        }
3754    }
3755}