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