Skip to main content

aws_sdk_bedrockagentcorecontrol/
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>This exception is thrown when a request is denied per access permissions</p>
7    AccessDeniedException(crate::types::error::AccessDeniedException),
8    /// <p>Exception thrown when a resource is modified concurrently by multiple requests.</p>
9    ConcurrentModificationException(crate::types::error::ConcurrentModificationException),
10    /// <p>This exception is thrown when there is a conflict performing an operation</p>
11    ConflictException(crate::types::error::ConflictException),
12    /// <p>Exception thrown when decryption of a secret fails.</p>
13    DecryptionFailure(crate::types::error::DecryptionFailure),
14    /// <p>Exception thrown when encryption of a secret fails.</p>
15    EncryptionFailure(crate::types::error::EncryptionFailure),
16    /// <p>This exception is thrown if there was an unexpected error during processing of request</p>
17    InternalServerException(crate::types::error::InternalServerException),
18    /// <p>Exception thrown when a resource limit is exceeded.</p>
19    ResourceLimitExceededException(crate::types::error::ResourceLimitExceededException),
20    /// <p>This exception is thrown when a resource referenced by the operation does not exist</p>
21    ResourceNotFoundException(crate::types::error::ResourceNotFoundException),
22    /// <p>An internal error occurred.</p>
23    ServiceException(crate::types::error::ServiceException),
24    /// <p>This exception is thrown when a request is made beyond the service quota</p>
25    ServiceQuotaExceededException(crate::types::error::ServiceQuotaExceededException),
26    /// <p>API rate limit has been exceeded.</p>
27    ThrottledException(crate::types::error::ThrottledException),
28    /// <p>This exception is thrown when the number of requests exceeds the limit</p>
29    ThrottlingException(crate::types::error::ThrottlingException),
30    /// <p>This exception is thrown when the JWT bearer token is invalid or not found for OAuth bearer token based access</p>
31    UnauthorizedException(crate::types::error::UnauthorizedException),
32    /// <p>The input fails to satisfy the constraints specified by the service.</p>
33    ValidationException(crate::types::error::ValidationException),
34    /// An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
35    #[deprecated(note = "Matching `Unhandled` directly is not forwards compatible. Instead, match using a \
36    variable wildcard pattern and check `.code()`:
37     \
38    &nbsp;&nbsp;&nbsp;`err if err.code() == Some(\"SpecificExceptionCode\") => { /* handle the error */ }`
39     \
40    See [`ProvideErrorMetadata`](#impl-ProvideErrorMetadata-for-Error) for what information is available for the error.")]
41    Unhandled(crate::error::sealed_unhandled::Unhandled),
42}
43impl ::std::fmt::Display for Error {
44    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
45        match self {
46            Error::AccessDeniedException(inner) => inner.fmt(f),
47            Error::ConcurrentModificationException(inner) => inner.fmt(f),
48            Error::ConflictException(inner) => inner.fmt(f),
49            Error::DecryptionFailure(inner) => inner.fmt(f),
50            Error::EncryptionFailure(inner) => inner.fmt(f),
51            Error::InternalServerException(inner) => inner.fmt(f),
52            Error::ResourceLimitExceededException(inner) => inner.fmt(f),
53            Error::ResourceNotFoundException(inner) => inner.fmt(f),
54            Error::ServiceException(inner) => inner.fmt(f),
55            Error::ServiceQuotaExceededException(inner) => inner.fmt(f),
56            Error::ThrottledException(inner) => inner.fmt(f),
57            Error::ThrottlingException(inner) => inner.fmt(f),
58            Error::UnauthorizedException(inner) => inner.fmt(f),
59            Error::ValidationException(inner) => inner.fmt(f),
60            Error::Unhandled(_) => {
61                if let ::std::option::Option::Some(code) = ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self) {
62                    write!(f, "unhandled error ({code})")
63                } else {
64                    f.write_str("unhandled error")
65                }
66            }
67        }
68    }
69}
70impl From<::aws_smithy_types::error::operation::BuildError> for Error {
71    fn from(value: ::aws_smithy_types::error::operation::BuildError) -> Self {
72        Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
73            source: value.into(),
74            meta: ::std::default::Default::default(),
75        })
76    }
77}
78impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for Error {
79    fn meta(&self) -> &::aws_smithy_types::error::metadata::ErrorMetadata {
80        match self {
81            Self::AccessDeniedException(inner) => inner.meta(),
82            Self::ConcurrentModificationException(inner) => inner.meta(),
83            Self::ConflictException(inner) => inner.meta(),
84            Self::DecryptionFailure(inner) => inner.meta(),
85            Self::EncryptionFailure(inner) => inner.meta(),
86            Self::InternalServerException(inner) => inner.meta(),
87            Self::ResourceLimitExceededException(inner) => inner.meta(),
88            Self::ResourceNotFoundException(inner) => inner.meta(),
89            Self::ServiceException(inner) => inner.meta(),
90            Self::ServiceQuotaExceededException(inner) => inner.meta(),
91            Self::ThrottledException(inner) => inner.meta(),
92            Self::ThrottlingException(inner) => inner.meta(),
93            Self::UnauthorizedException(inner) => inner.meta(),
94            Self::ValidationException(inner) => inner.meta(),
95            Self::Unhandled(inner) => &inner.meta,
96        }
97    }
98}
99impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::add_dataset_examples::AddDatasetExamplesError, R>> for Error
100where
101    R: Send + Sync + std::fmt::Debug + 'static,
102{
103    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::add_dataset_examples::AddDatasetExamplesError, R>) -> Self {
104        match err {
105            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
106            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
107                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
108                source: err.into(),
109            }),
110        }
111    }
112}
113impl From<crate::operation::add_dataset_examples::AddDatasetExamplesError> for Error {
114    fn from(err: crate::operation::add_dataset_examples::AddDatasetExamplesError) -> Self {
115        match err {
116            crate::operation::add_dataset_examples::AddDatasetExamplesError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
117            crate::operation::add_dataset_examples::AddDatasetExamplesError::ConflictException(inner) => Error::ConflictException(inner),
118            crate::operation::add_dataset_examples::AddDatasetExamplesError::InternalServerException(inner) => Error::InternalServerException(inner),
119            crate::operation::add_dataset_examples::AddDatasetExamplesError::ResourceNotFoundException(inner) => {
120                Error::ResourceNotFoundException(inner)
121            }
122            crate::operation::add_dataset_examples::AddDatasetExamplesError::ServiceQuotaExceededException(inner) => {
123                Error::ServiceQuotaExceededException(inner)
124            }
125            crate::operation::add_dataset_examples::AddDatasetExamplesError::ThrottlingException(inner) => Error::ThrottlingException(inner),
126            crate::operation::add_dataset_examples::AddDatasetExamplesError::ValidationException(inner) => Error::ValidationException(inner),
127            crate::operation::add_dataset_examples::AddDatasetExamplesError::Unhandled(inner) => Error::Unhandled(inner),
128        }
129    }
130}
131impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_agent_runtime::CreateAgentRuntimeError, R>> for Error
132where
133    R: Send + Sync + std::fmt::Debug + 'static,
134{
135    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_agent_runtime::CreateAgentRuntimeError, R>) -> Self {
136        match err {
137            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
138            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
139                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
140                source: err.into(),
141            }),
142        }
143    }
144}
145impl From<crate::operation::create_agent_runtime::CreateAgentRuntimeError> for Error {
146    fn from(err: crate::operation::create_agent_runtime::CreateAgentRuntimeError) -> Self {
147        match err {
148            crate::operation::create_agent_runtime::CreateAgentRuntimeError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
149            crate::operation::create_agent_runtime::CreateAgentRuntimeError::ConflictException(inner) => Error::ConflictException(inner),
150            crate::operation::create_agent_runtime::CreateAgentRuntimeError::InternalServerException(inner) => Error::InternalServerException(inner),
151            crate::operation::create_agent_runtime::CreateAgentRuntimeError::ServiceQuotaExceededException(inner) => {
152                Error::ServiceQuotaExceededException(inner)
153            }
154            crate::operation::create_agent_runtime::CreateAgentRuntimeError::ThrottlingException(inner) => Error::ThrottlingException(inner),
155            crate::operation::create_agent_runtime::CreateAgentRuntimeError::ValidationException(inner) => Error::ValidationException(inner),
156            crate::operation::create_agent_runtime::CreateAgentRuntimeError::Unhandled(inner) => Error::Unhandled(inner),
157        }
158    }
159}
160impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_agent_runtime_endpoint::CreateAgentRuntimeEndpointError, R>>
161    for Error
162where
163    R: Send + Sync + std::fmt::Debug + 'static,
164{
165    fn from(
166        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_agent_runtime_endpoint::CreateAgentRuntimeEndpointError, R>,
167    ) -> 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::create_agent_runtime_endpoint::CreateAgentRuntimeEndpointError> for Error {
178    fn from(err: crate::operation::create_agent_runtime_endpoint::CreateAgentRuntimeEndpointError) -> Self {
179        match err {
180            crate::operation::create_agent_runtime_endpoint::CreateAgentRuntimeEndpointError::AccessDeniedException(inner) => {
181                Error::AccessDeniedException(inner)
182            }
183            crate::operation::create_agent_runtime_endpoint::CreateAgentRuntimeEndpointError::ConflictException(inner) => {
184                Error::ConflictException(inner)
185            }
186            crate::operation::create_agent_runtime_endpoint::CreateAgentRuntimeEndpointError::InternalServerException(inner) => {
187                Error::InternalServerException(inner)
188            }
189            crate::operation::create_agent_runtime_endpoint::CreateAgentRuntimeEndpointError::ResourceNotFoundException(inner) => {
190                Error::ResourceNotFoundException(inner)
191            }
192            crate::operation::create_agent_runtime_endpoint::CreateAgentRuntimeEndpointError::ServiceQuotaExceededException(inner) => {
193                Error::ServiceQuotaExceededException(inner)
194            }
195            crate::operation::create_agent_runtime_endpoint::CreateAgentRuntimeEndpointError::ThrottlingException(inner) => {
196                Error::ThrottlingException(inner)
197            }
198            crate::operation::create_agent_runtime_endpoint::CreateAgentRuntimeEndpointError::ValidationException(inner) => {
199                Error::ValidationException(inner)
200            }
201            crate::operation::create_agent_runtime_endpoint::CreateAgentRuntimeEndpointError::Unhandled(inner) => Error::Unhandled(inner),
202        }
203    }
204}
205impl<R>
206    From<
207        ::aws_smithy_runtime_api::client::result::SdkError<
208            crate::operation::create_api_key_credential_provider::CreateApiKeyCredentialProviderError,
209            R,
210        >,
211    > for Error
212where
213    R: Send + Sync + std::fmt::Debug + 'static,
214{
215    fn from(
216        err: ::aws_smithy_runtime_api::client::result::SdkError<
217            crate::operation::create_api_key_credential_provider::CreateApiKeyCredentialProviderError,
218            R,
219        >,
220    ) -> Self {
221        match err {
222            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
223            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
224                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
225                source: err.into(),
226            }),
227        }
228    }
229}
230impl From<crate::operation::create_api_key_credential_provider::CreateApiKeyCredentialProviderError> for Error {
231    fn from(err: crate::operation::create_api_key_credential_provider::CreateApiKeyCredentialProviderError) -> Self {
232        match err {
233            crate::operation::create_api_key_credential_provider::CreateApiKeyCredentialProviderError::AccessDeniedException(inner) => {
234                Error::AccessDeniedException(inner)
235            }
236            crate::operation::create_api_key_credential_provider::CreateApiKeyCredentialProviderError::ConflictException(inner) => {
237                Error::ConflictException(inner)
238            }
239            crate::operation::create_api_key_credential_provider::CreateApiKeyCredentialProviderError::DecryptionFailure(inner) => {
240                Error::DecryptionFailure(inner)
241            }
242            crate::operation::create_api_key_credential_provider::CreateApiKeyCredentialProviderError::EncryptionFailure(inner) => {
243                Error::EncryptionFailure(inner)
244            }
245            crate::operation::create_api_key_credential_provider::CreateApiKeyCredentialProviderError::InternalServerException(inner) => {
246                Error::InternalServerException(inner)
247            }
248            crate::operation::create_api_key_credential_provider::CreateApiKeyCredentialProviderError::ResourceLimitExceededException(inner) => {
249                Error::ResourceLimitExceededException(inner)
250            }
251            crate::operation::create_api_key_credential_provider::CreateApiKeyCredentialProviderError::ResourceNotFoundException(inner) => {
252                Error::ResourceNotFoundException(inner)
253            }
254            crate::operation::create_api_key_credential_provider::CreateApiKeyCredentialProviderError::ServiceQuotaExceededException(inner) => {
255                Error::ServiceQuotaExceededException(inner)
256            }
257            crate::operation::create_api_key_credential_provider::CreateApiKeyCredentialProviderError::ThrottlingException(inner) => {
258                Error::ThrottlingException(inner)
259            }
260            crate::operation::create_api_key_credential_provider::CreateApiKeyCredentialProviderError::UnauthorizedException(inner) => {
261                Error::UnauthorizedException(inner)
262            }
263            crate::operation::create_api_key_credential_provider::CreateApiKeyCredentialProviderError::ValidationException(inner) => {
264                Error::ValidationException(inner)
265            }
266            crate::operation::create_api_key_credential_provider::CreateApiKeyCredentialProviderError::Unhandled(inner) => Error::Unhandled(inner),
267        }
268    }
269}
270impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_browser::CreateBrowserError, R>> for Error
271where
272    R: Send + Sync + std::fmt::Debug + 'static,
273{
274    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_browser::CreateBrowserError, R>) -> Self {
275        match err {
276            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
277            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
278                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
279                source: err.into(),
280            }),
281        }
282    }
283}
284impl From<crate::operation::create_browser::CreateBrowserError> for Error {
285    fn from(err: crate::operation::create_browser::CreateBrowserError) -> Self {
286        match err {
287            crate::operation::create_browser::CreateBrowserError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
288            crate::operation::create_browser::CreateBrowserError::ConflictException(inner) => Error::ConflictException(inner),
289            crate::operation::create_browser::CreateBrowserError::InternalServerException(inner) => Error::InternalServerException(inner),
290            crate::operation::create_browser::CreateBrowserError::ServiceQuotaExceededException(inner) => Error::ServiceQuotaExceededException(inner),
291            crate::operation::create_browser::CreateBrowserError::ThrottlingException(inner) => Error::ThrottlingException(inner),
292            crate::operation::create_browser::CreateBrowserError::ValidationException(inner) => Error::ValidationException(inner),
293            crate::operation::create_browser::CreateBrowserError::Unhandled(inner) => Error::Unhandled(inner),
294        }
295    }
296}
297impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_browser_profile::CreateBrowserProfileError, R>> for Error
298where
299    R: Send + Sync + std::fmt::Debug + 'static,
300{
301    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_browser_profile::CreateBrowserProfileError, R>) -> Self {
302        match err {
303            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
304            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
305                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
306                source: err.into(),
307            }),
308        }
309    }
310}
311impl From<crate::operation::create_browser_profile::CreateBrowserProfileError> for Error {
312    fn from(err: crate::operation::create_browser_profile::CreateBrowserProfileError) -> Self {
313        match err {
314            crate::operation::create_browser_profile::CreateBrowserProfileError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
315            crate::operation::create_browser_profile::CreateBrowserProfileError::ConflictException(inner) => Error::ConflictException(inner),
316            crate::operation::create_browser_profile::CreateBrowserProfileError::InternalServerException(inner) => {
317                Error::InternalServerException(inner)
318            }
319            crate::operation::create_browser_profile::CreateBrowserProfileError::ServiceQuotaExceededException(inner) => {
320                Error::ServiceQuotaExceededException(inner)
321            }
322            crate::operation::create_browser_profile::CreateBrowserProfileError::ThrottlingException(inner) => Error::ThrottlingException(inner),
323            crate::operation::create_browser_profile::CreateBrowserProfileError::ValidationException(inner) => Error::ValidationException(inner),
324            crate::operation::create_browser_profile::CreateBrowserProfileError::Unhandled(inner) => Error::Unhandled(inner),
325        }
326    }
327}
328impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_code_interpreter::CreateCodeInterpreterError, R>> for Error
329where
330    R: Send + Sync + std::fmt::Debug + 'static,
331{
332    fn from(
333        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_code_interpreter::CreateCodeInterpreterError, R>,
334    ) -> Self {
335        match err {
336            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
337            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
338                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
339                source: err.into(),
340            }),
341        }
342    }
343}
344impl From<crate::operation::create_code_interpreter::CreateCodeInterpreterError> for Error {
345    fn from(err: crate::operation::create_code_interpreter::CreateCodeInterpreterError) -> Self {
346        match err {
347            crate::operation::create_code_interpreter::CreateCodeInterpreterError::AccessDeniedException(inner) => {
348                Error::AccessDeniedException(inner)
349            }
350            crate::operation::create_code_interpreter::CreateCodeInterpreterError::ConflictException(inner) => Error::ConflictException(inner),
351            crate::operation::create_code_interpreter::CreateCodeInterpreterError::InternalServerException(inner) => {
352                Error::InternalServerException(inner)
353            }
354            crate::operation::create_code_interpreter::CreateCodeInterpreterError::ServiceQuotaExceededException(inner) => {
355                Error::ServiceQuotaExceededException(inner)
356            }
357            crate::operation::create_code_interpreter::CreateCodeInterpreterError::ThrottlingException(inner) => Error::ThrottlingException(inner),
358            crate::operation::create_code_interpreter::CreateCodeInterpreterError::ValidationException(inner) => Error::ValidationException(inner),
359            crate::operation::create_code_interpreter::CreateCodeInterpreterError::Unhandled(inner) => Error::Unhandled(inner),
360        }
361    }
362}
363impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_configuration_bundle::CreateConfigurationBundleError, R>>
364    for Error
365where
366    R: Send + Sync + std::fmt::Debug + 'static,
367{
368    fn from(
369        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_configuration_bundle::CreateConfigurationBundleError, R>,
370    ) -> Self {
371        match err {
372            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
373            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
374                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
375                source: err.into(),
376            }),
377        }
378    }
379}
380impl From<crate::operation::create_configuration_bundle::CreateConfigurationBundleError> for Error {
381    fn from(err: crate::operation::create_configuration_bundle::CreateConfigurationBundleError) -> Self {
382        match err {
383            crate::operation::create_configuration_bundle::CreateConfigurationBundleError::AccessDeniedException(inner) => {
384                Error::AccessDeniedException(inner)
385            }
386            crate::operation::create_configuration_bundle::CreateConfigurationBundleError::ConflictException(inner) => {
387                Error::ConflictException(inner)
388            }
389            crate::operation::create_configuration_bundle::CreateConfigurationBundleError::InternalServerException(inner) => {
390                Error::InternalServerException(inner)
391            }
392            crate::operation::create_configuration_bundle::CreateConfigurationBundleError::ServiceQuotaExceededException(inner) => {
393                Error::ServiceQuotaExceededException(inner)
394            }
395            crate::operation::create_configuration_bundle::CreateConfigurationBundleError::ThrottlingException(inner) => {
396                Error::ThrottlingException(inner)
397            }
398            crate::operation::create_configuration_bundle::CreateConfigurationBundleError::ValidationException(inner) => {
399                Error::ValidationException(inner)
400            }
401            crate::operation::create_configuration_bundle::CreateConfigurationBundleError::Unhandled(inner) => Error::Unhandled(inner),
402        }
403    }
404}
405impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_dataset::CreateDatasetError, R>> for Error
406where
407    R: Send + Sync + std::fmt::Debug + 'static,
408{
409    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_dataset::CreateDatasetError, R>) -> Self {
410        match err {
411            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
412            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
413                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
414                source: err.into(),
415            }),
416        }
417    }
418}
419impl From<crate::operation::create_dataset::CreateDatasetError> for Error {
420    fn from(err: crate::operation::create_dataset::CreateDatasetError) -> Self {
421        match err {
422            crate::operation::create_dataset::CreateDatasetError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
423            crate::operation::create_dataset::CreateDatasetError::ConflictException(inner) => Error::ConflictException(inner),
424            crate::operation::create_dataset::CreateDatasetError::InternalServerException(inner) => Error::InternalServerException(inner),
425            crate::operation::create_dataset::CreateDatasetError::ServiceQuotaExceededException(inner) => Error::ServiceQuotaExceededException(inner),
426            crate::operation::create_dataset::CreateDatasetError::ThrottlingException(inner) => Error::ThrottlingException(inner),
427            crate::operation::create_dataset::CreateDatasetError::ValidationException(inner) => Error::ValidationException(inner),
428            crate::operation::create_dataset::CreateDatasetError::Unhandled(inner) => Error::Unhandled(inner),
429        }
430    }
431}
432impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_dataset_version::CreateDatasetVersionError, R>> for Error
433where
434    R: Send + Sync + std::fmt::Debug + 'static,
435{
436    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_dataset_version::CreateDatasetVersionError, R>) -> Self {
437        match err {
438            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
439            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
440                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
441                source: err.into(),
442            }),
443        }
444    }
445}
446impl From<crate::operation::create_dataset_version::CreateDatasetVersionError> for Error {
447    fn from(err: crate::operation::create_dataset_version::CreateDatasetVersionError) -> Self {
448        match err {
449            crate::operation::create_dataset_version::CreateDatasetVersionError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
450            crate::operation::create_dataset_version::CreateDatasetVersionError::ConflictException(inner) => Error::ConflictException(inner),
451            crate::operation::create_dataset_version::CreateDatasetVersionError::InternalServerException(inner) => {
452                Error::InternalServerException(inner)
453            }
454            crate::operation::create_dataset_version::CreateDatasetVersionError::ResourceNotFoundException(inner) => {
455                Error::ResourceNotFoundException(inner)
456            }
457            crate::operation::create_dataset_version::CreateDatasetVersionError::ServiceQuotaExceededException(inner) => {
458                Error::ServiceQuotaExceededException(inner)
459            }
460            crate::operation::create_dataset_version::CreateDatasetVersionError::ThrottlingException(inner) => Error::ThrottlingException(inner),
461            crate::operation::create_dataset_version::CreateDatasetVersionError::ValidationException(inner) => Error::ValidationException(inner),
462            crate::operation::create_dataset_version::CreateDatasetVersionError::Unhandled(inner) => Error::Unhandled(inner),
463        }
464    }
465}
466impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_evaluator::CreateEvaluatorError, R>> for Error
467where
468    R: Send + Sync + std::fmt::Debug + 'static,
469{
470    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_evaluator::CreateEvaluatorError, R>) -> Self {
471        match err {
472            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
473            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
474                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
475                source: err.into(),
476            }),
477        }
478    }
479}
480impl From<crate::operation::create_evaluator::CreateEvaluatorError> for Error {
481    fn from(err: crate::operation::create_evaluator::CreateEvaluatorError) -> Self {
482        match err {
483            crate::operation::create_evaluator::CreateEvaluatorError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
484            crate::operation::create_evaluator::CreateEvaluatorError::ConflictException(inner) => Error::ConflictException(inner),
485            crate::operation::create_evaluator::CreateEvaluatorError::InternalServerException(inner) => Error::InternalServerException(inner),
486            crate::operation::create_evaluator::CreateEvaluatorError::ServiceQuotaExceededException(inner) => {
487                Error::ServiceQuotaExceededException(inner)
488            }
489            crate::operation::create_evaluator::CreateEvaluatorError::ThrottlingException(inner) => Error::ThrottlingException(inner),
490            crate::operation::create_evaluator::CreateEvaluatorError::ValidationException(inner) => Error::ValidationException(inner),
491            crate::operation::create_evaluator::CreateEvaluatorError::Unhandled(inner) => Error::Unhandled(inner),
492        }
493    }
494}
495impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_gateway::CreateGatewayError, R>> for Error
496where
497    R: Send + Sync + std::fmt::Debug + 'static,
498{
499    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_gateway::CreateGatewayError, R>) -> Self {
500        match err {
501            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
502            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
503                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
504                source: err.into(),
505            }),
506        }
507    }
508}
509impl From<crate::operation::create_gateway::CreateGatewayError> for Error {
510    fn from(err: crate::operation::create_gateway::CreateGatewayError) -> Self {
511        match err {
512            crate::operation::create_gateway::CreateGatewayError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
513            crate::operation::create_gateway::CreateGatewayError::ConflictException(inner) => Error::ConflictException(inner),
514            crate::operation::create_gateway::CreateGatewayError::InternalServerException(inner) => Error::InternalServerException(inner),
515            crate::operation::create_gateway::CreateGatewayError::ServiceQuotaExceededException(inner) => Error::ServiceQuotaExceededException(inner),
516            crate::operation::create_gateway::CreateGatewayError::ThrottlingException(inner) => Error::ThrottlingException(inner),
517            crate::operation::create_gateway::CreateGatewayError::ValidationException(inner) => Error::ValidationException(inner),
518            crate::operation::create_gateway::CreateGatewayError::Unhandled(inner) => Error::Unhandled(inner),
519        }
520    }
521}
522impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_gateway_rule::CreateGatewayRuleError, R>> for Error
523where
524    R: Send + Sync + std::fmt::Debug + 'static,
525{
526    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_gateway_rule::CreateGatewayRuleError, R>) -> Self {
527        match err {
528            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
529            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
530                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
531                source: err.into(),
532            }),
533        }
534    }
535}
536impl From<crate::operation::create_gateway_rule::CreateGatewayRuleError> for Error {
537    fn from(err: crate::operation::create_gateway_rule::CreateGatewayRuleError) -> Self {
538        match err {
539            crate::operation::create_gateway_rule::CreateGatewayRuleError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
540            crate::operation::create_gateway_rule::CreateGatewayRuleError::ConflictException(inner) => Error::ConflictException(inner),
541            crate::operation::create_gateway_rule::CreateGatewayRuleError::InternalServerException(inner) => Error::InternalServerException(inner),
542            crate::operation::create_gateway_rule::CreateGatewayRuleError::ResourceNotFoundException(inner) => {
543                Error::ResourceNotFoundException(inner)
544            }
545            crate::operation::create_gateway_rule::CreateGatewayRuleError::ServiceQuotaExceededException(inner) => {
546                Error::ServiceQuotaExceededException(inner)
547            }
548            crate::operation::create_gateway_rule::CreateGatewayRuleError::ThrottlingException(inner) => Error::ThrottlingException(inner),
549            crate::operation::create_gateway_rule::CreateGatewayRuleError::ValidationException(inner) => Error::ValidationException(inner),
550            crate::operation::create_gateway_rule::CreateGatewayRuleError::Unhandled(inner) => Error::Unhandled(inner),
551        }
552    }
553}
554impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_gateway_target::CreateGatewayTargetError, 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_gateway_target::CreateGatewayTargetError, 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_gateway_target::CreateGatewayTargetError> for Error {
569    fn from(err: crate::operation::create_gateway_target::CreateGatewayTargetError) -> Self {
570        match err {
571            crate::operation::create_gateway_target::CreateGatewayTargetError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
572            crate::operation::create_gateway_target::CreateGatewayTargetError::ConflictException(inner) => Error::ConflictException(inner),
573            crate::operation::create_gateway_target::CreateGatewayTargetError::InternalServerException(inner) => {
574                Error::InternalServerException(inner)
575            }
576            crate::operation::create_gateway_target::CreateGatewayTargetError::ResourceNotFoundException(inner) => {
577                Error::ResourceNotFoundException(inner)
578            }
579            crate::operation::create_gateway_target::CreateGatewayTargetError::ServiceQuotaExceededException(inner) => {
580                Error::ServiceQuotaExceededException(inner)
581            }
582            crate::operation::create_gateway_target::CreateGatewayTargetError::ThrottlingException(inner) => Error::ThrottlingException(inner),
583            crate::operation::create_gateway_target::CreateGatewayTargetError::ValidationException(inner) => Error::ValidationException(inner),
584            crate::operation::create_gateway_target::CreateGatewayTargetError::Unhandled(inner) => Error::Unhandled(inner),
585        }
586    }
587}
588impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_harness::CreateHarnessError, R>> for Error
589where
590    R: Send + Sync + std::fmt::Debug + 'static,
591{
592    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_harness::CreateHarnessError, R>) -> Self {
593        match err {
594            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
595            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
596                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
597                source: err.into(),
598            }),
599        }
600    }
601}
602impl From<crate::operation::create_harness::CreateHarnessError> for Error {
603    fn from(err: crate::operation::create_harness::CreateHarnessError) -> Self {
604        match err {
605            crate::operation::create_harness::CreateHarnessError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
606            crate::operation::create_harness::CreateHarnessError::ConflictException(inner) => Error::ConflictException(inner),
607            crate::operation::create_harness::CreateHarnessError::InternalServerException(inner) => Error::InternalServerException(inner),
608            crate::operation::create_harness::CreateHarnessError::ServiceQuotaExceededException(inner) => Error::ServiceQuotaExceededException(inner),
609            crate::operation::create_harness::CreateHarnessError::ThrottlingException(inner) => Error::ThrottlingException(inner),
610            crate::operation::create_harness::CreateHarnessError::ValidationException(inner) => Error::ValidationException(inner),
611            crate::operation::create_harness::CreateHarnessError::Unhandled(inner) => Error::Unhandled(inner),
612        }
613    }
614}
615impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_memory::CreateMemoryError, R>> for Error
616where
617    R: Send + Sync + std::fmt::Debug + 'static,
618{
619    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_memory::CreateMemoryError, R>) -> Self {
620        match err {
621            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
622            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
623                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
624                source: err.into(),
625            }),
626        }
627    }
628}
629impl From<crate::operation::create_memory::CreateMemoryError> for Error {
630    fn from(err: crate::operation::create_memory::CreateMemoryError) -> Self {
631        match err {
632            crate::operation::create_memory::CreateMemoryError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
633            crate::operation::create_memory::CreateMemoryError::ConflictException(inner) => Error::ConflictException(inner),
634            crate::operation::create_memory::CreateMemoryError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
635            crate::operation::create_memory::CreateMemoryError::ServiceException(inner) => Error::ServiceException(inner),
636            crate::operation::create_memory::CreateMemoryError::ServiceQuotaExceededException(inner) => Error::ServiceQuotaExceededException(inner),
637            crate::operation::create_memory::CreateMemoryError::ThrottledException(inner) => Error::ThrottledException(inner),
638            crate::operation::create_memory::CreateMemoryError::ValidationException(inner) => Error::ValidationException(inner),
639            crate::operation::create_memory::CreateMemoryError::Unhandled(inner) => Error::Unhandled(inner),
640        }
641    }
642}
643impl<R>
644    From<
645        ::aws_smithy_runtime_api::client::result::SdkError<
646            crate::operation::create_oauth2_credential_provider::CreateOauth2CredentialProviderError,
647            R,
648        >,
649    > for Error
650where
651    R: Send + Sync + std::fmt::Debug + 'static,
652{
653    fn from(
654        err: ::aws_smithy_runtime_api::client::result::SdkError<
655            crate::operation::create_oauth2_credential_provider::CreateOauth2CredentialProviderError,
656            R,
657        >,
658    ) -> Self {
659        match err {
660            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
661            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
662                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
663                source: err.into(),
664            }),
665        }
666    }
667}
668impl From<crate::operation::create_oauth2_credential_provider::CreateOauth2CredentialProviderError> for Error {
669    fn from(err: crate::operation::create_oauth2_credential_provider::CreateOauth2CredentialProviderError) -> Self {
670        match err {
671            crate::operation::create_oauth2_credential_provider::CreateOauth2CredentialProviderError::AccessDeniedException(inner) => {
672                Error::AccessDeniedException(inner)
673            }
674            crate::operation::create_oauth2_credential_provider::CreateOauth2CredentialProviderError::ConflictException(inner) => {
675                Error::ConflictException(inner)
676            }
677            crate::operation::create_oauth2_credential_provider::CreateOauth2CredentialProviderError::DecryptionFailure(inner) => {
678                Error::DecryptionFailure(inner)
679            }
680            crate::operation::create_oauth2_credential_provider::CreateOauth2CredentialProviderError::EncryptionFailure(inner) => {
681                Error::EncryptionFailure(inner)
682            }
683            crate::operation::create_oauth2_credential_provider::CreateOauth2CredentialProviderError::InternalServerException(inner) => {
684                Error::InternalServerException(inner)
685            }
686            crate::operation::create_oauth2_credential_provider::CreateOauth2CredentialProviderError::ResourceLimitExceededException(inner) => {
687                Error::ResourceLimitExceededException(inner)
688            }
689            crate::operation::create_oauth2_credential_provider::CreateOauth2CredentialProviderError::ResourceNotFoundException(inner) => {
690                Error::ResourceNotFoundException(inner)
691            }
692            crate::operation::create_oauth2_credential_provider::CreateOauth2CredentialProviderError::ServiceQuotaExceededException(inner) => {
693                Error::ServiceQuotaExceededException(inner)
694            }
695            crate::operation::create_oauth2_credential_provider::CreateOauth2CredentialProviderError::ThrottlingException(inner) => {
696                Error::ThrottlingException(inner)
697            }
698            crate::operation::create_oauth2_credential_provider::CreateOauth2CredentialProviderError::UnauthorizedException(inner) => {
699                Error::UnauthorizedException(inner)
700            }
701            crate::operation::create_oauth2_credential_provider::CreateOauth2CredentialProviderError::ValidationException(inner) => {
702                Error::ValidationException(inner)
703            }
704            crate::operation::create_oauth2_credential_provider::CreateOauth2CredentialProviderError::Unhandled(inner) => Error::Unhandled(inner),
705        }
706    }
707}
708impl<R>
709    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_online_evaluation_config::CreateOnlineEvaluationConfigError, R>>
710    for Error
711where
712    R: Send + Sync + std::fmt::Debug + 'static,
713{
714    fn from(
715        err: ::aws_smithy_runtime_api::client::result::SdkError<
716            crate::operation::create_online_evaluation_config::CreateOnlineEvaluationConfigError,
717            R,
718        >,
719    ) -> Self {
720        match err {
721            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
722            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
723                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
724                source: err.into(),
725            }),
726        }
727    }
728}
729impl From<crate::operation::create_online_evaluation_config::CreateOnlineEvaluationConfigError> for Error {
730    fn from(err: crate::operation::create_online_evaluation_config::CreateOnlineEvaluationConfigError) -> Self {
731        match err {
732            crate::operation::create_online_evaluation_config::CreateOnlineEvaluationConfigError::AccessDeniedException(inner) => {
733                Error::AccessDeniedException(inner)
734            }
735            crate::operation::create_online_evaluation_config::CreateOnlineEvaluationConfigError::ConflictException(inner) => {
736                Error::ConflictException(inner)
737            }
738            crate::operation::create_online_evaluation_config::CreateOnlineEvaluationConfigError::InternalServerException(inner) => {
739                Error::InternalServerException(inner)
740            }
741            crate::operation::create_online_evaluation_config::CreateOnlineEvaluationConfigError::ServiceQuotaExceededException(inner) => {
742                Error::ServiceQuotaExceededException(inner)
743            }
744            crate::operation::create_online_evaluation_config::CreateOnlineEvaluationConfigError::ThrottlingException(inner) => {
745                Error::ThrottlingException(inner)
746            }
747            crate::operation::create_online_evaluation_config::CreateOnlineEvaluationConfigError::ValidationException(inner) => {
748                Error::ValidationException(inner)
749            }
750            crate::operation::create_online_evaluation_config::CreateOnlineEvaluationConfigError::Unhandled(inner) => Error::Unhandled(inner),
751        }
752    }
753}
754impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_payment_connector::CreatePaymentConnectorError, R>> for Error
755where
756    R: Send + Sync + std::fmt::Debug + 'static,
757{
758    fn from(
759        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_payment_connector::CreatePaymentConnectorError, R>,
760    ) -> Self {
761        match err {
762            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
763            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
764                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
765                source: err.into(),
766            }),
767        }
768    }
769}
770impl From<crate::operation::create_payment_connector::CreatePaymentConnectorError> for Error {
771    fn from(err: crate::operation::create_payment_connector::CreatePaymentConnectorError) -> Self {
772        match err {
773            crate::operation::create_payment_connector::CreatePaymentConnectorError::AccessDeniedException(inner) => {
774                Error::AccessDeniedException(inner)
775            }
776            crate::operation::create_payment_connector::CreatePaymentConnectorError::ConflictException(inner) => Error::ConflictException(inner),
777            crate::operation::create_payment_connector::CreatePaymentConnectorError::InternalServerException(inner) => {
778                Error::InternalServerException(inner)
779            }
780            crate::operation::create_payment_connector::CreatePaymentConnectorError::ResourceNotFoundException(inner) => {
781                Error::ResourceNotFoundException(inner)
782            }
783            crate::operation::create_payment_connector::CreatePaymentConnectorError::ServiceQuotaExceededException(inner) => {
784                Error::ServiceQuotaExceededException(inner)
785            }
786            crate::operation::create_payment_connector::CreatePaymentConnectorError::ThrottlingException(inner) => Error::ThrottlingException(inner),
787            crate::operation::create_payment_connector::CreatePaymentConnectorError::ValidationException(inner) => Error::ValidationException(inner),
788            crate::operation::create_payment_connector::CreatePaymentConnectorError::Unhandled(inner) => Error::Unhandled(inner),
789        }
790    }
791}
792impl<R>
793    From<
794        ::aws_smithy_runtime_api::client::result::SdkError<
795            crate::operation::create_payment_credential_provider::CreatePaymentCredentialProviderError,
796            R,
797        >,
798    > for Error
799where
800    R: Send + Sync + std::fmt::Debug + 'static,
801{
802    fn from(
803        err: ::aws_smithy_runtime_api::client::result::SdkError<
804            crate::operation::create_payment_credential_provider::CreatePaymentCredentialProviderError,
805            R,
806        >,
807    ) -> Self {
808        match err {
809            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
810            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
811                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
812                source: err.into(),
813            }),
814        }
815    }
816}
817impl From<crate::operation::create_payment_credential_provider::CreatePaymentCredentialProviderError> for Error {
818    fn from(err: crate::operation::create_payment_credential_provider::CreatePaymentCredentialProviderError) -> Self {
819        match err {
820            crate::operation::create_payment_credential_provider::CreatePaymentCredentialProviderError::AccessDeniedException(inner) => {
821                Error::AccessDeniedException(inner)
822            }
823            crate::operation::create_payment_credential_provider::CreatePaymentCredentialProviderError::ConflictException(inner) => {
824                Error::ConflictException(inner)
825            }
826            crate::operation::create_payment_credential_provider::CreatePaymentCredentialProviderError::DecryptionFailure(inner) => {
827                Error::DecryptionFailure(inner)
828            }
829            crate::operation::create_payment_credential_provider::CreatePaymentCredentialProviderError::EncryptionFailure(inner) => {
830                Error::EncryptionFailure(inner)
831            }
832            crate::operation::create_payment_credential_provider::CreatePaymentCredentialProviderError::InternalServerException(inner) => {
833                Error::InternalServerException(inner)
834            }
835            crate::operation::create_payment_credential_provider::CreatePaymentCredentialProviderError::ResourceLimitExceededException(inner) => {
836                Error::ResourceLimitExceededException(inner)
837            }
838            crate::operation::create_payment_credential_provider::CreatePaymentCredentialProviderError::ResourceNotFoundException(inner) => {
839                Error::ResourceNotFoundException(inner)
840            }
841            crate::operation::create_payment_credential_provider::CreatePaymentCredentialProviderError::ServiceQuotaExceededException(inner) => {
842                Error::ServiceQuotaExceededException(inner)
843            }
844            crate::operation::create_payment_credential_provider::CreatePaymentCredentialProviderError::ThrottlingException(inner) => {
845                Error::ThrottlingException(inner)
846            }
847            crate::operation::create_payment_credential_provider::CreatePaymentCredentialProviderError::UnauthorizedException(inner) => {
848                Error::UnauthorizedException(inner)
849            }
850            crate::operation::create_payment_credential_provider::CreatePaymentCredentialProviderError::ValidationException(inner) => {
851                Error::ValidationException(inner)
852            }
853            crate::operation::create_payment_credential_provider::CreatePaymentCredentialProviderError::Unhandled(inner) => Error::Unhandled(inner),
854        }
855    }
856}
857impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_payment_manager::CreatePaymentManagerError, R>> for Error
858where
859    R: Send + Sync + std::fmt::Debug + 'static,
860{
861    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_payment_manager::CreatePaymentManagerError, R>) -> 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::create_payment_manager::CreatePaymentManagerError> for Error {
872    fn from(err: crate::operation::create_payment_manager::CreatePaymentManagerError) -> Self {
873        match err {
874            crate::operation::create_payment_manager::CreatePaymentManagerError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
875            crate::operation::create_payment_manager::CreatePaymentManagerError::ConflictException(inner) => Error::ConflictException(inner),
876            crate::operation::create_payment_manager::CreatePaymentManagerError::InternalServerException(inner) => {
877                Error::InternalServerException(inner)
878            }
879            crate::operation::create_payment_manager::CreatePaymentManagerError::ServiceQuotaExceededException(inner) => {
880                Error::ServiceQuotaExceededException(inner)
881            }
882            crate::operation::create_payment_manager::CreatePaymentManagerError::ThrottlingException(inner) => Error::ThrottlingException(inner),
883            crate::operation::create_payment_manager::CreatePaymentManagerError::ValidationException(inner) => Error::ValidationException(inner),
884            crate::operation::create_payment_manager::CreatePaymentManagerError::Unhandled(inner) => Error::Unhandled(inner),
885        }
886    }
887}
888impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_policy::CreatePolicyError, R>> for Error
889where
890    R: Send + Sync + std::fmt::Debug + 'static,
891{
892    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_policy::CreatePolicyError, R>) -> Self {
893        match err {
894            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
895            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
896                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
897                source: err.into(),
898            }),
899        }
900    }
901}
902impl From<crate::operation::create_policy::CreatePolicyError> for Error {
903    fn from(err: crate::operation::create_policy::CreatePolicyError) -> Self {
904        match err {
905            crate::operation::create_policy::CreatePolicyError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
906            crate::operation::create_policy::CreatePolicyError::ConflictException(inner) => Error::ConflictException(inner),
907            crate::operation::create_policy::CreatePolicyError::InternalServerException(inner) => Error::InternalServerException(inner),
908            crate::operation::create_policy::CreatePolicyError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
909            crate::operation::create_policy::CreatePolicyError::ServiceQuotaExceededException(inner) => Error::ServiceQuotaExceededException(inner),
910            crate::operation::create_policy::CreatePolicyError::ThrottlingException(inner) => Error::ThrottlingException(inner),
911            crate::operation::create_policy::CreatePolicyError::ValidationException(inner) => Error::ValidationException(inner),
912            crate::operation::create_policy::CreatePolicyError::Unhandled(inner) => Error::Unhandled(inner),
913        }
914    }
915}
916impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_policy_engine::CreatePolicyEngineError, R>> for Error
917where
918    R: Send + Sync + std::fmt::Debug + 'static,
919{
920    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_policy_engine::CreatePolicyEngineError, R>) -> Self {
921        match err {
922            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
923            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
924                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
925                source: err.into(),
926            }),
927        }
928    }
929}
930impl From<crate::operation::create_policy_engine::CreatePolicyEngineError> for Error {
931    fn from(err: crate::operation::create_policy_engine::CreatePolicyEngineError) -> Self {
932        match err {
933            crate::operation::create_policy_engine::CreatePolicyEngineError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
934            crate::operation::create_policy_engine::CreatePolicyEngineError::ConflictException(inner) => Error::ConflictException(inner),
935            crate::operation::create_policy_engine::CreatePolicyEngineError::InternalServerException(inner) => Error::InternalServerException(inner),
936            crate::operation::create_policy_engine::CreatePolicyEngineError::ServiceQuotaExceededException(inner) => {
937                Error::ServiceQuotaExceededException(inner)
938            }
939            crate::operation::create_policy_engine::CreatePolicyEngineError::ThrottlingException(inner) => Error::ThrottlingException(inner),
940            crate::operation::create_policy_engine::CreatePolicyEngineError::ValidationException(inner) => Error::ValidationException(inner),
941            crate::operation::create_policy_engine::CreatePolicyEngineError::Unhandled(inner) => Error::Unhandled(inner),
942        }
943    }
944}
945impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_registry::CreateRegistryError, R>> for Error
946where
947    R: Send + Sync + std::fmt::Debug + 'static,
948{
949    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_registry::CreateRegistryError, R>) -> Self {
950        match err {
951            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
952            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
953                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
954                source: err.into(),
955            }),
956        }
957    }
958}
959impl From<crate::operation::create_registry::CreateRegistryError> for Error {
960    fn from(err: crate::operation::create_registry::CreateRegistryError) -> Self {
961        match err {
962            crate::operation::create_registry::CreateRegistryError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
963            crate::operation::create_registry::CreateRegistryError::ConflictException(inner) => Error::ConflictException(inner),
964            crate::operation::create_registry::CreateRegistryError::InternalServerException(inner) => Error::InternalServerException(inner),
965            crate::operation::create_registry::CreateRegistryError::ServiceQuotaExceededException(inner) => {
966                Error::ServiceQuotaExceededException(inner)
967            }
968            crate::operation::create_registry::CreateRegistryError::ThrottlingException(inner) => Error::ThrottlingException(inner),
969            crate::operation::create_registry::CreateRegistryError::ValidationException(inner) => Error::ValidationException(inner),
970            crate::operation::create_registry::CreateRegistryError::Unhandled(inner) => Error::Unhandled(inner),
971        }
972    }
973}
974impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_registry_record::CreateRegistryRecordError, R>> for Error
975where
976    R: Send + Sync + std::fmt::Debug + 'static,
977{
978    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_registry_record::CreateRegistryRecordError, R>) -> Self {
979        match err {
980            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
981            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
982                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
983                source: err.into(),
984            }),
985        }
986    }
987}
988impl From<crate::operation::create_registry_record::CreateRegistryRecordError> for Error {
989    fn from(err: crate::operation::create_registry_record::CreateRegistryRecordError) -> Self {
990        match err {
991            crate::operation::create_registry_record::CreateRegistryRecordError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
992            crate::operation::create_registry_record::CreateRegistryRecordError::ConflictException(inner) => Error::ConflictException(inner),
993            crate::operation::create_registry_record::CreateRegistryRecordError::InternalServerException(inner) => {
994                Error::InternalServerException(inner)
995            }
996            crate::operation::create_registry_record::CreateRegistryRecordError::ResourceNotFoundException(inner) => {
997                Error::ResourceNotFoundException(inner)
998            }
999            crate::operation::create_registry_record::CreateRegistryRecordError::ServiceQuotaExceededException(inner) => {
1000                Error::ServiceQuotaExceededException(inner)
1001            }
1002            crate::operation::create_registry_record::CreateRegistryRecordError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1003            crate::operation::create_registry_record::CreateRegistryRecordError::ValidationException(inner) => Error::ValidationException(inner),
1004            crate::operation::create_registry_record::CreateRegistryRecordError::Unhandled(inner) => Error::Unhandled(inner),
1005        }
1006    }
1007}
1008impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_workload_identity::CreateWorkloadIdentityError, R>> for Error
1009where
1010    R: Send + Sync + std::fmt::Debug + 'static,
1011{
1012    fn from(
1013        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_workload_identity::CreateWorkloadIdentityError, R>,
1014    ) -> Self {
1015        match err {
1016            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1017            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1018                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1019                source: err.into(),
1020            }),
1021        }
1022    }
1023}
1024impl From<crate::operation::create_workload_identity::CreateWorkloadIdentityError> for Error {
1025    fn from(err: crate::operation::create_workload_identity::CreateWorkloadIdentityError) -> Self {
1026        match err {
1027            crate::operation::create_workload_identity::CreateWorkloadIdentityError::AccessDeniedException(inner) => {
1028                Error::AccessDeniedException(inner)
1029            }
1030            crate::operation::create_workload_identity::CreateWorkloadIdentityError::InternalServerException(inner) => {
1031                Error::InternalServerException(inner)
1032            }
1033            crate::operation::create_workload_identity::CreateWorkloadIdentityError::ResourceNotFoundException(inner) => {
1034                Error::ResourceNotFoundException(inner)
1035            }
1036            crate::operation::create_workload_identity::CreateWorkloadIdentityError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1037            crate::operation::create_workload_identity::CreateWorkloadIdentityError::UnauthorizedException(inner) => {
1038                Error::UnauthorizedException(inner)
1039            }
1040            crate::operation::create_workload_identity::CreateWorkloadIdentityError::ValidationException(inner) => Error::ValidationException(inner),
1041            crate::operation::create_workload_identity::CreateWorkloadIdentityError::Unhandled(inner) => Error::Unhandled(inner),
1042        }
1043    }
1044}
1045impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_agent_runtime::DeleteAgentRuntimeError, R>> for Error
1046where
1047    R: Send + Sync + std::fmt::Debug + 'static,
1048{
1049    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_agent_runtime::DeleteAgentRuntimeError, R>) -> Self {
1050        match err {
1051            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1052            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1053                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1054                source: err.into(),
1055            }),
1056        }
1057    }
1058}
1059impl From<crate::operation::delete_agent_runtime::DeleteAgentRuntimeError> for Error {
1060    fn from(err: crate::operation::delete_agent_runtime::DeleteAgentRuntimeError) -> Self {
1061        match err {
1062            crate::operation::delete_agent_runtime::DeleteAgentRuntimeError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1063            crate::operation::delete_agent_runtime::DeleteAgentRuntimeError::ConflictException(inner) => Error::ConflictException(inner),
1064            crate::operation::delete_agent_runtime::DeleteAgentRuntimeError::InternalServerException(inner) => Error::InternalServerException(inner),
1065            crate::operation::delete_agent_runtime::DeleteAgentRuntimeError::ResourceNotFoundException(inner) => {
1066                Error::ResourceNotFoundException(inner)
1067            }
1068            crate::operation::delete_agent_runtime::DeleteAgentRuntimeError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1069            crate::operation::delete_agent_runtime::DeleteAgentRuntimeError::Unhandled(inner) => Error::Unhandled(inner),
1070        }
1071    }
1072}
1073impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_agent_runtime_endpoint::DeleteAgentRuntimeEndpointError, R>>
1074    for Error
1075where
1076    R: Send + Sync + std::fmt::Debug + 'static,
1077{
1078    fn from(
1079        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_agent_runtime_endpoint::DeleteAgentRuntimeEndpointError, R>,
1080    ) -> Self {
1081        match err {
1082            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1083            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1084                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1085                source: err.into(),
1086            }),
1087        }
1088    }
1089}
1090impl From<crate::operation::delete_agent_runtime_endpoint::DeleteAgentRuntimeEndpointError> for Error {
1091    fn from(err: crate::operation::delete_agent_runtime_endpoint::DeleteAgentRuntimeEndpointError) -> Self {
1092        match err {
1093            crate::operation::delete_agent_runtime_endpoint::DeleteAgentRuntimeEndpointError::AccessDeniedException(inner) => {
1094                Error::AccessDeniedException(inner)
1095            }
1096            crate::operation::delete_agent_runtime_endpoint::DeleteAgentRuntimeEndpointError::ConflictException(inner) => {
1097                Error::ConflictException(inner)
1098            }
1099            crate::operation::delete_agent_runtime_endpoint::DeleteAgentRuntimeEndpointError::InternalServerException(inner) => {
1100                Error::InternalServerException(inner)
1101            }
1102            crate::operation::delete_agent_runtime_endpoint::DeleteAgentRuntimeEndpointError::ResourceNotFoundException(inner) => {
1103                Error::ResourceNotFoundException(inner)
1104            }
1105            crate::operation::delete_agent_runtime_endpoint::DeleteAgentRuntimeEndpointError::ThrottlingException(inner) => {
1106                Error::ThrottlingException(inner)
1107            }
1108            crate::operation::delete_agent_runtime_endpoint::DeleteAgentRuntimeEndpointError::Unhandled(inner) => Error::Unhandled(inner),
1109        }
1110    }
1111}
1112impl<R>
1113    From<
1114        ::aws_smithy_runtime_api::client::result::SdkError<
1115            crate::operation::delete_api_key_credential_provider::DeleteApiKeyCredentialProviderError,
1116            R,
1117        >,
1118    > for Error
1119where
1120    R: Send + Sync + std::fmt::Debug + 'static,
1121{
1122    fn from(
1123        err: ::aws_smithy_runtime_api::client::result::SdkError<
1124            crate::operation::delete_api_key_credential_provider::DeleteApiKeyCredentialProviderError,
1125            R,
1126        >,
1127    ) -> Self {
1128        match err {
1129            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1130            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1131                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1132                source: err.into(),
1133            }),
1134        }
1135    }
1136}
1137impl From<crate::operation::delete_api_key_credential_provider::DeleteApiKeyCredentialProviderError> for Error {
1138    fn from(err: crate::operation::delete_api_key_credential_provider::DeleteApiKeyCredentialProviderError) -> Self {
1139        match err {
1140            crate::operation::delete_api_key_credential_provider::DeleteApiKeyCredentialProviderError::AccessDeniedException(inner) => {
1141                Error::AccessDeniedException(inner)
1142            }
1143            crate::operation::delete_api_key_credential_provider::DeleteApiKeyCredentialProviderError::InternalServerException(inner) => {
1144                Error::InternalServerException(inner)
1145            }
1146            crate::operation::delete_api_key_credential_provider::DeleteApiKeyCredentialProviderError::ResourceNotFoundException(inner) => {
1147                Error::ResourceNotFoundException(inner)
1148            }
1149            crate::operation::delete_api_key_credential_provider::DeleteApiKeyCredentialProviderError::ThrottlingException(inner) => {
1150                Error::ThrottlingException(inner)
1151            }
1152            crate::operation::delete_api_key_credential_provider::DeleteApiKeyCredentialProviderError::UnauthorizedException(inner) => {
1153                Error::UnauthorizedException(inner)
1154            }
1155            crate::operation::delete_api_key_credential_provider::DeleteApiKeyCredentialProviderError::ValidationException(inner) => {
1156                Error::ValidationException(inner)
1157            }
1158            crate::operation::delete_api_key_credential_provider::DeleteApiKeyCredentialProviderError::Unhandled(inner) => Error::Unhandled(inner),
1159        }
1160    }
1161}
1162impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_browser::DeleteBrowserError, R>> for Error
1163where
1164    R: Send + Sync + std::fmt::Debug + 'static,
1165{
1166    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_browser::DeleteBrowserError, R>) -> Self {
1167        match err {
1168            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1169            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1170                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1171                source: err.into(),
1172            }),
1173        }
1174    }
1175}
1176impl From<crate::operation::delete_browser::DeleteBrowserError> for Error {
1177    fn from(err: crate::operation::delete_browser::DeleteBrowserError) -> Self {
1178        match err {
1179            crate::operation::delete_browser::DeleteBrowserError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1180            crate::operation::delete_browser::DeleteBrowserError::ConflictException(inner) => Error::ConflictException(inner),
1181            crate::operation::delete_browser::DeleteBrowserError::InternalServerException(inner) => Error::InternalServerException(inner),
1182            crate::operation::delete_browser::DeleteBrowserError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1183            crate::operation::delete_browser::DeleteBrowserError::ServiceQuotaExceededException(inner) => Error::ServiceQuotaExceededException(inner),
1184            crate::operation::delete_browser::DeleteBrowserError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1185            crate::operation::delete_browser::DeleteBrowserError::ValidationException(inner) => Error::ValidationException(inner),
1186            crate::operation::delete_browser::DeleteBrowserError::Unhandled(inner) => Error::Unhandled(inner),
1187        }
1188    }
1189}
1190impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_browser_profile::DeleteBrowserProfileError, R>> for Error
1191where
1192    R: Send + Sync + std::fmt::Debug + 'static,
1193{
1194    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_browser_profile::DeleteBrowserProfileError, R>) -> Self {
1195        match err {
1196            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1197            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1198                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1199                source: err.into(),
1200            }),
1201        }
1202    }
1203}
1204impl From<crate::operation::delete_browser_profile::DeleteBrowserProfileError> for Error {
1205    fn from(err: crate::operation::delete_browser_profile::DeleteBrowserProfileError) -> Self {
1206        match err {
1207            crate::operation::delete_browser_profile::DeleteBrowserProfileError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1208            crate::operation::delete_browser_profile::DeleteBrowserProfileError::ConflictException(inner) => Error::ConflictException(inner),
1209            crate::operation::delete_browser_profile::DeleteBrowserProfileError::InternalServerException(inner) => {
1210                Error::InternalServerException(inner)
1211            }
1212            crate::operation::delete_browser_profile::DeleteBrowserProfileError::ResourceNotFoundException(inner) => {
1213                Error::ResourceNotFoundException(inner)
1214            }
1215            crate::operation::delete_browser_profile::DeleteBrowserProfileError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1216            crate::operation::delete_browser_profile::DeleteBrowserProfileError::ValidationException(inner) => Error::ValidationException(inner),
1217            crate::operation::delete_browser_profile::DeleteBrowserProfileError::Unhandled(inner) => Error::Unhandled(inner),
1218        }
1219    }
1220}
1221impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_code_interpreter::DeleteCodeInterpreterError, R>> for Error
1222where
1223    R: Send + Sync + std::fmt::Debug + 'static,
1224{
1225    fn from(
1226        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_code_interpreter::DeleteCodeInterpreterError, R>,
1227    ) -> Self {
1228        match err {
1229            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1230            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1231                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1232                source: err.into(),
1233            }),
1234        }
1235    }
1236}
1237impl From<crate::operation::delete_code_interpreter::DeleteCodeInterpreterError> for Error {
1238    fn from(err: crate::operation::delete_code_interpreter::DeleteCodeInterpreterError) -> Self {
1239        match err {
1240            crate::operation::delete_code_interpreter::DeleteCodeInterpreterError::AccessDeniedException(inner) => {
1241                Error::AccessDeniedException(inner)
1242            }
1243            crate::operation::delete_code_interpreter::DeleteCodeInterpreterError::ConflictException(inner) => Error::ConflictException(inner),
1244            crate::operation::delete_code_interpreter::DeleteCodeInterpreterError::InternalServerException(inner) => {
1245                Error::InternalServerException(inner)
1246            }
1247            crate::operation::delete_code_interpreter::DeleteCodeInterpreterError::ResourceNotFoundException(inner) => {
1248                Error::ResourceNotFoundException(inner)
1249            }
1250            crate::operation::delete_code_interpreter::DeleteCodeInterpreterError::ServiceQuotaExceededException(inner) => {
1251                Error::ServiceQuotaExceededException(inner)
1252            }
1253            crate::operation::delete_code_interpreter::DeleteCodeInterpreterError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1254            crate::operation::delete_code_interpreter::DeleteCodeInterpreterError::ValidationException(inner) => Error::ValidationException(inner),
1255            crate::operation::delete_code_interpreter::DeleteCodeInterpreterError::Unhandled(inner) => Error::Unhandled(inner),
1256        }
1257    }
1258}
1259impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_configuration_bundle::DeleteConfigurationBundleError, R>>
1260    for Error
1261where
1262    R: Send + Sync + std::fmt::Debug + 'static,
1263{
1264    fn from(
1265        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_configuration_bundle::DeleteConfigurationBundleError, R>,
1266    ) -> Self {
1267        match err {
1268            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1269            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1270                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1271                source: err.into(),
1272            }),
1273        }
1274    }
1275}
1276impl From<crate::operation::delete_configuration_bundle::DeleteConfigurationBundleError> for Error {
1277    fn from(err: crate::operation::delete_configuration_bundle::DeleteConfigurationBundleError) -> Self {
1278        match err {
1279            crate::operation::delete_configuration_bundle::DeleteConfigurationBundleError::AccessDeniedException(inner) => {
1280                Error::AccessDeniedException(inner)
1281            }
1282            crate::operation::delete_configuration_bundle::DeleteConfigurationBundleError::ConflictException(inner) => {
1283                Error::ConflictException(inner)
1284            }
1285            crate::operation::delete_configuration_bundle::DeleteConfigurationBundleError::InternalServerException(inner) => {
1286                Error::InternalServerException(inner)
1287            }
1288            crate::operation::delete_configuration_bundle::DeleteConfigurationBundleError::ResourceNotFoundException(inner) => {
1289                Error::ResourceNotFoundException(inner)
1290            }
1291            crate::operation::delete_configuration_bundle::DeleteConfigurationBundleError::ThrottlingException(inner) => {
1292                Error::ThrottlingException(inner)
1293            }
1294            crate::operation::delete_configuration_bundle::DeleteConfigurationBundleError::ValidationException(inner) => {
1295                Error::ValidationException(inner)
1296            }
1297            crate::operation::delete_configuration_bundle::DeleteConfigurationBundleError::Unhandled(inner) => Error::Unhandled(inner),
1298        }
1299    }
1300}
1301impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_dataset::DeleteDatasetError, R>> for Error
1302where
1303    R: Send + Sync + std::fmt::Debug + 'static,
1304{
1305    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_dataset::DeleteDatasetError, R>) -> Self {
1306        match err {
1307            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1308            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1309                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1310                source: err.into(),
1311            }),
1312        }
1313    }
1314}
1315impl From<crate::operation::delete_dataset::DeleteDatasetError> for Error {
1316    fn from(err: crate::operation::delete_dataset::DeleteDatasetError) -> Self {
1317        match err {
1318            crate::operation::delete_dataset::DeleteDatasetError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1319            crate::operation::delete_dataset::DeleteDatasetError::ConflictException(inner) => Error::ConflictException(inner),
1320            crate::operation::delete_dataset::DeleteDatasetError::InternalServerException(inner) => Error::InternalServerException(inner),
1321            crate::operation::delete_dataset::DeleteDatasetError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1322            crate::operation::delete_dataset::DeleteDatasetError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1323            crate::operation::delete_dataset::DeleteDatasetError::ValidationException(inner) => Error::ValidationException(inner),
1324            crate::operation::delete_dataset::DeleteDatasetError::Unhandled(inner) => Error::Unhandled(inner),
1325        }
1326    }
1327}
1328impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_dataset_examples::DeleteDatasetExamplesError, R>> for Error
1329where
1330    R: Send + Sync + std::fmt::Debug + 'static,
1331{
1332    fn from(
1333        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_dataset_examples::DeleteDatasetExamplesError, R>,
1334    ) -> Self {
1335        match err {
1336            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1337            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1338                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1339                source: err.into(),
1340            }),
1341        }
1342    }
1343}
1344impl From<crate::operation::delete_dataset_examples::DeleteDatasetExamplesError> for Error {
1345    fn from(err: crate::operation::delete_dataset_examples::DeleteDatasetExamplesError) -> Self {
1346        match err {
1347            crate::operation::delete_dataset_examples::DeleteDatasetExamplesError::AccessDeniedException(inner) => {
1348                Error::AccessDeniedException(inner)
1349            }
1350            crate::operation::delete_dataset_examples::DeleteDatasetExamplesError::ConflictException(inner) => Error::ConflictException(inner),
1351            crate::operation::delete_dataset_examples::DeleteDatasetExamplesError::InternalServerException(inner) => {
1352                Error::InternalServerException(inner)
1353            }
1354            crate::operation::delete_dataset_examples::DeleteDatasetExamplesError::ResourceNotFoundException(inner) => {
1355                Error::ResourceNotFoundException(inner)
1356            }
1357            crate::operation::delete_dataset_examples::DeleteDatasetExamplesError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1358            crate::operation::delete_dataset_examples::DeleteDatasetExamplesError::ValidationException(inner) => Error::ValidationException(inner),
1359            crate::operation::delete_dataset_examples::DeleteDatasetExamplesError::Unhandled(inner) => Error::Unhandled(inner),
1360        }
1361    }
1362}
1363impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_evaluator::DeleteEvaluatorError, R>> for Error
1364where
1365    R: Send + Sync + std::fmt::Debug + 'static,
1366{
1367    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_evaluator::DeleteEvaluatorError, R>) -> Self {
1368        match err {
1369            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1370            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1371                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1372                source: err.into(),
1373            }),
1374        }
1375    }
1376}
1377impl From<crate::operation::delete_evaluator::DeleteEvaluatorError> for Error {
1378    fn from(err: crate::operation::delete_evaluator::DeleteEvaluatorError) -> Self {
1379        match err {
1380            crate::operation::delete_evaluator::DeleteEvaluatorError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1381            crate::operation::delete_evaluator::DeleteEvaluatorError::ConflictException(inner) => Error::ConflictException(inner),
1382            crate::operation::delete_evaluator::DeleteEvaluatorError::InternalServerException(inner) => Error::InternalServerException(inner),
1383            crate::operation::delete_evaluator::DeleteEvaluatorError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1384            crate::operation::delete_evaluator::DeleteEvaluatorError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1385            crate::operation::delete_evaluator::DeleteEvaluatorError::ValidationException(inner) => Error::ValidationException(inner),
1386            crate::operation::delete_evaluator::DeleteEvaluatorError::Unhandled(inner) => Error::Unhandled(inner),
1387        }
1388    }
1389}
1390impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_gateway::DeleteGatewayError, R>> for Error
1391where
1392    R: Send + Sync + std::fmt::Debug + 'static,
1393{
1394    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_gateway::DeleteGatewayError, R>) -> Self {
1395        match err {
1396            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1397            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1398                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1399                source: err.into(),
1400            }),
1401        }
1402    }
1403}
1404impl From<crate::operation::delete_gateway::DeleteGatewayError> for Error {
1405    fn from(err: crate::operation::delete_gateway::DeleteGatewayError) -> Self {
1406        match err {
1407            crate::operation::delete_gateway::DeleteGatewayError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1408            crate::operation::delete_gateway::DeleteGatewayError::ConflictException(inner) => Error::ConflictException(inner),
1409            crate::operation::delete_gateway::DeleteGatewayError::InternalServerException(inner) => Error::InternalServerException(inner),
1410            crate::operation::delete_gateway::DeleteGatewayError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1411            crate::operation::delete_gateway::DeleteGatewayError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1412            crate::operation::delete_gateway::DeleteGatewayError::ValidationException(inner) => Error::ValidationException(inner),
1413            crate::operation::delete_gateway::DeleteGatewayError::Unhandled(inner) => Error::Unhandled(inner),
1414        }
1415    }
1416}
1417impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_gateway_rule::DeleteGatewayRuleError, R>> for Error
1418where
1419    R: Send + Sync + std::fmt::Debug + 'static,
1420{
1421    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_gateway_rule::DeleteGatewayRuleError, R>) -> Self {
1422        match err {
1423            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1424            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1425                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1426                source: err.into(),
1427            }),
1428        }
1429    }
1430}
1431impl From<crate::operation::delete_gateway_rule::DeleteGatewayRuleError> for Error {
1432    fn from(err: crate::operation::delete_gateway_rule::DeleteGatewayRuleError) -> Self {
1433        match err {
1434            crate::operation::delete_gateway_rule::DeleteGatewayRuleError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1435            crate::operation::delete_gateway_rule::DeleteGatewayRuleError::ConflictException(inner) => Error::ConflictException(inner),
1436            crate::operation::delete_gateway_rule::DeleteGatewayRuleError::InternalServerException(inner) => Error::InternalServerException(inner),
1437            crate::operation::delete_gateway_rule::DeleteGatewayRuleError::ResourceNotFoundException(inner) => {
1438                Error::ResourceNotFoundException(inner)
1439            }
1440            crate::operation::delete_gateway_rule::DeleteGatewayRuleError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1441            crate::operation::delete_gateway_rule::DeleteGatewayRuleError::ValidationException(inner) => Error::ValidationException(inner),
1442            crate::operation::delete_gateway_rule::DeleteGatewayRuleError::Unhandled(inner) => Error::Unhandled(inner),
1443        }
1444    }
1445}
1446impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_gateway_target::DeleteGatewayTargetError, R>> for Error
1447where
1448    R: Send + Sync + std::fmt::Debug + 'static,
1449{
1450    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_gateway_target::DeleteGatewayTargetError, R>) -> Self {
1451        match err {
1452            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1453            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1454                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1455                source: err.into(),
1456            }),
1457        }
1458    }
1459}
1460impl From<crate::operation::delete_gateway_target::DeleteGatewayTargetError> for Error {
1461    fn from(err: crate::operation::delete_gateway_target::DeleteGatewayTargetError) -> Self {
1462        match err {
1463            crate::operation::delete_gateway_target::DeleteGatewayTargetError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1464            crate::operation::delete_gateway_target::DeleteGatewayTargetError::ConflictException(inner) => Error::ConflictException(inner),
1465            crate::operation::delete_gateway_target::DeleteGatewayTargetError::InternalServerException(inner) => {
1466                Error::InternalServerException(inner)
1467            }
1468            crate::operation::delete_gateway_target::DeleteGatewayTargetError::ResourceNotFoundException(inner) => {
1469                Error::ResourceNotFoundException(inner)
1470            }
1471            crate::operation::delete_gateway_target::DeleteGatewayTargetError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1472            crate::operation::delete_gateway_target::DeleteGatewayTargetError::ValidationException(inner) => Error::ValidationException(inner),
1473            crate::operation::delete_gateway_target::DeleteGatewayTargetError::Unhandled(inner) => Error::Unhandled(inner),
1474        }
1475    }
1476}
1477impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_harness::DeleteHarnessError, R>> for Error
1478where
1479    R: Send + Sync + std::fmt::Debug + 'static,
1480{
1481    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_harness::DeleteHarnessError, R>) -> Self {
1482        match err {
1483            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1484            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1485                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1486                source: err.into(),
1487            }),
1488        }
1489    }
1490}
1491impl From<crate::operation::delete_harness::DeleteHarnessError> for Error {
1492    fn from(err: crate::operation::delete_harness::DeleteHarnessError) -> Self {
1493        match err {
1494            crate::operation::delete_harness::DeleteHarnessError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1495            crate::operation::delete_harness::DeleteHarnessError::ConflictException(inner) => Error::ConflictException(inner),
1496            crate::operation::delete_harness::DeleteHarnessError::InternalServerException(inner) => Error::InternalServerException(inner),
1497            crate::operation::delete_harness::DeleteHarnessError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1498            crate::operation::delete_harness::DeleteHarnessError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1499            crate::operation::delete_harness::DeleteHarnessError::ValidationException(inner) => Error::ValidationException(inner),
1500            crate::operation::delete_harness::DeleteHarnessError::Unhandled(inner) => Error::Unhandled(inner),
1501        }
1502    }
1503}
1504impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_memory::DeleteMemoryError, R>> for Error
1505where
1506    R: Send + Sync + std::fmt::Debug + 'static,
1507{
1508    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_memory::DeleteMemoryError, R>) -> Self {
1509        match err {
1510            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1511            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1512                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1513                source: err.into(),
1514            }),
1515        }
1516    }
1517}
1518impl From<crate::operation::delete_memory::DeleteMemoryError> for Error {
1519    fn from(err: crate::operation::delete_memory::DeleteMemoryError) -> Self {
1520        match err {
1521            crate::operation::delete_memory::DeleteMemoryError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1522            crate::operation::delete_memory::DeleteMemoryError::ConflictException(inner) => Error::ConflictException(inner),
1523            crate::operation::delete_memory::DeleteMemoryError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1524            crate::operation::delete_memory::DeleteMemoryError::ServiceException(inner) => Error::ServiceException(inner),
1525            crate::operation::delete_memory::DeleteMemoryError::ThrottledException(inner) => Error::ThrottledException(inner),
1526            crate::operation::delete_memory::DeleteMemoryError::ValidationException(inner) => Error::ValidationException(inner),
1527            crate::operation::delete_memory::DeleteMemoryError::Unhandled(inner) => Error::Unhandled(inner),
1528        }
1529    }
1530}
1531impl<R>
1532    From<
1533        ::aws_smithy_runtime_api::client::result::SdkError<
1534            crate::operation::delete_oauth2_credential_provider::DeleteOauth2CredentialProviderError,
1535            R,
1536        >,
1537    > for Error
1538where
1539    R: Send + Sync + std::fmt::Debug + 'static,
1540{
1541    fn from(
1542        err: ::aws_smithy_runtime_api::client::result::SdkError<
1543            crate::operation::delete_oauth2_credential_provider::DeleteOauth2CredentialProviderError,
1544            R,
1545        >,
1546    ) -> Self {
1547        match err {
1548            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1549            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1550                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1551                source: err.into(),
1552            }),
1553        }
1554    }
1555}
1556impl From<crate::operation::delete_oauth2_credential_provider::DeleteOauth2CredentialProviderError> for Error {
1557    fn from(err: crate::operation::delete_oauth2_credential_provider::DeleteOauth2CredentialProviderError) -> Self {
1558        match err {
1559            crate::operation::delete_oauth2_credential_provider::DeleteOauth2CredentialProviderError::AccessDeniedException(inner) => {
1560                Error::AccessDeniedException(inner)
1561            }
1562            crate::operation::delete_oauth2_credential_provider::DeleteOauth2CredentialProviderError::ConflictException(inner) => {
1563                Error::ConflictException(inner)
1564            }
1565            crate::operation::delete_oauth2_credential_provider::DeleteOauth2CredentialProviderError::InternalServerException(inner) => {
1566                Error::InternalServerException(inner)
1567            }
1568            crate::operation::delete_oauth2_credential_provider::DeleteOauth2CredentialProviderError::ResourceNotFoundException(inner) => {
1569                Error::ResourceNotFoundException(inner)
1570            }
1571            crate::operation::delete_oauth2_credential_provider::DeleteOauth2CredentialProviderError::ThrottlingException(inner) => {
1572                Error::ThrottlingException(inner)
1573            }
1574            crate::operation::delete_oauth2_credential_provider::DeleteOauth2CredentialProviderError::UnauthorizedException(inner) => {
1575                Error::UnauthorizedException(inner)
1576            }
1577            crate::operation::delete_oauth2_credential_provider::DeleteOauth2CredentialProviderError::ValidationException(inner) => {
1578                Error::ValidationException(inner)
1579            }
1580            crate::operation::delete_oauth2_credential_provider::DeleteOauth2CredentialProviderError::Unhandled(inner) => Error::Unhandled(inner),
1581        }
1582    }
1583}
1584impl<R>
1585    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_online_evaluation_config::DeleteOnlineEvaluationConfigError, R>>
1586    for Error
1587where
1588    R: Send + Sync + std::fmt::Debug + 'static,
1589{
1590    fn from(
1591        err: ::aws_smithy_runtime_api::client::result::SdkError<
1592            crate::operation::delete_online_evaluation_config::DeleteOnlineEvaluationConfigError,
1593            R,
1594        >,
1595    ) -> Self {
1596        match err {
1597            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1598            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1599                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1600                source: err.into(),
1601            }),
1602        }
1603    }
1604}
1605impl From<crate::operation::delete_online_evaluation_config::DeleteOnlineEvaluationConfigError> for Error {
1606    fn from(err: crate::operation::delete_online_evaluation_config::DeleteOnlineEvaluationConfigError) -> Self {
1607        match err {
1608            crate::operation::delete_online_evaluation_config::DeleteOnlineEvaluationConfigError::AccessDeniedException(inner) => {
1609                Error::AccessDeniedException(inner)
1610            }
1611            crate::operation::delete_online_evaluation_config::DeleteOnlineEvaluationConfigError::ConflictException(inner) => {
1612                Error::ConflictException(inner)
1613            }
1614            crate::operation::delete_online_evaluation_config::DeleteOnlineEvaluationConfigError::InternalServerException(inner) => {
1615                Error::InternalServerException(inner)
1616            }
1617            crate::operation::delete_online_evaluation_config::DeleteOnlineEvaluationConfigError::ResourceNotFoundException(inner) => {
1618                Error::ResourceNotFoundException(inner)
1619            }
1620            crate::operation::delete_online_evaluation_config::DeleteOnlineEvaluationConfigError::ThrottlingException(inner) => {
1621                Error::ThrottlingException(inner)
1622            }
1623            crate::operation::delete_online_evaluation_config::DeleteOnlineEvaluationConfigError::ValidationException(inner) => {
1624                Error::ValidationException(inner)
1625            }
1626            crate::operation::delete_online_evaluation_config::DeleteOnlineEvaluationConfigError::Unhandled(inner) => Error::Unhandled(inner),
1627        }
1628    }
1629}
1630impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_payment_connector::DeletePaymentConnectorError, R>> for Error
1631where
1632    R: Send + Sync + std::fmt::Debug + 'static,
1633{
1634    fn from(
1635        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_payment_connector::DeletePaymentConnectorError, R>,
1636    ) -> Self {
1637        match err {
1638            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1639            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1640                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1641                source: err.into(),
1642            }),
1643        }
1644    }
1645}
1646impl From<crate::operation::delete_payment_connector::DeletePaymentConnectorError> for Error {
1647    fn from(err: crate::operation::delete_payment_connector::DeletePaymentConnectorError) -> Self {
1648        match err {
1649            crate::operation::delete_payment_connector::DeletePaymentConnectorError::AccessDeniedException(inner) => {
1650                Error::AccessDeniedException(inner)
1651            }
1652            crate::operation::delete_payment_connector::DeletePaymentConnectorError::ConflictException(inner) => Error::ConflictException(inner),
1653            crate::operation::delete_payment_connector::DeletePaymentConnectorError::InternalServerException(inner) => {
1654                Error::InternalServerException(inner)
1655            }
1656            crate::operation::delete_payment_connector::DeletePaymentConnectorError::ResourceNotFoundException(inner) => {
1657                Error::ResourceNotFoundException(inner)
1658            }
1659            crate::operation::delete_payment_connector::DeletePaymentConnectorError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1660            crate::operation::delete_payment_connector::DeletePaymentConnectorError::Unhandled(inner) => Error::Unhandled(inner),
1661        }
1662    }
1663}
1664impl<R>
1665    From<
1666        ::aws_smithy_runtime_api::client::result::SdkError<
1667            crate::operation::delete_payment_credential_provider::DeletePaymentCredentialProviderError,
1668            R,
1669        >,
1670    > for Error
1671where
1672    R: Send + Sync + std::fmt::Debug + 'static,
1673{
1674    fn from(
1675        err: ::aws_smithy_runtime_api::client::result::SdkError<
1676            crate::operation::delete_payment_credential_provider::DeletePaymentCredentialProviderError,
1677            R,
1678        >,
1679    ) -> Self {
1680        match err {
1681            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1682            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1683                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1684                source: err.into(),
1685            }),
1686        }
1687    }
1688}
1689impl From<crate::operation::delete_payment_credential_provider::DeletePaymentCredentialProviderError> for Error {
1690    fn from(err: crate::operation::delete_payment_credential_provider::DeletePaymentCredentialProviderError) -> Self {
1691        match err {
1692            crate::operation::delete_payment_credential_provider::DeletePaymentCredentialProviderError::AccessDeniedException(inner) => {
1693                Error::AccessDeniedException(inner)
1694            }
1695            crate::operation::delete_payment_credential_provider::DeletePaymentCredentialProviderError::InternalServerException(inner) => {
1696                Error::InternalServerException(inner)
1697            }
1698            crate::operation::delete_payment_credential_provider::DeletePaymentCredentialProviderError::ResourceNotFoundException(inner) => {
1699                Error::ResourceNotFoundException(inner)
1700            }
1701            crate::operation::delete_payment_credential_provider::DeletePaymentCredentialProviderError::ThrottlingException(inner) => {
1702                Error::ThrottlingException(inner)
1703            }
1704            crate::operation::delete_payment_credential_provider::DeletePaymentCredentialProviderError::UnauthorizedException(inner) => {
1705                Error::UnauthorizedException(inner)
1706            }
1707            crate::operation::delete_payment_credential_provider::DeletePaymentCredentialProviderError::ValidationException(inner) => {
1708                Error::ValidationException(inner)
1709            }
1710            crate::operation::delete_payment_credential_provider::DeletePaymentCredentialProviderError::Unhandled(inner) => Error::Unhandled(inner),
1711        }
1712    }
1713}
1714impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_payment_manager::DeletePaymentManagerError, R>> for Error
1715where
1716    R: Send + Sync + std::fmt::Debug + 'static,
1717{
1718    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_payment_manager::DeletePaymentManagerError, R>) -> Self {
1719        match err {
1720            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1721            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1722                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1723                source: err.into(),
1724            }),
1725        }
1726    }
1727}
1728impl From<crate::operation::delete_payment_manager::DeletePaymentManagerError> for Error {
1729    fn from(err: crate::operation::delete_payment_manager::DeletePaymentManagerError) -> Self {
1730        match err {
1731            crate::operation::delete_payment_manager::DeletePaymentManagerError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1732            crate::operation::delete_payment_manager::DeletePaymentManagerError::ConflictException(inner) => Error::ConflictException(inner),
1733            crate::operation::delete_payment_manager::DeletePaymentManagerError::InternalServerException(inner) => {
1734                Error::InternalServerException(inner)
1735            }
1736            crate::operation::delete_payment_manager::DeletePaymentManagerError::ResourceNotFoundException(inner) => {
1737                Error::ResourceNotFoundException(inner)
1738            }
1739            crate::operation::delete_payment_manager::DeletePaymentManagerError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1740            crate::operation::delete_payment_manager::DeletePaymentManagerError::Unhandled(inner) => Error::Unhandled(inner),
1741        }
1742    }
1743}
1744impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_policy::DeletePolicyError, R>> for Error
1745where
1746    R: Send + Sync + std::fmt::Debug + 'static,
1747{
1748    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_policy::DeletePolicyError, R>) -> Self {
1749        match err {
1750            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1751            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1752                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1753                source: err.into(),
1754            }),
1755        }
1756    }
1757}
1758impl From<crate::operation::delete_policy::DeletePolicyError> for Error {
1759    fn from(err: crate::operation::delete_policy::DeletePolicyError) -> Self {
1760        match err {
1761            crate::operation::delete_policy::DeletePolicyError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1762            crate::operation::delete_policy::DeletePolicyError::ConflictException(inner) => Error::ConflictException(inner),
1763            crate::operation::delete_policy::DeletePolicyError::InternalServerException(inner) => Error::InternalServerException(inner),
1764            crate::operation::delete_policy::DeletePolicyError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1765            crate::operation::delete_policy::DeletePolicyError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1766            crate::operation::delete_policy::DeletePolicyError::ValidationException(inner) => Error::ValidationException(inner),
1767            crate::operation::delete_policy::DeletePolicyError::Unhandled(inner) => Error::Unhandled(inner),
1768        }
1769    }
1770}
1771impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_policy_engine::DeletePolicyEngineError, R>> for Error
1772where
1773    R: Send + Sync + std::fmt::Debug + 'static,
1774{
1775    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_policy_engine::DeletePolicyEngineError, R>) -> Self {
1776        match err {
1777            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1778            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1779                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1780                source: err.into(),
1781            }),
1782        }
1783    }
1784}
1785impl From<crate::operation::delete_policy_engine::DeletePolicyEngineError> for Error {
1786    fn from(err: crate::operation::delete_policy_engine::DeletePolicyEngineError) -> Self {
1787        match err {
1788            crate::operation::delete_policy_engine::DeletePolicyEngineError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1789            crate::operation::delete_policy_engine::DeletePolicyEngineError::ConflictException(inner) => Error::ConflictException(inner),
1790            crate::operation::delete_policy_engine::DeletePolicyEngineError::InternalServerException(inner) => Error::InternalServerException(inner),
1791            crate::operation::delete_policy_engine::DeletePolicyEngineError::ResourceNotFoundException(inner) => {
1792                Error::ResourceNotFoundException(inner)
1793            }
1794            crate::operation::delete_policy_engine::DeletePolicyEngineError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1795            crate::operation::delete_policy_engine::DeletePolicyEngineError::ValidationException(inner) => Error::ValidationException(inner),
1796            crate::operation::delete_policy_engine::DeletePolicyEngineError::Unhandled(inner) => Error::Unhandled(inner),
1797        }
1798    }
1799}
1800impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_registry::DeleteRegistryError, R>> for Error
1801where
1802    R: Send + Sync + std::fmt::Debug + 'static,
1803{
1804    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_registry::DeleteRegistryError, R>) -> Self {
1805        match err {
1806            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1807            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1808                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1809                source: err.into(),
1810            }),
1811        }
1812    }
1813}
1814impl From<crate::operation::delete_registry::DeleteRegistryError> for Error {
1815    fn from(err: crate::operation::delete_registry::DeleteRegistryError) -> Self {
1816        match err {
1817            crate::operation::delete_registry::DeleteRegistryError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1818            crate::operation::delete_registry::DeleteRegistryError::ConflictException(inner) => Error::ConflictException(inner),
1819            crate::operation::delete_registry::DeleteRegistryError::InternalServerException(inner) => Error::InternalServerException(inner),
1820            crate::operation::delete_registry::DeleteRegistryError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1821            crate::operation::delete_registry::DeleteRegistryError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1822            crate::operation::delete_registry::DeleteRegistryError::ValidationException(inner) => Error::ValidationException(inner),
1823            crate::operation::delete_registry::DeleteRegistryError::Unhandled(inner) => Error::Unhandled(inner),
1824        }
1825    }
1826}
1827impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_registry_record::DeleteRegistryRecordError, R>> for Error
1828where
1829    R: Send + Sync + std::fmt::Debug + 'static,
1830{
1831    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_registry_record::DeleteRegistryRecordError, R>) -> Self {
1832        match err {
1833            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1834            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1835                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1836                source: err.into(),
1837            }),
1838        }
1839    }
1840}
1841impl From<crate::operation::delete_registry_record::DeleteRegistryRecordError> for Error {
1842    fn from(err: crate::operation::delete_registry_record::DeleteRegistryRecordError) -> Self {
1843        match err {
1844            crate::operation::delete_registry_record::DeleteRegistryRecordError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1845            crate::operation::delete_registry_record::DeleteRegistryRecordError::ConflictException(inner) => Error::ConflictException(inner),
1846            crate::operation::delete_registry_record::DeleteRegistryRecordError::InternalServerException(inner) => {
1847                Error::InternalServerException(inner)
1848            }
1849            crate::operation::delete_registry_record::DeleteRegistryRecordError::ResourceNotFoundException(inner) => {
1850                Error::ResourceNotFoundException(inner)
1851            }
1852            crate::operation::delete_registry_record::DeleteRegistryRecordError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1853            crate::operation::delete_registry_record::DeleteRegistryRecordError::ValidationException(inner) => Error::ValidationException(inner),
1854            crate::operation::delete_registry_record::DeleteRegistryRecordError::Unhandled(inner) => Error::Unhandled(inner),
1855        }
1856    }
1857}
1858impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_resource_policy::DeleteResourcePolicyError, R>> for Error
1859where
1860    R: Send + Sync + std::fmt::Debug + 'static,
1861{
1862    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_resource_policy::DeleteResourcePolicyError, R>) -> Self {
1863        match err {
1864            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1865            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1866                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1867                source: err.into(),
1868            }),
1869        }
1870    }
1871}
1872impl From<crate::operation::delete_resource_policy::DeleteResourcePolicyError> for Error {
1873    fn from(err: crate::operation::delete_resource_policy::DeleteResourcePolicyError) -> Self {
1874        match err {
1875            crate::operation::delete_resource_policy::DeleteResourcePolicyError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1876            crate::operation::delete_resource_policy::DeleteResourcePolicyError::InternalServerException(inner) => {
1877                Error::InternalServerException(inner)
1878            }
1879            crate::operation::delete_resource_policy::DeleteResourcePolicyError::ResourceNotFoundException(inner) => {
1880                Error::ResourceNotFoundException(inner)
1881            }
1882            crate::operation::delete_resource_policy::DeleteResourcePolicyError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1883            crate::operation::delete_resource_policy::DeleteResourcePolicyError::ValidationException(inner) => Error::ValidationException(inner),
1884            crate::operation::delete_resource_policy::DeleteResourcePolicyError::Unhandled(inner) => Error::Unhandled(inner),
1885        }
1886    }
1887}
1888impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_workload_identity::DeleteWorkloadIdentityError, R>> for Error
1889where
1890    R: Send + Sync + std::fmt::Debug + 'static,
1891{
1892    fn from(
1893        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_workload_identity::DeleteWorkloadIdentityError, R>,
1894    ) -> Self {
1895        match err {
1896            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1897            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1898                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1899                source: err.into(),
1900            }),
1901        }
1902    }
1903}
1904impl From<crate::operation::delete_workload_identity::DeleteWorkloadIdentityError> for Error {
1905    fn from(err: crate::operation::delete_workload_identity::DeleteWorkloadIdentityError) -> Self {
1906        match err {
1907            crate::operation::delete_workload_identity::DeleteWorkloadIdentityError::AccessDeniedException(inner) => {
1908                Error::AccessDeniedException(inner)
1909            }
1910            crate::operation::delete_workload_identity::DeleteWorkloadIdentityError::InternalServerException(inner) => {
1911                Error::InternalServerException(inner)
1912            }
1913            crate::operation::delete_workload_identity::DeleteWorkloadIdentityError::ResourceNotFoundException(inner) => {
1914                Error::ResourceNotFoundException(inner)
1915            }
1916            crate::operation::delete_workload_identity::DeleteWorkloadIdentityError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1917            crate::operation::delete_workload_identity::DeleteWorkloadIdentityError::UnauthorizedException(inner) => {
1918                Error::UnauthorizedException(inner)
1919            }
1920            crate::operation::delete_workload_identity::DeleteWorkloadIdentityError::ValidationException(inner) => Error::ValidationException(inner),
1921            crate::operation::delete_workload_identity::DeleteWorkloadIdentityError::Unhandled(inner) => Error::Unhandled(inner),
1922        }
1923    }
1924}
1925impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_agent_runtime::GetAgentRuntimeError, R>> for Error
1926where
1927    R: Send + Sync + std::fmt::Debug + 'static,
1928{
1929    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_agent_runtime::GetAgentRuntimeError, R>) -> Self {
1930        match err {
1931            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1932            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1933                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1934                source: err.into(),
1935            }),
1936        }
1937    }
1938}
1939impl From<crate::operation::get_agent_runtime::GetAgentRuntimeError> for Error {
1940    fn from(err: crate::operation::get_agent_runtime::GetAgentRuntimeError) -> Self {
1941        match err {
1942            crate::operation::get_agent_runtime::GetAgentRuntimeError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1943            crate::operation::get_agent_runtime::GetAgentRuntimeError::InternalServerException(inner) => Error::InternalServerException(inner),
1944            crate::operation::get_agent_runtime::GetAgentRuntimeError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1945            crate::operation::get_agent_runtime::GetAgentRuntimeError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1946            crate::operation::get_agent_runtime::GetAgentRuntimeError::ValidationException(inner) => Error::ValidationException(inner),
1947            crate::operation::get_agent_runtime::GetAgentRuntimeError::Unhandled(inner) => Error::Unhandled(inner),
1948        }
1949    }
1950}
1951impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_agent_runtime_endpoint::GetAgentRuntimeEndpointError, R>>
1952    for Error
1953where
1954    R: Send + Sync + std::fmt::Debug + 'static,
1955{
1956    fn from(
1957        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_agent_runtime_endpoint::GetAgentRuntimeEndpointError, R>,
1958    ) -> Self {
1959        match err {
1960            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1961            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1962                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1963                source: err.into(),
1964            }),
1965        }
1966    }
1967}
1968impl From<crate::operation::get_agent_runtime_endpoint::GetAgentRuntimeEndpointError> for Error {
1969    fn from(err: crate::operation::get_agent_runtime_endpoint::GetAgentRuntimeEndpointError) -> Self {
1970        match err {
1971            crate::operation::get_agent_runtime_endpoint::GetAgentRuntimeEndpointError::AccessDeniedException(inner) => {
1972                Error::AccessDeniedException(inner)
1973            }
1974            crate::operation::get_agent_runtime_endpoint::GetAgentRuntimeEndpointError::InternalServerException(inner) => {
1975                Error::InternalServerException(inner)
1976            }
1977            crate::operation::get_agent_runtime_endpoint::GetAgentRuntimeEndpointError::ResourceNotFoundException(inner) => {
1978                Error::ResourceNotFoundException(inner)
1979            }
1980            crate::operation::get_agent_runtime_endpoint::GetAgentRuntimeEndpointError::ThrottlingException(inner) => {
1981                Error::ThrottlingException(inner)
1982            }
1983            crate::operation::get_agent_runtime_endpoint::GetAgentRuntimeEndpointError::ValidationException(inner) => {
1984                Error::ValidationException(inner)
1985            }
1986            crate::operation::get_agent_runtime_endpoint::GetAgentRuntimeEndpointError::Unhandled(inner) => Error::Unhandled(inner),
1987        }
1988    }
1989}
1990impl<R>
1991    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_api_key_credential_provider::GetApiKeyCredentialProviderError, R>>
1992    for Error
1993where
1994    R: Send + Sync + std::fmt::Debug + 'static,
1995{
1996    fn from(
1997        err: ::aws_smithy_runtime_api::client::result::SdkError<
1998            crate::operation::get_api_key_credential_provider::GetApiKeyCredentialProviderError,
1999            R,
2000        >,
2001    ) -> Self {
2002        match err {
2003            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2004            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2005                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2006                source: err.into(),
2007            }),
2008        }
2009    }
2010}
2011impl From<crate::operation::get_api_key_credential_provider::GetApiKeyCredentialProviderError> for Error {
2012    fn from(err: crate::operation::get_api_key_credential_provider::GetApiKeyCredentialProviderError) -> Self {
2013        match err {
2014            crate::operation::get_api_key_credential_provider::GetApiKeyCredentialProviderError::AccessDeniedException(inner) => {
2015                Error::AccessDeniedException(inner)
2016            }
2017            crate::operation::get_api_key_credential_provider::GetApiKeyCredentialProviderError::DecryptionFailure(inner) => {
2018                Error::DecryptionFailure(inner)
2019            }
2020            crate::operation::get_api_key_credential_provider::GetApiKeyCredentialProviderError::InternalServerException(inner) => {
2021                Error::InternalServerException(inner)
2022            }
2023            crate::operation::get_api_key_credential_provider::GetApiKeyCredentialProviderError::ResourceNotFoundException(inner) => {
2024                Error::ResourceNotFoundException(inner)
2025            }
2026            crate::operation::get_api_key_credential_provider::GetApiKeyCredentialProviderError::ThrottlingException(inner) => {
2027                Error::ThrottlingException(inner)
2028            }
2029            crate::operation::get_api_key_credential_provider::GetApiKeyCredentialProviderError::UnauthorizedException(inner) => {
2030                Error::UnauthorizedException(inner)
2031            }
2032            crate::operation::get_api_key_credential_provider::GetApiKeyCredentialProviderError::ValidationException(inner) => {
2033                Error::ValidationException(inner)
2034            }
2035            crate::operation::get_api_key_credential_provider::GetApiKeyCredentialProviderError::Unhandled(inner) => Error::Unhandled(inner),
2036        }
2037    }
2038}
2039impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_browser::GetBrowserError, R>> for Error
2040where
2041    R: Send + Sync + std::fmt::Debug + 'static,
2042{
2043    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_browser::GetBrowserError, R>) -> Self {
2044        match err {
2045            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2046            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2047                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2048                source: err.into(),
2049            }),
2050        }
2051    }
2052}
2053impl From<crate::operation::get_browser::GetBrowserError> for Error {
2054    fn from(err: crate::operation::get_browser::GetBrowserError) -> Self {
2055        match err {
2056            crate::operation::get_browser::GetBrowserError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2057            crate::operation::get_browser::GetBrowserError::InternalServerException(inner) => Error::InternalServerException(inner),
2058            crate::operation::get_browser::GetBrowserError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
2059            crate::operation::get_browser::GetBrowserError::ServiceQuotaExceededException(inner) => Error::ServiceQuotaExceededException(inner),
2060            crate::operation::get_browser::GetBrowserError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2061            crate::operation::get_browser::GetBrowserError::Unhandled(inner) => Error::Unhandled(inner),
2062        }
2063    }
2064}
2065impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_browser_profile::GetBrowserProfileError, R>> for Error
2066where
2067    R: Send + Sync + std::fmt::Debug + 'static,
2068{
2069    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_browser_profile::GetBrowserProfileError, R>) -> Self {
2070        match err {
2071            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2072            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2073                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2074                source: err.into(),
2075            }),
2076        }
2077    }
2078}
2079impl From<crate::operation::get_browser_profile::GetBrowserProfileError> for Error {
2080    fn from(err: crate::operation::get_browser_profile::GetBrowserProfileError) -> Self {
2081        match err {
2082            crate::operation::get_browser_profile::GetBrowserProfileError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2083            crate::operation::get_browser_profile::GetBrowserProfileError::InternalServerException(inner) => Error::InternalServerException(inner),
2084            crate::operation::get_browser_profile::GetBrowserProfileError::ResourceNotFoundException(inner) => {
2085                Error::ResourceNotFoundException(inner)
2086            }
2087            crate::operation::get_browser_profile::GetBrowserProfileError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2088            crate::operation::get_browser_profile::GetBrowserProfileError::ValidationException(inner) => Error::ValidationException(inner),
2089            crate::operation::get_browser_profile::GetBrowserProfileError::Unhandled(inner) => Error::Unhandled(inner),
2090        }
2091    }
2092}
2093impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_code_interpreter::GetCodeInterpreterError, R>> for Error
2094where
2095    R: Send + Sync + std::fmt::Debug + 'static,
2096{
2097    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_code_interpreter::GetCodeInterpreterError, R>) -> Self {
2098        match err {
2099            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2100            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2101                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2102                source: err.into(),
2103            }),
2104        }
2105    }
2106}
2107impl From<crate::operation::get_code_interpreter::GetCodeInterpreterError> for Error {
2108    fn from(err: crate::operation::get_code_interpreter::GetCodeInterpreterError) -> Self {
2109        match err {
2110            crate::operation::get_code_interpreter::GetCodeInterpreterError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2111            crate::operation::get_code_interpreter::GetCodeInterpreterError::InternalServerException(inner) => Error::InternalServerException(inner),
2112            crate::operation::get_code_interpreter::GetCodeInterpreterError::ResourceNotFoundException(inner) => {
2113                Error::ResourceNotFoundException(inner)
2114            }
2115            crate::operation::get_code_interpreter::GetCodeInterpreterError::ServiceQuotaExceededException(inner) => {
2116                Error::ServiceQuotaExceededException(inner)
2117            }
2118            crate::operation::get_code_interpreter::GetCodeInterpreterError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2119            crate::operation::get_code_interpreter::GetCodeInterpreterError::Unhandled(inner) => Error::Unhandled(inner),
2120        }
2121    }
2122}
2123impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_configuration_bundle::GetConfigurationBundleError, R>> for Error
2124where
2125    R: Send + Sync + std::fmt::Debug + 'static,
2126{
2127    fn from(
2128        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_configuration_bundle::GetConfigurationBundleError, R>,
2129    ) -> Self {
2130        match err {
2131            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2132            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2133                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2134                source: err.into(),
2135            }),
2136        }
2137    }
2138}
2139impl From<crate::operation::get_configuration_bundle::GetConfigurationBundleError> for Error {
2140    fn from(err: crate::operation::get_configuration_bundle::GetConfigurationBundleError) -> Self {
2141        match err {
2142            crate::operation::get_configuration_bundle::GetConfigurationBundleError::AccessDeniedException(inner) => {
2143                Error::AccessDeniedException(inner)
2144            }
2145            crate::operation::get_configuration_bundle::GetConfigurationBundleError::InternalServerException(inner) => {
2146                Error::InternalServerException(inner)
2147            }
2148            crate::operation::get_configuration_bundle::GetConfigurationBundleError::ResourceNotFoundException(inner) => {
2149                Error::ResourceNotFoundException(inner)
2150            }
2151            crate::operation::get_configuration_bundle::GetConfigurationBundleError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2152            crate::operation::get_configuration_bundle::GetConfigurationBundleError::ValidationException(inner) => Error::ValidationException(inner),
2153            crate::operation::get_configuration_bundle::GetConfigurationBundleError::Unhandled(inner) => Error::Unhandled(inner),
2154        }
2155    }
2156}
2157impl<R>
2158    From<
2159        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_configuration_bundle_version::GetConfigurationBundleVersionError, R>,
2160    > for Error
2161where
2162    R: Send + Sync + std::fmt::Debug + 'static,
2163{
2164    fn from(
2165        err: ::aws_smithy_runtime_api::client::result::SdkError<
2166            crate::operation::get_configuration_bundle_version::GetConfigurationBundleVersionError,
2167            R,
2168        >,
2169    ) -> Self {
2170        match err {
2171            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2172            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2173                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2174                source: err.into(),
2175            }),
2176        }
2177    }
2178}
2179impl From<crate::operation::get_configuration_bundle_version::GetConfigurationBundleVersionError> for Error {
2180    fn from(err: crate::operation::get_configuration_bundle_version::GetConfigurationBundleVersionError) -> Self {
2181        match err {
2182            crate::operation::get_configuration_bundle_version::GetConfigurationBundleVersionError::AccessDeniedException(inner) => {
2183                Error::AccessDeniedException(inner)
2184            }
2185            crate::operation::get_configuration_bundle_version::GetConfigurationBundleVersionError::InternalServerException(inner) => {
2186                Error::InternalServerException(inner)
2187            }
2188            crate::operation::get_configuration_bundle_version::GetConfigurationBundleVersionError::ResourceNotFoundException(inner) => {
2189                Error::ResourceNotFoundException(inner)
2190            }
2191            crate::operation::get_configuration_bundle_version::GetConfigurationBundleVersionError::ThrottlingException(inner) => {
2192                Error::ThrottlingException(inner)
2193            }
2194            crate::operation::get_configuration_bundle_version::GetConfigurationBundleVersionError::ValidationException(inner) => {
2195                Error::ValidationException(inner)
2196            }
2197            crate::operation::get_configuration_bundle_version::GetConfigurationBundleVersionError::Unhandled(inner) => Error::Unhandled(inner),
2198        }
2199    }
2200}
2201impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_dataset::GetDatasetError, R>> for Error
2202where
2203    R: Send + Sync + std::fmt::Debug + 'static,
2204{
2205    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_dataset::GetDatasetError, R>) -> Self {
2206        match err {
2207            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2208            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2209                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2210                source: err.into(),
2211            }),
2212        }
2213    }
2214}
2215impl From<crate::operation::get_dataset::GetDatasetError> for Error {
2216    fn from(err: crate::operation::get_dataset::GetDatasetError) -> Self {
2217        match err {
2218            crate::operation::get_dataset::GetDatasetError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2219            crate::operation::get_dataset::GetDatasetError::ConflictException(inner) => Error::ConflictException(inner),
2220            crate::operation::get_dataset::GetDatasetError::InternalServerException(inner) => Error::InternalServerException(inner),
2221            crate::operation::get_dataset::GetDatasetError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
2222            crate::operation::get_dataset::GetDatasetError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2223            crate::operation::get_dataset::GetDatasetError::ValidationException(inner) => Error::ValidationException(inner),
2224            crate::operation::get_dataset::GetDatasetError::Unhandled(inner) => Error::Unhandled(inner),
2225        }
2226    }
2227}
2228impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_evaluator::GetEvaluatorError, R>> for Error
2229where
2230    R: Send + Sync + std::fmt::Debug + 'static,
2231{
2232    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_evaluator::GetEvaluatorError, R>) -> Self {
2233        match err {
2234            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2235            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2236                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2237                source: err.into(),
2238            }),
2239        }
2240    }
2241}
2242impl From<crate::operation::get_evaluator::GetEvaluatorError> for Error {
2243    fn from(err: crate::operation::get_evaluator::GetEvaluatorError) -> Self {
2244        match err {
2245            crate::operation::get_evaluator::GetEvaluatorError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2246            crate::operation::get_evaluator::GetEvaluatorError::InternalServerException(inner) => Error::InternalServerException(inner),
2247            crate::operation::get_evaluator::GetEvaluatorError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
2248            crate::operation::get_evaluator::GetEvaluatorError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2249            crate::operation::get_evaluator::GetEvaluatorError::ValidationException(inner) => Error::ValidationException(inner),
2250            crate::operation::get_evaluator::GetEvaluatorError::Unhandled(inner) => Error::Unhandled(inner),
2251        }
2252    }
2253}
2254impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_gateway::GetGatewayError, R>> for Error
2255where
2256    R: Send + Sync + std::fmt::Debug + 'static,
2257{
2258    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_gateway::GetGatewayError, R>) -> Self {
2259        match err {
2260            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2261            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2262                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2263                source: err.into(),
2264            }),
2265        }
2266    }
2267}
2268impl From<crate::operation::get_gateway::GetGatewayError> for Error {
2269    fn from(err: crate::operation::get_gateway::GetGatewayError) -> Self {
2270        match err {
2271            crate::operation::get_gateway::GetGatewayError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2272            crate::operation::get_gateway::GetGatewayError::InternalServerException(inner) => Error::InternalServerException(inner),
2273            crate::operation::get_gateway::GetGatewayError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
2274            crate::operation::get_gateway::GetGatewayError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2275            crate::operation::get_gateway::GetGatewayError::ValidationException(inner) => Error::ValidationException(inner),
2276            crate::operation::get_gateway::GetGatewayError::Unhandled(inner) => Error::Unhandled(inner),
2277        }
2278    }
2279}
2280impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_gateway_rule::GetGatewayRuleError, R>> for Error
2281where
2282    R: Send + Sync + std::fmt::Debug + 'static,
2283{
2284    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_gateway_rule::GetGatewayRuleError, R>) -> Self {
2285        match err {
2286            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2287            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2288                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2289                source: err.into(),
2290            }),
2291        }
2292    }
2293}
2294impl From<crate::operation::get_gateway_rule::GetGatewayRuleError> for Error {
2295    fn from(err: crate::operation::get_gateway_rule::GetGatewayRuleError) -> Self {
2296        match err {
2297            crate::operation::get_gateway_rule::GetGatewayRuleError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2298            crate::operation::get_gateway_rule::GetGatewayRuleError::InternalServerException(inner) => Error::InternalServerException(inner),
2299            crate::operation::get_gateway_rule::GetGatewayRuleError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
2300            crate::operation::get_gateway_rule::GetGatewayRuleError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2301            crate::operation::get_gateway_rule::GetGatewayRuleError::ValidationException(inner) => Error::ValidationException(inner),
2302            crate::operation::get_gateway_rule::GetGatewayRuleError::Unhandled(inner) => Error::Unhandled(inner),
2303        }
2304    }
2305}
2306impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_gateway_target::GetGatewayTargetError, R>> for Error
2307where
2308    R: Send + Sync + std::fmt::Debug + 'static,
2309{
2310    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_gateway_target::GetGatewayTargetError, R>) -> Self {
2311        match err {
2312            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2313            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2314                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2315                source: err.into(),
2316            }),
2317        }
2318    }
2319}
2320impl From<crate::operation::get_gateway_target::GetGatewayTargetError> for Error {
2321    fn from(err: crate::operation::get_gateway_target::GetGatewayTargetError) -> Self {
2322        match err {
2323            crate::operation::get_gateway_target::GetGatewayTargetError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2324            crate::operation::get_gateway_target::GetGatewayTargetError::InternalServerException(inner) => Error::InternalServerException(inner),
2325            crate::operation::get_gateway_target::GetGatewayTargetError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
2326            crate::operation::get_gateway_target::GetGatewayTargetError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2327            crate::operation::get_gateway_target::GetGatewayTargetError::ValidationException(inner) => Error::ValidationException(inner),
2328            crate::operation::get_gateway_target::GetGatewayTargetError::Unhandled(inner) => Error::Unhandled(inner),
2329        }
2330    }
2331}
2332impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_harness::GetHarnessError, R>> for Error
2333where
2334    R: Send + Sync + std::fmt::Debug + 'static,
2335{
2336    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_harness::GetHarnessError, R>) -> Self {
2337        match err {
2338            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2339            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2340                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2341                source: err.into(),
2342            }),
2343        }
2344    }
2345}
2346impl From<crate::operation::get_harness::GetHarnessError> for Error {
2347    fn from(err: crate::operation::get_harness::GetHarnessError) -> Self {
2348        match err {
2349            crate::operation::get_harness::GetHarnessError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2350            crate::operation::get_harness::GetHarnessError::InternalServerException(inner) => Error::InternalServerException(inner),
2351            crate::operation::get_harness::GetHarnessError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
2352            crate::operation::get_harness::GetHarnessError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2353            crate::operation::get_harness::GetHarnessError::ValidationException(inner) => Error::ValidationException(inner),
2354            crate::operation::get_harness::GetHarnessError::Unhandled(inner) => Error::Unhandled(inner),
2355        }
2356    }
2357}
2358impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_memory::GetMemoryError, R>> for Error
2359where
2360    R: Send + Sync + std::fmt::Debug + 'static,
2361{
2362    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_memory::GetMemoryError, R>) -> Self {
2363        match err {
2364            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2365            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2366                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2367                source: err.into(),
2368            }),
2369        }
2370    }
2371}
2372impl From<crate::operation::get_memory::GetMemoryError> for Error {
2373    fn from(err: crate::operation::get_memory::GetMemoryError) -> Self {
2374        match err {
2375            crate::operation::get_memory::GetMemoryError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2376            crate::operation::get_memory::GetMemoryError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
2377            crate::operation::get_memory::GetMemoryError::ServiceException(inner) => Error::ServiceException(inner),
2378            crate::operation::get_memory::GetMemoryError::ThrottledException(inner) => Error::ThrottledException(inner),
2379            crate::operation::get_memory::GetMemoryError::ValidationException(inner) => Error::ValidationException(inner),
2380            crate::operation::get_memory::GetMemoryError::Unhandled(inner) => Error::Unhandled(inner),
2381        }
2382    }
2383}
2384impl<R>
2385    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_oauth2_credential_provider::GetOauth2CredentialProviderError, R>>
2386    for Error
2387where
2388    R: Send + Sync + std::fmt::Debug + 'static,
2389{
2390    fn from(
2391        err: ::aws_smithy_runtime_api::client::result::SdkError<
2392            crate::operation::get_oauth2_credential_provider::GetOauth2CredentialProviderError,
2393            R,
2394        >,
2395    ) -> Self {
2396        match err {
2397            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2398            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2399                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2400                source: err.into(),
2401            }),
2402        }
2403    }
2404}
2405impl From<crate::operation::get_oauth2_credential_provider::GetOauth2CredentialProviderError> for Error {
2406    fn from(err: crate::operation::get_oauth2_credential_provider::GetOauth2CredentialProviderError) -> Self {
2407        match err {
2408            crate::operation::get_oauth2_credential_provider::GetOauth2CredentialProviderError::AccessDeniedException(inner) => {
2409                Error::AccessDeniedException(inner)
2410            }
2411            crate::operation::get_oauth2_credential_provider::GetOauth2CredentialProviderError::DecryptionFailure(inner) => {
2412                Error::DecryptionFailure(inner)
2413            }
2414            crate::operation::get_oauth2_credential_provider::GetOauth2CredentialProviderError::InternalServerException(inner) => {
2415                Error::InternalServerException(inner)
2416            }
2417            crate::operation::get_oauth2_credential_provider::GetOauth2CredentialProviderError::ResourceNotFoundException(inner) => {
2418                Error::ResourceNotFoundException(inner)
2419            }
2420            crate::operation::get_oauth2_credential_provider::GetOauth2CredentialProviderError::ThrottlingException(inner) => {
2421                Error::ThrottlingException(inner)
2422            }
2423            crate::operation::get_oauth2_credential_provider::GetOauth2CredentialProviderError::UnauthorizedException(inner) => {
2424                Error::UnauthorizedException(inner)
2425            }
2426            crate::operation::get_oauth2_credential_provider::GetOauth2CredentialProviderError::ValidationException(inner) => {
2427                Error::ValidationException(inner)
2428            }
2429            crate::operation::get_oauth2_credential_provider::GetOauth2CredentialProviderError::Unhandled(inner) => Error::Unhandled(inner),
2430        }
2431    }
2432}
2433impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_online_evaluation_config::GetOnlineEvaluationConfigError, R>>
2434    for Error
2435where
2436    R: Send + Sync + std::fmt::Debug + 'static,
2437{
2438    fn from(
2439        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_online_evaluation_config::GetOnlineEvaluationConfigError, R>,
2440    ) -> Self {
2441        match err {
2442            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2443            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2444                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2445                source: err.into(),
2446            }),
2447        }
2448    }
2449}
2450impl From<crate::operation::get_online_evaluation_config::GetOnlineEvaluationConfigError> for Error {
2451    fn from(err: crate::operation::get_online_evaluation_config::GetOnlineEvaluationConfigError) -> Self {
2452        match err {
2453            crate::operation::get_online_evaluation_config::GetOnlineEvaluationConfigError::AccessDeniedException(inner) => {
2454                Error::AccessDeniedException(inner)
2455            }
2456            crate::operation::get_online_evaluation_config::GetOnlineEvaluationConfigError::InternalServerException(inner) => {
2457                Error::InternalServerException(inner)
2458            }
2459            crate::operation::get_online_evaluation_config::GetOnlineEvaluationConfigError::ResourceNotFoundException(inner) => {
2460                Error::ResourceNotFoundException(inner)
2461            }
2462            crate::operation::get_online_evaluation_config::GetOnlineEvaluationConfigError::ThrottlingException(inner) => {
2463                Error::ThrottlingException(inner)
2464            }
2465            crate::operation::get_online_evaluation_config::GetOnlineEvaluationConfigError::ValidationException(inner) => {
2466                Error::ValidationException(inner)
2467            }
2468            crate::operation::get_online_evaluation_config::GetOnlineEvaluationConfigError::Unhandled(inner) => Error::Unhandled(inner),
2469        }
2470    }
2471}
2472impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_payment_connector::GetPaymentConnectorError, R>> for Error
2473where
2474    R: Send + Sync + std::fmt::Debug + 'static,
2475{
2476    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_payment_connector::GetPaymentConnectorError, R>) -> Self {
2477        match err {
2478            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2479            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2480                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2481                source: err.into(),
2482            }),
2483        }
2484    }
2485}
2486impl From<crate::operation::get_payment_connector::GetPaymentConnectorError> for Error {
2487    fn from(err: crate::operation::get_payment_connector::GetPaymentConnectorError) -> Self {
2488        match err {
2489            crate::operation::get_payment_connector::GetPaymentConnectorError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2490            crate::operation::get_payment_connector::GetPaymentConnectorError::InternalServerException(inner) => {
2491                Error::InternalServerException(inner)
2492            }
2493            crate::operation::get_payment_connector::GetPaymentConnectorError::ResourceNotFoundException(inner) => {
2494                Error::ResourceNotFoundException(inner)
2495            }
2496            crate::operation::get_payment_connector::GetPaymentConnectorError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2497            crate::operation::get_payment_connector::GetPaymentConnectorError::ValidationException(inner) => Error::ValidationException(inner),
2498            crate::operation::get_payment_connector::GetPaymentConnectorError::Unhandled(inner) => Error::Unhandled(inner),
2499        }
2500    }
2501}
2502impl<R>
2503    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_payment_credential_provider::GetPaymentCredentialProviderError, R>>
2504    for Error
2505where
2506    R: Send + Sync + std::fmt::Debug + 'static,
2507{
2508    fn from(
2509        err: ::aws_smithy_runtime_api::client::result::SdkError<
2510            crate::operation::get_payment_credential_provider::GetPaymentCredentialProviderError,
2511            R,
2512        >,
2513    ) -> Self {
2514        match err {
2515            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2516            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2517                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2518                source: err.into(),
2519            }),
2520        }
2521    }
2522}
2523impl From<crate::operation::get_payment_credential_provider::GetPaymentCredentialProviderError> for Error {
2524    fn from(err: crate::operation::get_payment_credential_provider::GetPaymentCredentialProviderError) -> Self {
2525        match err {
2526            crate::operation::get_payment_credential_provider::GetPaymentCredentialProviderError::AccessDeniedException(inner) => {
2527                Error::AccessDeniedException(inner)
2528            }
2529            crate::operation::get_payment_credential_provider::GetPaymentCredentialProviderError::DecryptionFailure(inner) => {
2530                Error::DecryptionFailure(inner)
2531            }
2532            crate::operation::get_payment_credential_provider::GetPaymentCredentialProviderError::InternalServerException(inner) => {
2533                Error::InternalServerException(inner)
2534            }
2535            crate::operation::get_payment_credential_provider::GetPaymentCredentialProviderError::ResourceNotFoundException(inner) => {
2536                Error::ResourceNotFoundException(inner)
2537            }
2538            crate::operation::get_payment_credential_provider::GetPaymentCredentialProviderError::ThrottlingException(inner) => {
2539                Error::ThrottlingException(inner)
2540            }
2541            crate::operation::get_payment_credential_provider::GetPaymentCredentialProviderError::UnauthorizedException(inner) => {
2542                Error::UnauthorizedException(inner)
2543            }
2544            crate::operation::get_payment_credential_provider::GetPaymentCredentialProviderError::ValidationException(inner) => {
2545                Error::ValidationException(inner)
2546            }
2547            crate::operation::get_payment_credential_provider::GetPaymentCredentialProviderError::Unhandled(inner) => Error::Unhandled(inner),
2548        }
2549    }
2550}
2551impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_payment_manager::GetPaymentManagerError, R>> for Error
2552where
2553    R: Send + Sync + std::fmt::Debug + 'static,
2554{
2555    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_payment_manager::GetPaymentManagerError, R>) -> Self {
2556        match err {
2557            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2558            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2559                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2560                source: err.into(),
2561            }),
2562        }
2563    }
2564}
2565impl From<crate::operation::get_payment_manager::GetPaymentManagerError> for Error {
2566    fn from(err: crate::operation::get_payment_manager::GetPaymentManagerError) -> Self {
2567        match err {
2568            crate::operation::get_payment_manager::GetPaymentManagerError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2569            crate::operation::get_payment_manager::GetPaymentManagerError::InternalServerException(inner) => Error::InternalServerException(inner),
2570            crate::operation::get_payment_manager::GetPaymentManagerError::ResourceNotFoundException(inner) => {
2571                Error::ResourceNotFoundException(inner)
2572            }
2573            crate::operation::get_payment_manager::GetPaymentManagerError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2574            crate::operation::get_payment_manager::GetPaymentManagerError::ValidationException(inner) => Error::ValidationException(inner),
2575            crate::operation::get_payment_manager::GetPaymentManagerError::Unhandled(inner) => Error::Unhandled(inner),
2576        }
2577    }
2578}
2579impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_policy::GetPolicyError, R>> for Error
2580where
2581    R: Send + Sync + std::fmt::Debug + 'static,
2582{
2583    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_policy::GetPolicyError, R>) -> Self {
2584        match err {
2585            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2586            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2587                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2588                source: err.into(),
2589            }),
2590        }
2591    }
2592}
2593impl From<crate::operation::get_policy::GetPolicyError> for Error {
2594    fn from(err: crate::operation::get_policy::GetPolicyError) -> Self {
2595        match err {
2596            crate::operation::get_policy::GetPolicyError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2597            crate::operation::get_policy::GetPolicyError::InternalServerException(inner) => Error::InternalServerException(inner),
2598            crate::operation::get_policy::GetPolicyError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
2599            crate::operation::get_policy::GetPolicyError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2600            crate::operation::get_policy::GetPolicyError::ValidationException(inner) => Error::ValidationException(inner),
2601            crate::operation::get_policy::GetPolicyError::Unhandled(inner) => Error::Unhandled(inner),
2602        }
2603    }
2604}
2605impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_policy_engine::GetPolicyEngineError, R>> for Error
2606where
2607    R: Send + Sync + std::fmt::Debug + 'static,
2608{
2609    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_policy_engine::GetPolicyEngineError, R>) -> Self {
2610        match err {
2611            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2612            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2613                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2614                source: err.into(),
2615            }),
2616        }
2617    }
2618}
2619impl From<crate::operation::get_policy_engine::GetPolicyEngineError> for Error {
2620    fn from(err: crate::operation::get_policy_engine::GetPolicyEngineError) -> Self {
2621        match err {
2622            crate::operation::get_policy_engine::GetPolicyEngineError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2623            crate::operation::get_policy_engine::GetPolicyEngineError::InternalServerException(inner) => Error::InternalServerException(inner),
2624            crate::operation::get_policy_engine::GetPolicyEngineError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
2625            crate::operation::get_policy_engine::GetPolicyEngineError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2626            crate::operation::get_policy_engine::GetPolicyEngineError::ValidationException(inner) => Error::ValidationException(inner),
2627            crate::operation::get_policy_engine::GetPolicyEngineError::Unhandled(inner) => Error::Unhandled(inner),
2628        }
2629    }
2630}
2631impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_policy_engine_summary::GetPolicyEngineSummaryError, R>>
2632    for Error
2633where
2634    R: Send + Sync + std::fmt::Debug + 'static,
2635{
2636    fn from(
2637        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_policy_engine_summary::GetPolicyEngineSummaryError, R>,
2638    ) -> Self {
2639        match err {
2640            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2641            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2642                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2643                source: err.into(),
2644            }),
2645        }
2646    }
2647}
2648impl From<crate::operation::get_policy_engine_summary::GetPolicyEngineSummaryError> for Error {
2649    fn from(err: crate::operation::get_policy_engine_summary::GetPolicyEngineSummaryError) -> Self {
2650        match err {
2651            crate::operation::get_policy_engine_summary::GetPolicyEngineSummaryError::AccessDeniedException(inner) => {
2652                Error::AccessDeniedException(inner)
2653            }
2654            crate::operation::get_policy_engine_summary::GetPolicyEngineSummaryError::InternalServerException(inner) => {
2655                Error::InternalServerException(inner)
2656            }
2657            crate::operation::get_policy_engine_summary::GetPolicyEngineSummaryError::ResourceNotFoundException(inner) => {
2658                Error::ResourceNotFoundException(inner)
2659            }
2660            crate::operation::get_policy_engine_summary::GetPolicyEngineSummaryError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2661            crate::operation::get_policy_engine_summary::GetPolicyEngineSummaryError::ValidationException(inner) => Error::ValidationException(inner),
2662            crate::operation::get_policy_engine_summary::GetPolicyEngineSummaryError::Unhandled(inner) => Error::Unhandled(inner),
2663        }
2664    }
2665}
2666impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_policy_generation::GetPolicyGenerationError, R>> for Error
2667where
2668    R: Send + Sync + std::fmt::Debug + 'static,
2669{
2670    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_policy_generation::GetPolicyGenerationError, R>) -> Self {
2671        match err {
2672            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2673            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2674                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2675                source: err.into(),
2676            }),
2677        }
2678    }
2679}
2680impl From<crate::operation::get_policy_generation::GetPolicyGenerationError> for Error {
2681    fn from(err: crate::operation::get_policy_generation::GetPolicyGenerationError) -> Self {
2682        match err {
2683            crate::operation::get_policy_generation::GetPolicyGenerationError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2684            crate::operation::get_policy_generation::GetPolicyGenerationError::InternalServerException(inner) => {
2685                Error::InternalServerException(inner)
2686            }
2687            crate::operation::get_policy_generation::GetPolicyGenerationError::ResourceNotFoundException(inner) => {
2688                Error::ResourceNotFoundException(inner)
2689            }
2690            crate::operation::get_policy_generation::GetPolicyGenerationError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2691            crate::operation::get_policy_generation::GetPolicyGenerationError::ValidationException(inner) => Error::ValidationException(inner),
2692            crate::operation::get_policy_generation::GetPolicyGenerationError::Unhandled(inner) => Error::Unhandled(inner),
2693        }
2694    }
2695}
2696impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_policy_generation_summary::GetPolicyGenerationSummaryError, R>>
2697    for Error
2698where
2699    R: Send + Sync + std::fmt::Debug + 'static,
2700{
2701    fn from(
2702        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_policy_generation_summary::GetPolicyGenerationSummaryError, R>,
2703    ) -> Self {
2704        match err {
2705            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2706            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2707                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2708                source: err.into(),
2709            }),
2710        }
2711    }
2712}
2713impl From<crate::operation::get_policy_generation_summary::GetPolicyGenerationSummaryError> for Error {
2714    fn from(err: crate::operation::get_policy_generation_summary::GetPolicyGenerationSummaryError) -> Self {
2715        match err {
2716            crate::operation::get_policy_generation_summary::GetPolicyGenerationSummaryError::AccessDeniedException(inner) => {
2717                Error::AccessDeniedException(inner)
2718            }
2719            crate::operation::get_policy_generation_summary::GetPolicyGenerationSummaryError::InternalServerException(inner) => {
2720                Error::InternalServerException(inner)
2721            }
2722            crate::operation::get_policy_generation_summary::GetPolicyGenerationSummaryError::ResourceNotFoundException(inner) => {
2723                Error::ResourceNotFoundException(inner)
2724            }
2725            crate::operation::get_policy_generation_summary::GetPolicyGenerationSummaryError::ThrottlingException(inner) => {
2726                Error::ThrottlingException(inner)
2727            }
2728            crate::operation::get_policy_generation_summary::GetPolicyGenerationSummaryError::ValidationException(inner) => {
2729                Error::ValidationException(inner)
2730            }
2731            crate::operation::get_policy_generation_summary::GetPolicyGenerationSummaryError::Unhandled(inner) => Error::Unhandled(inner),
2732        }
2733    }
2734}
2735impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_policy_summary::GetPolicySummaryError, R>> for Error
2736where
2737    R: Send + Sync + std::fmt::Debug + 'static,
2738{
2739    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_policy_summary::GetPolicySummaryError, R>) -> Self {
2740        match err {
2741            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2742            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2743                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2744                source: err.into(),
2745            }),
2746        }
2747    }
2748}
2749impl From<crate::operation::get_policy_summary::GetPolicySummaryError> for Error {
2750    fn from(err: crate::operation::get_policy_summary::GetPolicySummaryError) -> Self {
2751        match err {
2752            crate::operation::get_policy_summary::GetPolicySummaryError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2753            crate::operation::get_policy_summary::GetPolicySummaryError::InternalServerException(inner) => Error::InternalServerException(inner),
2754            crate::operation::get_policy_summary::GetPolicySummaryError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
2755            crate::operation::get_policy_summary::GetPolicySummaryError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2756            crate::operation::get_policy_summary::GetPolicySummaryError::ValidationException(inner) => Error::ValidationException(inner),
2757            crate::operation::get_policy_summary::GetPolicySummaryError::Unhandled(inner) => Error::Unhandled(inner),
2758        }
2759    }
2760}
2761impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_registry::GetRegistryError, R>> for Error
2762where
2763    R: Send + Sync + std::fmt::Debug + 'static,
2764{
2765    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_registry::GetRegistryError, R>) -> Self {
2766        match err {
2767            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2768            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2769                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2770                source: err.into(),
2771            }),
2772        }
2773    }
2774}
2775impl From<crate::operation::get_registry::GetRegistryError> for Error {
2776    fn from(err: crate::operation::get_registry::GetRegistryError) -> Self {
2777        match err {
2778            crate::operation::get_registry::GetRegistryError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2779            crate::operation::get_registry::GetRegistryError::InternalServerException(inner) => Error::InternalServerException(inner),
2780            crate::operation::get_registry::GetRegistryError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
2781            crate::operation::get_registry::GetRegistryError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2782            crate::operation::get_registry::GetRegistryError::ValidationException(inner) => Error::ValidationException(inner),
2783            crate::operation::get_registry::GetRegistryError::Unhandled(inner) => Error::Unhandled(inner),
2784        }
2785    }
2786}
2787impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_registry_record::GetRegistryRecordError, R>> for Error
2788where
2789    R: Send + Sync + std::fmt::Debug + 'static,
2790{
2791    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_registry_record::GetRegistryRecordError, R>) -> Self {
2792        match err {
2793            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2794            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2795                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2796                source: err.into(),
2797            }),
2798        }
2799    }
2800}
2801impl From<crate::operation::get_registry_record::GetRegistryRecordError> for Error {
2802    fn from(err: crate::operation::get_registry_record::GetRegistryRecordError) -> Self {
2803        match err {
2804            crate::operation::get_registry_record::GetRegistryRecordError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2805            crate::operation::get_registry_record::GetRegistryRecordError::ConflictException(inner) => Error::ConflictException(inner),
2806            crate::operation::get_registry_record::GetRegistryRecordError::InternalServerException(inner) => Error::InternalServerException(inner),
2807            crate::operation::get_registry_record::GetRegistryRecordError::ResourceNotFoundException(inner) => {
2808                Error::ResourceNotFoundException(inner)
2809            }
2810            crate::operation::get_registry_record::GetRegistryRecordError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2811            crate::operation::get_registry_record::GetRegistryRecordError::ValidationException(inner) => Error::ValidationException(inner),
2812            crate::operation::get_registry_record::GetRegistryRecordError::Unhandled(inner) => Error::Unhandled(inner),
2813        }
2814    }
2815}
2816impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_resource_policy::GetResourcePolicyError, R>> for Error
2817where
2818    R: Send + Sync + std::fmt::Debug + 'static,
2819{
2820    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_resource_policy::GetResourcePolicyError, R>) -> Self {
2821        match err {
2822            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2823            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2824                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2825                source: err.into(),
2826            }),
2827        }
2828    }
2829}
2830impl From<crate::operation::get_resource_policy::GetResourcePolicyError> for Error {
2831    fn from(err: crate::operation::get_resource_policy::GetResourcePolicyError) -> Self {
2832        match err {
2833            crate::operation::get_resource_policy::GetResourcePolicyError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2834            crate::operation::get_resource_policy::GetResourcePolicyError::InternalServerException(inner) => Error::InternalServerException(inner),
2835            crate::operation::get_resource_policy::GetResourcePolicyError::ResourceNotFoundException(inner) => {
2836                Error::ResourceNotFoundException(inner)
2837            }
2838            crate::operation::get_resource_policy::GetResourcePolicyError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2839            crate::operation::get_resource_policy::GetResourcePolicyError::ValidationException(inner) => Error::ValidationException(inner),
2840            crate::operation::get_resource_policy::GetResourcePolicyError::Unhandled(inner) => Error::Unhandled(inner),
2841        }
2842    }
2843}
2844impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_token_vault::GetTokenVaultError, R>> for Error
2845where
2846    R: Send + Sync + std::fmt::Debug + 'static,
2847{
2848    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_token_vault::GetTokenVaultError, R>) -> Self {
2849        match err {
2850            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2851            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2852                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2853                source: err.into(),
2854            }),
2855        }
2856    }
2857}
2858impl From<crate::operation::get_token_vault::GetTokenVaultError> for Error {
2859    fn from(err: crate::operation::get_token_vault::GetTokenVaultError) -> Self {
2860        match err {
2861            crate::operation::get_token_vault::GetTokenVaultError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2862            crate::operation::get_token_vault::GetTokenVaultError::InternalServerException(inner) => Error::InternalServerException(inner),
2863            crate::operation::get_token_vault::GetTokenVaultError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
2864            crate::operation::get_token_vault::GetTokenVaultError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2865            crate::operation::get_token_vault::GetTokenVaultError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
2866            crate::operation::get_token_vault::GetTokenVaultError::ValidationException(inner) => Error::ValidationException(inner),
2867            crate::operation::get_token_vault::GetTokenVaultError::Unhandled(inner) => Error::Unhandled(inner),
2868        }
2869    }
2870}
2871impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_workload_identity::GetWorkloadIdentityError, R>> for Error
2872where
2873    R: Send + Sync + std::fmt::Debug + 'static,
2874{
2875    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_workload_identity::GetWorkloadIdentityError, R>) -> Self {
2876        match err {
2877            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2878            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2879                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2880                source: err.into(),
2881            }),
2882        }
2883    }
2884}
2885impl From<crate::operation::get_workload_identity::GetWorkloadIdentityError> for Error {
2886    fn from(err: crate::operation::get_workload_identity::GetWorkloadIdentityError) -> Self {
2887        match err {
2888            crate::operation::get_workload_identity::GetWorkloadIdentityError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2889            crate::operation::get_workload_identity::GetWorkloadIdentityError::InternalServerException(inner) => {
2890                Error::InternalServerException(inner)
2891            }
2892            crate::operation::get_workload_identity::GetWorkloadIdentityError::ResourceNotFoundException(inner) => {
2893                Error::ResourceNotFoundException(inner)
2894            }
2895            crate::operation::get_workload_identity::GetWorkloadIdentityError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2896            crate::operation::get_workload_identity::GetWorkloadIdentityError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
2897            crate::operation::get_workload_identity::GetWorkloadIdentityError::ValidationException(inner) => Error::ValidationException(inner),
2898            crate::operation::get_workload_identity::GetWorkloadIdentityError::Unhandled(inner) => Error::Unhandled(inner),
2899        }
2900    }
2901}
2902impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_agent_runtime_endpoints::ListAgentRuntimeEndpointsError, R>>
2903    for Error
2904where
2905    R: Send + Sync + std::fmt::Debug + 'static,
2906{
2907    fn from(
2908        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_agent_runtime_endpoints::ListAgentRuntimeEndpointsError, R>,
2909    ) -> Self {
2910        match err {
2911            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2912            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2913                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2914                source: err.into(),
2915            }),
2916        }
2917    }
2918}
2919impl From<crate::operation::list_agent_runtime_endpoints::ListAgentRuntimeEndpointsError> for Error {
2920    fn from(err: crate::operation::list_agent_runtime_endpoints::ListAgentRuntimeEndpointsError) -> Self {
2921        match err {
2922            crate::operation::list_agent_runtime_endpoints::ListAgentRuntimeEndpointsError::AccessDeniedException(inner) => {
2923                Error::AccessDeniedException(inner)
2924            }
2925            crate::operation::list_agent_runtime_endpoints::ListAgentRuntimeEndpointsError::InternalServerException(inner) => {
2926                Error::InternalServerException(inner)
2927            }
2928            crate::operation::list_agent_runtime_endpoints::ListAgentRuntimeEndpointsError::ThrottlingException(inner) => {
2929                Error::ThrottlingException(inner)
2930            }
2931            crate::operation::list_agent_runtime_endpoints::ListAgentRuntimeEndpointsError::ValidationException(inner) => {
2932                Error::ValidationException(inner)
2933            }
2934            crate::operation::list_agent_runtime_endpoints::ListAgentRuntimeEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
2935        }
2936    }
2937}
2938impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_agent_runtimes::ListAgentRuntimesError, R>> for Error
2939where
2940    R: Send + Sync + std::fmt::Debug + 'static,
2941{
2942    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_agent_runtimes::ListAgentRuntimesError, R>) -> Self {
2943        match err {
2944            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2945            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2946                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2947                source: err.into(),
2948            }),
2949        }
2950    }
2951}
2952impl From<crate::operation::list_agent_runtimes::ListAgentRuntimesError> for Error {
2953    fn from(err: crate::operation::list_agent_runtimes::ListAgentRuntimesError) -> Self {
2954        match err {
2955            crate::operation::list_agent_runtimes::ListAgentRuntimesError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2956            crate::operation::list_agent_runtimes::ListAgentRuntimesError::InternalServerException(inner) => Error::InternalServerException(inner),
2957            crate::operation::list_agent_runtimes::ListAgentRuntimesError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2958            crate::operation::list_agent_runtimes::ListAgentRuntimesError::ValidationException(inner) => Error::ValidationException(inner),
2959            crate::operation::list_agent_runtimes::ListAgentRuntimesError::Unhandled(inner) => Error::Unhandled(inner),
2960        }
2961    }
2962}
2963impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_agent_runtime_versions::ListAgentRuntimeVersionsError, R>>
2964    for Error
2965where
2966    R: Send + Sync + std::fmt::Debug + 'static,
2967{
2968    fn from(
2969        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_agent_runtime_versions::ListAgentRuntimeVersionsError, R>,
2970    ) -> 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_agent_runtime_versions::ListAgentRuntimeVersionsError> for Error {
2981    fn from(err: crate::operation::list_agent_runtime_versions::ListAgentRuntimeVersionsError) -> Self {
2982        match err {
2983            crate::operation::list_agent_runtime_versions::ListAgentRuntimeVersionsError::AccessDeniedException(inner) => {
2984                Error::AccessDeniedException(inner)
2985            }
2986            crate::operation::list_agent_runtime_versions::ListAgentRuntimeVersionsError::InternalServerException(inner) => {
2987                Error::InternalServerException(inner)
2988            }
2989            crate::operation::list_agent_runtime_versions::ListAgentRuntimeVersionsError::ResourceNotFoundException(inner) => {
2990                Error::ResourceNotFoundException(inner)
2991            }
2992            crate::operation::list_agent_runtime_versions::ListAgentRuntimeVersionsError::ThrottlingException(inner) => {
2993                Error::ThrottlingException(inner)
2994            }
2995            crate::operation::list_agent_runtime_versions::ListAgentRuntimeVersionsError::ValidationException(inner) => {
2996                Error::ValidationException(inner)
2997            }
2998            crate::operation::list_agent_runtime_versions::ListAgentRuntimeVersionsError::Unhandled(inner) => Error::Unhandled(inner),
2999        }
3000    }
3001}
3002impl<R>
3003    From<
3004        ::aws_smithy_runtime_api::client::result::SdkError<
3005            crate::operation::list_api_key_credential_providers::ListApiKeyCredentialProvidersError,
3006            R,
3007        >,
3008    > for Error
3009where
3010    R: Send + Sync + std::fmt::Debug + 'static,
3011{
3012    fn from(
3013        err: ::aws_smithy_runtime_api::client::result::SdkError<
3014            crate::operation::list_api_key_credential_providers::ListApiKeyCredentialProvidersError,
3015            R,
3016        >,
3017    ) -> Self {
3018        match err {
3019            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3020            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3021                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3022                source: err.into(),
3023            }),
3024        }
3025    }
3026}
3027impl From<crate::operation::list_api_key_credential_providers::ListApiKeyCredentialProvidersError> for Error {
3028    fn from(err: crate::operation::list_api_key_credential_providers::ListApiKeyCredentialProvidersError) -> Self {
3029        match err {
3030            crate::operation::list_api_key_credential_providers::ListApiKeyCredentialProvidersError::AccessDeniedException(inner) => {
3031                Error::AccessDeniedException(inner)
3032            }
3033            crate::operation::list_api_key_credential_providers::ListApiKeyCredentialProvidersError::InternalServerException(inner) => {
3034                Error::InternalServerException(inner)
3035            }
3036            crate::operation::list_api_key_credential_providers::ListApiKeyCredentialProvidersError::ResourceNotFoundException(inner) => {
3037                Error::ResourceNotFoundException(inner)
3038            }
3039            crate::operation::list_api_key_credential_providers::ListApiKeyCredentialProvidersError::ThrottlingException(inner) => {
3040                Error::ThrottlingException(inner)
3041            }
3042            crate::operation::list_api_key_credential_providers::ListApiKeyCredentialProvidersError::UnauthorizedException(inner) => {
3043                Error::UnauthorizedException(inner)
3044            }
3045            crate::operation::list_api_key_credential_providers::ListApiKeyCredentialProvidersError::ValidationException(inner) => {
3046                Error::ValidationException(inner)
3047            }
3048            crate::operation::list_api_key_credential_providers::ListApiKeyCredentialProvidersError::Unhandled(inner) => Error::Unhandled(inner),
3049        }
3050    }
3051}
3052impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_browser_profiles::ListBrowserProfilesError, R>> for Error
3053where
3054    R: Send + Sync + std::fmt::Debug + 'static,
3055{
3056    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_browser_profiles::ListBrowserProfilesError, R>) -> Self {
3057        match err {
3058            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3059            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3060                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3061                source: err.into(),
3062            }),
3063        }
3064    }
3065}
3066impl From<crate::operation::list_browser_profiles::ListBrowserProfilesError> for Error {
3067    fn from(err: crate::operation::list_browser_profiles::ListBrowserProfilesError) -> Self {
3068        match err {
3069            crate::operation::list_browser_profiles::ListBrowserProfilesError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3070            crate::operation::list_browser_profiles::ListBrowserProfilesError::InternalServerException(inner) => {
3071                Error::InternalServerException(inner)
3072            }
3073            crate::operation::list_browser_profiles::ListBrowserProfilesError::ThrottlingException(inner) => Error::ThrottlingException(inner),
3074            crate::operation::list_browser_profiles::ListBrowserProfilesError::ValidationException(inner) => Error::ValidationException(inner),
3075            crate::operation::list_browser_profiles::ListBrowserProfilesError::Unhandled(inner) => Error::Unhandled(inner),
3076        }
3077    }
3078}
3079impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_browsers::ListBrowsersError, R>> for Error
3080where
3081    R: Send + Sync + std::fmt::Debug + 'static,
3082{
3083    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_browsers::ListBrowsersError, R>) -> Self {
3084        match err {
3085            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3086            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3087                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3088                source: err.into(),
3089            }),
3090        }
3091    }
3092}
3093impl From<crate::operation::list_browsers::ListBrowsersError> for Error {
3094    fn from(err: crate::operation::list_browsers::ListBrowsersError) -> Self {
3095        match err {
3096            crate::operation::list_browsers::ListBrowsersError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3097            crate::operation::list_browsers::ListBrowsersError::InternalServerException(inner) => Error::InternalServerException(inner),
3098            crate::operation::list_browsers::ListBrowsersError::ThrottlingException(inner) => Error::ThrottlingException(inner),
3099            crate::operation::list_browsers::ListBrowsersError::ValidationException(inner) => Error::ValidationException(inner),
3100            crate::operation::list_browsers::ListBrowsersError::Unhandled(inner) => Error::Unhandled(inner),
3101        }
3102    }
3103}
3104impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_code_interpreters::ListCodeInterpretersError, R>> for Error
3105where
3106    R: Send + Sync + std::fmt::Debug + 'static,
3107{
3108    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_code_interpreters::ListCodeInterpretersError, R>) -> Self {
3109        match err {
3110            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3111            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3112                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3113                source: err.into(),
3114            }),
3115        }
3116    }
3117}
3118impl From<crate::operation::list_code_interpreters::ListCodeInterpretersError> for Error {
3119    fn from(err: crate::operation::list_code_interpreters::ListCodeInterpretersError) -> Self {
3120        match err {
3121            crate::operation::list_code_interpreters::ListCodeInterpretersError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3122            crate::operation::list_code_interpreters::ListCodeInterpretersError::InternalServerException(inner) => {
3123                Error::InternalServerException(inner)
3124            }
3125            crate::operation::list_code_interpreters::ListCodeInterpretersError::ThrottlingException(inner) => Error::ThrottlingException(inner),
3126            crate::operation::list_code_interpreters::ListCodeInterpretersError::ValidationException(inner) => Error::ValidationException(inner),
3127            crate::operation::list_code_interpreters::ListCodeInterpretersError::Unhandled(inner) => Error::Unhandled(inner),
3128        }
3129    }
3130}
3131impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_configuration_bundles::ListConfigurationBundlesError, R>>
3132    for Error
3133where
3134    R: Send + Sync + std::fmt::Debug + 'static,
3135{
3136    fn from(
3137        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_configuration_bundles::ListConfigurationBundlesError, R>,
3138    ) -> Self {
3139        match err {
3140            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3141            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3142                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3143                source: err.into(),
3144            }),
3145        }
3146    }
3147}
3148impl From<crate::operation::list_configuration_bundles::ListConfigurationBundlesError> for Error {
3149    fn from(err: crate::operation::list_configuration_bundles::ListConfigurationBundlesError) -> Self {
3150        match err {
3151            crate::operation::list_configuration_bundles::ListConfigurationBundlesError::AccessDeniedException(inner) => {
3152                Error::AccessDeniedException(inner)
3153            }
3154            crate::operation::list_configuration_bundles::ListConfigurationBundlesError::InternalServerException(inner) => {
3155                Error::InternalServerException(inner)
3156            }
3157            crate::operation::list_configuration_bundles::ListConfigurationBundlesError::ThrottlingException(inner) => {
3158                Error::ThrottlingException(inner)
3159            }
3160            crate::operation::list_configuration_bundles::ListConfigurationBundlesError::ValidationException(inner) => {
3161                Error::ValidationException(inner)
3162            }
3163            crate::operation::list_configuration_bundles::ListConfigurationBundlesError::Unhandled(inner) => Error::Unhandled(inner),
3164        }
3165    }
3166}
3167impl<R>
3168    From<
3169        ::aws_smithy_runtime_api::client::result::SdkError<
3170            crate::operation::list_configuration_bundle_versions::ListConfigurationBundleVersionsError,
3171            R,
3172        >,
3173    > for Error
3174where
3175    R: Send + Sync + std::fmt::Debug + 'static,
3176{
3177    fn from(
3178        err: ::aws_smithy_runtime_api::client::result::SdkError<
3179            crate::operation::list_configuration_bundle_versions::ListConfigurationBundleVersionsError,
3180            R,
3181        >,
3182    ) -> Self {
3183        match err {
3184            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3185            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3186                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3187                source: err.into(),
3188            }),
3189        }
3190    }
3191}
3192impl From<crate::operation::list_configuration_bundle_versions::ListConfigurationBundleVersionsError> for Error {
3193    fn from(err: crate::operation::list_configuration_bundle_versions::ListConfigurationBundleVersionsError) -> Self {
3194        match err {
3195            crate::operation::list_configuration_bundle_versions::ListConfigurationBundleVersionsError::AccessDeniedException(inner) => {
3196                Error::AccessDeniedException(inner)
3197            }
3198            crate::operation::list_configuration_bundle_versions::ListConfigurationBundleVersionsError::InternalServerException(inner) => {
3199                Error::InternalServerException(inner)
3200            }
3201            crate::operation::list_configuration_bundle_versions::ListConfigurationBundleVersionsError::ResourceNotFoundException(inner) => {
3202                Error::ResourceNotFoundException(inner)
3203            }
3204            crate::operation::list_configuration_bundle_versions::ListConfigurationBundleVersionsError::ThrottlingException(inner) => {
3205                Error::ThrottlingException(inner)
3206            }
3207            crate::operation::list_configuration_bundle_versions::ListConfigurationBundleVersionsError::ValidationException(inner) => {
3208                Error::ValidationException(inner)
3209            }
3210            crate::operation::list_configuration_bundle_versions::ListConfigurationBundleVersionsError::Unhandled(inner) => Error::Unhandled(inner),
3211        }
3212    }
3213}
3214impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_dataset_examples::ListDatasetExamplesError, R>> for Error
3215where
3216    R: Send + Sync + std::fmt::Debug + 'static,
3217{
3218    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_dataset_examples::ListDatasetExamplesError, R>) -> Self {
3219        match err {
3220            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3221            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3222                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3223                source: err.into(),
3224            }),
3225        }
3226    }
3227}
3228impl From<crate::operation::list_dataset_examples::ListDatasetExamplesError> for Error {
3229    fn from(err: crate::operation::list_dataset_examples::ListDatasetExamplesError) -> Self {
3230        match err {
3231            crate::operation::list_dataset_examples::ListDatasetExamplesError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3232            crate::operation::list_dataset_examples::ListDatasetExamplesError::ConflictException(inner) => Error::ConflictException(inner),
3233            crate::operation::list_dataset_examples::ListDatasetExamplesError::InternalServerException(inner) => {
3234                Error::InternalServerException(inner)
3235            }
3236            crate::operation::list_dataset_examples::ListDatasetExamplesError::ResourceNotFoundException(inner) => {
3237                Error::ResourceNotFoundException(inner)
3238            }
3239            crate::operation::list_dataset_examples::ListDatasetExamplesError::ThrottlingException(inner) => Error::ThrottlingException(inner),
3240            crate::operation::list_dataset_examples::ListDatasetExamplesError::ValidationException(inner) => Error::ValidationException(inner),
3241            crate::operation::list_dataset_examples::ListDatasetExamplesError::Unhandled(inner) => Error::Unhandled(inner),
3242        }
3243    }
3244}
3245impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_datasets::ListDatasetsError, R>> for Error
3246where
3247    R: Send + Sync + std::fmt::Debug + 'static,
3248{
3249    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_datasets::ListDatasetsError, R>) -> Self {
3250        match err {
3251            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3252            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3253                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3254                source: err.into(),
3255            }),
3256        }
3257    }
3258}
3259impl From<crate::operation::list_datasets::ListDatasetsError> for Error {
3260    fn from(err: crate::operation::list_datasets::ListDatasetsError) -> Self {
3261        match err {
3262            crate::operation::list_datasets::ListDatasetsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3263            crate::operation::list_datasets::ListDatasetsError::InternalServerException(inner) => Error::InternalServerException(inner),
3264            crate::operation::list_datasets::ListDatasetsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
3265            crate::operation::list_datasets::ListDatasetsError::ValidationException(inner) => Error::ValidationException(inner),
3266            crate::operation::list_datasets::ListDatasetsError::Unhandled(inner) => Error::Unhandled(inner),
3267        }
3268    }
3269}
3270impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_dataset_versions::ListDatasetVersionsError, R>> for Error
3271where
3272    R: Send + Sync + std::fmt::Debug + 'static,
3273{
3274    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_dataset_versions::ListDatasetVersionsError, R>) -> Self {
3275        match err {
3276            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3277            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3278                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3279                source: err.into(),
3280            }),
3281        }
3282    }
3283}
3284impl From<crate::operation::list_dataset_versions::ListDatasetVersionsError> for Error {
3285    fn from(err: crate::operation::list_dataset_versions::ListDatasetVersionsError) -> Self {
3286        match err {
3287            crate::operation::list_dataset_versions::ListDatasetVersionsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3288            crate::operation::list_dataset_versions::ListDatasetVersionsError::InternalServerException(inner) => {
3289                Error::InternalServerException(inner)
3290            }
3291            crate::operation::list_dataset_versions::ListDatasetVersionsError::ResourceNotFoundException(inner) => {
3292                Error::ResourceNotFoundException(inner)
3293            }
3294            crate::operation::list_dataset_versions::ListDatasetVersionsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
3295            crate::operation::list_dataset_versions::ListDatasetVersionsError::ValidationException(inner) => Error::ValidationException(inner),
3296            crate::operation::list_dataset_versions::ListDatasetVersionsError::Unhandled(inner) => Error::Unhandled(inner),
3297        }
3298    }
3299}
3300impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_evaluators::ListEvaluatorsError, R>> for Error
3301where
3302    R: Send + Sync + std::fmt::Debug + 'static,
3303{
3304    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_evaluators::ListEvaluatorsError, R>) -> Self {
3305        match err {
3306            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3307            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3308                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3309                source: err.into(),
3310            }),
3311        }
3312    }
3313}
3314impl From<crate::operation::list_evaluators::ListEvaluatorsError> for Error {
3315    fn from(err: crate::operation::list_evaluators::ListEvaluatorsError) -> Self {
3316        match err {
3317            crate::operation::list_evaluators::ListEvaluatorsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3318            crate::operation::list_evaluators::ListEvaluatorsError::InternalServerException(inner) => Error::InternalServerException(inner),
3319            crate::operation::list_evaluators::ListEvaluatorsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
3320            crate::operation::list_evaluators::ListEvaluatorsError::ValidationException(inner) => Error::ValidationException(inner),
3321            crate::operation::list_evaluators::ListEvaluatorsError::Unhandled(inner) => Error::Unhandled(inner),
3322        }
3323    }
3324}
3325impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_gateway_rules::ListGatewayRulesError, R>> for Error
3326where
3327    R: Send + Sync + std::fmt::Debug + 'static,
3328{
3329    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_gateway_rules::ListGatewayRulesError, R>) -> Self {
3330        match err {
3331            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3332            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3333                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3334                source: err.into(),
3335            }),
3336        }
3337    }
3338}
3339impl From<crate::operation::list_gateway_rules::ListGatewayRulesError> for Error {
3340    fn from(err: crate::operation::list_gateway_rules::ListGatewayRulesError) -> Self {
3341        match err {
3342            crate::operation::list_gateway_rules::ListGatewayRulesError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3343            crate::operation::list_gateway_rules::ListGatewayRulesError::InternalServerException(inner) => Error::InternalServerException(inner),
3344            crate::operation::list_gateway_rules::ListGatewayRulesError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
3345            crate::operation::list_gateway_rules::ListGatewayRulesError::ThrottlingException(inner) => Error::ThrottlingException(inner),
3346            crate::operation::list_gateway_rules::ListGatewayRulesError::ValidationException(inner) => Error::ValidationException(inner),
3347            crate::operation::list_gateway_rules::ListGatewayRulesError::Unhandled(inner) => Error::Unhandled(inner),
3348        }
3349    }
3350}
3351impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_gateways::ListGatewaysError, R>> for Error
3352where
3353    R: Send + Sync + std::fmt::Debug + 'static,
3354{
3355    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_gateways::ListGatewaysError, R>) -> Self {
3356        match err {
3357            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3358            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3359                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3360                source: err.into(),
3361            }),
3362        }
3363    }
3364}
3365impl From<crate::operation::list_gateways::ListGatewaysError> for Error {
3366    fn from(err: crate::operation::list_gateways::ListGatewaysError) -> Self {
3367        match err {
3368            crate::operation::list_gateways::ListGatewaysError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3369            crate::operation::list_gateways::ListGatewaysError::InternalServerException(inner) => Error::InternalServerException(inner),
3370            crate::operation::list_gateways::ListGatewaysError::ThrottlingException(inner) => Error::ThrottlingException(inner),
3371            crate::operation::list_gateways::ListGatewaysError::ValidationException(inner) => Error::ValidationException(inner),
3372            crate::operation::list_gateways::ListGatewaysError::Unhandled(inner) => Error::Unhandled(inner),
3373        }
3374    }
3375}
3376impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_gateway_targets::ListGatewayTargetsError, R>> for Error
3377where
3378    R: Send + Sync + std::fmt::Debug + 'static,
3379{
3380    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_gateway_targets::ListGatewayTargetsError, R>) -> Self {
3381        match err {
3382            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3383            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3384                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3385                source: err.into(),
3386            }),
3387        }
3388    }
3389}
3390impl From<crate::operation::list_gateway_targets::ListGatewayTargetsError> for Error {
3391    fn from(err: crate::operation::list_gateway_targets::ListGatewayTargetsError) -> Self {
3392        match err {
3393            crate::operation::list_gateway_targets::ListGatewayTargetsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3394            crate::operation::list_gateway_targets::ListGatewayTargetsError::InternalServerException(inner) => Error::InternalServerException(inner),
3395            crate::operation::list_gateway_targets::ListGatewayTargetsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
3396            crate::operation::list_gateway_targets::ListGatewayTargetsError::ValidationException(inner) => Error::ValidationException(inner),
3397            crate::operation::list_gateway_targets::ListGatewayTargetsError::Unhandled(inner) => Error::Unhandled(inner),
3398        }
3399    }
3400}
3401impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_harnesses::ListHarnessesError, R>> for Error
3402where
3403    R: Send + Sync + std::fmt::Debug + 'static,
3404{
3405    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_harnesses::ListHarnessesError, R>) -> Self {
3406        match err {
3407            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3408            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3409                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3410                source: err.into(),
3411            }),
3412        }
3413    }
3414}
3415impl From<crate::operation::list_harnesses::ListHarnessesError> for Error {
3416    fn from(err: crate::operation::list_harnesses::ListHarnessesError) -> Self {
3417        match err {
3418            crate::operation::list_harnesses::ListHarnessesError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3419            crate::operation::list_harnesses::ListHarnessesError::InternalServerException(inner) => Error::InternalServerException(inner),
3420            crate::operation::list_harnesses::ListHarnessesError::ThrottlingException(inner) => Error::ThrottlingException(inner),
3421            crate::operation::list_harnesses::ListHarnessesError::ValidationException(inner) => Error::ValidationException(inner),
3422            crate::operation::list_harnesses::ListHarnessesError::Unhandled(inner) => Error::Unhandled(inner),
3423        }
3424    }
3425}
3426impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_memories::ListMemoriesError, R>> for Error
3427where
3428    R: Send + Sync + std::fmt::Debug + 'static,
3429{
3430    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_memories::ListMemoriesError, R>) -> Self {
3431        match err {
3432            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3433            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3434                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3435                source: err.into(),
3436            }),
3437        }
3438    }
3439}
3440impl From<crate::operation::list_memories::ListMemoriesError> for Error {
3441    fn from(err: crate::operation::list_memories::ListMemoriesError) -> Self {
3442        match err {
3443            crate::operation::list_memories::ListMemoriesError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3444            crate::operation::list_memories::ListMemoriesError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
3445            crate::operation::list_memories::ListMemoriesError::ServiceException(inner) => Error::ServiceException(inner),
3446            crate::operation::list_memories::ListMemoriesError::ThrottledException(inner) => Error::ThrottledException(inner),
3447            crate::operation::list_memories::ListMemoriesError::ValidationException(inner) => Error::ValidationException(inner),
3448            crate::operation::list_memories::ListMemoriesError::Unhandled(inner) => Error::Unhandled(inner),
3449        }
3450    }
3451}
3452impl<R>
3453    From<
3454        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_oauth2_credential_providers::ListOauth2CredentialProvidersError, R>,
3455    > for Error
3456where
3457    R: Send + Sync + std::fmt::Debug + 'static,
3458{
3459    fn from(
3460        err: ::aws_smithy_runtime_api::client::result::SdkError<
3461            crate::operation::list_oauth2_credential_providers::ListOauth2CredentialProvidersError,
3462            R,
3463        >,
3464    ) -> Self {
3465        match err {
3466            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3467            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3468                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3469                source: err.into(),
3470            }),
3471        }
3472    }
3473}
3474impl From<crate::operation::list_oauth2_credential_providers::ListOauth2CredentialProvidersError> for Error {
3475    fn from(err: crate::operation::list_oauth2_credential_providers::ListOauth2CredentialProvidersError) -> Self {
3476        match err {
3477            crate::operation::list_oauth2_credential_providers::ListOauth2CredentialProvidersError::AccessDeniedException(inner) => {
3478                Error::AccessDeniedException(inner)
3479            }
3480            crate::operation::list_oauth2_credential_providers::ListOauth2CredentialProvidersError::InternalServerException(inner) => {
3481                Error::InternalServerException(inner)
3482            }
3483            crate::operation::list_oauth2_credential_providers::ListOauth2CredentialProvidersError::ResourceNotFoundException(inner) => {
3484                Error::ResourceNotFoundException(inner)
3485            }
3486            crate::operation::list_oauth2_credential_providers::ListOauth2CredentialProvidersError::ThrottlingException(inner) => {
3487                Error::ThrottlingException(inner)
3488            }
3489            crate::operation::list_oauth2_credential_providers::ListOauth2CredentialProvidersError::UnauthorizedException(inner) => {
3490                Error::UnauthorizedException(inner)
3491            }
3492            crate::operation::list_oauth2_credential_providers::ListOauth2CredentialProvidersError::ValidationException(inner) => {
3493                Error::ValidationException(inner)
3494            }
3495            crate::operation::list_oauth2_credential_providers::ListOauth2CredentialProvidersError::Unhandled(inner) => Error::Unhandled(inner),
3496        }
3497    }
3498}
3499impl<R>
3500    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_online_evaluation_configs::ListOnlineEvaluationConfigsError, R>>
3501    for Error
3502where
3503    R: Send + Sync + std::fmt::Debug + 'static,
3504{
3505    fn from(
3506        err: ::aws_smithy_runtime_api::client::result::SdkError<
3507            crate::operation::list_online_evaluation_configs::ListOnlineEvaluationConfigsError,
3508            R,
3509        >,
3510    ) -> Self {
3511        match err {
3512            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3513            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3514                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3515                source: err.into(),
3516            }),
3517        }
3518    }
3519}
3520impl From<crate::operation::list_online_evaluation_configs::ListOnlineEvaluationConfigsError> for Error {
3521    fn from(err: crate::operation::list_online_evaluation_configs::ListOnlineEvaluationConfigsError) -> Self {
3522        match err {
3523            crate::operation::list_online_evaluation_configs::ListOnlineEvaluationConfigsError::AccessDeniedException(inner) => {
3524                Error::AccessDeniedException(inner)
3525            }
3526            crate::operation::list_online_evaluation_configs::ListOnlineEvaluationConfigsError::InternalServerException(inner) => {
3527                Error::InternalServerException(inner)
3528            }
3529            crate::operation::list_online_evaluation_configs::ListOnlineEvaluationConfigsError::ThrottlingException(inner) => {
3530                Error::ThrottlingException(inner)
3531            }
3532            crate::operation::list_online_evaluation_configs::ListOnlineEvaluationConfigsError::ValidationException(inner) => {
3533                Error::ValidationException(inner)
3534            }
3535            crate::operation::list_online_evaluation_configs::ListOnlineEvaluationConfigsError::Unhandled(inner) => Error::Unhandled(inner),
3536        }
3537    }
3538}
3539impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_payment_connectors::ListPaymentConnectorsError, R>> for Error
3540where
3541    R: Send + Sync + std::fmt::Debug + 'static,
3542{
3543    fn from(
3544        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_payment_connectors::ListPaymentConnectorsError, R>,
3545    ) -> 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::list_payment_connectors::ListPaymentConnectorsError> for Error {
3556    fn from(err: crate::operation::list_payment_connectors::ListPaymentConnectorsError) -> Self {
3557        match err {
3558            crate::operation::list_payment_connectors::ListPaymentConnectorsError::AccessDeniedException(inner) => {
3559                Error::AccessDeniedException(inner)
3560            }
3561            crate::operation::list_payment_connectors::ListPaymentConnectorsError::InternalServerException(inner) => {
3562                Error::InternalServerException(inner)
3563            }
3564            crate::operation::list_payment_connectors::ListPaymentConnectorsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
3565            crate::operation::list_payment_connectors::ListPaymentConnectorsError::ValidationException(inner) => Error::ValidationException(inner),
3566            crate::operation::list_payment_connectors::ListPaymentConnectorsError::Unhandled(inner) => Error::Unhandled(inner),
3567        }
3568    }
3569}
3570impl<R>
3571    From<
3572        ::aws_smithy_runtime_api::client::result::SdkError<
3573            crate::operation::list_payment_credential_providers::ListPaymentCredentialProvidersError,
3574            R,
3575        >,
3576    > for Error
3577where
3578    R: Send + Sync + std::fmt::Debug + 'static,
3579{
3580    fn from(
3581        err: ::aws_smithy_runtime_api::client::result::SdkError<
3582            crate::operation::list_payment_credential_providers::ListPaymentCredentialProvidersError,
3583            R,
3584        >,
3585    ) -> Self {
3586        match err {
3587            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3588            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3589                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3590                source: err.into(),
3591            }),
3592        }
3593    }
3594}
3595impl From<crate::operation::list_payment_credential_providers::ListPaymentCredentialProvidersError> for Error {
3596    fn from(err: crate::operation::list_payment_credential_providers::ListPaymentCredentialProvidersError) -> Self {
3597        match err {
3598            crate::operation::list_payment_credential_providers::ListPaymentCredentialProvidersError::AccessDeniedException(inner) => {
3599                Error::AccessDeniedException(inner)
3600            }
3601            crate::operation::list_payment_credential_providers::ListPaymentCredentialProvidersError::InternalServerException(inner) => {
3602                Error::InternalServerException(inner)
3603            }
3604            crate::operation::list_payment_credential_providers::ListPaymentCredentialProvidersError::ResourceNotFoundException(inner) => {
3605                Error::ResourceNotFoundException(inner)
3606            }
3607            crate::operation::list_payment_credential_providers::ListPaymentCredentialProvidersError::ThrottlingException(inner) => {
3608                Error::ThrottlingException(inner)
3609            }
3610            crate::operation::list_payment_credential_providers::ListPaymentCredentialProvidersError::UnauthorizedException(inner) => {
3611                Error::UnauthorizedException(inner)
3612            }
3613            crate::operation::list_payment_credential_providers::ListPaymentCredentialProvidersError::ValidationException(inner) => {
3614                Error::ValidationException(inner)
3615            }
3616            crate::operation::list_payment_credential_providers::ListPaymentCredentialProvidersError::Unhandled(inner) => Error::Unhandled(inner),
3617        }
3618    }
3619}
3620impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_payment_managers::ListPaymentManagersError, R>> for Error
3621where
3622    R: Send + Sync + std::fmt::Debug + 'static,
3623{
3624    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_payment_managers::ListPaymentManagersError, R>) -> Self {
3625        match err {
3626            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3627            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3628                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3629                source: err.into(),
3630            }),
3631        }
3632    }
3633}
3634impl From<crate::operation::list_payment_managers::ListPaymentManagersError> for Error {
3635    fn from(err: crate::operation::list_payment_managers::ListPaymentManagersError) -> Self {
3636        match err {
3637            crate::operation::list_payment_managers::ListPaymentManagersError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3638            crate::operation::list_payment_managers::ListPaymentManagersError::InternalServerException(inner) => {
3639                Error::InternalServerException(inner)
3640            }
3641            crate::operation::list_payment_managers::ListPaymentManagersError::ThrottlingException(inner) => Error::ThrottlingException(inner),
3642            crate::operation::list_payment_managers::ListPaymentManagersError::ValidationException(inner) => Error::ValidationException(inner),
3643            crate::operation::list_payment_managers::ListPaymentManagersError::Unhandled(inner) => Error::Unhandled(inner),
3644        }
3645    }
3646}
3647impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_policies::ListPoliciesError, R>> for Error
3648where
3649    R: Send + Sync + std::fmt::Debug + 'static,
3650{
3651    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_policies::ListPoliciesError, R>) -> Self {
3652        match err {
3653            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3654            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3655                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3656                source: err.into(),
3657            }),
3658        }
3659    }
3660}
3661impl From<crate::operation::list_policies::ListPoliciesError> for Error {
3662    fn from(err: crate::operation::list_policies::ListPoliciesError) -> Self {
3663        match err {
3664            crate::operation::list_policies::ListPoliciesError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3665            crate::operation::list_policies::ListPoliciesError::InternalServerException(inner) => Error::InternalServerException(inner),
3666            crate::operation::list_policies::ListPoliciesError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
3667            crate::operation::list_policies::ListPoliciesError::ThrottlingException(inner) => Error::ThrottlingException(inner),
3668            crate::operation::list_policies::ListPoliciesError::ValidationException(inner) => Error::ValidationException(inner),
3669            crate::operation::list_policies::ListPoliciesError::Unhandled(inner) => Error::Unhandled(inner),
3670        }
3671    }
3672}
3673impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_policy_engines::ListPolicyEnginesError, R>> for Error
3674where
3675    R: Send + Sync + std::fmt::Debug + 'static,
3676{
3677    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_policy_engines::ListPolicyEnginesError, R>) -> Self {
3678        match err {
3679            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3680            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3681                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3682                source: err.into(),
3683            }),
3684        }
3685    }
3686}
3687impl From<crate::operation::list_policy_engines::ListPolicyEnginesError> for Error {
3688    fn from(err: crate::operation::list_policy_engines::ListPolicyEnginesError) -> Self {
3689        match err {
3690            crate::operation::list_policy_engines::ListPolicyEnginesError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3691            crate::operation::list_policy_engines::ListPolicyEnginesError::InternalServerException(inner) => Error::InternalServerException(inner),
3692            crate::operation::list_policy_engines::ListPolicyEnginesError::ThrottlingException(inner) => Error::ThrottlingException(inner),
3693            crate::operation::list_policy_engines::ListPolicyEnginesError::ValidationException(inner) => Error::ValidationException(inner),
3694            crate::operation::list_policy_engines::ListPolicyEnginesError::Unhandled(inner) => Error::Unhandled(inner),
3695        }
3696    }
3697}
3698impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_policy_engine_summaries::ListPolicyEngineSummariesError, R>>
3699    for Error
3700where
3701    R: Send + Sync + std::fmt::Debug + 'static,
3702{
3703    fn from(
3704        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_policy_engine_summaries::ListPolicyEngineSummariesError, R>,
3705    ) -> Self {
3706        match err {
3707            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3708            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3709                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3710                source: err.into(),
3711            }),
3712        }
3713    }
3714}
3715impl From<crate::operation::list_policy_engine_summaries::ListPolicyEngineSummariesError> for Error {
3716    fn from(err: crate::operation::list_policy_engine_summaries::ListPolicyEngineSummariesError) -> Self {
3717        match err {
3718            crate::operation::list_policy_engine_summaries::ListPolicyEngineSummariesError::AccessDeniedException(inner) => {
3719                Error::AccessDeniedException(inner)
3720            }
3721            crate::operation::list_policy_engine_summaries::ListPolicyEngineSummariesError::InternalServerException(inner) => {
3722                Error::InternalServerException(inner)
3723            }
3724            crate::operation::list_policy_engine_summaries::ListPolicyEngineSummariesError::ThrottlingException(inner) => {
3725                Error::ThrottlingException(inner)
3726            }
3727            crate::operation::list_policy_engine_summaries::ListPolicyEngineSummariesError::ValidationException(inner) => {
3728                Error::ValidationException(inner)
3729            }
3730            crate::operation::list_policy_engine_summaries::ListPolicyEngineSummariesError::Unhandled(inner) => Error::Unhandled(inner),
3731        }
3732    }
3733}
3734impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_policy_generation_assets::ListPolicyGenerationAssetsError, R>>
3735    for Error
3736where
3737    R: Send + Sync + std::fmt::Debug + 'static,
3738{
3739    fn from(
3740        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_policy_generation_assets::ListPolicyGenerationAssetsError, R>,
3741    ) -> Self {
3742        match err {
3743            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3744            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3745                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3746                source: err.into(),
3747            }),
3748        }
3749    }
3750}
3751impl From<crate::operation::list_policy_generation_assets::ListPolicyGenerationAssetsError> for Error {
3752    fn from(err: crate::operation::list_policy_generation_assets::ListPolicyGenerationAssetsError) -> Self {
3753        match err {
3754            crate::operation::list_policy_generation_assets::ListPolicyGenerationAssetsError::AccessDeniedException(inner) => {
3755                Error::AccessDeniedException(inner)
3756            }
3757            crate::operation::list_policy_generation_assets::ListPolicyGenerationAssetsError::InternalServerException(inner) => {
3758                Error::InternalServerException(inner)
3759            }
3760            crate::operation::list_policy_generation_assets::ListPolicyGenerationAssetsError::ResourceNotFoundException(inner) => {
3761                Error::ResourceNotFoundException(inner)
3762            }
3763            crate::operation::list_policy_generation_assets::ListPolicyGenerationAssetsError::ThrottlingException(inner) => {
3764                Error::ThrottlingException(inner)
3765            }
3766            crate::operation::list_policy_generation_assets::ListPolicyGenerationAssetsError::ValidationException(inner) => {
3767                Error::ValidationException(inner)
3768            }
3769            crate::operation::list_policy_generation_assets::ListPolicyGenerationAssetsError::Unhandled(inner) => Error::Unhandled(inner),
3770        }
3771    }
3772}
3773impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_policy_generations::ListPolicyGenerationsError, R>> for Error
3774where
3775    R: Send + Sync + std::fmt::Debug + 'static,
3776{
3777    fn from(
3778        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_policy_generations::ListPolicyGenerationsError, R>,
3779    ) -> Self {
3780        match err {
3781            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3782            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3783                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3784                source: err.into(),
3785            }),
3786        }
3787    }
3788}
3789impl From<crate::operation::list_policy_generations::ListPolicyGenerationsError> for Error {
3790    fn from(err: crate::operation::list_policy_generations::ListPolicyGenerationsError) -> Self {
3791        match err {
3792            crate::operation::list_policy_generations::ListPolicyGenerationsError::AccessDeniedException(inner) => {
3793                Error::AccessDeniedException(inner)
3794            }
3795            crate::operation::list_policy_generations::ListPolicyGenerationsError::InternalServerException(inner) => {
3796                Error::InternalServerException(inner)
3797            }
3798            crate::operation::list_policy_generations::ListPolicyGenerationsError::ResourceNotFoundException(inner) => {
3799                Error::ResourceNotFoundException(inner)
3800            }
3801            crate::operation::list_policy_generations::ListPolicyGenerationsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
3802            crate::operation::list_policy_generations::ListPolicyGenerationsError::ValidationException(inner) => Error::ValidationException(inner),
3803            crate::operation::list_policy_generations::ListPolicyGenerationsError::Unhandled(inner) => Error::Unhandled(inner),
3804        }
3805    }
3806}
3807impl<R>
3808    From<
3809        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_policy_generation_summaries::ListPolicyGenerationSummariesError, R>,
3810    > for Error
3811where
3812    R: Send + Sync + std::fmt::Debug + 'static,
3813{
3814    fn from(
3815        err: ::aws_smithy_runtime_api::client::result::SdkError<
3816            crate::operation::list_policy_generation_summaries::ListPolicyGenerationSummariesError,
3817            R,
3818        >,
3819    ) -> Self {
3820        match err {
3821            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3822            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3823                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3824                source: err.into(),
3825            }),
3826        }
3827    }
3828}
3829impl From<crate::operation::list_policy_generation_summaries::ListPolicyGenerationSummariesError> for Error {
3830    fn from(err: crate::operation::list_policy_generation_summaries::ListPolicyGenerationSummariesError) -> Self {
3831        match err {
3832            crate::operation::list_policy_generation_summaries::ListPolicyGenerationSummariesError::AccessDeniedException(inner) => {
3833                Error::AccessDeniedException(inner)
3834            }
3835            crate::operation::list_policy_generation_summaries::ListPolicyGenerationSummariesError::InternalServerException(inner) => {
3836                Error::InternalServerException(inner)
3837            }
3838            crate::operation::list_policy_generation_summaries::ListPolicyGenerationSummariesError::ResourceNotFoundException(inner) => {
3839                Error::ResourceNotFoundException(inner)
3840            }
3841            crate::operation::list_policy_generation_summaries::ListPolicyGenerationSummariesError::ThrottlingException(inner) => {
3842                Error::ThrottlingException(inner)
3843            }
3844            crate::operation::list_policy_generation_summaries::ListPolicyGenerationSummariesError::ValidationException(inner) => {
3845                Error::ValidationException(inner)
3846            }
3847            crate::operation::list_policy_generation_summaries::ListPolicyGenerationSummariesError::Unhandled(inner) => Error::Unhandled(inner),
3848        }
3849    }
3850}
3851impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_policy_summaries::ListPolicySummariesError, R>> for Error
3852where
3853    R: Send + Sync + std::fmt::Debug + 'static,
3854{
3855    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_policy_summaries::ListPolicySummariesError, R>) -> Self {
3856        match err {
3857            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3858            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3859                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3860                source: err.into(),
3861            }),
3862        }
3863    }
3864}
3865impl From<crate::operation::list_policy_summaries::ListPolicySummariesError> for Error {
3866    fn from(err: crate::operation::list_policy_summaries::ListPolicySummariesError) -> Self {
3867        match err {
3868            crate::operation::list_policy_summaries::ListPolicySummariesError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3869            crate::operation::list_policy_summaries::ListPolicySummariesError::InternalServerException(inner) => {
3870                Error::InternalServerException(inner)
3871            }
3872            crate::operation::list_policy_summaries::ListPolicySummariesError::ResourceNotFoundException(inner) => {
3873                Error::ResourceNotFoundException(inner)
3874            }
3875            crate::operation::list_policy_summaries::ListPolicySummariesError::ThrottlingException(inner) => Error::ThrottlingException(inner),
3876            crate::operation::list_policy_summaries::ListPolicySummariesError::ValidationException(inner) => Error::ValidationException(inner),
3877            crate::operation::list_policy_summaries::ListPolicySummariesError::Unhandled(inner) => Error::Unhandled(inner),
3878        }
3879    }
3880}
3881impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_registries::ListRegistriesError, R>> for Error
3882where
3883    R: Send + Sync + std::fmt::Debug + 'static,
3884{
3885    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_registries::ListRegistriesError, R>) -> Self {
3886        match err {
3887            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3888            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3889                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3890                source: err.into(),
3891            }),
3892        }
3893    }
3894}
3895impl From<crate::operation::list_registries::ListRegistriesError> for Error {
3896    fn from(err: crate::operation::list_registries::ListRegistriesError) -> Self {
3897        match err {
3898            crate::operation::list_registries::ListRegistriesError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3899            crate::operation::list_registries::ListRegistriesError::InternalServerException(inner) => Error::InternalServerException(inner),
3900            crate::operation::list_registries::ListRegistriesError::ThrottlingException(inner) => Error::ThrottlingException(inner),
3901            crate::operation::list_registries::ListRegistriesError::ValidationException(inner) => Error::ValidationException(inner),
3902            crate::operation::list_registries::ListRegistriesError::Unhandled(inner) => Error::Unhandled(inner),
3903        }
3904    }
3905}
3906impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_registry_records::ListRegistryRecordsError, R>> for Error
3907where
3908    R: Send + Sync + std::fmt::Debug + 'static,
3909{
3910    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_registry_records::ListRegistryRecordsError, R>) -> Self {
3911        match err {
3912            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3913            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3914                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3915                source: err.into(),
3916            }),
3917        }
3918    }
3919}
3920impl From<crate::operation::list_registry_records::ListRegistryRecordsError> for Error {
3921    fn from(err: crate::operation::list_registry_records::ListRegistryRecordsError) -> Self {
3922        match err {
3923            crate::operation::list_registry_records::ListRegistryRecordsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3924            crate::operation::list_registry_records::ListRegistryRecordsError::ConflictException(inner) => Error::ConflictException(inner),
3925            crate::operation::list_registry_records::ListRegistryRecordsError::InternalServerException(inner) => {
3926                Error::InternalServerException(inner)
3927            }
3928            crate::operation::list_registry_records::ListRegistryRecordsError::ResourceNotFoundException(inner) => {
3929                Error::ResourceNotFoundException(inner)
3930            }
3931            crate::operation::list_registry_records::ListRegistryRecordsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
3932            crate::operation::list_registry_records::ListRegistryRecordsError::ValidationException(inner) => Error::ValidationException(inner),
3933            crate::operation::list_registry_records::ListRegistryRecordsError::Unhandled(inner) => Error::Unhandled(inner),
3934        }
3935    }
3936}
3937impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_tags_for_resource::ListTagsForResourceError, R>> for Error
3938where
3939    R: Send + Sync + std::fmt::Debug + 'static,
3940{
3941    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_tags_for_resource::ListTagsForResourceError, R>) -> Self {
3942        match err {
3943            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3944            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3945                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3946                source: err.into(),
3947            }),
3948        }
3949    }
3950}
3951impl From<crate::operation::list_tags_for_resource::ListTagsForResourceError> for Error {
3952    fn from(err: crate::operation::list_tags_for_resource::ListTagsForResourceError) -> Self {
3953        match err {
3954            crate::operation::list_tags_for_resource::ListTagsForResourceError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3955            crate::operation::list_tags_for_resource::ListTagsForResourceError::InternalServerException(inner) => {
3956                Error::InternalServerException(inner)
3957            }
3958            crate::operation::list_tags_for_resource::ListTagsForResourceError::ResourceNotFoundException(inner) => {
3959                Error::ResourceNotFoundException(inner)
3960            }
3961            crate::operation::list_tags_for_resource::ListTagsForResourceError::ThrottlingException(inner) => Error::ThrottlingException(inner),
3962            crate::operation::list_tags_for_resource::ListTagsForResourceError::ValidationException(inner) => Error::ValidationException(inner),
3963            crate::operation::list_tags_for_resource::ListTagsForResourceError::Unhandled(inner) => Error::Unhandled(inner),
3964        }
3965    }
3966}
3967impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_workload_identities::ListWorkloadIdentitiesError, R>> for Error
3968where
3969    R: Send + Sync + std::fmt::Debug + 'static,
3970{
3971    fn from(
3972        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_workload_identities::ListWorkloadIdentitiesError, R>,
3973    ) -> Self {
3974        match err {
3975            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3976            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3977                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3978                source: err.into(),
3979            }),
3980        }
3981    }
3982}
3983impl From<crate::operation::list_workload_identities::ListWorkloadIdentitiesError> for Error {
3984    fn from(err: crate::operation::list_workload_identities::ListWorkloadIdentitiesError) -> Self {
3985        match err {
3986            crate::operation::list_workload_identities::ListWorkloadIdentitiesError::AccessDeniedException(inner) => {
3987                Error::AccessDeniedException(inner)
3988            }
3989            crate::operation::list_workload_identities::ListWorkloadIdentitiesError::InternalServerException(inner) => {
3990                Error::InternalServerException(inner)
3991            }
3992            crate::operation::list_workload_identities::ListWorkloadIdentitiesError::ResourceNotFoundException(inner) => {
3993                Error::ResourceNotFoundException(inner)
3994            }
3995            crate::operation::list_workload_identities::ListWorkloadIdentitiesError::ThrottlingException(inner) => Error::ThrottlingException(inner),
3996            crate::operation::list_workload_identities::ListWorkloadIdentitiesError::UnauthorizedException(inner) => {
3997                Error::UnauthorizedException(inner)
3998            }
3999            crate::operation::list_workload_identities::ListWorkloadIdentitiesError::ValidationException(inner) => Error::ValidationException(inner),
4000            crate::operation::list_workload_identities::ListWorkloadIdentitiesError::Unhandled(inner) => Error::Unhandled(inner),
4001        }
4002    }
4003}
4004impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_resource_policy::PutResourcePolicyError, R>> for Error
4005where
4006    R: Send + Sync + std::fmt::Debug + 'static,
4007{
4008    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_resource_policy::PutResourcePolicyError, R>) -> Self {
4009        match err {
4010            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4011            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4012                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4013                source: err.into(),
4014            }),
4015        }
4016    }
4017}
4018impl From<crate::operation::put_resource_policy::PutResourcePolicyError> for Error {
4019    fn from(err: crate::operation::put_resource_policy::PutResourcePolicyError) -> Self {
4020        match err {
4021            crate::operation::put_resource_policy::PutResourcePolicyError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
4022            crate::operation::put_resource_policy::PutResourcePolicyError::InternalServerException(inner) => Error::InternalServerException(inner),
4023            crate::operation::put_resource_policy::PutResourcePolicyError::ResourceNotFoundException(inner) => {
4024                Error::ResourceNotFoundException(inner)
4025            }
4026            crate::operation::put_resource_policy::PutResourcePolicyError::ThrottlingException(inner) => Error::ThrottlingException(inner),
4027            crate::operation::put_resource_policy::PutResourcePolicyError::ValidationException(inner) => Error::ValidationException(inner),
4028            crate::operation::put_resource_policy::PutResourcePolicyError::Unhandled(inner) => Error::Unhandled(inner),
4029        }
4030    }
4031}
4032impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::set_token_vault_cmk::SetTokenVaultCMKError, R>> for Error
4033where
4034    R: Send + Sync + std::fmt::Debug + 'static,
4035{
4036    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::set_token_vault_cmk::SetTokenVaultCMKError, R>) -> Self {
4037        match err {
4038            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4039            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4040                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4041                source: err.into(),
4042            }),
4043        }
4044    }
4045}
4046impl From<crate::operation::set_token_vault_cmk::SetTokenVaultCMKError> for Error {
4047    fn from(err: crate::operation::set_token_vault_cmk::SetTokenVaultCMKError) -> Self {
4048        match err {
4049            crate::operation::set_token_vault_cmk::SetTokenVaultCMKError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
4050            crate::operation::set_token_vault_cmk::SetTokenVaultCMKError::ConcurrentModificationException(inner) => {
4051                Error::ConcurrentModificationException(inner)
4052            }
4053            crate::operation::set_token_vault_cmk::SetTokenVaultCMKError::InternalServerException(inner) => Error::InternalServerException(inner),
4054            crate::operation::set_token_vault_cmk::SetTokenVaultCMKError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
4055            crate::operation::set_token_vault_cmk::SetTokenVaultCMKError::ThrottlingException(inner) => Error::ThrottlingException(inner),
4056            crate::operation::set_token_vault_cmk::SetTokenVaultCMKError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
4057            crate::operation::set_token_vault_cmk::SetTokenVaultCMKError::ValidationException(inner) => Error::ValidationException(inner),
4058            crate::operation::set_token_vault_cmk::SetTokenVaultCMKError::Unhandled(inner) => Error::Unhandled(inner),
4059        }
4060    }
4061}
4062impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_policy_generation::StartPolicyGenerationError, R>> for Error
4063where
4064    R: Send + Sync + std::fmt::Debug + 'static,
4065{
4066    fn from(
4067        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_policy_generation::StartPolicyGenerationError, R>,
4068    ) -> Self {
4069        match err {
4070            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4071            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4072                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4073                source: err.into(),
4074            }),
4075        }
4076    }
4077}
4078impl From<crate::operation::start_policy_generation::StartPolicyGenerationError> for Error {
4079    fn from(err: crate::operation::start_policy_generation::StartPolicyGenerationError) -> Self {
4080        match err {
4081            crate::operation::start_policy_generation::StartPolicyGenerationError::AccessDeniedException(inner) => {
4082                Error::AccessDeniedException(inner)
4083            }
4084            crate::operation::start_policy_generation::StartPolicyGenerationError::ConflictException(inner) => Error::ConflictException(inner),
4085            crate::operation::start_policy_generation::StartPolicyGenerationError::InternalServerException(inner) => {
4086                Error::InternalServerException(inner)
4087            }
4088            crate::operation::start_policy_generation::StartPolicyGenerationError::ResourceNotFoundException(inner) => {
4089                Error::ResourceNotFoundException(inner)
4090            }
4091            crate::operation::start_policy_generation::StartPolicyGenerationError::ServiceQuotaExceededException(inner) => {
4092                Error::ServiceQuotaExceededException(inner)
4093            }
4094            crate::operation::start_policy_generation::StartPolicyGenerationError::ThrottlingException(inner) => Error::ThrottlingException(inner),
4095            crate::operation::start_policy_generation::StartPolicyGenerationError::ValidationException(inner) => Error::ValidationException(inner),
4096            crate::operation::start_policy_generation::StartPolicyGenerationError::Unhandled(inner) => Error::Unhandled(inner),
4097        }
4098    }
4099}
4100impl<R>
4101    From<
4102        ::aws_smithy_runtime_api::client::result::SdkError<
4103            crate::operation::submit_registry_record_for_approval::SubmitRegistryRecordForApprovalError,
4104            R,
4105        >,
4106    > for Error
4107where
4108    R: Send + Sync + std::fmt::Debug + 'static,
4109{
4110    fn from(
4111        err: ::aws_smithy_runtime_api::client::result::SdkError<
4112            crate::operation::submit_registry_record_for_approval::SubmitRegistryRecordForApprovalError,
4113            R,
4114        >,
4115    ) -> Self {
4116        match err {
4117            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4118            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4119                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4120                source: err.into(),
4121            }),
4122        }
4123    }
4124}
4125impl From<crate::operation::submit_registry_record_for_approval::SubmitRegistryRecordForApprovalError> for Error {
4126    fn from(err: crate::operation::submit_registry_record_for_approval::SubmitRegistryRecordForApprovalError) -> Self {
4127        match err {
4128            crate::operation::submit_registry_record_for_approval::SubmitRegistryRecordForApprovalError::AccessDeniedException(inner) => {
4129                Error::AccessDeniedException(inner)
4130            }
4131            crate::operation::submit_registry_record_for_approval::SubmitRegistryRecordForApprovalError::ConflictException(inner) => {
4132                Error::ConflictException(inner)
4133            }
4134            crate::operation::submit_registry_record_for_approval::SubmitRegistryRecordForApprovalError::InternalServerException(inner) => {
4135                Error::InternalServerException(inner)
4136            }
4137            crate::operation::submit_registry_record_for_approval::SubmitRegistryRecordForApprovalError::ResourceNotFoundException(inner) => {
4138                Error::ResourceNotFoundException(inner)
4139            }
4140            crate::operation::submit_registry_record_for_approval::SubmitRegistryRecordForApprovalError::ThrottlingException(inner) => {
4141                Error::ThrottlingException(inner)
4142            }
4143            crate::operation::submit_registry_record_for_approval::SubmitRegistryRecordForApprovalError::ValidationException(inner) => {
4144                Error::ValidationException(inner)
4145            }
4146            crate::operation::submit_registry_record_for_approval::SubmitRegistryRecordForApprovalError::Unhandled(inner) => Error::Unhandled(inner),
4147        }
4148    }
4149}
4150impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::synchronize_gateway_targets::SynchronizeGatewayTargetsError, R>>
4151    for Error
4152where
4153    R: Send + Sync + std::fmt::Debug + 'static,
4154{
4155    fn from(
4156        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::synchronize_gateway_targets::SynchronizeGatewayTargetsError, R>,
4157    ) -> Self {
4158        match err {
4159            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4160            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4161                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4162                source: err.into(),
4163            }),
4164        }
4165    }
4166}
4167impl From<crate::operation::synchronize_gateway_targets::SynchronizeGatewayTargetsError> for Error {
4168    fn from(err: crate::operation::synchronize_gateway_targets::SynchronizeGatewayTargetsError) -> Self {
4169        match err {
4170            crate::operation::synchronize_gateway_targets::SynchronizeGatewayTargetsError::AccessDeniedException(inner) => {
4171                Error::AccessDeniedException(inner)
4172            }
4173            crate::operation::synchronize_gateway_targets::SynchronizeGatewayTargetsError::ConflictException(inner) => {
4174                Error::ConflictException(inner)
4175            }
4176            crate::operation::synchronize_gateway_targets::SynchronizeGatewayTargetsError::InternalServerException(inner) => {
4177                Error::InternalServerException(inner)
4178            }
4179            crate::operation::synchronize_gateway_targets::SynchronizeGatewayTargetsError::ResourceNotFoundException(inner) => {
4180                Error::ResourceNotFoundException(inner)
4181            }
4182            crate::operation::synchronize_gateway_targets::SynchronizeGatewayTargetsError::ServiceQuotaExceededException(inner) => {
4183                Error::ServiceQuotaExceededException(inner)
4184            }
4185            crate::operation::synchronize_gateway_targets::SynchronizeGatewayTargetsError::ThrottlingException(inner) => {
4186                Error::ThrottlingException(inner)
4187            }
4188            crate::operation::synchronize_gateway_targets::SynchronizeGatewayTargetsError::ValidationException(inner) => {
4189                Error::ValidationException(inner)
4190            }
4191            crate::operation::synchronize_gateway_targets::SynchronizeGatewayTargetsError::Unhandled(inner) => Error::Unhandled(inner),
4192        }
4193    }
4194}
4195impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::tag_resource::TagResourceError, R>> for Error
4196where
4197    R: Send + Sync + std::fmt::Debug + 'static,
4198{
4199    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::tag_resource::TagResourceError, R>) -> Self {
4200        match err {
4201            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4202            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4203                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4204                source: err.into(),
4205            }),
4206        }
4207    }
4208}
4209impl From<crate::operation::tag_resource::TagResourceError> for Error {
4210    fn from(err: crate::operation::tag_resource::TagResourceError) -> Self {
4211        match err {
4212            crate::operation::tag_resource::TagResourceError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
4213            crate::operation::tag_resource::TagResourceError::InternalServerException(inner) => Error::InternalServerException(inner),
4214            crate::operation::tag_resource::TagResourceError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
4215            crate::operation::tag_resource::TagResourceError::ServiceQuotaExceededException(inner) => Error::ServiceQuotaExceededException(inner),
4216            crate::operation::tag_resource::TagResourceError::ThrottlingException(inner) => Error::ThrottlingException(inner),
4217            crate::operation::tag_resource::TagResourceError::ValidationException(inner) => Error::ValidationException(inner),
4218            crate::operation::tag_resource::TagResourceError::Unhandled(inner) => Error::Unhandled(inner),
4219        }
4220    }
4221}
4222impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::untag_resource::UntagResourceError, R>> for Error
4223where
4224    R: Send + Sync + std::fmt::Debug + 'static,
4225{
4226    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::untag_resource::UntagResourceError, R>) -> Self {
4227        match err {
4228            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4229            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4230                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4231                source: err.into(),
4232            }),
4233        }
4234    }
4235}
4236impl From<crate::operation::untag_resource::UntagResourceError> for Error {
4237    fn from(err: crate::operation::untag_resource::UntagResourceError) -> Self {
4238        match err {
4239            crate::operation::untag_resource::UntagResourceError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
4240            crate::operation::untag_resource::UntagResourceError::InternalServerException(inner) => Error::InternalServerException(inner),
4241            crate::operation::untag_resource::UntagResourceError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
4242            crate::operation::untag_resource::UntagResourceError::ThrottlingException(inner) => Error::ThrottlingException(inner),
4243            crate::operation::untag_resource::UntagResourceError::ValidationException(inner) => Error::ValidationException(inner),
4244            crate::operation::untag_resource::UntagResourceError::Unhandled(inner) => Error::Unhandled(inner),
4245        }
4246    }
4247}
4248impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_agent_runtime::UpdateAgentRuntimeError, R>> for Error
4249where
4250    R: Send + Sync + std::fmt::Debug + 'static,
4251{
4252    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_agent_runtime::UpdateAgentRuntimeError, R>) -> Self {
4253        match err {
4254            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4255            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4256                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4257                source: err.into(),
4258            }),
4259        }
4260    }
4261}
4262impl From<crate::operation::update_agent_runtime::UpdateAgentRuntimeError> for Error {
4263    fn from(err: crate::operation::update_agent_runtime::UpdateAgentRuntimeError) -> Self {
4264        match err {
4265            crate::operation::update_agent_runtime::UpdateAgentRuntimeError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
4266            crate::operation::update_agent_runtime::UpdateAgentRuntimeError::ConflictException(inner) => Error::ConflictException(inner),
4267            crate::operation::update_agent_runtime::UpdateAgentRuntimeError::InternalServerException(inner) => Error::InternalServerException(inner),
4268            crate::operation::update_agent_runtime::UpdateAgentRuntimeError::ResourceNotFoundException(inner) => {
4269                Error::ResourceNotFoundException(inner)
4270            }
4271            crate::operation::update_agent_runtime::UpdateAgentRuntimeError::ServiceQuotaExceededException(inner) => {
4272                Error::ServiceQuotaExceededException(inner)
4273            }
4274            crate::operation::update_agent_runtime::UpdateAgentRuntimeError::ThrottlingException(inner) => Error::ThrottlingException(inner),
4275            crate::operation::update_agent_runtime::UpdateAgentRuntimeError::ValidationException(inner) => Error::ValidationException(inner),
4276            crate::operation::update_agent_runtime::UpdateAgentRuntimeError::Unhandled(inner) => Error::Unhandled(inner),
4277        }
4278    }
4279}
4280impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_agent_runtime_endpoint::UpdateAgentRuntimeEndpointError, R>>
4281    for Error
4282where
4283    R: Send + Sync + std::fmt::Debug + 'static,
4284{
4285    fn from(
4286        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_agent_runtime_endpoint::UpdateAgentRuntimeEndpointError, R>,
4287    ) -> Self {
4288        match err {
4289            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4290            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4291                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4292                source: err.into(),
4293            }),
4294        }
4295    }
4296}
4297impl From<crate::operation::update_agent_runtime_endpoint::UpdateAgentRuntimeEndpointError> for Error {
4298    fn from(err: crate::operation::update_agent_runtime_endpoint::UpdateAgentRuntimeEndpointError) -> Self {
4299        match err {
4300            crate::operation::update_agent_runtime_endpoint::UpdateAgentRuntimeEndpointError::AccessDeniedException(inner) => {
4301                Error::AccessDeniedException(inner)
4302            }
4303            crate::operation::update_agent_runtime_endpoint::UpdateAgentRuntimeEndpointError::ConflictException(inner) => {
4304                Error::ConflictException(inner)
4305            }
4306            crate::operation::update_agent_runtime_endpoint::UpdateAgentRuntimeEndpointError::InternalServerException(inner) => {
4307                Error::InternalServerException(inner)
4308            }
4309            crate::operation::update_agent_runtime_endpoint::UpdateAgentRuntimeEndpointError::ResourceNotFoundException(inner) => {
4310                Error::ResourceNotFoundException(inner)
4311            }
4312            crate::operation::update_agent_runtime_endpoint::UpdateAgentRuntimeEndpointError::ServiceQuotaExceededException(inner) => {
4313                Error::ServiceQuotaExceededException(inner)
4314            }
4315            crate::operation::update_agent_runtime_endpoint::UpdateAgentRuntimeEndpointError::ThrottlingException(inner) => {
4316                Error::ThrottlingException(inner)
4317            }
4318            crate::operation::update_agent_runtime_endpoint::UpdateAgentRuntimeEndpointError::ValidationException(inner) => {
4319                Error::ValidationException(inner)
4320            }
4321            crate::operation::update_agent_runtime_endpoint::UpdateAgentRuntimeEndpointError::Unhandled(inner) => Error::Unhandled(inner),
4322        }
4323    }
4324}
4325impl<R>
4326    From<
4327        ::aws_smithy_runtime_api::client::result::SdkError<
4328            crate::operation::update_api_key_credential_provider::UpdateApiKeyCredentialProviderError,
4329            R,
4330        >,
4331    > for Error
4332where
4333    R: Send + Sync + std::fmt::Debug + 'static,
4334{
4335    fn from(
4336        err: ::aws_smithy_runtime_api::client::result::SdkError<
4337            crate::operation::update_api_key_credential_provider::UpdateApiKeyCredentialProviderError,
4338            R,
4339        >,
4340    ) -> Self {
4341        match err {
4342            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4343            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4344                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4345                source: err.into(),
4346            }),
4347        }
4348    }
4349}
4350impl From<crate::operation::update_api_key_credential_provider::UpdateApiKeyCredentialProviderError> for Error {
4351    fn from(err: crate::operation::update_api_key_credential_provider::UpdateApiKeyCredentialProviderError) -> Self {
4352        match err {
4353            crate::operation::update_api_key_credential_provider::UpdateApiKeyCredentialProviderError::AccessDeniedException(inner) => {
4354                Error::AccessDeniedException(inner)
4355            }
4356            crate::operation::update_api_key_credential_provider::UpdateApiKeyCredentialProviderError::ConflictException(inner) => {
4357                Error::ConflictException(inner)
4358            }
4359            crate::operation::update_api_key_credential_provider::UpdateApiKeyCredentialProviderError::DecryptionFailure(inner) => {
4360                Error::DecryptionFailure(inner)
4361            }
4362            crate::operation::update_api_key_credential_provider::UpdateApiKeyCredentialProviderError::EncryptionFailure(inner) => {
4363                Error::EncryptionFailure(inner)
4364            }
4365            crate::operation::update_api_key_credential_provider::UpdateApiKeyCredentialProviderError::InternalServerException(inner) => {
4366                Error::InternalServerException(inner)
4367            }
4368            crate::operation::update_api_key_credential_provider::UpdateApiKeyCredentialProviderError::ResourceNotFoundException(inner) => {
4369                Error::ResourceNotFoundException(inner)
4370            }
4371            crate::operation::update_api_key_credential_provider::UpdateApiKeyCredentialProviderError::ServiceQuotaExceededException(inner) => {
4372                Error::ServiceQuotaExceededException(inner)
4373            }
4374            crate::operation::update_api_key_credential_provider::UpdateApiKeyCredentialProviderError::ThrottlingException(inner) => {
4375                Error::ThrottlingException(inner)
4376            }
4377            crate::operation::update_api_key_credential_provider::UpdateApiKeyCredentialProviderError::UnauthorizedException(inner) => {
4378                Error::UnauthorizedException(inner)
4379            }
4380            crate::operation::update_api_key_credential_provider::UpdateApiKeyCredentialProviderError::ValidationException(inner) => {
4381                Error::ValidationException(inner)
4382            }
4383            crate::operation::update_api_key_credential_provider::UpdateApiKeyCredentialProviderError::Unhandled(inner) => Error::Unhandled(inner),
4384        }
4385    }
4386}
4387impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_configuration_bundle::UpdateConfigurationBundleError, R>>
4388    for Error
4389where
4390    R: Send + Sync + std::fmt::Debug + 'static,
4391{
4392    fn from(
4393        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_configuration_bundle::UpdateConfigurationBundleError, R>,
4394    ) -> Self {
4395        match err {
4396            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4397            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4398                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4399                source: err.into(),
4400            }),
4401        }
4402    }
4403}
4404impl From<crate::operation::update_configuration_bundle::UpdateConfigurationBundleError> for Error {
4405    fn from(err: crate::operation::update_configuration_bundle::UpdateConfigurationBundleError) -> Self {
4406        match err {
4407            crate::operation::update_configuration_bundle::UpdateConfigurationBundleError::AccessDeniedException(inner) => {
4408                Error::AccessDeniedException(inner)
4409            }
4410            crate::operation::update_configuration_bundle::UpdateConfigurationBundleError::ConflictException(inner) => {
4411                Error::ConflictException(inner)
4412            }
4413            crate::operation::update_configuration_bundle::UpdateConfigurationBundleError::InternalServerException(inner) => {
4414                Error::InternalServerException(inner)
4415            }
4416            crate::operation::update_configuration_bundle::UpdateConfigurationBundleError::ResourceNotFoundException(inner) => {
4417                Error::ResourceNotFoundException(inner)
4418            }
4419            crate::operation::update_configuration_bundle::UpdateConfigurationBundleError::ThrottlingException(inner) => {
4420                Error::ThrottlingException(inner)
4421            }
4422            crate::operation::update_configuration_bundle::UpdateConfigurationBundleError::ValidationException(inner) => {
4423                Error::ValidationException(inner)
4424            }
4425            crate::operation::update_configuration_bundle::UpdateConfigurationBundleError::Unhandled(inner) => Error::Unhandled(inner),
4426        }
4427    }
4428}
4429impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_dataset::UpdateDatasetError, R>> for Error
4430where
4431    R: Send + Sync + std::fmt::Debug + 'static,
4432{
4433    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_dataset::UpdateDatasetError, R>) -> Self {
4434        match err {
4435            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4436            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4437                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4438                source: err.into(),
4439            }),
4440        }
4441    }
4442}
4443impl From<crate::operation::update_dataset::UpdateDatasetError> for Error {
4444    fn from(err: crate::operation::update_dataset::UpdateDatasetError) -> Self {
4445        match err {
4446            crate::operation::update_dataset::UpdateDatasetError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
4447            crate::operation::update_dataset::UpdateDatasetError::ConflictException(inner) => Error::ConflictException(inner),
4448            crate::operation::update_dataset::UpdateDatasetError::InternalServerException(inner) => Error::InternalServerException(inner),
4449            crate::operation::update_dataset::UpdateDatasetError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
4450            crate::operation::update_dataset::UpdateDatasetError::ThrottlingException(inner) => Error::ThrottlingException(inner),
4451            crate::operation::update_dataset::UpdateDatasetError::ValidationException(inner) => Error::ValidationException(inner),
4452            crate::operation::update_dataset::UpdateDatasetError::Unhandled(inner) => Error::Unhandled(inner),
4453        }
4454    }
4455}
4456impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_dataset_examples::UpdateDatasetExamplesError, R>> for Error
4457where
4458    R: Send + Sync + std::fmt::Debug + 'static,
4459{
4460    fn from(
4461        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_dataset_examples::UpdateDatasetExamplesError, R>,
4462    ) -> Self {
4463        match err {
4464            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4465            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4466                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4467                source: err.into(),
4468            }),
4469        }
4470    }
4471}
4472impl From<crate::operation::update_dataset_examples::UpdateDatasetExamplesError> for Error {
4473    fn from(err: crate::operation::update_dataset_examples::UpdateDatasetExamplesError) -> Self {
4474        match err {
4475            crate::operation::update_dataset_examples::UpdateDatasetExamplesError::AccessDeniedException(inner) => {
4476                Error::AccessDeniedException(inner)
4477            }
4478            crate::operation::update_dataset_examples::UpdateDatasetExamplesError::ConflictException(inner) => Error::ConflictException(inner),
4479            crate::operation::update_dataset_examples::UpdateDatasetExamplesError::InternalServerException(inner) => {
4480                Error::InternalServerException(inner)
4481            }
4482            crate::operation::update_dataset_examples::UpdateDatasetExamplesError::ResourceNotFoundException(inner) => {
4483                Error::ResourceNotFoundException(inner)
4484            }
4485            crate::operation::update_dataset_examples::UpdateDatasetExamplesError::ServiceQuotaExceededException(inner) => {
4486                Error::ServiceQuotaExceededException(inner)
4487            }
4488            crate::operation::update_dataset_examples::UpdateDatasetExamplesError::ThrottlingException(inner) => Error::ThrottlingException(inner),
4489            crate::operation::update_dataset_examples::UpdateDatasetExamplesError::ValidationException(inner) => Error::ValidationException(inner),
4490            crate::operation::update_dataset_examples::UpdateDatasetExamplesError::Unhandled(inner) => Error::Unhandled(inner),
4491        }
4492    }
4493}
4494impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_evaluator::UpdateEvaluatorError, R>> for Error
4495where
4496    R: Send + Sync + std::fmt::Debug + 'static,
4497{
4498    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_evaluator::UpdateEvaluatorError, R>) -> Self {
4499        match err {
4500            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4501            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4502                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4503                source: err.into(),
4504            }),
4505        }
4506    }
4507}
4508impl From<crate::operation::update_evaluator::UpdateEvaluatorError> for Error {
4509    fn from(err: crate::operation::update_evaluator::UpdateEvaluatorError) -> Self {
4510        match err {
4511            crate::operation::update_evaluator::UpdateEvaluatorError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
4512            crate::operation::update_evaluator::UpdateEvaluatorError::ConflictException(inner) => Error::ConflictException(inner),
4513            crate::operation::update_evaluator::UpdateEvaluatorError::InternalServerException(inner) => Error::InternalServerException(inner),
4514            crate::operation::update_evaluator::UpdateEvaluatorError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
4515            crate::operation::update_evaluator::UpdateEvaluatorError::ServiceQuotaExceededException(inner) => {
4516                Error::ServiceQuotaExceededException(inner)
4517            }
4518            crate::operation::update_evaluator::UpdateEvaluatorError::ThrottlingException(inner) => Error::ThrottlingException(inner),
4519            crate::operation::update_evaluator::UpdateEvaluatorError::ValidationException(inner) => Error::ValidationException(inner),
4520            crate::operation::update_evaluator::UpdateEvaluatorError::Unhandled(inner) => Error::Unhandled(inner),
4521        }
4522    }
4523}
4524impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_gateway::UpdateGatewayError, R>> for Error
4525where
4526    R: Send + Sync + std::fmt::Debug + 'static,
4527{
4528    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_gateway::UpdateGatewayError, R>) -> Self {
4529        match err {
4530            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4531            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4532                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4533                source: err.into(),
4534            }),
4535        }
4536    }
4537}
4538impl From<crate::operation::update_gateway::UpdateGatewayError> for Error {
4539    fn from(err: crate::operation::update_gateway::UpdateGatewayError) -> Self {
4540        match err {
4541            crate::operation::update_gateway::UpdateGatewayError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
4542            crate::operation::update_gateway::UpdateGatewayError::ConflictException(inner) => Error::ConflictException(inner),
4543            crate::operation::update_gateway::UpdateGatewayError::InternalServerException(inner) => Error::InternalServerException(inner),
4544            crate::operation::update_gateway::UpdateGatewayError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
4545            crate::operation::update_gateway::UpdateGatewayError::ServiceQuotaExceededException(inner) => Error::ServiceQuotaExceededException(inner),
4546            crate::operation::update_gateway::UpdateGatewayError::ThrottlingException(inner) => Error::ThrottlingException(inner),
4547            crate::operation::update_gateway::UpdateGatewayError::ValidationException(inner) => Error::ValidationException(inner),
4548            crate::operation::update_gateway::UpdateGatewayError::Unhandled(inner) => Error::Unhandled(inner),
4549        }
4550    }
4551}
4552impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_gateway_rule::UpdateGatewayRuleError, R>> for Error
4553where
4554    R: Send + Sync + std::fmt::Debug + 'static,
4555{
4556    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_gateway_rule::UpdateGatewayRuleError, R>) -> Self {
4557        match err {
4558            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4559            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4560                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4561                source: err.into(),
4562            }),
4563        }
4564    }
4565}
4566impl From<crate::operation::update_gateway_rule::UpdateGatewayRuleError> for Error {
4567    fn from(err: crate::operation::update_gateway_rule::UpdateGatewayRuleError) -> Self {
4568        match err {
4569            crate::operation::update_gateway_rule::UpdateGatewayRuleError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
4570            crate::operation::update_gateway_rule::UpdateGatewayRuleError::ConflictException(inner) => Error::ConflictException(inner),
4571            crate::operation::update_gateway_rule::UpdateGatewayRuleError::InternalServerException(inner) => Error::InternalServerException(inner),
4572            crate::operation::update_gateway_rule::UpdateGatewayRuleError::ResourceNotFoundException(inner) => {
4573                Error::ResourceNotFoundException(inner)
4574            }
4575            crate::operation::update_gateway_rule::UpdateGatewayRuleError::ThrottlingException(inner) => Error::ThrottlingException(inner),
4576            crate::operation::update_gateway_rule::UpdateGatewayRuleError::ValidationException(inner) => Error::ValidationException(inner),
4577            crate::operation::update_gateway_rule::UpdateGatewayRuleError::Unhandled(inner) => Error::Unhandled(inner),
4578        }
4579    }
4580}
4581impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_gateway_target::UpdateGatewayTargetError, R>> for Error
4582where
4583    R: Send + Sync + std::fmt::Debug + 'static,
4584{
4585    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_gateway_target::UpdateGatewayTargetError, R>) -> Self {
4586        match err {
4587            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4588            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4589                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4590                source: err.into(),
4591            }),
4592        }
4593    }
4594}
4595impl From<crate::operation::update_gateway_target::UpdateGatewayTargetError> for Error {
4596    fn from(err: crate::operation::update_gateway_target::UpdateGatewayTargetError) -> Self {
4597        match err {
4598            crate::operation::update_gateway_target::UpdateGatewayTargetError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
4599            crate::operation::update_gateway_target::UpdateGatewayTargetError::ConflictException(inner) => Error::ConflictException(inner),
4600            crate::operation::update_gateway_target::UpdateGatewayTargetError::InternalServerException(inner) => {
4601                Error::InternalServerException(inner)
4602            }
4603            crate::operation::update_gateway_target::UpdateGatewayTargetError::ResourceNotFoundException(inner) => {
4604                Error::ResourceNotFoundException(inner)
4605            }
4606            crate::operation::update_gateway_target::UpdateGatewayTargetError::ServiceQuotaExceededException(inner) => {
4607                Error::ServiceQuotaExceededException(inner)
4608            }
4609            crate::operation::update_gateway_target::UpdateGatewayTargetError::ThrottlingException(inner) => Error::ThrottlingException(inner),
4610            crate::operation::update_gateway_target::UpdateGatewayTargetError::ValidationException(inner) => Error::ValidationException(inner),
4611            crate::operation::update_gateway_target::UpdateGatewayTargetError::Unhandled(inner) => Error::Unhandled(inner),
4612        }
4613    }
4614}
4615impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_harness::UpdateHarnessError, R>> for Error
4616where
4617    R: Send + Sync + std::fmt::Debug + 'static,
4618{
4619    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_harness::UpdateHarnessError, R>) -> Self {
4620        match err {
4621            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4622            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4623                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4624                source: err.into(),
4625            }),
4626        }
4627    }
4628}
4629impl From<crate::operation::update_harness::UpdateHarnessError> for Error {
4630    fn from(err: crate::operation::update_harness::UpdateHarnessError) -> Self {
4631        match err {
4632            crate::operation::update_harness::UpdateHarnessError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
4633            crate::operation::update_harness::UpdateHarnessError::ConflictException(inner) => Error::ConflictException(inner),
4634            crate::operation::update_harness::UpdateHarnessError::InternalServerException(inner) => Error::InternalServerException(inner),
4635            crate::operation::update_harness::UpdateHarnessError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
4636            crate::operation::update_harness::UpdateHarnessError::ThrottlingException(inner) => Error::ThrottlingException(inner),
4637            crate::operation::update_harness::UpdateHarnessError::ValidationException(inner) => Error::ValidationException(inner),
4638            crate::operation::update_harness::UpdateHarnessError::Unhandled(inner) => Error::Unhandled(inner),
4639        }
4640    }
4641}
4642impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_memory::UpdateMemoryError, R>> for Error
4643where
4644    R: Send + Sync + std::fmt::Debug + 'static,
4645{
4646    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_memory::UpdateMemoryError, R>) -> Self {
4647        match err {
4648            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4649            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4650                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4651                source: err.into(),
4652            }),
4653        }
4654    }
4655}
4656impl From<crate::operation::update_memory::UpdateMemoryError> for Error {
4657    fn from(err: crate::operation::update_memory::UpdateMemoryError) -> Self {
4658        match err {
4659            crate::operation::update_memory::UpdateMemoryError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
4660            crate::operation::update_memory::UpdateMemoryError::ConflictException(inner) => Error::ConflictException(inner),
4661            crate::operation::update_memory::UpdateMemoryError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
4662            crate::operation::update_memory::UpdateMemoryError::ServiceException(inner) => Error::ServiceException(inner),
4663            crate::operation::update_memory::UpdateMemoryError::ServiceQuotaExceededException(inner) => Error::ServiceQuotaExceededException(inner),
4664            crate::operation::update_memory::UpdateMemoryError::ThrottledException(inner) => Error::ThrottledException(inner),
4665            crate::operation::update_memory::UpdateMemoryError::ValidationException(inner) => Error::ValidationException(inner),
4666            crate::operation::update_memory::UpdateMemoryError::Unhandled(inner) => Error::Unhandled(inner),
4667        }
4668    }
4669}
4670impl<R>
4671    From<
4672        ::aws_smithy_runtime_api::client::result::SdkError<
4673            crate::operation::update_oauth2_credential_provider::UpdateOauth2CredentialProviderError,
4674            R,
4675        >,
4676    > for Error
4677where
4678    R: Send + Sync + std::fmt::Debug + 'static,
4679{
4680    fn from(
4681        err: ::aws_smithy_runtime_api::client::result::SdkError<
4682            crate::operation::update_oauth2_credential_provider::UpdateOauth2CredentialProviderError,
4683            R,
4684        >,
4685    ) -> Self {
4686        match err {
4687            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4688            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4689                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4690                source: err.into(),
4691            }),
4692        }
4693    }
4694}
4695impl From<crate::operation::update_oauth2_credential_provider::UpdateOauth2CredentialProviderError> for Error {
4696    fn from(err: crate::operation::update_oauth2_credential_provider::UpdateOauth2CredentialProviderError) -> Self {
4697        match err {
4698            crate::operation::update_oauth2_credential_provider::UpdateOauth2CredentialProviderError::AccessDeniedException(inner) => {
4699                Error::AccessDeniedException(inner)
4700            }
4701            crate::operation::update_oauth2_credential_provider::UpdateOauth2CredentialProviderError::ConflictException(inner) => {
4702                Error::ConflictException(inner)
4703            }
4704            crate::operation::update_oauth2_credential_provider::UpdateOauth2CredentialProviderError::DecryptionFailure(inner) => {
4705                Error::DecryptionFailure(inner)
4706            }
4707            crate::operation::update_oauth2_credential_provider::UpdateOauth2CredentialProviderError::EncryptionFailure(inner) => {
4708                Error::EncryptionFailure(inner)
4709            }
4710            crate::operation::update_oauth2_credential_provider::UpdateOauth2CredentialProviderError::InternalServerException(inner) => {
4711                Error::InternalServerException(inner)
4712            }
4713            crate::operation::update_oauth2_credential_provider::UpdateOauth2CredentialProviderError::ResourceNotFoundException(inner) => {
4714                Error::ResourceNotFoundException(inner)
4715            }
4716            crate::operation::update_oauth2_credential_provider::UpdateOauth2CredentialProviderError::ServiceQuotaExceededException(inner) => {
4717                Error::ServiceQuotaExceededException(inner)
4718            }
4719            crate::operation::update_oauth2_credential_provider::UpdateOauth2CredentialProviderError::ThrottlingException(inner) => {
4720                Error::ThrottlingException(inner)
4721            }
4722            crate::operation::update_oauth2_credential_provider::UpdateOauth2CredentialProviderError::UnauthorizedException(inner) => {
4723                Error::UnauthorizedException(inner)
4724            }
4725            crate::operation::update_oauth2_credential_provider::UpdateOauth2CredentialProviderError::ValidationException(inner) => {
4726                Error::ValidationException(inner)
4727            }
4728            crate::operation::update_oauth2_credential_provider::UpdateOauth2CredentialProviderError::Unhandled(inner) => Error::Unhandled(inner),
4729        }
4730    }
4731}
4732impl<R>
4733    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_online_evaluation_config::UpdateOnlineEvaluationConfigError, R>>
4734    for Error
4735where
4736    R: Send + Sync + std::fmt::Debug + 'static,
4737{
4738    fn from(
4739        err: ::aws_smithy_runtime_api::client::result::SdkError<
4740            crate::operation::update_online_evaluation_config::UpdateOnlineEvaluationConfigError,
4741            R,
4742        >,
4743    ) -> Self {
4744        match err {
4745            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4746            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4747                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4748                source: err.into(),
4749            }),
4750        }
4751    }
4752}
4753impl From<crate::operation::update_online_evaluation_config::UpdateOnlineEvaluationConfigError> for Error {
4754    fn from(err: crate::operation::update_online_evaluation_config::UpdateOnlineEvaluationConfigError) -> Self {
4755        match err {
4756            crate::operation::update_online_evaluation_config::UpdateOnlineEvaluationConfigError::AccessDeniedException(inner) => {
4757                Error::AccessDeniedException(inner)
4758            }
4759            crate::operation::update_online_evaluation_config::UpdateOnlineEvaluationConfigError::ConflictException(inner) => {
4760                Error::ConflictException(inner)
4761            }
4762            crate::operation::update_online_evaluation_config::UpdateOnlineEvaluationConfigError::InternalServerException(inner) => {
4763                Error::InternalServerException(inner)
4764            }
4765            crate::operation::update_online_evaluation_config::UpdateOnlineEvaluationConfigError::ResourceNotFoundException(inner) => {
4766                Error::ResourceNotFoundException(inner)
4767            }
4768            crate::operation::update_online_evaluation_config::UpdateOnlineEvaluationConfigError::ServiceQuotaExceededException(inner) => {
4769                Error::ServiceQuotaExceededException(inner)
4770            }
4771            crate::operation::update_online_evaluation_config::UpdateOnlineEvaluationConfigError::ThrottlingException(inner) => {
4772                Error::ThrottlingException(inner)
4773            }
4774            crate::operation::update_online_evaluation_config::UpdateOnlineEvaluationConfigError::ValidationException(inner) => {
4775                Error::ValidationException(inner)
4776            }
4777            crate::operation::update_online_evaluation_config::UpdateOnlineEvaluationConfigError::Unhandled(inner) => Error::Unhandled(inner),
4778        }
4779    }
4780}
4781impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_payment_connector::UpdatePaymentConnectorError, R>> for Error
4782where
4783    R: Send + Sync + std::fmt::Debug + 'static,
4784{
4785    fn from(
4786        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_payment_connector::UpdatePaymentConnectorError, R>,
4787    ) -> Self {
4788        match err {
4789            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4790            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4791                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4792                source: err.into(),
4793            }),
4794        }
4795    }
4796}
4797impl From<crate::operation::update_payment_connector::UpdatePaymentConnectorError> for Error {
4798    fn from(err: crate::operation::update_payment_connector::UpdatePaymentConnectorError) -> Self {
4799        match err {
4800            crate::operation::update_payment_connector::UpdatePaymentConnectorError::AccessDeniedException(inner) => {
4801                Error::AccessDeniedException(inner)
4802            }
4803            crate::operation::update_payment_connector::UpdatePaymentConnectorError::ConflictException(inner) => Error::ConflictException(inner),
4804            crate::operation::update_payment_connector::UpdatePaymentConnectorError::InternalServerException(inner) => {
4805                Error::InternalServerException(inner)
4806            }
4807            crate::operation::update_payment_connector::UpdatePaymentConnectorError::ResourceNotFoundException(inner) => {
4808                Error::ResourceNotFoundException(inner)
4809            }
4810            crate::operation::update_payment_connector::UpdatePaymentConnectorError::ServiceQuotaExceededException(inner) => {
4811                Error::ServiceQuotaExceededException(inner)
4812            }
4813            crate::operation::update_payment_connector::UpdatePaymentConnectorError::ThrottlingException(inner) => Error::ThrottlingException(inner),
4814            crate::operation::update_payment_connector::UpdatePaymentConnectorError::ValidationException(inner) => Error::ValidationException(inner),
4815            crate::operation::update_payment_connector::UpdatePaymentConnectorError::Unhandled(inner) => Error::Unhandled(inner),
4816        }
4817    }
4818}
4819impl<R>
4820    From<
4821        ::aws_smithy_runtime_api::client::result::SdkError<
4822            crate::operation::update_payment_credential_provider::UpdatePaymentCredentialProviderError,
4823            R,
4824        >,
4825    > for Error
4826where
4827    R: Send + Sync + std::fmt::Debug + 'static,
4828{
4829    fn from(
4830        err: ::aws_smithy_runtime_api::client::result::SdkError<
4831            crate::operation::update_payment_credential_provider::UpdatePaymentCredentialProviderError,
4832            R,
4833        >,
4834    ) -> Self {
4835        match err {
4836            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4837            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4838                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4839                source: err.into(),
4840            }),
4841        }
4842    }
4843}
4844impl From<crate::operation::update_payment_credential_provider::UpdatePaymentCredentialProviderError> for Error {
4845    fn from(err: crate::operation::update_payment_credential_provider::UpdatePaymentCredentialProviderError) -> Self {
4846        match err {
4847            crate::operation::update_payment_credential_provider::UpdatePaymentCredentialProviderError::AccessDeniedException(inner) => {
4848                Error::AccessDeniedException(inner)
4849            }
4850            crate::operation::update_payment_credential_provider::UpdatePaymentCredentialProviderError::ConflictException(inner) => {
4851                Error::ConflictException(inner)
4852            }
4853            crate::operation::update_payment_credential_provider::UpdatePaymentCredentialProviderError::DecryptionFailure(inner) => {
4854                Error::DecryptionFailure(inner)
4855            }
4856            crate::operation::update_payment_credential_provider::UpdatePaymentCredentialProviderError::EncryptionFailure(inner) => {
4857                Error::EncryptionFailure(inner)
4858            }
4859            crate::operation::update_payment_credential_provider::UpdatePaymentCredentialProviderError::InternalServerException(inner) => {
4860                Error::InternalServerException(inner)
4861            }
4862            crate::operation::update_payment_credential_provider::UpdatePaymentCredentialProviderError::ResourceNotFoundException(inner) => {
4863                Error::ResourceNotFoundException(inner)
4864            }
4865            crate::operation::update_payment_credential_provider::UpdatePaymentCredentialProviderError::ServiceQuotaExceededException(inner) => {
4866                Error::ServiceQuotaExceededException(inner)
4867            }
4868            crate::operation::update_payment_credential_provider::UpdatePaymentCredentialProviderError::ThrottlingException(inner) => {
4869                Error::ThrottlingException(inner)
4870            }
4871            crate::operation::update_payment_credential_provider::UpdatePaymentCredentialProviderError::UnauthorizedException(inner) => {
4872                Error::UnauthorizedException(inner)
4873            }
4874            crate::operation::update_payment_credential_provider::UpdatePaymentCredentialProviderError::ValidationException(inner) => {
4875                Error::ValidationException(inner)
4876            }
4877            crate::operation::update_payment_credential_provider::UpdatePaymentCredentialProviderError::Unhandled(inner) => Error::Unhandled(inner),
4878        }
4879    }
4880}
4881impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_payment_manager::UpdatePaymentManagerError, R>> for Error
4882where
4883    R: Send + Sync + std::fmt::Debug + 'static,
4884{
4885    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_payment_manager::UpdatePaymentManagerError, R>) -> Self {
4886        match err {
4887            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4888            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4889                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4890                source: err.into(),
4891            }),
4892        }
4893    }
4894}
4895impl From<crate::operation::update_payment_manager::UpdatePaymentManagerError> for Error {
4896    fn from(err: crate::operation::update_payment_manager::UpdatePaymentManagerError) -> Self {
4897        match err {
4898            crate::operation::update_payment_manager::UpdatePaymentManagerError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
4899            crate::operation::update_payment_manager::UpdatePaymentManagerError::ConflictException(inner) => Error::ConflictException(inner),
4900            crate::operation::update_payment_manager::UpdatePaymentManagerError::InternalServerException(inner) => {
4901                Error::InternalServerException(inner)
4902            }
4903            crate::operation::update_payment_manager::UpdatePaymentManagerError::ResourceNotFoundException(inner) => {
4904                Error::ResourceNotFoundException(inner)
4905            }
4906            crate::operation::update_payment_manager::UpdatePaymentManagerError::ServiceQuotaExceededException(inner) => {
4907                Error::ServiceQuotaExceededException(inner)
4908            }
4909            crate::operation::update_payment_manager::UpdatePaymentManagerError::ThrottlingException(inner) => Error::ThrottlingException(inner),
4910            crate::operation::update_payment_manager::UpdatePaymentManagerError::ValidationException(inner) => Error::ValidationException(inner),
4911            crate::operation::update_payment_manager::UpdatePaymentManagerError::Unhandled(inner) => Error::Unhandled(inner),
4912        }
4913    }
4914}
4915impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_policy::UpdatePolicyError, R>> for Error
4916where
4917    R: Send + Sync + std::fmt::Debug + 'static,
4918{
4919    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_policy::UpdatePolicyError, R>) -> Self {
4920        match err {
4921            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4922            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4923                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4924                source: err.into(),
4925            }),
4926        }
4927    }
4928}
4929impl From<crate::operation::update_policy::UpdatePolicyError> for Error {
4930    fn from(err: crate::operation::update_policy::UpdatePolicyError) -> Self {
4931        match err {
4932            crate::operation::update_policy::UpdatePolicyError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
4933            crate::operation::update_policy::UpdatePolicyError::ConflictException(inner) => Error::ConflictException(inner),
4934            crate::operation::update_policy::UpdatePolicyError::InternalServerException(inner) => Error::InternalServerException(inner),
4935            crate::operation::update_policy::UpdatePolicyError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
4936            crate::operation::update_policy::UpdatePolicyError::ThrottlingException(inner) => Error::ThrottlingException(inner),
4937            crate::operation::update_policy::UpdatePolicyError::ValidationException(inner) => Error::ValidationException(inner),
4938            crate::operation::update_policy::UpdatePolicyError::Unhandled(inner) => Error::Unhandled(inner),
4939        }
4940    }
4941}
4942impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_policy_engine::UpdatePolicyEngineError, R>> for Error
4943where
4944    R: Send + Sync + std::fmt::Debug + 'static,
4945{
4946    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_policy_engine::UpdatePolicyEngineError, R>) -> Self {
4947        match err {
4948            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4949            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4950                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4951                source: err.into(),
4952            }),
4953        }
4954    }
4955}
4956impl From<crate::operation::update_policy_engine::UpdatePolicyEngineError> for Error {
4957    fn from(err: crate::operation::update_policy_engine::UpdatePolicyEngineError) -> Self {
4958        match err {
4959            crate::operation::update_policy_engine::UpdatePolicyEngineError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
4960            crate::operation::update_policy_engine::UpdatePolicyEngineError::ConflictException(inner) => Error::ConflictException(inner),
4961            crate::operation::update_policy_engine::UpdatePolicyEngineError::InternalServerException(inner) => Error::InternalServerException(inner),
4962            crate::operation::update_policy_engine::UpdatePolicyEngineError::ResourceNotFoundException(inner) => {
4963                Error::ResourceNotFoundException(inner)
4964            }
4965            crate::operation::update_policy_engine::UpdatePolicyEngineError::ThrottlingException(inner) => Error::ThrottlingException(inner),
4966            crate::operation::update_policy_engine::UpdatePolicyEngineError::ValidationException(inner) => Error::ValidationException(inner),
4967            crate::operation::update_policy_engine::UpdatePolicyEngineError::Unhandled(inner) => Error::Unhandled(inner),
4968        }
4969    }
4970}
4971impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_registry::UpdateRegistryError, R>> for Error
4972where
4973    R: Send + Sync + std::fmt::Debug + 'static,
4974{
4975    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_registry::UpdateRegistryError, R>) -> Self {
4976        match err {
4977            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4978            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4979                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4980                source: err.into(),
4981            }),
4982        }
4983    }
4984}
4985impl From<crate::operation::update_registry::UpdateRegistryError> for Error {
4986    fn from(err: crate::operation::update_registry::UpdateRegistryError) -> Self {
4987        match err {
4988            crate::operation::update_registry::UpdateRegistryError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
4989            crate::operation::update_registry::UpdateRegistryError::ConflictException(inner) => Error::ConflictException(inner),
4990            crate::operation::update_registry::UpdateRegistryError::InternalServerException(inner) => Error::InternalServerException(inner),
4991            crate::operation::update_registry::UpdateRegistryError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
4992            crate::operation::update_registry::UpdateRegistryError::ServiceQuotaExceededException(inner) => {
4993                Error::ServiceQuotaExceededException(inner)
4994            }
4995            crate::operation::update_registry::UpdateRegistryError::ThrottlingException(inner) => Error::ThrottlingException(inner),
4996            crate::operation::update_registry::UpdateRegistryError::ValidationException(inner) => Error::ValidationException(inner),
4997            crate::operation::update_registry::UpdateRegistryError::Unhandled(inner) => Error::Unhandled(inner),
4998        }
4999    }
5000}
5001impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_registry_record::UpdateRegistryRecordError, R>> for Error
5002where
5003    R: Send + Sync + std::fmt::Debug + 'static,
5004{
5005    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_registry_record::UpdateRegistryRecordError, R>) -> Self {
5006        match err {
5007            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5008            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5009                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5010                source: err.into(),
5011            }),
5012        }
5013    }
5014}
5015impl From<crate::operation::update_registry_record::UpdateRegistryRecordError> for Error {
5016    fn from(err: crate::operation::update_registry_record::UpdateRegistryRecordError) -> Self {
5017        match err {
5018            crate::operation::update_registry_record::UpdateRegistryRecordError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
5019            crate::operation::update_registry_record::UpdateRegistryRecordError::ConflictException(inner) => Error::ConflictException(inner),
5020            crate::operation::update_registry_record::UpdateRegistryRecordError::InternalServerException(inner) => {
5021                Error::InternalServerException(inner)
5022            }
5023            crate::operation::update_registry_record::UpdateRegistryRecordError::ResourceNotFoundException(inner) => {
5024                Error::ResourceNotFoundException(inner)
5025            }
5026            crate::operation::update_registry_record::UpdateRegistryRecordError::ThrottlingException(inner) => Error::ThrottlingException(inner),
5027            crate::operation::update_registry_record::UpdateRegistryRecordError::ValidationException(inner) => Error::ValidationException(inner),
5028            crate::operation::update_registry_record::UpdateRegistryRecordError::Unhandled(inner) => Error::Unhandled(inner),
5029        }
5030    }
5031}
5032impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_registry_record_status::UpdateRegistryRecordStatusError, R>>
5033    for Error
5034where
5035    R: Send + Sync + std::fmt::Debug + 'static,
5036{
5037    fn from(
5038        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_registry_record_status::UpdateRegistryRecordStatusError, R>,
5039    ) -> Self {
5040        match err {
5041            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5042            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5043                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5044                source: err.into(),
5045            }),
5046        }
5047    }
5048}
5049impl From<crate::operation::update_registry_record_status::UpdateRegistryRecordStatusError> for Error {
5050    fn from(err: crate::operation::update_registry_record_status::UpdateRegistryRecordStatusError) -> Self {
5051        match err {
5052            crate::operation::update_registry_record_status::UpdateRegistryRecordStatusError::AccessDeniedException(inner) => {
5053                Error::AccessDeniedException(inner)
5054            }
5055            crate::operation::update_registry_record_status::UpdateRegistryRecordStatusError::ConflictException(inner) => {
5056                Error::ConflictException(inner)
5057            }
5058            crate::operation::update_registry_record_status::UpdateRegistryRecordStatusError::InternalServerException(inner) => {
5059                Error::InternalServerException(inner)
5060            }
5061            crate::operation::update_registry_record_status::UpdateRegistryRecordStatusError::ResourceNotFoundException(inner) => {
5062                Error::ResourceNotFoundException(inner)
5063            }
5064            crate::operation::update_registry_record_status::UpdateRegistryRecordStatusError::ThrottlingException(inner) => {
5065                Error::ThrottlingException(inner)
5066            }
5067            crate::operation::update_registry_record_status::UpdateRegistryRecordStatusError::ValidationException(inner) => {
5068                Error::ValidationException(inner)
5069            }
5070            crate::operation::update_registry_record_status::UpdateRegistryRecordStatusError::Unhandled(inner) => Error::Unhandled(inner),
5071        }
5072    }
5073}
5074impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_workload_identity::UpdateWorkloadIdentityError, R>> for Error
5075where
5076    R: Send + Sync + std::fmt::Debug + 'static,
5077{
5078    fn from(
5079        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_workload_identity::UpdateWorkloadIdentityError, R>,
5080    ) -> Self {
5081        match err {
5082            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5083            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5084                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5085                source: err.into(),
5086            }),
5087        }
5088    }
5089}
5090impl From<crate::operation::update_workload_identity::UpdateWorkloadIdentityError> for Error {
5091    fn from(err: crate::operation::update_workload_identity::UpdateWorkloadIdentityError) -> Self {
5092        match err {
5093            crate::operation::update_workload_identity::UpdateWorkloadIdentityError::AccessDeniedException(inner) => {
5094                Error::AccessDeniedException(inner)
5095            }
5096            crate::operation::update_workload_identity::UpdateWorkloadIdentityError::InternalServerException(inner) => {
5097                Error::InternalServerException(inner)
5098            }
5099            crate::operation::update_workload_identity::UpdateWorkloadIdentityError::ResourceNotFoundException(inner) => {
5100                Error::ResourceNotFoundException(inner)
5101            }
5102            crate::operation::update_workload_identity::UpdateWorkloadIdentityError::ThrottlingException(inner) => Error::ThrottlingException(inner),
5103            crate::operation::update_workload_identity::UpdateWorkloadIdentityError::UnauthorizedException(inner) => {
5104                Error::UnauthorizedException(inner)
5105            }
5106            crate::operation::update_workload_identity::UpdateWorkloadIdentityError::ValidationException(inner) => Error::ValidationException(inner),
5107            crate::operation::update_workload_identity::UpdateWorkloadIdentityError::Unhandled(inner) => Error::Unhandled(inner),
5108        }
5109    }
5110}
5111impl<O, E> ::std::convert::From<::aws_smithy_runtime_api::client::waiters::error::WaiterError<O, E>> for Error
5112where
5113    O: ::std::fmt::Debug + ::std::marker::Send + ::std::marker::Sync + 'static,
5114    E: ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static,
5115{
5116    fn from(err: ::aws_smithy_runtime_api::client::waiters::error::WaiterError<O, E>) -> Self {
5117        Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5118            meta: ::std::default::Default::default(),
5119            source: err.into(),
5120        })
5121    }
5122}
5123impl ::std::error::Error for Error {
5124    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
5125        match self {
5126            Error::AccessDeniedException(inner) => inner.source(),
5127            Error::ConcurrentModificationException(inner) => inner.source(),
5128            Error::ConflictException(inner) => inner.source(),
5129            Error::DecryptionFailure(inner) => inner.source(),
5130            Error::EncryptionFailure(inner) => inner.source(),
5131            Error::InternalServerException(inner) => inner.source(),
5132            Error::ResourceLimitExceededException(inner) => inner.source(),
5133            Error::ResourceNotFoundException(inner) => inner.source(),
5134            Error::ServiceException(inner) => inner.source(),
5135            Error::ServiceQuotaExceededException(inner) => inner.source(),
5136            Error::ThrottledException(inner) => inner.source(),
5137            Error::ThrottlingException(inner) => inner.source(),
5138            Error::UnauthorizedException(inner) => inner.source(),
5139            Error::ValidationException(inner) => inner.source(),
5140            Error::Unhandled(inner) => ::std::option::Option::Some(&*inner.source),
5141        }
5142    }
5143}
5144impl ::aws_types::request_id::RequestId for Error {
5145    fn request_id(&self) -> Option<&str> {
5146        match self {
5147            Self::AccessDeniedException(e) => e.request_id(),
5148            Self::ConcurrentModificationException(e) => e.request_id(),
5149            Self::ConflictException(e) => e.request_id(),
5150            Self::DecryptionFailure(e) => e.request_id(),
5151            Self::EncryptionFailure(e) => e.request_id(),
5152            Self::InternalServerException(e) => e.request_id(),
5153            Self::ResourceLimitExceededException(e) => e.request_id(),
5154            Self::ResourceNotFoundException(e) => e.request_id(),
5155            Self::ServiceException(e) => e.request_id(),
5156            Self::ServiceQuotaExceededException(e) => e.request_id(),
5157            Self::ThrottledException(e) => e.request_id(),
5158            Self::ThrottlingException(e) => e.request_id(),
5159            Self::UnauthorizedException(e) => e.request_id(),
5160            Self::ValidationException(e) => e.request_id(),
5161            Self::Unhandled(e) => e.meta.request_id(),
5162        }
5163    }
5164}