aws_sdk_transfer/
error_meta.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2/// All possible error types for this service.
3#[non_exhaustive]
4#[derive(::std::fmt::Debug)]
5pub enum Error {
6    /// <p>You do not have sufficient access to perform this action.</p>
7    AccessDeniedException(crate::types::error::AccessDeniedException),
8    /// <p>This exception is thrown when the <code>UpdateServer</code> is called for a file transfer protocol-enabled server that has VPC as the endpoint type and the server's <code>VpcEndpointID</code> is not in the available state.</p>
9    ConflictException(crate::types::error::ConflictException),
10    /// <p>This exception is thrown when an error occurs in the Transfer Family service.</p>
11    InternalServiceError(crate::types::error::InternalServiceError),
12    /// <p>The <code>NextToken</code> parameter that was passed is invalid.</p>
13    InvalidNextTokenException(crate::types::error::InvalidNextTokenException),
14    /// <p>This exception is thrown when the client submits a malformed request.</p>
15    InvalidRequestException(crate::types::error::InvalidRequestException),
16    /// <p>The requested resource does not exist, or exists in a region other than the one specified for the command.</p>
17    ResourceExistsException(crate::types::error::ResourceExistsException),
18    /// <p>This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.</p>
19    ResourceNotFoundException(crate::types::error::ResourceNotFoundException),
20    /// <p>The request has failed because the Amazon Web ServicesTransfer Family service is not available.</p>
21    ServiceUnavailableException(crate::types::error::ServiceUnavailableException),
22    /// <p>The request was denied due to request throttling.</p>
23    ThrottlingException(crate::types::error::ThrottlingException),
24    /// An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
25    #[deprecated(note = "Matching `Unhandled` directly is not forwards compatible. Instead, match using a \
26    variable wildcard pattern and check `.code()`:
27     \
28    &nbsp;&nbsp;&nbsp;`err if err.code() == Some(\"SpecificExceptionCode\") => { /* handle the error */ }`
29     \
30    See [`ProvideErrorMetadata`](#impl-ProvideErrorMetadata-for-Error) for what information is available for the error.")]
31    Unhandled(crate::error::sealed_unhandled::Unhandled),
32}
33impl ::std::fmt::Display for Error {
34    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
35        match self {
36            Error::AccessDeniedException(inner) => inner.fmt(f),
37            Error::ConflictException(inner) => inner.fmt(f),
38            Error::InternalServiceError(inner) => inner.fmt(f),
39            Error::InvalidNextTokenException(inner) => inner.fmt(f),
40            Error::InvalidRequestException(inner) => inner.fmt(f),
41            Error::ResourceExistsException(inner) => inner.fmt(f),
42            Error::ResourceNotFoundException(inner) => inner.fmt(f),
43            Error::ServiceUnavailableException(inner) => inner.fmt(f),
44            Error::ThrottlingException(inner) => inner.fmt(f),
45            Error::Unhandled(_) => {
46                if let ::std::option::Option::Some(code) = ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self) {
47                    write!(f, "unhandled error ({code})")
48                } else {
49                    f.write_str("unhandled error")
50                }
51            }
52        }
53    }
54}
55impl From<::aws_smithy_types::error::operation::BuildError> for Error {
56    fn from(value: ::aws_smithy_types::error::operation::BuildError) -> Self {
57        Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
58            source: value.into(),
59            meta: ::std::default::Default::default(),
60        })
61    }
62}
63impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for Error {
64    fn meta(&self) -> &::aws_smithy_types::error::metadata::ErrorMetadata {
65        match self {
66            Self::AccessDeniedException(inner) => inner.meta(),
67            Self::ConflictException(inner) => inner.meta(),
68            Self::InternalServiceError(inner) => inner.meta(),
69            Self::InvalidNextTokenException(inner) => inner.meta(),
70            Self::InvalidRequestException(inner) => inner.meta(),
71            Self::ResourceExistsException(inner) => inner.meta(),
72            Self::ResourceNotFoundException(inner) => inner.meta(),
73            Self::ServiceUnavailableException(inner) => inner.meta(),
74            Self::ThrottlingException(inner) => inner.meta(),
75            Self::Unhandled(inner) => &inner.meta,
76        }
77    }
78}
79impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_access::CreateAccessError, R>> for Error
80where
81    R: Send + Sync + std::fmt::Debug + 'static,
82{
83    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_access::CreateAccessError, R>) -> Self {
84        match err {
85            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
86            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
87                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
88                source: err.into(),
89            }),
90        }
91    }
92}
93impl From<crate::operation::create_access::CreateAccessError> for Error {
94    fn from(err: crate::operation::create_access::CreateAccessError) -> Self {
95        match err {
96            crate::operation::create_access::CreateAccessError::InternalServiceError(inner) => Error::InternalServiceError(inner),
97            crate::operation::create_access::CreateAccessError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
98            crate::operation::create_access::CreateAccessError::ResourceExistsException(inner) => Error::ResourceExistsException(inner),
99            crate::operation::create_access::CreateAccessError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
100            crate::operation::create_access::CreateAccessError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
101            crate::operation::create_access::CreateAccessError::Unhandled(inner) => Error::Unhandled(inner),
102        }
103    }
104}
105impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_agreement::CreateAgreementError, R>> for Error
106where
107    R: Send + Sync + std::fmt::Debug + 'static,
108{
109    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_agreement::CreateAgreementError, R>) -> Self {
110        match err {
111            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
112            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
113                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
114                source: err.into(),
115            }),
116        }
117    }
118}
119impl From<crate::operation::create_agreement::CreateAgreementError> for Error {
120    fn from(err: crate::operation::create_agreement::CreateAgreementError) -> Self {
121        match err {
122            crate::operation::create_agreement::CreateAgreementError::InternalServiceError(inner) => Error::InternalServiceError(inner),
123            crate::operation::create_agreement::CreateAgreementError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
124            crate::operation::create_agreement::CreateAgreementError::ResourceExistsException(inner) => Error::ResourceExistsException(inner),
125            crate::operation::create_agreement::CreateAgreementError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
126            crate::operation::create_agreement::CreateAgreementError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
127            crate::operation::create_agreement::CreateAgreementError::ThrottlingException(inner) => Error::ThrottlingException(inner),
128            crate::operation::create_agreement::CreateAgreementError::Unhandled(inner) => Error::Unhandled(inner),
129        }
130    }
131}
132impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_connector::CreateConnectorError, R>> for Error
133where
134    R: Send + Sync + std::fmt::Debug + 'static,
135{
136    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_connector::CreateConnectorError, R>) -> Self {
137        match err {
138            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
139            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
140                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
141                source: err.into(),
142            }),
143        }
144    }
145}
146impl From<crate::operation::create_connector::CreateConnectorError> for Error {
147    fn from(err: crate::operation::create_connector::CreateConnectorError) -> Self {
148        match err {
149            crate::operation::create_connector::CreateConnectorError::InternalServiceError(inner) => Error::InternalServiceError(inner),
150            crate::operation::create_connector::CreateConnectorError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
151            crate::operation::create_connector::CreateConnectorError::ResourceExistsException(inner) => Error::ResourceExistsException(inner),
152            crate::operation::create_connector::CreateConnectorError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
153            crate::operation::create_connector::CreateConnectorError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
154            crate::operation::create_connector::CreateConnectorError::ThrottlingException(inner) => Error::ThrottlingException(inner),
155            crate::operation::create_connector::CreateConnectorError::Unhandled(inner) => Error::Unhandled(inner),
156        }
157    }
158}
159impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_profile::CreateProfileError, R>> for Error
160where
161    R: Send + Sync + std::fmt::Debug + 'static,
162{
163    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_profile::CreateProfileError, R>) -> Self {
164        match err {
165            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
166            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
167                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
168                source: err.into(),
169            }),
170        }
171    }
172}
173impl From<crate::operation::create_profile::CreateProfileError> for Error {
174    fn from(err: crate::operation::create_profile::CreateProfileError) -> Self {
175        match err {
176            crate::operation::create_profile::CreateProfileError::InternalServiceError(inner) => Error::InternalServiceError(inner),
177            crate::operation::create_profile::CreateProfileError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
178            crate::operation::create_profile::CreateProfileError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
179            crate::operation::create_profile::CreateProfileError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
180            crate::operation::create_profile::CreateProfileError::ThrottlingException(inner) => Error::ThrottlingException(inner),
181            crate::operation::create_profile::CreateProfileError::Unhandled(inner) => Error::Unhandled(inner),
182        }
183    }
184}
185impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_server::CreateServerError, R>> for Error
186where
187    R: Send + Sync + std::fmt::Debug + 'static,
188{
189    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_server::CreateServerError, R>) -> Self {
190        match err {
191            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
192            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
193                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
194                source: err.into(),
195            }),
196        }
197    }
198}
199impl From<crate::operation::create_server::CreateServerError> for Error {
200    fn from(err: crate::operation::create_server::CreateServerError) -> Self {
201        match err {
202            crate::operation::create_server::CreateServerError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
203            crate::operation::create_server::CreateServerError::InternalServiceError(inner) => Error::InternalServiceError(inner),
204            crate::operation::create_server::CreateServerError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
205            crate::operation::create_server::CreateServerError::ResourceExistsException(inner) => Error::ResourceExistsException(inner),
206            crate::operation::create_server::CreateServerError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
207            crate::operation::create_server::CreateServerError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
208            crate::operation::create_server::CreateServerError::ThrottlingException(inner) => Error::ThrottlingException(inner),
209            crate::operation::create_server::CreateServerError::Unhandled(inner) => Error::Unhandled(inner),
210        }
211    }
212}
213impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_user::CreateUserError, R>> for Error
214where
215    R: Send + Sync + std::fmt::Debug + 'static,
216{
217    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_user::CreateUserError, R>) -> Self {
218        match err {
219            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
220            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
221                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
222                source: err.into(),
223            }),
224        }
225    }
226}
227impl From<crate::operation::create_user::CreateUserError> for Error {
228    fn from(err: crate::operation::create_user::CreateUserError) -> Self {
229        match err {
230            crate::operation::create_user::CreateUserError::InternalServiceError(inner) => Error::InternalServiceError(inner),
231            crate::operation::create_user::CreateUserError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
232            crate::operation::create_user::CreateUserError::ResourceExistsException(inner) => Error::ResourceExistsException(inner),
233            crate::operation::create_user::CreateUserError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
234            crate::operation::create_user::CreateUserError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
235            crate::operation::create_user::CreateUserError::Unhandled(inner) => Error::Unhandled(inner),
236        }
237    }
238}
239impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_web_app::CreateWebAppError, R>> for Error
240where
241    R: Send + Sync + std::fmt::Debug + 'static,
242{
243    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_web_app::CreateWebAppError, R>) -> Self {
244        match err {
245            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
246            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
247                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
248                source: err.into(),
249            }),
250        }
251    }
252}
253impl From<crate::operation::create_web_app::CreateWebAppError> for Error {
254    fn from(err: crate::operation::create_web_app::CreateWebAppError) -> Self {
255        match err {
256            crate::operation::create_web_app::CreateWebAppError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
257            crate::operation::create_web_app::CreateWebAppError::InternalServiceError(inner) => Error::InternalServiceError(inner),
258            crate::operation::create_web_app::CreateWebAppError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
259            crate::operation::create_web_app::CreateWebAppError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
260            crate::operation::create_web_app::CreateWebAppError::ThrottlingException(inner) => Error::ThrottlingException(inner),
261            crate::operation::create_web_app::CreateWebAppError::Unhandled(inner) => Error::Unhandled(inner),
262        }
263    }
264}
265impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_workflow::CreateWorkflowError, R>> for Error
266where
267    R: Send + Sync + std::fmt::Debug + 'static,
268{
269    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_workflow::CreateWorkflowError, R>) -> Self {
270        match err {
271            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
272            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
273                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
274                source: err.into(),
275            }),
276        }
277    }
278}
279impl From<crate::operation::create_workflow::CreateWorkflowError> for Error {
280    fn from(err: crate::operation::create_workflow::CreateWorkflowError) -> Self {
281        match err {
282            crate::operation::create_workflow::CreateWorkflowError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
283            crate::operation::create_workflow::CreateWorkflowError::InternalServiceError(inner) => Error::InternalServiceError(inner),
284            crate::operation::create_workflow::CreateWorkflowError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
285            crate::operation::create_workflow::CreateWorkflowError::ResourceExistsException(inner) => Error::ResourceExistsException(inner),
286            crate::operation::create_workflow::CreateWorkflowError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
287            crate::operation::create_workflow::CreateWorkflowError::ThrottlingException(inner) => Error::ThrottlingException(inner),
288            crate::operation::create_workflow::CreateWorkflowError::Unhandled(inner) => Error::Unhandled(inner),
289        }
290    }
291}
292impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_access::DeleteAccessError, R>> for Error
293where
294    R: Send + Sync + std::fmt::Debug + 'static,
295{
296    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_access::DeleteAccessError, R>) -> Self {
297        match err {
298            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
299            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
300                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
301                source: err.into(),
302            }),
303        }
304    }
305}
306impl From<crate::operation::delete_access::DeleteAccessError> for Error {
307    fn from(err: crate::operation::delete_access::DeleteAccessError) -> Self {
308        match err {
309            crate::operation::delete_access::DeleteAccessError::InternalServiceError(inner) => Error::InternalServiceError(inner),
310            crate::operation::delete_access::DeleteAccessError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
311            crate::operation::delete_access::DeleteAccessError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
312            crate::operation::delete_access::DeleteAccessError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
313            crate::operation::delete_access::DeleteAccessError::Unhandled(inner) => Error::Unhandled(inner),
314        }
315    }
316}
317impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_agreement::DeleteAgreementError, R>> for Error
318where
319    R: Send + Sync + std::fmt::Debug + 'static,
320{
321    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_agreement::DeleteAgreementError, R>) -> Self {
322        match err {
323            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
324            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
325                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
326                source: err.into(),
327            }),
328        }
329    }
330}
331impl From<crate::operation::delete_agreement::DeleteAgreementError> for Error {
332    fn from(err: crate::operation::delete_agreement::DeleteAgreementError) -> Self {
333        match err {
334            crate::operation::delete_agreement::DeleteAgreementError::InternalServiceError(inner) => Error::InternalServiceError(inner),
335            crate::operation::delete_agreement::DeleteAgreementError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
336            crate::operation::delete_agreement::DeleteAgreementError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
337            crate::operation::delete_agreement::DeleteAgreementError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
338            crate::operation::delete_agreement::DeleteAgreementError::Unhandled(inner) => Error::Unhandled(inner),
339        }
340    }
341}
342impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_certificate::DeleteCertificateError, R>> for Error
343where
344    R: Send + Sync + std::fmt::Debug + 'static,
345{
346    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_certificate::DeleteCertificateError, R>) -> Self {
347        match err {
348            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
349            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
350                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
351                source: err.into(),
352            }),
353        }
354    }
355}
356impl From<crate::operation::delete_certificate::DeleteCertificateError> for Error {
357    fn from(err: crate::operation::delete_certificate::DeleteCertificateError) -> Self {
358        match err {
359            crate::operation::delete_certificate::DeleteCertificateError::InternalServiceError(inner) => Error::InternalServiceError(inner),
360            crate::operation::delete_certificate::DeleteCertificateError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
361            crate::operation::delete_certificate::DeleteCertificateError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
362            crate::operation::delete_certificate::DeleteCertificateError::ServiceUnavailableException(inner) => {
363                Error::ServiceUnavailableException(inner)
364            }
365            crate::operation::delete_certificate::DeleteCertificateError::Unhandled(inner) => Error::Unhandled(inner),
366        }
367    }
368}
369impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_connector::DeleteConnectorError, R>> for Error
370where
371    R: Send + Sync + std::fmt::Debug + 'static,
372{
373    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_connector::DeleteConnectorError, R>) -> Self {
374        match err {
375            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
376            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
377                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
378                source: err.into(),
379            }),
380        }
381    }
382}
383impl From<crate::operation::delete_connector::DeleteConnectorError> for Error {
384    fn from(err: crate::operation::delete_connector::DeleteConnectorError) -> Self {
385        match err {
386            crate::operation::delete_connector::DeleteConnectorError::InternalServiceError(inner) => Error::InternalServiceError(inner),
387            crate::operation::delete_connector::DeleteConnectorError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
388            crate::operation::delete_connector::DeleteConnectorError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
389            crate::operation::delete_connector::DeleteConnectorError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
390            crate::operation::delete_connector::DeleteConnectorError::Unhandled(inner) => Error::Unhandled(inner),
391        }
392    }
393}
394impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_host_key::DeleteHostKeyError, R>> for Error
395where
396    R: Send + Sync + std::fmt::Debug + 'static,
397{
398    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_host_key::DeleteHostKeyError, R>) -> Self {
399        match err {
400            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
401            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
402                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
403                source: err.into(),
404            }),
405        }
406    }
407}
408impl From<crate::operation::delete_host_key::DeleteHostKeyError> for Error {
409    fn from(err: crate::operation::delete_host_key::DeleteHostKeyError) -> Self {
410        match err {
411            crate::operation::delete_host_key::DeleteHostKeyError::InternalServiceError(inner) => Error::InternalServiceError(inner),
412            crate::operation::delete_host_key::DeleteHostKeyError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
413            crate::operation::delete_host_key::DeleteHostKeyError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
414            crate::operation::delete_host_key::DeleteHostKeyError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
415            crate::operation::delete_host_key::DeleteHostKeyError::ThrottlingException(inner) => Error::ThrottlingException(inner),
416            crate::operation::delete_host_key::DeleteHostKeyError::Unhandled(inner) => Error::Unhandled(inner),
417        }
418    }
419}
420impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_profile::DeleteProfileError, R>> for Error
421where
422    R: Send + Sync + std::fmt::Debug + 'static,
423{
424    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_profile::DeleteProfileError, R>) -> Self {
425        match err {
426            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
427            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
428                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
429                source: err.into(),
430            }),
431        }
432    }
433}
434impl From<crate::operation::delete_profile::DeleteProfileError> for Error {
435    fn from(err: crate::operation::delete_profile::DeleteProfileError) -> Self {
436        match err {
437            crate::operation::delete_profile::DeleteProfileError::InternalServiceError(inner) => Error::InternalServiceError(inner),
438            crate::operation::delete_profile::DeleteProfileError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
439            crate::operation::delete_profile::DeleteProfileError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
440            crate::operation::delete_profile::DeleteProfileError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
441            crate::operation::delete_profile::DeleteProfileError::Unhandled(inner) => Error::Unhandled(inner),
442        }
443    }
444}
445impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_server::DeleteServerError, R>> for Error
446where
447    R: Send + Sync + std::fmt::Debug + 'static,
448{
449    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_server::DeleteServerError, R>) -> Self {
450        match err {
451            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
452            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
453                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
454                source: err.into(),
455            }),
456        }
457    }
458}
459impl From<crate::operation::delete_server::DeleteServerError> for Error {
460    fn from(err: crate::operation::delete_server::DeleteServerError) -> Self {
461        match err {
462            crate::operation::delete_server::DeleteServerError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
463            crate::operation::delete_server::DeleteServerError::InternalServiceError(inner) => Error::InternalServiceError(inner),
464            crate::operation::delete_server::DeleteServerError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
465            crate::operation::delete_server::DeleteServerError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
466            crate::operation::delete_server::DeleteServerError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
467            crate::operation::delete_server::DeleteServerError::Unhandled(inner) => Error::Unhandled(inner),
468        }
469    }
470}
471impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ssh_public_key::DeleteSshPublicKeyError, R>> for Error
472where
473    R: Send + Sync + std::fmt::Debug + 'static,
474{
475    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ssh_public_key::DeleteSshPublicKeyError, R>) -> Self {
476        match err {
477            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
478            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
479                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
480                source: err.into(),
481            }),
482        }
483    }
484}
485impl From<crate::operation::delete_ssh_public_key::DeleteSshPublicKeyError> for Error {
486    fn from(err: crate::operation::delete_ssh_public_key::DeleteSshPublicKeyError) -> Self {
487        match err {
488            crate::operation::delete_ssh_public_key::DeleteSshPublicKeyError::InternalServiceError(inner) => Error::InternalServiceError(inner),
489            crate::operation::delete_ssh_public_key::DeleteSshPublicKeyError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
490            crate::operation::delete_ssh_public_key::DeleteSshPublicKeyError::ResourceNotFoundException(inner) => {
491                Error::ResourceNotFoundException(inner)
492            }
493            crate::operation::delete_ssh_public_key::DeleteSshPublicKeyError::ServiceUnavailableException(inner) => {
494                Error::ServiceUnavailableException(inner)
495            }
496            crate::operation::delete_ssh_public_key::DeleteSshPublicKeyError::ThrottlingException(inner) => Error::ThrottlingException(inner),
497            crate::operation::delete_ssh_public_key::DeleteSshPublicKeyError::Unhandled(inner) => Error::Unhandled(inner),
498        }
499    }
500}
501impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_user::DeleteUserError, R>> for Error
502where
503    R: Send + Sync + std::fmt::Debug + 'static,
504{
505    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_user::DeleteUserError, R>) -> Self {
506        match err {
507            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
508            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
509                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
510                source: err.into(),
511            }),
512        }
513    }
514}
515impl From<crate::operation::delete_user::DeleteUserError> for Error {
516    fn from(err: crate::operation::delete_user::DeleteUserError) -> Self {
517        match err {
518            crate::operation::delete_user::DeleteUserError::InternalServiceError(inner) => Error::InternalServiceError(inner),
519            crate::operation::delete_user::DeleteUserError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
520            crate::operation::delete_user::DeleteUserError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
521            crate::operation::delete_user::DeleteUserError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
522            crate::operation::delete_user::DeleteUserError::Unhandled(inner) => Error::Unhandled(inner),
523        }
524    }
525}
526impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_web_app::DeleteWebAppError, R>> for Error
527where
528    R: Send + Sync + std::fmt::Debug + 'static,
529{
530    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_web_app::DeleteWebAppError, R>) -> Self {
531        match err {
532            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
533            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
534                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
535                source: err.into(),
536            }),
537        }
538    }
539}
540impl From<crate::operation::delete_web_app::DeleteWebAppError> for Error {
541    fn from(err: crate::operation::delete_web_app::DeleteWebAppError) -> Self {
542        match err {
543            crate::operation::delete_web_app::DeleteWebAppError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
544            crate::operation::delete_web_app::DeleteWebAppError::InternalServiceError(inner) => Error::InternalServiceError(inner),
545            crate::operation::delete_web_app::DeleteWebAppError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
546            crate::operation::delete_web_app::DeleteWebAppError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
547            crate::operation::delete_web_app::DeleteWebAppError::ThrottlingException(inner) => Error::ThrottlingException(inner),
548            crate::operation::delete_web_app::DeleteWebAppError::Unhandled(inner) => Error::Unhandled(inner),
549        }
550    }
551}
552impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_web_app_customization::DeleteWebAppCustomizationError, R>>
553    for Error
554where
555    R: Send + Sync + std::fmt::Debug + 'static,
556{
557    fn from(
558        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_web_app_customization::DeleteWebAppCustomizationError, R>,
559    ) -> Self {
560        match err {
561            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
562            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
563                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
564                source: err.into(),
565            }),
566        }
567    }
568}
569impl From<crate::operation::delete_web_app_customization::DeleteWebAppCustomizationError> for Error {
570    fn from(err: crate::operation::delete_web_app_customization::DeleteWebAppCustomizationError) -> Self {
571        match err {
572            crate::operation::delete_web_app_customization::DeleteWebAppCustomizationError::AccessDeniedException(inner) => {
573                Error::AccessDeniedException(inner)
574            }
575            crate::operation::delete_web_app_customization::DeleteWebAppCustomizationError::ConflictException(inner) => {
576                Error::ConflictException(inner)
577            }
578            crate::operation::delete_web_app_customization::DeleteWebAppCustomizationError::InternalServiceError(inner) => {
579                Error::InternalServiceError(inner)
580            }
581            crate::operation::delete_web_app_customization::DeleteWebAppCustomizationError::InvalidRequestException(inner) => {
582                Error::InvalidRequestException(inner)
583            }
584            crate::operation::delete_web_app_customization::DeleteWebAppCustomizationError::ResourceNotFoundException(inner) => {
585                Error::ResourceNotFoundException(inner)
586            }
587            crate::operation::delete_web_app_customization::DeleteWebAppCustomizationError::ThrottlingException(inner) => {
588                Error::ThrottlingException(inner)
589            }
590            crate::operation::delete_web_app_customization::DeleteWebAppCustomizationError::Unhandled(inner) => Error::Unhandled(inner),
591        }
592    }
593}
594impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_workflow::DeleteWorkflowError, R>> for Error
595where
596    R: Send + Sync + std::fmt::Debug + 'static,
597{
598    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_workflow::DeleteWorkflowError, R>) -> Self {
599        match err {
600            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
601            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
602                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
603                source: err.into(),
604            }),
605        }
606    }
607}
608impl From<crate::operation::delete_workflow::DeleteWorkflowError> for Error {
609    fn from(err: crate::operation::delete_workflow::DeleteWorkflowError) -> Self {
610        match err {
611            crate::operation::delete_workflow::DeleteWorkflowError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
612            crate::operation::delete_workflow::DeleteWorkflowError::InternalServiceError(inner) => Error::InternalServiceError(inner),
613            crate::operation::delete_workflow::DeleteWorkflowError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
614            crate::operation::delete_workflow::DeleteWorkflowError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
615            crate::operation::delete_workflow::DeleteWorkflowError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
616            crate::operation::delete_workflow::DeleteWorkflowError::Unhandled(inner) => Error::Unhandled(inner),
617        }
618    }
619}
620impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_access::DescribeAccessError, R>> for Error
621where
622    R: Send + Sync + std::fmt::Debug + 'static,
623{
624    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_access::DescribeAccessError, R>) -> Self {
625        match err {
626            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
627            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
628                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
629                source: err.into(),
630            }),
631        }
632    }
633}
634impl From<crate::operation::describe_access::DescribeAccessError> for Error {
635    fn from(err: crate::operation::describe_access::DescribeAccessError) -> Self {
636        match err {
637            crate::operation::describe_access::DescribeAccessError::InternalServiceError(inner) => Error::InternalServiceError(inner),
638            crate::operation::describe_access::DescribeAccessError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
639            crate::operation::describe_access::DescribeAccessError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
640            crate::operation::describe_access::DescribeAccessError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
641            crate::operation::describe_access::DescribeAccessError::Unhandled(inner) => Error::Unhandled(inner),
642        }
643    }
644}
645impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_agreement::DescribeAgreementError, R>> for Error
646where
647    R: Send + Sync + std::fmt::Debug + 'static,
648{
649    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_agreement::DescribeAgreementError, R>) -> Self {
650        match err {
651            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
652            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
653                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
654                source: err.into(),
655            }),
656        }
657    }
658}
659impl From<crate::operation::describe_agreement::DescribeAgreementError> for Error {
660    fn from(err: crate::operation::describe_agreement::DescribeAgreementError) -> Self {
661        match err {
662            crate::operation::describe_agreement::DescribeAgreementError::InternalServiceError(inner) => Error::InternalServiceError(inner),
663            crate::operation::describe_agreement::DescribeAgreementError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
664            crate::operation::describe_agreement::DescribeAgreementError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
665            crate::operation::describe_agreement::DescribeAgreementError::ServiceUnavailableException(inner) => {
666                Error::ServiceUnavailableException(inner)
667            }
668            crate::operation::describe_agreement::DescribeAgreementError::Unhandled(inner) => Error::Unhandled(inner),
669        }
670    }
671}
672impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_certificate::DescribeCertificateError, R>> for Error
673where
674    R: Send + Sync + std::fmt::Debug + 'static,
675{
676    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_certificate::DescribeCertificateError, R>) -> Self {
677        match err {
678            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
679            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
680                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
681                source: err.into(),
682            }),
683        }
684    }
685}
686impl From<crate::operation::describe_certificate::DescribeCertificateError> for Error {
687    fn from(err: crate::operation::describe_certificate::DescribeCertificateError) -> Self {
688        match err {
689            crate::operation::describe_certificate::DescribeCertificateError::InternalServiceError(inner) => Error::InternalServiceError(inner),
690            crate::operation::describe_certificate::DescribeCertificateError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
691            crate::operation::describe_certificate::DescribeCertificateError::ResourceNotFoundException(inner) => {
692                Error::ResourceNotFoundException(inner)
693            }
694            crate::operation::describe_certificate::DescribeCertificateError::ServiceUnavailableException(inner) => {
695                Error::ServiceUnavailableException(inner)
696            }
697            crate::operation::describe_certificate::DescribeCertificateError::Unhandled(inner) => Error::Unhandled(inner),
698        }
699    }
700}
701impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_connector::DescribeConnectorError, R>> for Error
702where
703    R: Send + Sync + std::fmt::Debug + 'static,
704{
705    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_connector::DescribeConnectorError, R>) -> Self {
706        match err {
707            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
708            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
709                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
710                source: err.into(),
711            }),
712        }
713    }
714}
715impl From<crate::operation::describe_connector::DescribeConnectorError> for Error {
716    fn from(err: crate::operation::describe_connector::DescribeConnectorError) -> Self {
717        match err {
718            crate::operation::describe_connector::DescribeConnectorError::InternalServiceError(inner) => Error::InternalServiceError(inner),
719            crate::operation::describe_connector::DescribeConnectorError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
720            crate::operation::describe_connector::DescribeConnectorError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
721            crate::operation::describe_connector::DescribeConnectorError::ServiceUnavailableException(inner) => {
722                Error::ServiceUnavailableException(inner)
723            }
724            crate::operation::describe_connector::DescribeConnectorError::Unhandled(inner) => Error::Unhandled(inner),
725        }
726    }
727}
728impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_execution::DescribeExecutionError, R>> for Error
729where
730    R: Send + Sync + std::fmt::Debug + 'static,
731{
732    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_execution::DescribeExecutionError, R>) -> Self {
733        match err {
734            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
735            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
736                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
737                source: err.into(),
738            }),
739        }
740    }
741}
742impl From<crate::operation::describe_execution::DescribeExecutionError> for Error {
743    fn from(err: crate::operation::describe_execution::DescribeExecutionError) -> Self {
744        match err {
745            crate::operation::describe_execution::DescribeExecutionError::InternalServiceError(inner) => Error::InternalServiceError(inner),
746            crate::operation::describe_execution::DescribeExecutionError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
747            crate::operation::describe_execution::DescribeExecutionError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
748            crate::operation::describe_execution::DescribeExecutionError::ServiceUnavailableException(inner) => {
749                Error::ServiceUnavailableException(inner)
750            }
751            crate::operation::describe_execution::DescribeExecutionError::Unhandled(inner) => Error::Unhandled(inner),
752        }
753    }
754}
755impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_host_key::DescribeHostKeyError, R>> for Error
756where
757    R: Send + Sync + std::fmt::Debug + 'static,
758{
759    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_host_key::DescribeHostKeyError, R>) -> Self {
760        match err {
761            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
762            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
763                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
764                source: err.into(),
765            }),
766        }
767    }
768}
769impl From<crate::operation::describe_host_key::DescribeHostKeyError> for Error {
770    fn from(err: crate::operation::describe_host_key::DescribeHostKeyError) -> Self {
771        match err {
772            crate::operation::describe_host_key::DescribeHostKeyError::InternalServiceError(inner) => Error::InternalServiceError(inner),
773            crate::operation::describe_host_key::DescribeHostKeyError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
774            crate::operation::describe_host_key::DescribeHostKeyError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
775            crate::operation::describe_host_key::DescribeHostKeyError::ServiceUnavailableException(inner) => {
776                Error::ServiceUnavailableException(inner)
777            }
778            crate::operation::describe_host_key::DescribeHostKeyError::Unhandled(inner) => Error::Unhandled(inner),
779        }
780    }
781}
782impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_profile::DescribeProfileError, R>> for Error
783where
784    R: Send + Sync + std::fmt::Debug + 'static,
785{
786    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_profile::DescribeProfileError, R>) -> Self {
787        match err {
788            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
789            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
790                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
791                source: err.into(),
792            }),
793        }
794    }
795}
796impl From<crate::operation::describe_profile::DescribeProfileError> for Error {
797    fn from(err: crate::operation::describe_profile::DescribeProfileError) -> Self {
798        match err {
799            crate::operation::describe_profile::DescribeProfileError::InternalServiceError(inner) => Error::InternalServiceError(inner),
800            crate::operation::describe_profile::DescribeProfileError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
801            crate::operation::describe_profile::DescribeProfileError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
802            crate::operation::describe_profile::DescribeProfileError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
803            crate::operation::describe_profile::DescribeProfileError::Unhandled(inner) => Error::Unhandled(inner),
804        }
805    }
806}
807impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_security_policy::DescribeSecurityPolicyError, R>> for Error
808where
809    R: Send + Sync + std::fmt::Debug + 'static,
810{
811    fn from(
812        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_security_policy::DescribeSecurityPolicyError, R>,
813    ) -> Self {
814        match err {
815            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
816            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
817                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
818                source: err.into(),
819            }),
820        }
821    }
822}
823impl From<crate::operation::describe_security_policy::DescribeSecurityPolicyError> for Error {
824    fn from(err: crate::operation::describe_security_policy::DescribeSecurityPolicyError) -> Self {
825        match err {
826            crate::operation::describe_security_policy::DescribeSecurityPolicyError::InternalServiceError(inner) => {
827                Error::InternalServiceError(inner)
828            }
829            crate::operation::describe_security_policy::DescribeSecurityPolicyError::InvalidRequestException(inner) => {
830                Error::InvalidRequestException(inner)
831            }
832            crate::operation::describe_security_policy::DescribeSecurityPolicyError::ResourceNotFoundException(inner) => {
833                Error::ResourceNotFoundException(inner)
834            }
835            crate::operation::describe_security_policy::DescribeSecurityPolicyError::ServiceUnavailableException(inner) => {
836                Error::ServiceUnavailableException(inner)
837            }
838            crate::operation::describe_security_policy::DescribeSecurityPolicyError::Unhandled(inner) => Error::Unhandled(inner),
839        }
840    }
841}
842impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_server::DescribeServerError, R>> for Error
843where
844    R: Send + Sync + std::fmt::Debug + 'static,
845{
846    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_server::DescribeServerError, R>) -> Self {
847        match err {
848            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
849            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
850                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
851                source: err.into(),
852            }),
853        }
854    }
855}
856impl From<crate::operation::describe_server::DescribeServerError> for Error {
857    fn from(err: crate::operation::describe_server::DescribeServerError) -> Self {
858        match err {
859            crate::operation::describe_server::DescribeServerError::InternalServiceError(inner) => Error::InternalServiceError(inner),
860            crate::operation::describe_server::DescribeServerError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
861            crate::operation::describe_server::DescribeServerError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
862            crate::operation::describe_server::DescribeServerError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
863            crate::operation::describe_server::DescribeServerError::Unhandled(inner) => Error::Unhandled(inner),
864        }
865    }
866}
867impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_user::DescribeUserError, R>> for Error
868where
869    R: Send + Sync + std::fmt::Debug + 'static,
870{
871    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_user::DescribeUserError, R>) -> Self {
872        match err {
873            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
874            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
875                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
876                source: err.into(),
877            }),
878        }
879    }
880}
881impl From<crate::operation::describe_user::DescribeUserError> for Error {
882    fn from(err: crate::operation::describe_user::DescribeUserError) -> Self {
883        match err {
884            crate::operation::describe_user::DescribeUserError::InternalServiceError(inner) => Error::InternalServiceError(inner),
885            crate::operation::describe_user::DescribeUserError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
886            crate::operation::describe_user::DescribeUserError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
887            crate::operation::describe_user::DescribeUserError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
888            crate::operation::describe_user::DescribeUserError::Unhandled(inner) => Error::Unhandled(inner),
889        }
890    }
891}
892impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_web_app::DescribeWebAppError, R>> for Error
893where
894    R: Send + Sync + std::fmt::Debug + 'static,
895{
896    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_web_app::DescribeWebAppError, R>) -> Self {
897        match err {
898            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
899            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
900                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
901                source: err.into(),
902            }),
903        }
904    }
905}
906impl From<crate::operation::describe_web_app::DescribeWebAppError> for Error {
907    fn from(err: crate::operation::describe_web_app::DescribeWebAppError) -> Self {
908        match err {
909            crate::operation::describe_web_app::DescribeWebAppError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
910            crate::operation::describe_web_app::DescribeWebAppError::InternalServiceError(inner) => Error::InternalServiceError(inner),
911            crate::operation::describe_web_app::DescribeWebAppError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
912            crate::operation::describe_web_app::DescribeWebAppError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
913            crate::operation::describe_web_app::DescribeWebAppError::ThrottlingException(inner) => Error::ThrottlingException(inner),
914            crate::operation::describe_web_app::DescribeWebAppError::Unhandled(inner) => Error::Unhandled(inner),
915        }
916    }
917}
918impl<R>
919    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_web_app_customization::DescribeWebAppCustomizationError, R>>
920    for Error
921where
922    R: Send + Sync + std::fmt::Debug + 'static,
923{
924    fn from(
925        err: ::aws_smithy_runtime_api::client::result::SdkError<
926            crate::operation::describe_web_app_customization::DescribeWebAppCustomizationError,
927            R,
928        >,
929    ) -> Self {
930        match err {
931            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
932            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
933                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
934                source: err.into(),
935            }),
936        }
937    }
938}
939impl From<crate::operation::describe_web_app_customization::DescribeWebAppCustomizationError> for Error {
940    fn from(err: crate::operation::describe_web_app_customization::DescribeWebAppCustomizationError) -> Self {
941        match err {
942            crate::operation::describe_web_app_customization::DescribeWebAppCustomizationError::AccessDeniedException(inner) => {
943                Error::AccessDeniedException(inner)
944            }
945            crate::operation::describe_web_app_customization::DescribeWebAppCustomizationError::InternalServiceError(inner) => {
946                Error::InternalServiceError(inner)
947            }
948            crate::operation::describe_web_app_customization::DescribeWebAppCustomizationError::InvalidRequestException(inner) => {
949                Error::InvalidRequestException(inner)
950            }
951            crate::operation::describe_web_app_customization::DescribeWebAppCustomizationError::ResourceNotFoundException(inner) => {
952                Error::ResourceNotFoundException(inner)
953            }
954            crate::operation::describe_web_app_customization::DescribeWebAppCustomizationError::ThrottlingException(inner) => {
955                Error::ThrottlingException(inner)
956            }
957            crate::operation::describe_web_app_customization::DescribeWebAppCustomizationError::Unhandled(inner) => Error::Unhandled(inner),
958        }
959    }
960}
961impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_workflow::DescribeWorkflowError, R>> for Error
962where
963    R: Send + Sync + std::fmt::Debug + 'static,
964{
965    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_workflow::DescribeWorkflowError, R>) -> Self {
966        match err {
967            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
968            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
969                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
970                source: err.into(),
971            }),
972        }
973    }
974}
975impl From<crate::operation::describe_workflow::DescribeWorkflowError> for Error {
976    fn from(err: crate::operation::describe_workflow::DescribeWorkflowError) -> Self {
977        match err {
978            crate::operation::describe_workflow::DescribeWorkflowError::InternalServiceError(inner) => Error::InternalServiceError(inner),
979            crate::operation::describe_workflow::DescribeWorkflowError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
980            crate::operation::describe_workflow::DescribeWorkflowError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
981            crate::operation::describe_workflow::DescribeWorkflowError::ServiceUnavailableException(inner) => {
982                Error::ServiceUnavailableException(inner)
983            }
984            crate::operation::describe_workflow::DescribeWorkflowError::Unhandled(inner) => Error::Unhandled(inner),
985        }
986    }
987}
988impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_certificate::ImportCertificateError, R>> for Error
989where
990    R: Send + Sync + std::fmt::Debug + 'static,
991{
992    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_certificate::ImportCertificateError, R>) -> Self {
993        match err {
994            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
995            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
996                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
997                source: err.into(),
998            }),
999        }
1000    }
1001}
1002impl From<crate::operation::import_certificate::ImportCertificateError> for Error {
1003    fn from(err: crate::operation::import_certificate::ImportCertificateError) -> Self {
1004        match err {
1005            crate::operation::import_certificate::ImportCertificateError::InternalServiceError(inner) => Error::InternalServiceError(inner),
1006            crate::operation::import_certificate::ImportCertificateError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
1007            crate::operation::import_certificate::ImportCertificateError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1008            crate::operation::import_certificate::ImportCertificateError::ServiceUnavailableException(inner) => {
1009                Error::ServiceUnavailableException(inner)
1010            }
1011            crate::operation::import_certificate::ImportCertificateError::Unhandled(inner) => Error::Unhandled(inner),
1012        }
1013    }
1014}
1015impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_host_key::ImportHostKeyError, R>> for Error
1016where
1017    R: Send + Sync + std::fmt::Debug + 'static,
1018{
1019    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_host_key::ImportHostKeyError, R>) -> Self {
1020        match err {
1021            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1022            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1023                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1024                source: err.into(),
1025            }),
1026        }
1027    }
1028}
1029impl From<crate::operation::import_host_key::ImportHostKeyError> for Error {
1030    fn from(err: crate::operation::import_host_key::ImportHostKeyError) -> Self {
1031        match err {
1032            crate::operation::import_host_key::ImportHostKeyError::InternalServiceError(inner) => Error::InternalServiceError(inner),
1033            crate::operation::import_host_key::ImportHostKeyError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
1034            crate::operation::import_host_key::ImportHostKeyError::ResourceExistsException(inner) => Error::ResourceExistsException(inner),
1035            crate::operation::import_host_key::ImportHostKeyError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1036            crate::operation::import_host_key::ImportHostKeyError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
1037            crate::operation::import_host_key::ImportHostKeyError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1038            crate::operation::import_host_key::ImportHostKeyError::Unhandled(inner) => Error::Unhandled(inner),
1039        }
1040    }
1041}
1042impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_ssh_public_key::ImportSshPublicKeyError, R>> for Error
1043where
1044    R: Send + Sync + std::fmt::Debug + 'static,
1045{
1046    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_ssh_public_key::ImportSshPublicKeyError, R>) -> Self {
1047        match err {
1048            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1049            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1050                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1051                source: err.into(),
1052            }),
1053        }
1054    }
1055}
1056impl From<crate::operation::import_ssh_public_key::ImportSshPublicKeyError> for Error {
1057    fn from(err: crate::operation::import_ssh_public_key::ImportSshPublicKeyError) -> Self {
1058        match err {
1059            crate::operation::import_ssh_public_key::ImportSshPublicKeyError::InternalServiceError(inner) => Error::InternalServiceError(inner),
1060            crate::operation::import_ssh_public_key::ImportSshPublicKeyError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
1061            crate::operation::import_ssh_public_key::ImportSshPublicKeyError::ResourceExistsException(inner) => Error::ResourceExistsException(inner),
1062            crate::operation::import_ssh_public_key::ImportSshPublicKeyError::ResourceNotFoundException(inner) => {
1063                Error::ResourceNotFoundException(inner)
1064            }
1065            crate::operation::import_ssh_public_key::ImportSshPublicKeyError::ServiceUnavailableException(inner) => {
1066                Error::ServiceUnavailableException(inner)
1067            }
1068            crate::operation::import_ssh_public_key::ImportSshPublicKeyError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1069            crate::operation::import_ssh_public_key::ImportSshPublicKeyError::Unhandled(inner) => Error::Unhandled(inner),
1070        }
1071    }
1072}
1073impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_accesses::ListAccessesError, R>> for Error
1074where
1075    R: Send + Sync + std::fmt::Debug + 'static,
1076{
1077    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_accesses::ListAccessesError, R>) -> Self {
1078        match err {
1079            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1080            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1081                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1082                source: err.into(),
1083            }),
1084        }
1085    }
1086}
1087impl From<crate::operation::list_accesses::ListAccessesError> for Error {
1088    fn from(err: crate::operation::list_accesses::ListAccessesError) -> Self {
1089        match err {
1090            crate::operation::list_accesses::ListAccessesError::InternalServiceError(inner) => Error::InternalServiceError(inner),
1091            crate::operation::list_accesses::ListAccessesError::InvalidNextTokenException(inner) => Error::InvalidNextTokenException(inner),
1092            crate::operation::list_accesses::ListAccessesError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
1093            crate::operation::list_accesses::ListAccessesError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1094            crate::operation::list_accesses::ListAccessesError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
1095            crate::operation::list_accesses::ListAccessesError::Unhandled(inner) => Error::Unhandled(inner),
1096        }
1097    }
1098}
1099impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_agreements::ListAgreementsError, R>> for Error
1100where
1101    R: Send + Sync + std::fmt::Debug + 'static,
1102{
1103    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_agreements::ListAgreementsError, R>) -> Self {
1104        match err {
1105            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1106            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1107                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1108                source: err.into(),
1109            }),
1110        }
1111    }
1112}
1113impl From<crate::operation::list_agreements::ListAgreementsError> for Error {
1114    fn from(err: crate::operation::list_agreements::ListAgreementsError) -> Self {
1115        match err {
1116            crate::operation::list_agreements::ListAgreementsError::InternalServiceError(inner) => Error::InternalServiceError(inner),
1117            crate::operation::list_agreements::ListAgreementsError::InvalidNextTokenException(inner) => Error::InvalidNextTokenException(inner),
1118            crate::operation::list_agreements::ListAgreementsError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
1119            crate::operation::list_agreements::ListAgreementsError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1120            crate::operation::list_agreements::ListAgreementsError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
1121            crate::operation::list_agreements::ListAgreementsError::Unhandled(inner) => Error::Unhandled(inner),
1122        }
1123    }
1124}
1125impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_certificates::ListCertificatesError, R>> for Error
1126where
1127    R: Send + Sync + std::fmt::Debug + 'static,
1128{
1129    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_certificates::ListCertificatesError, R>) -> Self {
1130        match err {
1131            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1132            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1133                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1134                source: err.into(),
1135            }),
1136        }
1137    }
1138}
1139impl From<crate::operation::list_certificates::ListCertificatesError> for Error {
1140    fn from(err: crate::operation::list_certificates::ListCertificatesError) -> Self {
1141        match err {
1142            crate::operation::list_certificates::ListCertificatesError::InternalServiceError(inner) => Error::InternalServiceError(inner),
1143            crate::operation::list_certificates::ListCertificatesError::InvalidNextTokenException(inner) => Error::InvalidNextTokenException(inner),
1144            crate::operation::list_certificates::ListCertificatesError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
1145            crate::operation::list_certificates::ListCertificatesError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1146            crate::operation::list_certificates::ListCertificatesError::ServiceUnavailableException(inner) => {
1147                Error::ServiceUnavailableException(inner)
1148            }
1149            crate::operation::list_certificates::ListCertificatesError::Unhandled(inner) => Error::Unhandled(inner),
1150        }
1151    }
1152}
1153impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_connectors::ListConnectorsError, R>> for Error
1154where
1155    R: Send + Sync + std::fmt::Debug + 'static,
1156{
1157    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_connectors::ListConnectorsError, R>) -> Self {
1158        match err {
1159            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1160            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1161                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1162                source: err.into(),
1163            }),
1164        }
1165    }
1166}
1167impl From<crate::operation::list_connectors::ListConnectorsError> for Error {
1168    fn from(err: crate::operation::list_connectors::ListConnectorsError) -> Self {
1169        match err {
1170            crate::operation::list_connectors::ListConnectorsError::InternalServiceError(inner) => Error::InternalServiceError(inner),
1171            crate::operation::list_connectors::ListConnectorsError::InvalidNextTokenException(inner) => Error::InvalidNextTokenException(inner),
1172            crate::operation::list_connectors::ListConnectorsError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
1173            crate::operation::list_connectors::ListConnectorsError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1174            crate::operation::list_connectors::ListConnectorsError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
1175            crate::operation::list_connectors::ListConnectorsError::Unhandled(inner) => Error::Unhandled(inner),
1176        }
1177    }
1178}
1179impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_executions::ListExecutionsError, R>> for Error
1180where
1181    R: Send + Sync + std::fmt::Debug + 'static,
1182{
1183    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_executions::ListExecutionsError, R>) -> Self {
1184        match err {
1185            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1186            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1187                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1188                source: err.into(),
1189            }),
1190        }
1191    }
1192}
1193impl From<crate::operation::list_executions::ListExecutionsError> for Error {
1194    fn from(err: crate::operation::list_executions::ListExecutionsError) -> Self {
1195        match err {
1196            crate::operation::list_executions::ListExecutionsError::InternalServiceError(inner) => Error::InternalServiceError(inner),
1197            crate::operation::list_executions::ListExecutionsError::InvalidNextTokenException(inner) => Error::InvalidNextTokenException(inner),
1198            crate::operation::list_executions::ListExecutionsError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
1199            crate::operation::list_executions::ListExecutionsError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1200            crate::operation::list_executions::ListExecutionsError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
1201            crate::operation::list_executions::ListExecutionsError::Unhandled(inner) => Error::Unhandled(inner),
1202        }
1203    }
1204}
1205impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_file_transfer_results::ListFileTransferResultsError, R>>
1206    for Error
1207where
1208    R: Send + Sync + std::fmt::Debug + 'static,
1209{
1210    fn from(
1211        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_file_transfer_results::ListFileTransferResultsError, R>,
1212    ) -> Self {
1213        match err {
1214            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1215            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1216                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1217                source: err.into(),
1218            }),
1219        }
1220    }
1221}
1222impl From<crate::operation::list_file_transfer_results::ListFileTransferResultsError> for Error {
1223    fn from(err: crate::operation::list_file_transfer_results::ListFileTransferResultsError) -> Self {
1224        match err {
1225            crate::operation::list_file_transfer_results::ListFileTransferResultsError::InternalServiceError(inner) => {
1226                Error::InternalServiceError(inner)
1227            }
1228            crate::operation::list_file_transfer_results::ListFileTransferResultsError::InvalidRequestException(inner) => {
1229                Error::InvalidRequestException(inner)
1230            }
1231            crate::operation::list_file_transfer_results::ListFileTransferResultsError::ResourceNotFoundException(inner) => {
1232                Error::ResourceNotFoundException(inner)
1233            }
1234            crate::operation::list_file_transfer_results::ListFileTransferResultsError::ServiceUnavailableException(inner) => {
1235                Error::ServiceUnavailableException(inner)
1236            }
1237            crate::operation::list_file_transfer_results::ListFileTransferResultsError::Unhandled(inner) => Error::Unhandled(inner),
1238        }
1239    }
1240}
1241impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_host_keys::ListHostKeysError, R>> for Error
1242where
1243    R: Send + Sync + std::fmt::Debug + 'static,
1244{
1245    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_host_keys::ListHostKeysError, R>) -> Self {
1246        match err {
1247            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1248            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1249                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1250                source: err.into(),
1251            }),
1252        }
1253    }
1254}
1255impl From<crate::operation::list_host_keys::ListHostKeysError> for Error {
1256    fn from(err: crate::operation::list_host_keys::ListHostKeysError) -> Self {
1257        match err {
1258            crate::operation::list_host_keys::ListHostKeysError::InternalServiceError(inner) => Error::InternalServiceError(inner),
1259            crate::operation::list_host_keys::ListHostKeysError::InvalidNextTokenException(inner) => Error::InvalidNextTokenException(inner),
1260            crate::operation::list_host_keys::ListHostKeysError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
1261            crate::operation::list_host_keys::ListHostKeysError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1262            crate::operation::list_host_keys::ListHostKeysError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
1263            crate::operation::list_host_keys::ListHostKeysError::Unhandled(inner) => Error::Unhandled(inner),
1264        }
1265    }
1266}
1267impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_profiles::ListProfilesError, R>> for Error
1268where
1269    R: Send + Sync + std::fmt::Debug + 'static,
1270{
1271    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_profiles::ListProfilesError, R>) -> Self {
1272        match err {
1273            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1274            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1275                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1276                source: err.into(),
1277            }),
1278        }
1279    }
1280}
1281impl From<crate::operation::list_profiles::ListProfilesError> for Error {
1282    fn from(err: crate::operation::list_profiles::ListProfilesError) -> Self {
1283        match err {
1284            crate::operation::list_profiles::ListProfilesError::InternalServiceError(inner) => Error::InternalServiceError(inner),
1285            crate::operation::list_profiles::ListProfilesError::InvalidNextTokenException(inner) => Error::InvalidNextTokenException(inner),
1286            crate::operation::list_profiles::ListProfilesError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
1287            crate::operation::list_profiles::ListProfilesError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1288            crate::operation::list_profiles::ListProfilesError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
1289            crate::operation::list_profiles::ListProfilesError::Unhandled(inner) => Error::Unhandled(inner),
1290        }
1291    }
1292}
1293impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_security_policies::ListSecurityPoliciesError, R>> for Error
1294where
1295    R: Send + Sync + std::fmt::Debug + 'static,
1296{
1297    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_security_policies::ListSecurityPoliciesError, R>) -> Self {
1298        match err {
1299            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1300            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1301                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1302                source: err.into(),
1303            }),
1304        }
1305    }
1306}
1307impl From<crate::operation::list_security_policies::ListSecurityPoliciesError> for Error {
1308    fn from(err: crate::operation::list_security_policies::ListSecurityPoliciesError) -> Self {
1309        match err {
1310            crate::operation::list_security_policies::ListSecurityPoliciesError::InternalServiceError(inner) => Error::InternalServiceError(inner),
1311            crate::operation::list_security_policies::ListSecurityPoliciesError::InvalidNextTokenException(inner) => {
1312                Error::InvalidNextTokenException(inner)
1313            }
1314            crate::operation::list_security_policies::ListSecurityPoliciesError::InvalidRequestException(inner) => {
1315                Error::InvalidRequestException(inner)
1316            }
1317            crate::operation::list_security_policies::ListSecurityPoliciesError::ServiceUnavailableException(inner) => {
1318                Error::ServiceUnavailableException(inner)
1319            }
1320            crate::operation::list_security_policies::ListSecurityPoliciesError::Unhandled(inner) => Error::Unhandled(inner),
1321        }
1322    }
1323}
1324impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_servers::ListServersError, R>> for Error
1325where
1326    R: Send + Sync + std::fmt::Debug + 'static,
1327{
1328    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_servers::ListServersError, R>) -> Self {
1329        match err {
1330            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1331            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1332                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1333                source: err.into(),
1334            }),
1335        }
1336    }
1337}
1338impl From<crate::operation::list_servers::ListServersError> for Error {
1339    fn from(err: crate::operation::list_servers::ListServersError) -> Self {
1340        match err {
1341            crate::operation::list_servers::ListServersError::InternalServiceError(inner) => Error::InternalServiceError(inner),
1342            crate::operation::list_servers::ListServersError::InvalidNextTokenException(inner) => Error::InvalidNextTokenException(inner),
1343            crate::operation::list_servers::ListServersError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
1344            crate::operation::list_servers::ListServersError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
1345            crate::operation::list_servers::ListServersError::Unhandled(inner) => Error::Unhandled(inner),
1346        }
1347    }
1348}
1349impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_tags_for_resource::ListTagsForResourceError, R>> for Error
1350where
1351    R: Send + Sync + std::fmt::Debug + 'static,
1352{
1353    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_tags_for_resource::ListTagsForResourceError, R>) -> Self {
1354        match err {
1355            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1356            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1357                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1358                source: err.into(),
1359            }),
1360        }
1361    }
1362}
1363impl From<crate::operation::list_tags_for_resource::ListTagsForResourceError> for Error {
1364    fn from(err: crate::operation::list_tags_for_resource::ListTagsForResourceError) -> Self {
1365        match err {
1366            crate::operation::list_tags_for_resource::ListTagsForResourceError::InternalServiceError(inner) => Error::InternalServiceError(inner),
1367            crate::operation::list_tags_for_resource::ListTagsForResourceError::InvalidNextTokenException(inner) => {
1368                Error::InvalidNextTokenException(inner)
1369            }
1370            crate::operation::list_tags_for_resource::ListTagsForResourceError::InvalidRequestException(inner) => {
1371                Error::InvalidRequestException(inner)
1372            }
1373            crate::operation::list_tags_for_resource::ListTagsForResourceError::ServiceUnavailableException(inner) => {
1374                Error::ServiceUnavailableException(inner)
1375            }
1376            crate::operation::list_tags_for_resource::ListTagsForResourceError::Unhandled(inner) => Error::Unhandled(inner),
1377        }
1378    }
1379}
1380impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_users::ListUsersError, R>> for Error
1381where
1382    R: Send + Sync + std::fmt::Debug + 'static,
1383{
1384    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_users::ListUsersError, R>) -> Self {
1385        match err {
1386            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1387            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1388                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1389                source: err.into(),
1390            }),
1391        }
1392    }
1393}
1394impl From<crate::operation::list_users::ListUsersError> for Error {
1395    fn from(err: crate::operation::list_users::ListUsersError) -> Self {
1396        match err {
1397            crate::operation::list_users::ListUsersError::InternalServiceError(inner) => Error::InternalServiceError(inner),
1398            crate::operation::list_users::ListUsersError::InvalidNextTokenException(inner) => Error::InvalidNextTokenException(inner),
1399            crate::operation::list_users::ListUsersError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
1400            crate::operation::list_users::ListUsersError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1401            crate::operation::list_users::ListUsersError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
1402            crate::operation::list_users::ListUsersError::Unhandled(inner) => Error::Unhandled(inner),
1403        }
1404    }
1405}
1406impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_web_apps::ListWebAppsError, R>> for Error
1407where
1408    R: Send + Sync + std::fmt::Debug + 'static,
1409{
1410    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_web_apps::ListWebAppsError, R>) -> Self {
1411        match err {
1412            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1413            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1414                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1415                source: err.into(),
1416            }),
1417        }
1418    }
1419}
1420impl From<crate::operation::list_web_apps::ListWebAppsError> for Error {
1421    fn from(err: crate::operation::list_web_apps::ListWebAppsError) -> Self {
1422        match err {
1423            crate::operation::list_web_apps::ListWebAppsError::InternalServiceError(inner) => Error::InternalServiceError(inner),
1424            crate::operation::list_web_apps::ListWebAppsError::InvalidNextTokenException(inner) => Error::InvalidNextTokenException(inner),
1425            crate::operation::list_web_apps::ListWebAppsError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
1426            crate::operation::list_web_apps::ListWebAppsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1427            crate::operation::list_web_apps::ListWebAppsError::Unhandled(inner) => Error::Unhandled(inner),
1428        }
1429    }
1430}
1431impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_workflows::ListWorkflowsError, R>> for Error
1432where
1433    R: Send + Sync + std::fmt::Debug + 'static,
1434{
1435    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_workflows::ListWorkflowsError, R>) -> Self {
1436        match err {
1437            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1438            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1439                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1440                source: err.into(),
1441            }),
1442        }
1443    }
1444}
1445impl From<crate::operation::list_workflows::ListWorkflowsError> for Error {
1446    fn from(err: crate::operation::list_workflows::ListWorkflowsError) -> Self {
1447        match err {
1448            crate::operation::list_workflows::ListWorkflowsError::InternalServiceError(inner) => Error::InternalServiceError(inner),
1449            crate::operation::list_workflows::ListWorkflowsError::InvalidNextTokenException(inner) => Error::InvalidNextTokenException(inner),
1450            crate::operation::list_workflows::ListWorkflowsError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
1451            crate::operation::list_workflows::ListWorkflowsError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
1452            crate::operation::list_workflows::ListWorkflowsError::Unhandled(inner) => Error::Unhandled(inner),
1453        }
1454    }
1455}
1456impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::send_workflow_step_state::SendWorkflowStepStateError, R>> for Error
1457where
1458    R: Send + Sync + std::fmt::Debug + 'static,
1459{
1460    fn from(
1461        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::send_workflow_step_state::SendWorkflowStepStateError, R>,
1462    ) -> Self {
1463        match err {
1464            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1465            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1466                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1467                source: err.into(),
1468            }),
1469        }
1470    }
1471}
1472impl From<crate::operation::send_workflow_step_state::SendWorkflowStepStateError> for Error {
1473    fn from(err: crate::operation::send_workflow_step_state::SendWorkflowStepStateError) -> Self {
1474        match err {
1475            crate::operation::send_workflow_step_state::SendWorkflowStepStateError::AccessDeniedException(inner) => {
1476                Error::AccessDeniedException(inner)
1477            }
1478            crate::operation::send_workflow_step_state::SendWorkflowStepStateError::InternalServiceError(inner) => Error::InternalServiceError(inner),
1479            crate::operation::send_workflow_step_state::SendWorkflowStepStateError::InvalidRequestException(inner) => {
1480                Error::InvalidRequestException(inner)
1481            }
1482            crate::operation::send_workflow_step_state::SendWorkflowStepStateError::ResourceNotFoundException(inner) => {
1483                Error::ResourceNotFoundException(inner)
1484            }
1485            crate::operation::send_workflow_step_state::SendWorkflowStepStateError::ServiceUnavailableException(inner) => {
1486                Error::ServiceUnavailableException(inner)
1487            }
1488            crate::operation::send_workflow_step_state::SendWorkflowStepStateError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1489            crate::operation::send_workflow_step_state::SendWorkflowStepStateError::Unhandled(inner) => Error::Unhandled(inner),
1490        }
1491    }
1492}
1493impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_directory_listing::StartDirectoryListingError, R>> for Error
1494where
1495    R: Send + Sync + std::fmt::Debug + 'static,
1496{
1497    fn from(
1498        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_directory_listing::StartDirectoryListingError, R>,
1499    ) -> Self {
1500        match err {
1501            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1502            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1503                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1504                source: err.into(),
1505            }),
1506        }
1507    }
1508}
1509impl From<crate::operation::start_directory_listing::StartDirectoryListingError> for Error {
1510    fn from(err: crate::operation::start_directory_listing::StartDirectoryListingError) -> Self {
1511        match err {
1512            crate::operation::start_directory_listing::StartDirectoryListingError::InternalServiceError(inner) => Error::InternalServiceError(inner),
1513            crate::operation::start_directory_listing::StartDirectoryListingError::InvalidRequestException(inner) => {
1514                Error::InvalidRequestException(inner)
1515            }
1516            crate::operation::start_directory_listing::StartDirectoryListingError::ResourceNotFoundException(inner) => {
1517                Error::ResourceNotFoundException(inner)
1518            }
1519            crate::operation::start_directory_listing::StartDirectoryListingError::ServiceUnavailableException(inner) => {
1520                Error::ServiceUnavailableException(inner)
1521            }
1522            crate::operation::start_directory_listing::StartDirectoryListingError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1523            crate::operation::start_directory_listing::StartDirectoryListingError::Unhandled(inner) => Error::Unhandled(inner),
1524        }
1525    }
1526}
1527impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_file_transfer::StartFileTransferError, R>> for Error
1528where
1529    R: Send + Sync + std::fmt::Debug + 'static,
1530{
1531    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_file_transfer::StartFileTransferError, R>) -> Self {
1532        match err {
1533            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1534            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1535                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1536                source: err.into(),
1537            }),
1538        }
1539    }
1540}
1541impl From<crate::operation::start_file_transfer::StartFileTransferError> for Error {
1542    fn from(err: crate::operation::start_file_transfer::StartFileTransferError) -> Self {
1543        match err {
1544            crate::operation::start_file_transfer::StartFileTransferError::InternalServiceError(inner) => Error::InternalServiceError(inner),
1545            crate::operation::start_file_transfer::StartFileTransferError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
1546            crate::operation::start_file_transfer::StartFileTransferError::ResourceNotFoundException(inner) => {
1547                Error::ResourceNotFoundException(inner)
1548            }
1549            crate::operation::start_file_transfer::StartFileTransferError::ServiceUnavailableException(inner) => {
1550                Error::ServiceUnavailableException(inner)
1551            }
1552            crate::operation::start_file_transfer::StartFileTransferError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1553            crate::operation::start_file_transfer::StartFileTransferError::Unhandled(inner) => Error::Unhandled(inner),
1554        }
1555    }
1556}
1557impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_remote_delete::StartRemoteDeleteError, R>> for Error
1558where
1559    R: Send + Sync + std::fmt::Debug + 'static,
1560{
1561    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_remote_delete::StartRemoteDeleteError, R>) -> Self {
1562        match err {
1563            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1564            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1565                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1566                source: err.into(),
1567            }),
1568        }
1569    }
1570}
1571impl From<crate::operation::start_remote_delete::StartRemoteDeleteError> for Error {
1572    fn from(err: crate::operation::start_remote_delete::StartRemoteDeleteError) -> Self {
1573        match err {
1574            crate::operation::start_remote_delete::StartRemoteDeleteError::InternalServiceError(inner) => Error::InternalServiceError(inner),
1575            crate::operation::start_remote_delete::StartRemoteDeleteError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
1576            crate::operation::start_remote_delete::StartRemoteDeleteError::ResourceNotFoundException(inner) => {
1577                Error::ResourceNotFoundException(inner)
1578            }
1579            crate::operation::start_remote_delete::StartRemoteDeleteError::ServiceUnavailableException(inner) => {
1580                Error::ServiceUnavailableException(inner)
1581            }
1582            crate::operation::start_remote_delete::StartRemoteDeleteError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1583            crate::operation::start_remote_delete::StartRemoteDeleteError::Unhandled(inner) => Error::Unhandled(inner),
1584        }
1585    }
1586}
1587impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_remote_move::StartRemoteMoveError, R>> for Error
1588where
1589    R: Send + Sync + std::fmt::Debug + 'static,
1590{
1591    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_remote_move::StartRemoteMoveError, R>) -> Self {
1592        match err {
1593            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1594            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1595                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1596                source: err.into(),
1597            }),
1598        }
1599    }
1600}
1601impl From<crate::operation::start_remote_move::StartRemoteMoveError> for Error {
1602    fn from(err: crate::operation::start_remote_move::StartRemoteMoveError) -> Self {
1603        match err {
1604            crate::operation::start_remote_move::StartRemoteMoveError::InternalServiceError(inner) => Error::InternalServiceError(inner),
1605            crate::operation::start_remote_move::StartRemoteMoveError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
1606            crate::operation::start_remote_move::StartRemoteMoveError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1607            crate::operation::start_remote_move::StartRemoteMoveError::ServiceUnavailableException(inner) => {
1608                Error::ServiceUnavailableException(inner)
1609            }
1610            crate::operation::start_remote_move::StartRemoteMoveError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1611            crate::operation::start_remote_move::StartRemoteMoveError::Unhandled(inner) => Error::Unhandled(inner),
1612        }
1613    }
1614}
1615impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_server::StartServerError, R>> for Error
1616where
1617    R: Send + Sync + std::fmt::Debug + 'static,
1618{
1619    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_server::StartServerError, R>) -> Self {
1620        match err {
1621            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1622            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1623                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1624                source: err.into(),
1625            }),
1626        }
1627    }
1628}
1629impl From<crate::operation::start_server::StartServerError> for Error {
1630    fn from(err: crate::operation::start_server::StartServerError) -> Self {
1631        match err {
1632            crate::operation::start_server::StartServerError::InternalServiceError(inner) => Error::InternalServiceError(inner),
1633            crate::operation::start_server::StartServerError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
1634            crate::operation::start_server::StartServerError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1635            crate::operation::start_server::StartServerError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
1636            crate::operation::start_server::StartServerError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1637            crate::operation::start_server::StartServerError::Unhandled(inner) => Error::Unhandled(inner),
1638        }
1639    }
1640}
1641impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_server::StopServerError, R>> for Error
1642where
1643    R: Send + Sync + std::fmt::Debug + 'static,
1644{
1645    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_server::StopServerError, R>) -> Self {
1646        match err {
1647            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1648            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1649                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1650                source: err.into(),
1651            }),
1652        }
1653    }
1654}
1655impl From<crate::operation::stop_server::StopServerError> for Error {
1656    fn from(err: crate::operation::stop_server::StopServerError) -> Self {
1657        match err {
1658            crate::operation::stop_server::StopServerError::InternalServiceError(inner) => Error::InternalServiceError(inner),
1659            crate::operation::stop_server::StopServerError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
1660            crate::operation::stop_server::StopServerError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1661            crate::operation::stop_server::StopServerError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
1662            crate::operation::stop_server::StopServerError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1663            crate::operation::stop_server::StopServerError::Unhandled(inner) => Error::Unhandled(inner),
1664        }
1665    }
1666}
1667impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::tag_resource::TagResourceError, R>> for Error
1668where
1669    R: Send + Sync + std::fmt::Debug + 'static,
1670{
1671    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::tag_resource::TagResourceError, R>) -> Self {
1672        match err {
1673            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1674            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1675                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1676                source: err.into(),
1677            }),
1678        }
1679    }
1680}
1681impl From<crate::operation::tag_resource::TagResourceError> for Error {
1682    fn from(err: crate::operation::tag_resource::TagResourceError) -> Self {
1683        match err {
1684            crate::operation::tag_resource::TagResourceError::InternalServiceError(inner) => Error::InternalServiceError(inner),
1685            crate::operation::tag_resource::TagResourceError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
1686            crate::operation::tag_resource::TagResourceError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1687            crate::operation::tag_resource::TagResourceError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
1688            crate::operation::tag_resource::TagResourceError::Unhandled(inner) => Error::Unhandled(inner),
1689        }
1690    }
1691}
1692impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::test_connection::TestConnectionError, R>> for Error
1693where
1694    R: Send + Sync + std::fmt::Debug + 'static,
1695{
1696    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::test_connection::TestConnectionError, R>) -> Self {
1697        match err {
1698            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1699            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1700                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1701                source: err.into(),
1702            }),
1703        }
1704    }
1705}
1706impl From<crate::operation::test_connection::TestConnectionError> for Error {
1707    fn from(err: crate::operation::test_connection::TestConnectionError) -> Self {
1708        match err {
1709            crate::operation::test_connection::TestConnectionError::InternalServiceError(inner) => Error::InternalServiceError(inner),
1710            crate::operation::test_connection::TestConnectionError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
1711            crate::operation::test_connection::TestConnectionError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1712            crate::operation::test_connection::TestConnectionError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
1713            crate::operation::test_connection::TestConnectionError::Unhandled(inner) => Error::Unhandled(inner),
1714        }
1715    }
1716}
1717impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::test_identity_provider::TestIdentityProviderError, R>> for Error
1718where
1719    R: Send + Sync + std::fmt::Debug + 'static,
1720{
1721    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::test_identity_provider::TestIdentityProviderError, R>) -> Self {
1722        match err {
1723            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1724            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1725                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1726                source: err.into(),
1727            }),
1728        }
1729    }
1730}
1731impl From<crate::operation::test_identity_provider::TestIdentityProviderError> for Error {
1732    fn from(err: crate::operation::test_identity_provider::TestIdentityProviderError) -> Self {
1733        match err {
1734            crate::operation::test_identity_provider::TestIdentityProviderError::InternalServiceError(inner) => Error::InternalServiceError(inner),
1735            crate::operation::test_identity_provider::TestIdentityProviderError::InvalidRequestException(inner) => {
1736                Error::InvalidRequestException(inner)
1737            }
1738            crate::operation::test_identity_provider::TestIdentityProviderError::ResourceNotFoundException(inner) => {
1739                Error::ResourceNotFoundException(inner)
1740            }
1741            crate::operation::test_identity_provider::TestIdentityProviderError::ServiceUnavailableException(inner) => {
1742                Error::ServiceUnavailableException(inner)
1743            }
1744            crate::operation::test_identity_provider::TestIdentityProviderError::Unhandled(inner) => Error::Unhandled(inner),
1745        }
1746    }
1747}
1748impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::untag_resource::UntagResourceError, R>> for Error
1749where
1750    R: Send + Sync + std::fmt::Debug + 'static,
1751{
1752    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::untag_resource::UntagResourceError, R>) -> Self {
1753        match err {
1754            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1755            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1756                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1757                source: err.into(),
1758            }),
1759        }
1760    }
1761}
1762impl From<crate::operation::untag_resource::UntagResourceError> for Error {
1763    fn from(err: crate::operation::untag_resource::UntagResourceError) -> Self {
1764        match err {
1765            crate::operation::untag_resource::UntagResourceError::InternalServiceError(inner) => Error::InternalServiceError(inner),
1766            crate::operation::untag_resource::UntagResourceError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
1767            crate::operation::untag_resource::UntagResourceError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1768            crate::operation::untag_resource::UntagResourceError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
1769            crate::operation::untag_resource::UntagResourceError::Unhandled(inner) => Error::Unhandled(inner),
1770        }
1771    }
1772}
1773impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_access::UpdateAccessError, R>> for Error
1774where
1775    R: Send + Sync + std::fmt::Debug + 'static,
1776{
1777    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_access::UpdateAccessError, R>) -> Self {
1778        match err {
1779            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1780            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1781                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1782                source: err.into(),
1783            }),
1784        }
1785    }
1786}
1787impl From<crate::operation::update_access::UpdateAccessError> for Error {
1788    fn from(err: crate::operation::update_access::UpdateAccessError) -> Self {
1789        match err {
1790            crate::operation::update_access::UpdateAccessError::InternalServiceError(inner) => Error::InternalServiceError(inner),
1791            crate::operation::update_access::UpdateAccessError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
1792            crate::operation::update_access::UpdateAccessError::ResourceExistsException(inner) => Error::ResourceExistsException(inner),
1793            crate::operation::update_access::UpdateAccessError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1794            crate::operation::update_access::UpdateAccessError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
1795            crate::operation::update_access::UpdateAccessError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1796            crate::operation::update_access::UpdateAccessError::Unhandled(inner) => Error::Unhandled(inner),
1797        }
1798    }
1799}
1800impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_agreement::UpdateAgreementError, 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::update_agreement::UpdateAgreementError, 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::update_agreement::UpdateAgreementError> for Error {
1815    fn from(err: crate::operation::update_agreement::UpdateAgreementError) -> Self {
1816        match err {
1817            crate::operation::update_agreement::UpdateAgreementError::InternalServiceError(inner) => Error::InternalServiceError(inner),
1818            crate::operation::update_agreement::UpdateAgreementError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
1819            crate::operation::update_agreement::UpdateAgreementError::ResourceExistsException(inner) => Error::ResourceExistsException(inner),
1820            crate::operation::update_agreement::UpdateAgreementError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1821            crate::operation::update_agreement::UpdateAgreementError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
1822            crate::operation::update_agreement::UpdateAgreementError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1823            crate::operation::update_agreement::UpdateAgreementError::Unhandled(inner) => Error::Unhandled(inner),
1824        }
1825    }
1826}
1827impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_certificate::UpdateCertificateError, 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::update_certificate::UpdateCertificateError, 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::update_certificate::UpdateCertificateError> for Error {
1842    fn from(err: crate::operation::update_certificate::UpdateCertificateError) -> Self {
1843        match err {
1844            crate::operation::update_certificate::UpdateCertificateError::InternalServiceError(inner) => Error::InternalServiceError(inner),
1845            crate::operation::update_certificate::UpdateCertificateError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
1846            crate::operation::update_certificate::UpdateCertificateError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1847            crate::operation::update_certificate::UpdateCertificateError::ServiceUnavailableException(inner) => {
1848                Error::ServiceUnavailableException(inner)
1849            }
1850            crate::operation::update_certificate::UpdateCertificateError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1851            crate::operation::update_certificate::UpdateCertificateError::Unhandled(inner) => Error::Unhandled(inner),
1852        }
1853    }
1854}
1855impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_connector::UpdateConnectorError, R>> for Error
1856where
1857    R: Send + Sync + std::fmt::Debug + 'static,
1858{
1859    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_connector::UpdateConnectorError, R>) -> Self {
1860        match err {
1861            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1862            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1863                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1864                source: err.into(),
1865            }),
1866        }
1867    }
1868}
1869impl From<crate::operation::update_connector::UpdateConnectorError> for Error {
1870    fn from(err: crate::operation::update_connector::UpdateConnectorError) -> Self {
1871        match err {
1872            crate::operation::update_connector::UpdateConnectorError::InternalServiceError(inner) => Error::InternalServiceError(inner),
1873            crate::operation::update_connector::UpdateConnectorError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
1874            crate::operation::update_connector::UpdateConnectorError::ResourceExistsException(inner) => Error::ResourceExistsException(inner),
1875            crate::operation::update_connector::UpdateConnectorError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1876            crate::operation::update_connector::UpdateConnectorError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
1877            crate::operation::update_connector::UpdateConnectorError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1878            crate::operation::update_connector::UpdateConnectorError::Unhandled(inner) => Error::Unhandled(inner),
1879        }
1880    }
1881}
1882impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_host_key::UpdateHostKeyError, R>> for Error
1883where
1884    R: Send + Sync + std::fmt::Debug + 'static,
1885{
1886    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_host_key::UpdateHostKeyError, R>) -> Self {
1887        match err {
1888            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1889            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1890                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1891                source: err.into(),
1892            }),
1893        }
1894    }
1895}
1896impl From<crate::operation::update_host_key::UpdateHostKeyError> for Error {
1897    fn from(err: crate::operation::update_host_key::UpdateHostKeyError) -> Self {
1898        match err {
1899            crate::operation::update_host_key::UpdateHostKeyError::InternalServiceError(inner) => Error::InternalServiceError(inner),
1900            crate::operation::update_host_key::UpdateHostKeyError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
1901            crate::operation::update_host_key::UpdateHostKeyError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1902            crate::operation::update_host_key::UpdateHostKeyError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
1903            crate::operation::update_host_key::UpdateHostKeyError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1904            crate::operation::update_host_key::UpdateHostKeyError::Unhandled(inner) => Error::Unhandled(inner),
1905        }
1906    }
1907}
1908impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_profile::UpdateProfileError, R>> for Error
1909where
1910    R: Send + Sync + std::fmt::Debug + 'static,
1911{
1912    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_profile::UpdateProfileError, R>) -> Self {
1913        match err {
1914            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1915            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1916                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1917                source: err.into(),
1918            }),
1919        }
1920    }
1921}
1922impl From<crate::operation::update_profile::UpdateProfileError> for Error {
1923    fn from(err: crate::operation::update_profile::UpdateProfileError) -> Self {
1924        match err {
1925            crate::operation::update_profile::UpdateProfileError::InternalServiceError(inner) => Error::InternalServiceError(inner),
1926            crate::operation::update_profile::UpdateProfileError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
1927            crate::operation::update_profile::UpdateProfileError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1928            crate::operation::update_profile::UpdateProfileError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
1929            crate::operation::update_profile::UpdateProfileError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1930            crate::operation::update_profile::UpdateProfileError::Unhandled(inner) => Error::Unhandled(inner),
1931        }
1932    }
1933}
1934impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_server::UpdateServerError, R>> for Error
1935where
1936    R: Send + Sync + std::fmt::Debug + 'static,
1937{
1938    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_server::UpdateServerError, R>) -> Self {
1939        match err {
1940            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1941            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1942                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1943                source: err.into(),
1944            }),
1945        }
1946    }
1947}
1948impl From<crate::operation::update_server::UpdateServerError> for Error {
1949    fn from(err: crate::operation::update_server::UpdateServerError) -> Self {
1950        match err {
1951            crate::operation::update_server::UpdateServerError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1952            crate::operation::update_server::UpdateServerError::ConflictException(inner) => Error::ConflictException(inner),
1953            crate::operation::update_server::UpdateServerError::InternalServiceError(inner) => Error::InternalServiceError(inner),
1954            crate::operation::update_server::UpdateServerError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
1955            crate::operation::update_server::UpdateServerError::ResourceExistsException(inner) => Error::ResourceExistsException(inner),
1956            crate::operation::update_server::UpdateServerError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1957            crate::operation::update_server::UpdateServerError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
1958            crate::operation::update_server::UpdateServerError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1959            crate::operation::update_server::UpdateServerError::Unhandled(inner) => Error::Unhandled(inner),
1960        }
1961    }
1962}
1963impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_user::UpdateUserError, R>> for Error
1964where
1965    R: Send + Sync + std::fmt::Debug + 'static,
1966{
1967    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_user::UpdateUserError, R>) -> Self {
1968        match err {
1969            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1970            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1971                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1972                source: err.into(),
1973            }),
1974        }
1975    }
1976}
1977impl From<crate::operation::update_user::UpdateUserError> for Error {
1978    fn from(err: crate::operation::update_user::UpdateUserError) -> Self {
1979        match err {
1980            crate::operation::update_user::UpdateUserError::InternalServiceError(inner) => Error::InternalServiceError(inner),
1981            crate::operation::update_user::UpdateUserError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
1982            crate::operation::update_user::UpdateUserError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1983            crate::operation::update_user::UpdateUserError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
1984            crate::operation::update_user::UpdateUserError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1985            crate::operation::update_user::UpdateUserError::Unhandled(inner) => Error::Unhandled(inner),
1986        }
1987    }
1988}
1989impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_web_app::UpdateWebAppError, R>> for Error
1990where
1991    R: Send + Sync + std::fmt::Debug + 'static,
1992{
1993    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_web_app::UpdateWebAppError, R>) -> Self {
1994        match err {
1995            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1996            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1997                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1998                source: err.into(),
1999            }),
2000        }
2001    }
2002}
2003impl From<crate::operation::update_web_app::UpdateWebAppError> for Error {
2004    fn from(err: crate::operation::update_web_app::UpdateWebAppError) -> Self {
2005        match err {
2006            crate::operation::update_web_app::UpdateWebAppError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2007            crate::operation::update_web_app::UpdateWebAppError::ConflictException(inner) => Error::ConflictException(inner),
2008            crate::operation::update_web_app::UpdateWebAppError::InternalServiceError(inner) => Error::InternalServiceError(inner),
2009            crate::operation::update_web_app::UpdateWebAppError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
2010            crate::operation::update_web_app::UpdateWebAppError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
2011            crate::operation::update_web_app::UpdateWebAppError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2012            crate::operation::update_web_app::UpdateWebAppError::Unhandled(inner) => Error::Unhandled(inner),
2013        }
2014    }
2015}
2016impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_web_app_customization::UpdateWebAppCustomizationError, R>>
2017    for Error
2018where
2019    R: Send + Sync + std::fmt::Debug + 'static,
2020{
2021    fn from(
2022        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_web_app_customization::UpdateWebAppCustomizationError, R>,
2023    ) -> Self {
2024        match err {
2025            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2026            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2027                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2028                source: err.into(),
2029            }),
2030        }
2031    }
2032}
2033impl From<crate::operation::update_web_app_customization::UpdateWebAppCustomizationError> for Error {
2034    fn from(err: crate::operation::update_web_app_customization::UpdateWebAppCustomizationError) -> Self {
2035        match err {
2036            crate::operation::update_web_app_customization::UpdateWebAppCustomizationError::AccessDeniedException(inner) => {
2037                Error::AccessDeniedException(inner)
2038            }
2039            crate::operation::update_web_app_customization::UpdateWebAppCustomizationError::ConflictException(inner) => {
2040                Error::ConflictException(inner)
2041            }
2042            crate::operation::update_web_app_customization::UpdateWebAppCustomizationError::InternalServiceError(inner) => {
2043                Error::InternalServiceError(inner)
2044            }
2045            crate::operation::update_web_app_customization::UpdateWebAppCustomizationError::InvalidRequestException(inner) => {
2046                Error::InvalidRequestException(inner)
2047            }
2048            crate::operation::update_web_app_customization::UpdateWebAppCustomizationError::ResourceNotFoundException(inner) => {
2049                Error::ResourceNotFoundException(inner)
2050            }
2051            crate::operation::update_web_app_customization::UpdateWebAppCustomizationError::ThrottlingException(inner) => {
2052                Error::ThrottlingException(inner)
2053            }
2054            crate::operation::update_web_app_customization::UpdateWebAppCustomizationError::Unhandled(inner) => Error::Unhandled(inner),
2055        }
2056    }
2057}
2058impl<O, E> ::std::convert::From<::aws_smithy_runtime_api::client::waiters::error::WaiterError<O, E>> for Error
2059where
2060    O: ::std::fmt::Debug + ::std::marker::Send + ::std::marker::Sync + 'static,
2061    E: ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static,
2062{
2063    fn from(err: ::aws_smithy_runtime_api::client::waiters::error::WaiterError<O, E>) -> Self {
2064        Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2065            meta: ::std::default::Default::default(),
2066            source: err.into(),
2067        })
2068    }
2069}
2070impl ::std::error::Error for Error {
2071    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
2072        match self {
2073            Error::AccessDeniedException(inner) => inner.source(),
2074            Error::ConflictException(inner) => inner.source(),
2075            Error::InternalServiceError(inner) => inner.source(),
2076            Error::InvalidNextTokenException(inner) => inner.source(),
2077            Error::InvalidRequestException(inner) => inner.source(),
2078            Error::ResourceExistsException(inner) => inner.source(),
2079            Error::ResourceNotFoundException(inner) => inner.source(),
2080            Error::ServiceUnavailableException(inner) => inner.source(),
2081            Error::ThrottlingException(inner) => inner.source(),
2082            Error::Unhandled(inner) => ::std::option::Option::Some(&*inner.source),
2083        }
2084    }
2085}
2086impl ::aws_types::request_id::RequestId for Error {
2087    fn request_id(&self) -> Option<&str> {
2088        match self {
2089            Self::AccessDeniedException(e) => e.request_id(),
2090            Self::ConflictException(e) => e.request_id(),
2091            Self::InternalServiceError(e) => e.request_id(),
2092            Self::InvalidNextTokenException(e) => e.request_id(),
2093            Self::InvalidRequestException(e) => e.request_id(),
2094            Self::ResourceExistsException(e) => e.request_id(),
2095            Self::ResourceNotFoundException(e) => e.request_id(),
2096            Self::ServiceUnavailableException(e) => e.request_id(),
2097            Self::ThrottlingException(e) => e.request_id(),
2098            Self::Unhandled(e) => e.meta.request_id(),
2099        }
2100    }
2101}