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