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::create_tiering_configuration::CreateTieringConfigurationError, R>>
554    for Error
555where
556    R: Send + Sync + std::fmt::Debug + 'static,
557{
558    fn from(
559        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_tiering_configuration::CreateTieringConfigurationError, R>,
560    ) -> Self {
561        match err {
562            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
563            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
564                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
565                source: err.into(),
566            }),
567        }
568    }
569}
570impl From<crate::operation::create_tiering_configuration::CreateTieringConfigurationError> for Error {
571    fn from(err: crate::operation::create_tiering_configuration::CreateTieringConfigurationError) -> Self {
572        match err {
573            crate::operation::create_tiering_configuration::CreateTieringConfigurationError::AlreadyExistsException(inner) => {
574                Error::AlreadyExistsException(inner)
575            }
576            crate::operation::create_tiering_configuration::CreateTieringConfigurationError::ConflictException(inner) => {
577                Error::ConflictException(inner)
578            }
579            crate::operation::create_tiering_configuration::CreateTieringConfigurationError::InvalidParameterValueException(inner) => {
580                Error::InvalidParameterValueException(inner)
581            }
582            crate::operation::create_tiering_configuration::CreateTieringConfigurationError::LimitExceededException(inner) => {
583                Error::LimitExceededException(inner)
584            }
585            crate::operation::create_tiering_configuration::CreateTieringConfigurationError::MissingParameterValueException(inner) => {
586                Error::MissingParameterValueException(inner)
587            }
588            crate::operation::create_tiering_configuration::CreateTieringConfigurationError::ServiceUnavailableException(inner) => {
589                Error::ServiceUnavailableException(inner)
590            }
591            crate::operation::create_tiering_configuration::CreateTieringConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
592        }
593    }
594}
595impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_backup_plan::DeleteBackupPlanError, R>> for Error
596where
597    R: Send + Sync + std::fmt::Debug + 'static,
598{
599    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_backup_plan::DeleteBackupPlanError, R>) -> Self {
600        match err {
601            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
602            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
603                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
604                source: err.into(),
605            }),
606        }
607    }
608}
609impl From<crate::operation::delete_backup_plan::DeleteBackupPlanError> for Error {
610    fn from(err: crate::operation::delete_backup_plan::DeleteBackupPlanError) -> Self {
611        match err {
612            crate::operation::delete_backup_plan::DeleteBackupPlanError::InvalidParameterValueException(inner) => {
613                Error::InvalidParameterValueException(inner)
614            }
615            crate::operation::delete_backup_plan::DeleteBackupPlanError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
616            crate::operation::delete_backup_plan::DeleteBackupPlanError::MissingParameterValueException(inner) => {
617                Error::MissingParameterValueException(inner)
618            }
619            crate::operation::delete_backup_plan::DeleteBackupPlanError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
620            crate::operation::delete_backup_plan::DeleteBackupPlanError::ServiceUnavailableException(inner) => {
621                Error::ServiceUnavailableException(inner)
622            }
623            crate::operation::delete_backup_plan::DeleteBackupPlanError::Unhandled(inner) => Error::Unhandled(inner),
624        }
625    }
626}
627impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_backup_selection::DeleteBackupSelectionError, R>> for Error
628where
629    R: Send + Sync + std::fmt::Debug + 'static,
630{
631    fn from(
632        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_backup_selection::DeleteBackupSelectionError, R>,
633    ) -> Self {
634        match err {
635            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
636            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
637                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
638                source: err.into(),
639            }),
640        }
641    }
642}
643impl From<crate::operation::delete_backup_selection::DeleteBackupSelectionError> for Error {
644    fn from(err: crate::operation::delete_backup_selection::DeleteBackupSelectionError) -> Self {
645        match err {
646            crate::operation::delete_backup_selection::DeleteBackupSelectionError::InvalidParameterValueException(inner) => {
647                Error::InvalidParameterValueException(inner)
648            }
649            crate::operation::delete_backup_selection::DeleteBackupSelectionError::MissingParameterValueException(inner) => {
650                Error::MissingParameterValueException(inner)
651            }
652            crate::operation::delete_backup_selection::DeleteBackupSelectionError::ResourceNotFoundException(inner) => {
653                Error::ResourceNotFoundException(inner)
654            }
655            crate::operation::delete_backup_selection::DeleteBackupSelectionError::ServiceUnavailableException(inner) => {
656                Error::ServiceUnavailableException(inner)
657            }
658            crate::operation::delete_backup_selection::DeleteBackupSelectionError::Unhandled(inner) => Error::Unhandled(inner),
659        }
660    }
661}
662impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_backup_vault::DeleteBackupVaultError, R>> for Error
663where
664    R: Send + Sync + std::fmt::Debug + 'static,
665{
666    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_backup_vault::DeleteBackupVaultError, R>) -> Self {
667        match err {
668            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
669            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
670                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
671                source: err.into(),
672            }),
673        }
674    }
675}
676impl From<crate::operation::delete_backup_vault::DeleteBackupVaultError> for Error {
677    fn from(err: crate::operation::delete_backup_vault::DeleteBackupVaultError) -> Self {
678        match err {
679            crate::operation::delete_backup_vault::DeleteBackupVaultError::InvalidParameterValueException(inner) => {
680                Error::InvalidParameterValueException(inner)
681            }
682            crate::operation::delete_backup_vault::DeleteBackupVaultError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
683            crate::operation::delete_backup_vault::DeleteBackupVaultError::MissingParameterValueException(inner) => {
684                Error::MissingParameterValueException(inner)
685            }
686            crate::operation::delete_backup_vault::DeleteBackupVaultError::ResourceNotFoundException(inner) => {
687                Error::ResourceNotFoundException(inner)
688            }
689            crate::operation::delete_backup_vault::DeleteBackupVaultError::ServiceUnavailableException(inner) => {
690                Error::ServiceUnavailableException(inner)
691            }
692            crate::operation::delete_backup_vault::DeleteBackupVaultError::Unhandled(inner) => Error::Unhandled(inner),
693        }
694    }
695}
696impl<R>
697    From<
698        ::aws_smithy_runtime_api::client::result::SdkError<
699            crate::operation::delete_backup_vault_access_policy::DeleteBackupVaultAccessPolicyError,
700            R,
701        >,
702    > for Error
703where
704    R: Send + Sync + std::fmt::Debug + 'static,
705{
706    fn from(
707        err: ::aws_smithy_runtime_api::client::result::SdkError<
708            crate::operation::delete_backup_vault_access_policy::DeleteBackupVaultAccessPolicyError,
709            R,
710        >,
711    ) -> Self {
712        match err {
713            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
714            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
715                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
716                source: err.into(),
717            }),
718        }
719    }
720}
721impl From<crate::operation::delete_backup_vault_access_policy::DeleteBackupVaultAccessPolicyError> for Error {
722    fn from(err: crate::operation::delete_backup_vault_access_policy::DeleteBackupVaultAccessPolicyError) -> Self {
723        match err {
724            crate::operation::delete_backup_vault_access_policy::DeleteBackupVaultAccessPolicyError::InvalidParameterValueException(inner) => {
725                Error::InvalidParameterValueException(inner)
726            }
727            crate::operation::delete_backup_vault_access_policy::DeleteBackupVaultAccessPolicyError::MissingParameterValueException(inner) => {
728                Error::MissingParameterValueException(inner)
729            }
730            crate::operation::delete_backup_vault_access_policy::DeleteBackupVaultAccessPolicyError::ResourceNotFoundException(inner) => {
731                Error::ResourceNotFoundException(inner)
732            }
733            crate::operation::delete_backup_vault_access_policy::DeleteBackupVaultAccessPolicyError::ServiceUnavailableException(inner) => {
734                Error::ServiceUnavailableException(inner)
735            }
736            crate::operation::delete_backup_vault_access_policy::DeleteBackupVaultAccessPolicyError::Unhandled(inner) => Error::Unhandled(inner),
737        }
738    }
739}
740impl<R>
741    From<
742        ::aws_smithy_runtime_api::client::result::SdkError<
743            crate::operation::delete_backup_vault_lock_configuration::DeleteBackupVaultLockConfigurationError,
744            R,
745        >,
746    > for Error
747where
748    R: Send + Sync + std::fmt::Debug + 'static,
749{
750    fn from(
751        err: ::aws_smithy_runtime_api::client::result::SdkError<
752            crate::operation::delete_backup_vault_lock_configuration::DeleteBackupVaultLockConfigurationError,
753            R,
754        >,
755    ) -> Self {
756        match err {
757            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
758            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
759                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
760                source: err.into(),
761            }),
762        }
763    }
764}
765impl From<crate::operation::delete_backup_vault_lock_configuration::DeleteBackupVaultLockConfigurationError> for Error {
766    fn from(err: crate::operation::delete_backup_vault_lock_configuration::DeleteBackupVaultLockConfigurationError) -> Self {
767        match err {
768            crate::operation::delete_backup_vault_lock_configuration::DeleteBackupVaultLockConfigurationError::InvalidParameterValueException(
769                inner,
770            ) => Error::InvalidParameterValueException(inner),
771            crate::operation::delete_backup_vault_lock_configuration::DeleteBackupVaultLockConfigurationError::InvalidRequestException(inner) => {
772                Error::InvalidRequestException(inner)
773            }
774            crate::operation::delete_backup_vault_lock_configuration::DeleteBackupVaultLockConfigurationError::MissingParameterValueException(
775                inner,
776            ) => Error::MissingParameterValueException(inner),
777            crate::operation::delete_backup_vault_lock_configuration::DeleteBackupVaultLockConfigurationError::ResourceNotFoundException(inner) => {
778                Error::ResourceNotFoundException(inner)
779            }
780            crate::operation::delete_backup_vault_lock_configuration::DeleteBackupVaultLockConfigurationError::ServiceUnavailableException(inner) => {
781                Error::ServiceUnavailableException(inner)
782            }
783            crate::operation::delete_backup_vault_lock_configuration::DeleteBackupVaultLockConfigurationError::Unhandled(inner) => {
784                Error::Unhandled(inner)
785            }
786        }
787    }
788}
789impl<R>
790    From<
791        ::aws_smithy_runtime_api::client::result::SdkError<
792            crate::operation::delete_backup_vault_notifications::DeleteBackupVaultNotificationsError,
793            R,
794        >,
795    > for Error
796where
797    R: Send + Sync + std::fmt::Debug + 'static,
798{
799    fn from(
800        err: ::aws_smithy_runtime_api::client::result::SdkError<
801            crate::operation::delete_backup_vault_notifications::DeleteBackupVaultNotificationsError,
802            R,
803        >,
804    ) -> Self {
805        match err {
806            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
807            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
808                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
809                source: err.into(),
810            }),
811        }
812    }
813}
814impl From<crate::operation::delete_backup_vault_notifications::DeleteBackupVaultNotificationsError> for Error {
815    fn from(err: crate::operation::delete_backup_vault_notifications::DeleteBackupVaultNotificationsError) -> Self {
816        match err {
817            crate::operation::delete_backup_vault_notifications::DeleteBackupVaultNotificationsError::InvalidParameterValueException(inner) => {
818                Error::InvalidParameterValueException(inner)
819            }
820            crate::operation::delete_backup_vault_notifications::DeleteBackupVaultNotificationsError::MissingParameterValueException(inner) => {
821                Error::MissingParameterValueException(inner)
822            }
823            crate::operation::delete_backup_vault_notifications::DeleteBackupVaultNotificationsError::ResourceNotFoundException(inner) => {
824                Error::ResourceNotFoundException(inner)
825            }
826            crate::operation::delete_backup_vault_notifications::DeleteBackupVaultNotificationsError::ServiceUnavailableException(inner) => {
827                Error::ServiceUnavailableException(inner)
828            }
829            crate::operation::delete_backup_vault_notifications::DeleteBackupVaultNotificationsError::Unhandled(inner) => Error::Unhandled(inner),
830        }
831    }
832}
833impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_framework::DeleteFrameworkError, R>> for Error
834where
835    R: Send + Sync + std::fmt::Debug + 'static,
836{
837    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_framework::DeleteFrameworkError, R>) -> Self {
838        match err {
839            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
840            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
841                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
842                source: err.into(),
843            }),
844        }
845    }
846}
847impl From<crate::operation::delete_framework::DeleteFrameworkError> for Error {
848    fn from(err: crate::operation::delete_framework::DeleteFrameworkError) -> Self {
849        match err {
850            crate::operation::delete_framework::DeleteFrameworkError::ConflictException(inner) => Error::ConflictException(inner),
851            crate::operation::delete_framework::DeleteFrameworkError::InvalidParameterValueException(inner) => {
852                Error::InvalidParameterValueException(inner)
853            }
854            crate::operation::delete_framework::DeleteFrameworkError::MissingParameterValueException(inner) => {
855                Error::MissingParameterValueException(inner)
856            }
857            crate::operation::delete_framework::DeleteFrameworkError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
858            crate::operation::delete_framework::DeleteFrameworkError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
859            crate::operation::delete_framework::DeleteFrameworkError::Unhandled(inner) => Error::Unhandled(inner),
860        }
861    }
862}
863impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_recovery_point::DeleteRecoveryPointError, R>> for Error
864where
865    R: Send + Sync + std::fmt::Debug + 'static,
866{
867    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_recovery_point::DeleteRecoveryPointError, R>) -> Self {
868        match err {
869            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
870            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
871                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
872                source: err.into(),
873            }),
874        }
875    }
876}
877impl From<crate::operation::delete_recovery_point::DeleteRecoveryPointError> for Error {
878    fn from(err: crate::operation::delete_recovery_point::DeleteRecoveryPointError) -> Self {
879        match err {
880            crate::operation::delete_recovery_point::DeleteRecoveryPointError::InvalidParameterValueException(inner) => {
881                Error::InvalidParameterValueException(inner)
882            }
883            crate::operation::delete_recovery_point::DeleteRecoveryPointError::InvalidRequestException(inner) => {
884                Error::InvalidRequestException(inner)
885            }
886            crate::operation::delete_recovery_point::DeleteRecoveryPointError::InvalidResourceStateException(inner) => {
887                Error::InvalidResourceStateException(inner)
888            }
889            crate::operation::delete_recovery_point::DeleteRecoveryPointError::MissingParameterValueException(inner) => {
890                Error::MissingParameterValueException(inner)
891            }
892            crate::operation::delete_recovery_point::DeleteRecoveryPointError::ResourceNotFoundException(inner) => {
893                Error::ResourceNotFoundException(inner)
894            }
895            crate::operation::delete_recovery_point::DeleteRecoveryPointError::ServiceUnavailableException(inner) => {
896                Error::ServiceUnavailableException(inner)
897            }
898            crate::operation::delete_recovery_point::DeleteRecoveryPointError::Unhandled(inner) => Error::Unhandled(inner),
899        }
900    }
901}
902impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_report_plan::DeleteReportPlanError, R>> for Error
903where
904    R: Send + Sync + std::fmt::Debug + 'static,
905{
906    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_report_plan::DeleteReportPlanError, R>) -> Self {
907        match err {
908            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
909            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
910                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
911                source: err.into(),
912            }),
913        }
914    }
915}
916impl From<crate::operation::delete_report_plan::DeleteReportPlanError> for Error {
917    fn from(err: crate::operation::delete_report_plan::DeleteReportPlanError) -> Self {
918        match err {
919            crate::operation::delete_report_plan::DeleteReportPlanError::ConflictException(inner) => Error::ConflictException(inner),
920            crate::operation::delete_report_plan::DeleteReportPlanError::InvalidParameterValueException(inner) => {
921                Error::InvalidParameterValueException(inner)
922            }
923            crate::operation::delete_report_plan::DeleteReportPlanError::MissingParameterValueException(inner) => {
924                Error::MissingParameterValueException(inner)
925            }
926            crate::operation::delete_report_plan::DeleteReportPlanError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
927            crate::operation::delete_report_plan::DeleteReportPlanError::ServiceUnavailableException(inner) => {
928                Error::ServiceUnavailableException(inner)
929            }
930            crate::operation::delete_report_plan::DeleteReportPlanError::Unhandled(inner) => Error::Unhandled(inner),
931        }
932    }
933}
934impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_restore_testing_plan::DeleteRestoreTestingPlanError, R>>
935    for Error
936where
937    R: Send + Sync + std::fmt::Debug + 'static,
938{
939    fn from(
940        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_restore_testing_plan::DeleteRestoreTestingPlanError, R>,
941    ) -> Self {
942        match err {
943            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
944            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
945                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
946                source: err.into(),
947            }),
948        }
949    }
950}
951impl From<crate::operation::delete_restore_testing_plan::DeleteRestoreTestingPlanError> for Error {
952    fn from(err: crate::operation::delete_restore_testing_plan::DeleteRestoreTestingPlanError) -> Self {
953        match err {
954            crate::operation::delete_restore_testing_plan::DeleteRestoreTestingPlanError::InvalidRequestException(inner) => {
955                Error::InvalidRequestException(inner)
956            }
957            crate::operation::delete_restore_testing_plan::DeleteRestoreTestingPlanError::ServiceUnavailableException(inner) => {
958                Error::ServiceUnavailableException(inner)
959            }
960            crate::operation::delete_restore_testing_plan::DeleteRestoreTestingPlanError::Unhandled(inner) => Error::Unhandled(inner),
961        }
962    }
963}
964impl<R>
965    From<
966        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_restore_testing_selection::DeleteRestoreTestingSelectionError, R>,
967    > for Error
968where
969    R: Send + Sync + std::fmt::Debug + 'static,
970{
971    fn from(
972        err: ::aws_smithy_runtime_api::client::result::SdkError<
973            crate::operation::delete_restore_testing_selection::DeleteRestoreTestingSelectionError,
974            R,
975        >,
976    ) -> Self {
977        match err {
978            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
979            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
980                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
981                source: err.into(),
982            }),
983        }
984    }
985}
986impl From<crate::operation::delete_restore_testing_selection::DeleteRestoreTestingSelectionError> for Error {
987    fn from(err: crate::operation::delete_restore_testing_selection::DeleteRestoreTestingSelectionError) -> Self {
988        match err {
989            crate::operation::delete_restore_testing_selection::DeleteRestoreTestingSelectionError::ResourceNotFoundException(inner) => {
990                Error::ResourceNotFoundException(inner)
991            }
992            crate::operation::delete_restore_testing_selection::DeleteRestoreTestingSelectionError::ServiceUnavailableException(inner) => {
993                Error::ServiceUnavailableException(inner)
994            }
995            crate::operation::delete_restore_testing_selection::DeleteRestoreTestingSelectionError::Unhandled(inner) => Error::Unhandled(inner),
996        }
997    }
998}
999impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_tiering_configuration::DeleteTieringConfigurationError, R>>
1000    for Error
1001where
1002    R: Send + Sync + std::fmt::Debug + 'static,
1003{
1004    fn from(
1005        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_tiering_configuration::DeleteTieringConfigurationError, R>,
1006    ) -> Self {
1007        match err {
1008            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1009            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1010                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1011                source: err.into(),
1012            }),
1013        }
1014    }
1015}
1016impl From<crate::operation::delete_tiering_configuration::DeleteTieringConfigurationError> for Error {
1017    fn from(err: crate::operation::delete_tiering_configuration::DeleteTieringConfigurationError) -> Self {
1018        match err {
1019            crate::operation::delete_tiering_configuration::DeleteTieringConfigurationError::InvalidParameterValueException(inner) => {
1020                Error::InvalidParameterValueException(inner)
1021            }
1022            crate::operation::delete_tiering_configuration::DeleteTieringConfigurationError::MissingParameterValueException(inner) => {
1023                Error::MissingParameterValueException(inner)
1024            }
1025            crate::operation::delete_tiering_configuration::DeleteTieringConfigurationError::ResourceNotFoundException(inner) => {
1026                Error::ResourceNotFoundException(inner)
1027            }
1028            crate::operation::delete_tiering_configuration::DeleteTieringConfigurationError::ServiceUnavailableException(inner) => {
1029                Error::ServiceUnavailableException(inner)
1030            }
1031            crate::operation::delete_tiering_configuration::DeleteTieringConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
1032        }
1033    }
1034}
1035impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_backup_job::DescribeBackupJobError, R>> for Error
1036where
1037    R: Send + Sync + std::fmt::Debug + 'static,
1038{
1039    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_backup_job::DescribeBackupJobError, R>) -> Self {
1040        match err {
1041            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1042            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1043                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1044                source: err.into(),
1045            }),
1046        }
1047    }
1048}
1049impl From<crate::operation::describe_backup_job::DescribeBackupJobError> for Error {
1050    fn from(err: crate::operation::describe_backup_job::DescribeBackupJobError) -> Self {
1051        match err {
1052            crate::operation::describe_backup_job::DescribeBackupJobError::DependencyFailureException(inner) => {
1053                Error::DependencyFailureException(inner)
1054            }
1055            crate::operation::describe_backup_job::DescribeBackupJobError::InvalidParameterValueException(inner) => {
1056                Error::InvalidParameterValueException(inner)
1057            }
1058            crate::operation::describe_backup_job::DescribeBackupJobError::MissingParameterValueException(inner) => {
1059                Error::MissingParameterValueException(inner)
1060            }
1061            crate::operation::describe_backup_job::DescribeBackupJobError::ResourceNotFoundException(inner) => {
1062                Error::ResourceNotFoundException(inner)
1063            }
1064            crate::operation::describe_backup_job::DescribeBackupJobError::ServiceUnavailableException(inner) => {
1065                Error::ServiceUnavailableException(inner)
1066            }
1067            crate::operation::describe_backup_job::DescribeBackupJobError::Unhandled(inner) => Error::Unhandled(inner),
1068        }
1069    }
1070}
1071impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_backup_vault::DescribeBackupVaultError, R>> for Error
1072where
1073    R: Send + Sync + std::fmt::Debug + 'static,
1074{
1075    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_backup_vault::DescribeBackupVaultError, R>) -> Self {
1076        match err {
1077            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1078            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1079                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1080                source: err.into(),
1081            }),
1082        }
1083    }
1084}
1085impl From<crate::operation::describe_backup_vault::DescribeBackupVaultError> for Error {
1086    fn from(err: crate::operation::describe_backup_vault::DescribeBackupVaultError) -> Self {
1087        match err {
1088            crate::operation::describe_backup_vault::DescribeBackupVaultError::InvalidParameterValueException(inner) => {
1089                Error::InvalidParameterValueException(inner)
1090            }
1091            crate::operation::describe_backup_vault::DescribeBackupVaultError::MissingParameterValueException(inner) => {
1092                Error::MissingParameterValueException(inner)
1093            }
1094            crate::operation::describe_backup_vault::DescribeBackupVaultError::ResourceNotFoundException(inner) => {
1095                Error::ResourceNotFoundException(inner)
1096            }
1097            crate::operation::describe_backup_vault::DescribeBackupVaultError::ServiceUnavailableException(inner) => {
1098                Error::ServiceUnavailableException(inner)
1099            }
1100            crate::operation::describe_backup_vault::DescribeBackupVaultError::Unhandled(inner) => Error::Unhandled(inner),
1101        }
1102    }
1103}
1104impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_copy_job::DescribeCopyJobError, R>> for Error
1105where
1106    R: Send + Sync + std::fmt::Debug + 'static,
1107{
1108    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_copy_job::DescribeCopyJobError, R>) -> Self {
1109        match err {
1110            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1111            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1112                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1113                source: err.into(),
1114            }),
1115        }
1116    }
1117}
1118impl From<crate::operation::describe_copy_job::DescribeCopyJobError> for Error {
1119    fn from(err: crate::operation::describe_copy_job::DescribeCopyJobError) -> Self {
1120        match err {
1121            crate::operation::describe_copy_job::DescribeCopyJobError::InvalidParameterValueException(inner) => {
1122                Error::InvalidParameterValueException(inner)
1123            }
1124            crate::operation::describe_copy_job::DescribeCopyJobError::MissingParameterValueException(inner) => {
1125                Error::MissingParameterValueException(inner)
1126            }
1127            crate::operation::describe_copy_job::DescribeCopyJobError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1128            crate::operation::describe_copy_job::DescribeCopyJobError::ServiceUnavailableException(inner) => {
1129                Error::ServiceUnavailableException(inner)
1130            }
1131            crate::operation::describe_copy_job::DescribeCopyJobError::Unhandled(inner) => Error::Unhandled(inner),
1132        }
1133    }
1134}
1135impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_framework::DescribeFrameworkError, R>> for Error
1136where
1137    R: Send + Sync + std::fmt::Debug + 'static,
1138{
1139    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_framework::DescribeFrameworkError, R>) -> Self {
1140        match err {
1141            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1142            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1143                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1144                source: err.into(),
1145            }),
1146        }
1147    }
1148}
1149impl From<crate::operation::describe_framework::DescribeFrameworkError> for Error {
1150    fn from(err: crate::operation::describe_framework::DescribeFrameworkError) -> Self {
1151        match err {
1152            crate::operation::describe_framework::DescribeFrameworkError::InvalidParameterValueException(inner) => {
1153                Error::InvalidParameterValueException(inner)
1154            }
1155            crate::operation::describe_framework::DescribeFrameworkError::MissingParameterValueException(inner) => {
1156                Error::MissingParameterValueException(inner)
1157            }
1158            crate::operation::describe_framework::DescribeFrameworkError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1159            crate::operation::describe_framework::DescribeFrameworkError::ServiceUnavailableException(inner) => {
1160                Error::ServiceUnavailableException(inner)
1161            }
1162            crate::operation::describe_framework::DescribeFrameworkError::Unhandled(inner) => Error::Unhandled(inner),
1163        }
1164    }
1165}
1166impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_global_settings::DescribeGlobalSettingsError, R>> for Error
1167where
1168    R: Send + Sync + std::fmt::Debug + 'static,
1169{
1170    fn from(
1171        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_global_settings::DescribeGlobalSettingsError, R>,
1172    ) -> Self {
1173        match err {
1174            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1175            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1176                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1177                source: err.into(),
1178            }),
1179        }
1180    }
1181}
1182impl From<crate::operation::describe_global_settings::DescribeGlobalSettingsError> for Error {
1183    fn from(err: crate::operation::describe_global_settings::DescribeGlobalSettingsError) -> Self {
1184        match err {
1185            crate::operation::describe_global_settings::DescribeGlobalSettingsError::InvalidRequestException(inner) => {
1186                Error::InvalidRequestException(inner)
1187            }
1188            crate::operation::describe_global_settings::DescribeGlobalSettingsError::ServiceUnavailableException(inner) => {
1189                Error::ServiceUnavailableException(inner)
1190            }
1191            crate::operation::describe_global_settings::DescribeGlobalSettingsError::Unhandled(inner) => Error::Unhandled(inner),
1192        }
1193    }
1194}
1195impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_protected_resource::DescribeProtectedResourceError, R>>
1196    for Error
1197where
1198    R: Send + Sync + std::fmt::Debug + 'static,
1199{
1200    fn from(
1201        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_protected_resource::DescribeProtectedResourceError, R>,
1202    ) -> Self {
1203        match err {
1204            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1205            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1206                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1207                source: err.into(),
1208            }),
1209        }
1210    }
1211}
1212impl From<crate::operation::describe_protected_resource::DescribeProtectedResourceError> for Error {
1213    fn from(err: crate::operation::describe_protected_resource::DescribeProtectedResourceError) -> Self {
1214        match err {
1215            crate::operation::describe_protected_resource::DescribeProtectedResourceError::InvalidParameterValueException(inner) => {
1216                Error::InvalidParameterValueException(inner)
1217            }
1218            crate::operation::describe_protected_resource::DescribeProtectedResourceError::MissingParameterValueException(inner) => {
1219                Error::MissingParameterValueException(inner)
1220            }
1221            crate::operation::describe_protected_resource::DescribeProtectedResourceError::ResourceNotFoundException(inner) => {
1222                Error::ResourceNotFoundException(inner)
1223            }
1224            crate::operation::describe_protected_resource::DescribeProtectedResourceError::ServiceUnavailableException(inner) => {
1225                Error::ServiceUnavailableException(inner)
1226            }
1227            crate::operation::describe_protected_resource::DescribeProtectedResourceError::Unhandled(inner) => Error::Unhandled(inner),
1228        }
1229    }
1230}
1231impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_recovery_point::DescribeRecoveryPointError, R>> for Error
1232where
1233    R: Send + Sync + std::fmt::Debug + 'static,
1234{
1235    fn from(
1236        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_recovery_point::DescribeRecoveryPointError, R>,
1237    ) -> Self {
1238        match err {
1239            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1240            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1241                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1242                source: err.into(),
1243            }),
1244        }
1245    }
1246}
1247impl From<crate::operation::describe_recovery_point::DescribeRecoveryPointError> for Error {
1248    fn from(err: crate::operation::describe_recovery_point::DescribeRecoveryPointError) -> Self {
1249        match err {
1250            crate::operation::describe_recovery_point::DescribeRecoveryPointError::InvalidParameterValueException(inner) => {
1251                Error::InvalidParameterValueException(inner)
1252            }
1253            crate::operation::describe_recovery_point::DescribeRecoveryPointError::MissingParameterValueException(inner) => {
1254                Error::MissingParameterValueException(inner)
1255            }
1256            crate::operation::describe_recovery_point::DescribeRecoveryPointError::ResourceNotFoundException(inner) => {
1257                Error::ResourceNotFoundException(inner)
1258            }
1259            crate::operation::describe_recovery_point::DescribeRecoveryPointError::ServiceUnavailableException(inner) => {
1260                Error::ServiceUnavailableException(inner)
1261            }
1262            crate::operation::describe_recovery_point::DescribeRecoveryPointError::Unhandled(inner) => Error::Unhandled(inner),
1263        }
1264    }
1265}
1266impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_region_settings::DescribeRegionSettingsError, R>> for Error
1267where
1268    R: Send + Sync + std::fmt::Debug + 'static,
1269{
1270    fn from(
1271        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_region_settings::DescribeRegionSettingsError, R>,
1272    ) -> Self {
1273        match err {
1274            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1275            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1276                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1277                source: err.into(),
1278            }),
1279        }
1280    }
1281}
1282impl From<crate::operation::describe_region_settings::DescribeRegionSettingsError> for Error {
1283    fn from(err: crate::operation::describe_region_settings::DescribeRegionSettingsError) -> Self {
1284        match err {
1285            crate::operation::describe_region_settings::DescribeRegionSettingsError::ServiceUnavailableException(inner) => {
1286                Error::ServiceUnavailableException(inner)
1287            }
1288            crate::operation::describe_region_settings::DescribeRegionSettingsError::Unhandled(inner) => Error::Unhandled(inner),
1289        }
1290    }
1291}
1292impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_report_job::DescribeReportJobError, R>> for Error
1293where
1294    R: Send + Sync + std::fmt::Debug + 'static,
1295{
1296    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_report_job::DescribeReportJobError, R>) -> Self {
1297        match err {
1298            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1299            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1300                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1301                source: err.into(),
1302            }),
1303        }
1304    }
1305}
1306impl From<crate::operation::describe_report_job::DescribeReportJobError> for Error {
1307    fn from(err: crate::operation::describe_report_job::DescribeReportJobError) -> Self {
1308        match err {
1309            crate::operation::describe_report_job::DescribeReportJobError::MissingParameterValueException(inner) => {
1310                Error::MissingParameterValueException(inner)
1311            }
1312            crate::operation::describe_report_job::DescribeReportJobError::ResourceNotFoundException(inner) => {
1313                Error::ResourceNotFoundException(inner)
1314            }
1315            crate::operation::describe_report_job::DescribeReportJobError::ServiceUnavailableException(inner) => {
1316                Error::ServiceUnavailableException(inner)
1317            }
1318            crate::operation::describe_report_job::DescribeReportJobError::Unhandled(inner) => Error::Unhandled(inner),
1319        }
1320    }
1321}
1322impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_report_plan::DescribeReportPlanError, R>> for Error
1323where
1324    R: Send + Sync + std::fmt::Debug + 'static,
1325{
1326    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_report_plan::DescribeReportPlanError, R>) -> Self {
1327        match err {
1328            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1329            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1330                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1331                source: err.into(),
1332            }),
1333        }
1334    }
1335}
1336impl From<crate::operation::describe_report_plan::DescribeReportPlanError> for Error {
1337    fn from(err: crate::operation::describe_report_plan::DescribeReportPlanError) -> Self {
1338        match err {
1339            crate::operation::describe_report_plan::DescribeReportPlanError::InvalidParameterValueException(inner) => {
1340                Error::InvalidParameterValueException(inner)
1341            }
1342            crate::operation::describe_report_plan::DescribeReportPlanError::MissingParameterValueException(inner) => {
1343                Error::MissingParameterValueException(inner)
1344            }
1345            crate::operation::describe_report_plan::DescribeReportPlanError::ResourceNotFoundException(inner) => {
1346                Error::ResourceNotFoundException(inner)
1347            }
1348            crate::operation::describe_report_plan::DescribeReportPlanError::ServiceUnavailableException(inner) => {
1349                Error::ServiceUnavailableException(inner)
1350            }
1351            crate::operation::describe_report_plan::DescribeReportPlanError::Unhandled(inner) => Error::Unhandled(inner),
1352        }
1353    }
1354}
1355impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_restore_job::DescribeRestoreJobError, R>> for Error
1356where
1357    R: Send + Sync + std::fmt::Debug + 'static,
1358{
1359    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_restore_job::DescribeRestoreJobError, R>) -> Self {
1360        match err {
1361            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1362            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1363                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1364                source: err.into(),
1365            }),
1366        }
1367    }
1368}
1369impl From<crate::operation::describe_restore_job::DescribeRestoreJobError> for Error {
1370    fn from(err: crate::operation::describe_restore_job::DescribeRestoreJobError) -> Self {
1371        match err {
1372            crate::operation::describe_restore_job::DescribeRestoreJobError::DependencyFailureException(inner) => {
1373                Error::DependencyFailureException(inner)
1374            }
1375            crate::operation::describe_restore_job::DescribeRestoreJobError::InvalidParameterValueException(inner) => {
1376                Error::InvalidParameterValueException(inner)
1377            }
1378            crate::operation::describe_restore_job::DescribeRestoreJobError::MissingParameterValueException(inner) => {
1379                Error::MissingParameterValueException(inner)
1380            }
1381            crate::operation::describe_restore_job::DescribeRestoreJobError::ResourceNotFoundException(inner) => {
1382                Error::ResourceNotFoundException(inner)
1383            }
1384            crate::operation::describe_restore_job::DescribeRestoreJobError::ServiceUnavailableException(inner) => {
1385                Error::ServiceUnavailableException(inner)
1386            }
1387            crate::operation::describe_restore_job::DescribeRestoreJobError::Unhandled(inner) => Error::Unhandled(inner),
1388        }
1389    }
1390}
1391impl<R>
1392    From<
1393        ::aws_smithy_runtime_api::client::result::SdkError<
1394            crate::operation::disassociate_backup_vault_mpa_approval_team::DisassociateBackupVaultMpaApprovalTeamError,
1395            R,
1396        >,
1397    > for Error
1398where
1399    R: Send + Sync + std::fmt::Debug + 'static,
1400{
1401    fn from(
1402        err: ::aws_smithy_runtime_api::client::result::SdkError<
1403            crate::operation::disassociate_backup_vault_mpa_approval_team::DisassociateBackupVaultMpaApprovalTeamError,
1404            R,
1405        >,
1406    ) -> Self {
1407        match err {
1408            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1409            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1410                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1411                source: err.into(),
1412            }),
1413        }
1414    }
1415}
1416impl From<crate::operation::disassociate_backup_vault_mpa_approval_team::DisassociateBackupVaultMpaApprovalTeamError> for Error {
1417    fn from(err: crate::operation::disassociate_backup_vault_mpa_approval_team::DisassociateBackupVaultMpaApprovalTeamError) -> Self {
1418        match err {
1419            crate::operation::disassociate_backup_vault_mpa_approval_team::DisassociateBackupVaultMpaApprovalTeamError::InvalidParameterValueException(inner) => Error::InvalidParameterValueException(inner),
1420            crate::operation::disassociate_backup_vault_mpa_approval_team::DisassociateBackupVaultMpaApprovalTeamError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
1421            crate::operation::disassociate_backup_vault_mpa_approval_team::DisassociateBackupVaultMpaApprovalTeamError::MissingParameterValueException(inner) => Error::MissingParameterValueException(inner),
1422            crate::operation::disassociate_backup_vault_mpa_approval_team::DisassociateBackupVaultMpaApprovalTeamError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1423            crate::operation::disassociate_backup_vault_mpa_approval_team::DisassociateBackupVaultMpaApprovalTeamError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
1424            crate::operation::disassociate_backup_vault_mpa_approval_team::DisassociateBackupVaultMpaApprovalTeamError::Unhandled(inner) => Error::Unhandled(inner),
1425        }
1426    }
1427}
1428impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_recovery_point::DisassociateRecoveryPointError, R>>
1429    for Error
1430where
1431    R: Send + Sync + std::fmt::Debug + 'static,
1432{
1433    fn from(
1434        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_recovery_point::DisassociateRecoveryPointError, R>,
1435    ) -> Self {
1436        match err {
1437            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1438            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1439                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1440                source: err.into(),
1441            }),
1442        }
1443    }
1444}
1445impl From<crate::operation::disassociate_recovery_point::DisassociateRecoveryPointError> for Error {
1446    fn from(err: crate::operation::disassociate_recovery_point::DisassociateRecoveryPointError) -> Self {
1447        match err {
1448            crate::operation::disassociate_recovery_point::DisassociateRecoveryPointError::InvalidParameterValueException(inner) => {
1449                Error::InvalidParameterValueException(inner)
1450            }
1451            crate::operation::disassociate_recovery_point::DisassociateRecoveryPointError::InvalidRequestException(inner) => {
1452                Error::InvalidRequestException(inner)
1453            }
1454            crate::operation::disassociate_recovery_point::DisassociateRecoveryPointError::InvalidResourceStateException(inner) => {
1455                Error::InvalidResourceStateException(inner)
1456            }
1457            crate::operation::disassociate_recovery_point::DisassociateRecoveryPointError::MissingParameterValueException(inner) => {
1458                Error::MissingParameterValueException(inner)
1459            }
1460            crate::operation::disassociate_recovery_point::DisassociateRecoveryPointError::ResourceNotFoundException(inner) => {
1461                Error::ResourceNotFoundException(inner)
1462            }
1463            crate::operation::disassociate_recovery_point::DisassociateRecoveryPointError::ServiceUnavailableException(inner) => {
1464                Error::ServiceUnavailableException(inner)
1465            }
1466            crate::operation::disassociate_recovery_point::DisassociateRecoveryPointError::Unhandled(inner) => Error::Unhandled(inner),
1467        }
1468    }
1469}
1470impl<R>
1471    From<
1472        ::aws_smithy_runtime_api::client::result::SdkError<
1473            crate::operation::disassociate_recovery_point_from_parent::DisassociateRecoveryPointFromParentError,
1474            R,
1475        >,
1476    > for Error
1477where
1478    R: Send + Sync + std::fmt::Debug + 'static,
1479{
1480    fn from(
1481        err: ::aws_smithy_runtime_api::client::result::SdkError<
1482            crate::operation::disassociate_recovery_point_from_parent::DisassociateRecoveryPointFromParentError,
1483            R,
1484        >,
1485    ) -> Self {
1486        match err {
1487            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1488            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1489                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1490                source: err.into(),
1491            }),
1492        }
1493    }
1494}
1495impl From<crate::operation::disassociate_recovery_point_from_parent::DisassociateRecoveryPointFromParentError> for Error {
1496    fn from(err: crate::operation::disassociate_recovery_point_from_parent::DisassociateRecoveryPointFromParentError) -> Self {
1497        match err {
1498            crate::operation::disassociate_recovery_point_from_parent::DisassociateRecoveryPointFromParentError::InvalidParameterValueException(
1499                inner,
1500            ) => Error::InvalidParameterValueException(inner),
1501            crate::operation::disassociate_recovery_point_from_parent::DisassociateRecoveryPointFromParentError::InvalidRequestException(inner) => {
1502                Error::InvalidRequestException(inner)
1503            }
1504            crate::operation::disassociate_recovery_point_from_parent::DisassociateRecoveryPointFromParentError::MissingParameterValueException(
1505                inner,
1506            ) => Error::MissingParameterValueException(inner),
1507            crate::operation::disassociate_recovery_point_from_parent::DisassociateRecoveryPointFromParentError::ResourceNotFoundException(inner) => {
1508                Error::ResourceNotFoundException(inner)
1509            }
1510            crate::operation::disassociate_recovery_point_from_parent::DisassociateRecoveryPointFromParentError::ServiceUnavailableException(
1511                inner,
1512            ) => Error::ServiceUnavailableException(inner),
1513            crate::operation::disassociate_recovery_point_from_parent::DisassociateRecoveryPointFromParentError::Unhandled(inner) => {
1514                Error::Unhandled(inner)
1515            }
1516        }
1517    }
1518}
1519impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::export_backup_plan_template::ExportBackupPlanTemplateError, R>>
1520    for Error
1521where
1522    R: Send + Sync + std::fmt::Debug + 'static,
1523{
1524    fn from(
1525        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::export_backup_plan_template::ExportBackupPlanTemplateError, R>,
1526    ) -> Self {
1527        match err {
1528            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1529            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1530                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1531                source: err.into(),
1532            }),
1533        }
1534    }
1535}
1536impl From<crate::operation::export_backup_plan_template::ExportBackupPlanTemplateError> for Error {
1537    fn from(err: crate::operation::export_backup_plan_template::ExportBackupPlanTemplateError) -> Self {
1538        match err {
1539            crate::operation::export_backup_plan_template::ExportBackupPlanTemplateError::InvalidParameterValueException(inner) => {
1540                Error::InvalidParameterValueException(inner)
1541            }
1542            crate::operation::export_backup_plan_template::ExportBackupPlanTemplateError::MissingParameterValueException(inner) => {
1543                Error::MissingParameterValueException(inner)
1544            }
1545            crate::operation::export_backup_plan_template::ExportBackupPlanTemplateError::ResourceNotFoundException(inner) => {
1546                Error::ResourceNotFoundException(inner)
1547            }
1548            crate::operation::export_backup_plan_template::ExportBackupPlanTemplateError::ServiceUnavailableException(inner) => {
1549                Error::ServiceUnavailableException(inner)
1550            }
1551            crate::operation::export_backup_plan_template::ExportBackupPlanTemplateError::Unhandled(inner) => Error::Unhandled(inner),
1552        }
1553    }
1554}
1555impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_backup_plan::GetBackupPlanError, R>> for Error
1556where
1557    R: Send + Sync + std::fmt::Debug + 'static,
1558{
1559    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_backup_plan::GetBackupPlanError, R>) -> Self {
1560        match err {
1561            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1562            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1563                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1564                source: err.into(),
1565            }),
1566        }
1567    }
1568}
1569impl From<crate::operation::get_backup_plan::GetBackupPlanError> for Error {
1570    fn from(err: crate::operation::get_backup_plan::GetBackupPlanError) -> Self {
1571        match err {
1572            crate::operation::get_backup_plan::GetBackupPlanError::InvalidParameterValueException(inner) => {
1573                Error::InvalidParameterValueException(inner)
1574            }
1575            crate::operation::get_backup_plan::GetBackupPlanError::MissingParameterValueException(inner) => {
1576                Error::MissingParameterValueException(inner)
1577            }
1578            crate::operation::get_backup_plan::GetBackupPlanError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1579            crate::operation::get_backup_plan::GetBackupPlanError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
1580            crate::operation::get_backup_plan::GetBackupPlanError::Unhandled(inner) => Error::Unhandled(inner),
1581        }
1582    }
1583}
1584impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_backup_plan_from_json::GetBackupPlanFromJSONError, R>> for Error
1585where
1586    R: Send + Sync + std::fmt::Debug + 'static,
1587{
1588    fn from(
1589        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_backup_plan_from_json::GetBackupPlanFromJSONError, R>,
1590    ) -> Self {
1591        match err {
1592            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1593            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1594                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1595                source: err.into(),
1596            }),
1597        }
1598    }
1599}
1600impl From<crate::operation::get_backup_plan_from_json::GetBackupPlanFromJSONError> for Error {
1601    fn from(err: crate::operation::get_backup_plan_from_json::GetBackupPlanFromJSONError) -> Self {
1602        match err {
1603            crate::operation::get_backup_plan_from_json::GetBackupPlanFromJSONError::InvalidParameterValueException(inner) => {
1604                Error::InvalidParameterValueException(inner)
1605            }
1606            crate::operation::get_backup_plan_from_json::GetBackupPlanFromJSONError::InvalidRequestException(inner) => {
1607                Error::InvalidRequestException(inner)
1608            }
1609            crate::operation::get_backup_plan_from_json::GetBackupPlanFromJSONError::LimitExceededException(inner) => {
1610                Error::LimitExceededException(inner)
1611            }
1612            crate::operation::get_backup_plan_from_json::GetBackupPlanFromJSONError::MissingParameterValueException(inner) => {
1613                Error::MissingParameterValueException(inner)
1614            }
1615            crate::operation::get_backup_plan_from_json::GetBackupPlanFromJSONError::ServiceUnavailableException(inner) => {
1616                Error::ServiceUnavailableException(inner)
1617            }
1618            crate::operation::get_backup_plan_from_json::GetBackupPlanFromJSONError::Unhandled(inner) => Error::Unhandled(inner),
1619        }
1620    }
1621}
1622impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_backup_plan_from_template::GetBackupPlanFromTemplateError, R>>
1623    for Error
1624where
1625    R: Send + Sync + std::fmt::Debug + 'static,
1626{
1627    fn from(
1628        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_backup_plan_from_template::GetBackupPlanFromTemplateError, R>,
1629    ) -> Self {
1630        match err {
1631            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1632            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1633                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1634                source: err.into(),
1635            }),
1636        }
1637    }
1638}
1639impl From<crate::operation::get_backup_plan_from_template::GetBackupPlanFromTemplateError> for Error {
1640    fn from(err: crate::operation::get_backup_plan_from_template::GetBackupPlanFromTemplateError) -> Self {
1641        match err {
1642            crate::operation::get_backup_plan_from_template::GetBackupPlanFromTemplateError::InvalidParameterValueException(inner) => {
1643                Error::InvalidParameterValueException(inner)
1644            }
1645            crate::operation::get_backup_plan_from_template::GetBackupPlanFromTemplateError::MissingParameterValueException(inner) => {
1646                Error::MissingParameterValueException(inner)
1647            }
1648            crate::operation::get_backup_plan_from_template::GetBackupPlanFromTemplateError::ResourceNotFoundException(inner) => {
1649                Error::ResourceNotFoundException(inner)
1650            }
1651            crate::operation::get_backup_plan_from_template::GetBackupPlanFromTemplateError::ServiceUnavailableException(inner) => {
1652                Error::ServiceUnavailableException(inner)
1653            }
1654            crate::operation::get_backup_plan_from_template::GetBackupPlanFromTemplateError::Unhandled(inner) => Error::Unhandled(inner),
1655        }
1656    }
1657}
1658impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_backup_selection::GetBackupSelectionError, R>> for Error
1659where
1660    R: Send + Sync + std::fmt::Debug + 'static,
1661{
1662    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_backup_selection::GetBackupSelectionError, R>) -> Self {
1663        match err {
1664            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1665            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1666                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1667                source: err.into(),
1668            }),
1669        }
1670    }
1671}
1672impl From<crate::operation::get_backup_selection::GetBackupSelectionError> for Error {
1673    fn from(err: crate::operation::get_backup_selection::GetBackupSelectionError) -> Self {
1674        match err {
1675            crate::operation::get_backup_selection::GetBackupSelectionError::InvalidParameterValueException(inner) => {
1676                Error::InvalidParameterValueException(inner)
1677            }
1678            crate::operation::get_backup_selection::GetBackupSelectionError::MissingParameterValueException(inner) => {
1679                Error::MissingParameterValueException(inner)
1680            }
1681            crate::operation::get_backup_selection::GetBackupSelectionError::ResourceNotFoundException(inner) => {
1682                Error::ResourceNotFoundException(inner)
1683            }
1684            crate::operation::get_backup_selection::GetBackupSelectionError::ServiceUnavailableException(inner) => {
1685                Error::ServiceUnavailableException(inner)
1686            }
1687            crate::operation::get_backup_selection::GetBackupSelectionError::Unhandled(inner) => Error::Unhandled(inner),
1688        }
1689    }
1690}
1691impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_backup_vault_access_policy::GetBackupVaultAccessPolicyError, R>>
1692    for Error
1693where
1694    R: Send + Sync + std::fmt::Debug + 'static,
1695{
1696    fn from(
1697        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_backup_vault_access_policy::GetBackupVaultAccessPolicyError, R>,
1698    ) -> Self {
1699        match err {
1700            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1701            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1702                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1703                source: err.into(),
1704            }),
1705        }
1706    }
1707}
1708impl From<crate::operation::get_backup_vault_access_policy::GetBackupVaultAccessPolicyError> for Error {
1709    fn from(err: crate::operation::get_backup_vault_access_policy::GetBackupVaultAccessPolicyError) -> Self {
1710        match err {
1711            crate::operation::get_backup_vault_access_policy::GetBackupVaultAccessPolicyError::InvalidParameterValueException(inner) => {
1712                Error::InvalidParameterValueException(inner)
1713            }
1714            crate::operation::get_backup_vault_access_policy::GetBackupVaultAccessPolicyError::MissingParameterValueException(inner) => {
1715                Error::MissingParameterValueException(inner)
1716            }
1717            crate::operation::get_backup_vault_access_policy::GetBackupVaultAccessPolicyError::ResourceNotFoundException(inner) => {
1718                Error::ResourceNotFoundException(inner)
1719            }
1720            crate::operation::get_backup_vault_access_policy::GetBackupVaultAccessPolicyError::ServiceUnavailableException(inner) => {
1721                Error::ServiceUnavailableException(inner)
1722            }
1723            crate::operation::get_backup_vault_access_policy::GetBackupVaultAccessPolicyError::Unhandled(inner) => Error::Unhandled(inner),
1724        }
1725    }
1726}
1727impl<R>
1728    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_backup_vault_notifications::GetBackupVaultNotificationsError, R>>
1729    for Error
1730where
1731    R: Send + Sync + std::fmt::Debug + 'static,
1732{
1733    fn from(
1734        err: ::aws_smithy_runtime_api::client::result::SdkError<
1735            crate::operation::get_backup_vault_notifications::GetBackupVaultNotificationsError,
1736            R,
1737        >,
1738    ) -> Self {
1739        match err {
1740            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1741            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1742                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1743                source: err.into(),
1744            }),
1745        }
1746    }
1747}
1748impl From<crate::operation::get_backup_vault_notifications::GetBackupVaultNotificationsError> for Error {
1749    fn from(err: crate::operation::get_backup_vault_notifications::GetBackupVaultNotificationsError) -> Self {
1750        match err {
1751            crate::operation::get_backup_vault_notifications::GetBackupVaultNotificationsError::InvalidParameterValueException(inner) => {
1752                Error::InvalidParameterValueException(inner)
1753            }
1754            crate::operation::get_backup_vault_notifications::GetBackupVaultNotificationsError::MissingParameterValueException(inner) => {
1755                Error::MissingParameterValueException(inner)
1756            }
1757            crate::operation::get_backup_vault_notifications::GetBackupVaultNotificationsError::ResourceNotFoundException(inner) => {
1758                Error::ResourceNotFoundException(inner)
1759            }
1760            crate::operation::get_backup_vault_notifications::GetBackupVaultNotificationsError::ServiceUnavailableException(inner) => {
1761                Error::ServiceUnavailableException(inner)
1762            }
1763            crate::operation::get_backup_vault_notifications::GetBackupVaultNotificationsError::Unhandled(inner) => Error::Unhandled(inner),
1764        }
1765    }
1766}
1767impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_legal_hold::GetLegalHoldError, R>> for Error
1768where
1769    R: Send + Sync + std::fmt::Debug + 'static,
1770{
1771    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_legal_hold::GetLegalHoldError, R>) -> Self {
1772        match err {
1773            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1774            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1775                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1776                source: err.into(),
1777            }),
1778        }
1779    }
1780}
1781impl From<crate::operation::get_legal_hold::GetLegalHoldError> for Error {
1782    fn from(err: crate::operation::get_legal_hold::GetLegalHoldError) -> Self {
1783        match err {
1784            crate::operation::get_legal_hold::GetLegalHoldError::InvalidParameterValueException(inner) => {
1785                Error::InvalidParameterValueException(inner)
1786            }
1787            crate::operation::get_legal_hold::GetLegalHoldError::MissingParameterValueException(inner) => {
1788                Error::MissingParameterValueException(inner)
1789            }
1790            crate::operation::get_legal_hold::GetLegalHoldError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1791            crate::operation::get_legal_hold::GetLegalHoldError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
1792            crate::operation::get_legal_hold::GetLegalHoldError::Unhandled(inner) => Error::Unhandled(inner),
1793        }
1794    }
1795}
1796impl<R>
1797    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_recovery_point_index_details::GetRecoveryPointIndexDetailsError, R>>
1798    for Error
1799where
1800    R: Send + Sync + std::fmt::Debug + 'static,
1801{
1802    fn from(
1803        err: ::aws_smithy_runtime_api::client::result::SdkError<
1804            crate::operation::get_recovery_point_index_details::GetRecoveryPointIndexDetailsError,
1805            R,
1806        >,
1807    ) -> Self {
1808        match err {
1809            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1810            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1811                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1812                source: err.into(),
1813            }),
1814        }
1815    }
1816}
1817impl From<crate::operation::get_recovery_point_index_details::GetRecoveryPointIndexDetailsError> for Error {
1818    fn from(err: crate::operation::get_recovery_point_index_details::GetRecoveryPointIndexDetailsError) -> Self {
1819        match err {
1820            crate::operation::get_recovery_point_index_details::GetRecoveryPointIndexDetailsError::InvalidParameterValueException(inner) => {
1821                Error::InvalidParameterValueException(inner)
1822            }
1823            crate::operation::get_recovery_point_index_details::GetRecoveryPointIndexDetailsError::MissingParameterValueException(inner) => {
1824                Error::MissingParameterValueException(inner)
1825            }
1826            crate::operation::get_recovery_point_index_details::GetRecoveryPointIndexDetailsError::ResourceNotFoundException(inner) => {
1827                Error::ResourceNotFoundException(inner)
1828            }
1829            crate::operation::get_recovery_point_index_details::GetRecoveryPointIndexDetailsError::ServiceUnavailableException(inner) => {
1830                Error::ServiceUnavailableException(inner)
1831            }
1832            crate::operation::get_recovery_point_index_details::GetRecoveryPointIndexDetailsError::Unhandled(inner) => Error::Unhandled(inner),
1833        }
1834    }
1835}
1836impl<R>
1837    From<
1838        ::aws_smithy_runtime_api::client::result::SdkError<
1839            crate::operation::get_recovery_point_restore_metadata::GetRecoveryPointRestoreMetadataError,
1840            R,
1841        >,
1842    > for Error
1843where
1844    R: Send + Sync + std::fmt::Debug + 'static,
1845{
1846    fn from(
1847        err: ::aws_smithy_runtime_api::client::result::SdkError<
1848            crate::operation::get_recovery_point_restore_metadata::GetRecoveryPointRestoreMetadataError,
1849            R,
1850        >,
1851    ) -> Self {
1852        match err {
1853            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1854            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1855                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1856                source: err.into(),
1857            }),
1858        }
1859    }
1860}
1861impl From<crate::operation::get_recovery_point_restore_metadata::GetRecoveryPointRestoreMetadataError> for Error {
1862    fn from(err: crate::operation::get_recovery_point_restore_metadata::GetRecoveryPointRestoreMetadataError) -> Self {
1863        match err {
1864            crate::operation::get_recovery_point_restore_metadata::GetRecoveryPointRestoreMetadataError::InvalidParameterValueException(inner) => {
1865                Error::InvalidParameterValueException(inner)
1866            }
1867            crate::operation::get_recovery_point_restore_metadata::GetRecoveryPointRestoreMetadataError::MissingParameterValueException(inner) => {
1868                Error::MissingParameterValueException(inner)
1869            }
1870            crate::operation::get_recovery_point_restore_metadata::GetRecoveryPointRestoreMetadataError::ResourceNotFoundException(inner) => {
1871                Error::ResourceNotFoundException(inner)
1872            }
1873            crate::operation::get_recovery_point_restore_metadata::GetRecoveryPointRestoreMetadataError::ServiceUnavailableException(inner) => {
1874                Error::ServiceUnavailableException(inner)
1875            }
1876            crate::operation::get_recovery_point_restore_metadata::GetRecoveryPointRestoreMetadataError::Unhandled(inner) => Error::Unhandled(inner),
1877        }
1878    }
1879}
1880impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_restore_job_metadata::GetRestoreJobMetadataError, R>> for Error
1881where
1882    R: Send + Sync + std::fmt::Debug + 'static,
1883{
1884    fn from(
1885        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_restore_job_metadata::GetRestoreJobMetadataError, R>,
1886    ) -> Self {
1887        match err {
1888            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1889            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1890                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1891                source: err.into(),
1892            }),
1893        }
1894    }
1895}
1896impl From<crate::operation::get_restore_job_metadata::GetRestoreJobMetadataError> for Error {
1897    fn from(err: crate::operation::get_restore_job_metadata::GetRestoreJobMetadataError) -> Self {
1898        match err {
1899            crate::operation::get_restore_job_metadata::GetRestoreJobMetadataError::InvalidParameterValueException(inner) => {
1900                Error::InvalidParameterValueException(inner)
1901            }
1902            crate::operation::get_restore_job_metadata::GetRestoreJobMetadataError::MissingParameterValueException(inner) => {
1903                Error::MissingParameterValueException(inner)
1904            }
1905            crate::operation::get_restore_job_metadata::GetRestoreJobMetadataError::ResourceNotFoundException(inner) => {
1906                Error::ResourceNotFoundException(inner)
1907            }
1908            crate::operation::get_restore_job_metadata::GetRestoreJobMetadataError::ServiceUnavailableException(inner) => {
1909                Error::ServiceUnavailableException(inner)
1910            }
1911            crate::operation::get_restore_job_metadata::GetRestoreJobMetadataError::Unhandled(inner) => Error::Unhandled(inner),
1912        }
1913    }
1914}
1915impl<R>
1916    From<
1917        ::aws_smithy_runtime_api::client::result::SdkError<
1918            crate::operation::get_restore_testing_inferred_metadata::GetRestoreTestingInferredMetadataError,
1919            R,
1920        >,
1921    > for Error
1922where
1923    R: Send + Sync + std::fmt::Debug + 'static,
1924{
1925    fn from(
1926        err: ::aws_smithy_runtime_api::client::result::SdkError<
1927            crate::operation::get_restore_testing_inferred_metadata::GetRestoreTestingInferredMetadataError,
1928            R,
1929        >,
1930    ) -> Self {
1931        match err {
1932            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1933            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1934                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1935                source: err.into(),
1936            }),
1937        }
1938    }
1939}
1940impl From<crate::operation::get_restore_testing_inferred_metadata::GetRestoreTestingInferredMetadataError> for Error {
1941    fn from(err: crate::operation::get_restore_testing_inferred_metadata::GetRestoreTestingInferredMetadataError) -> Self {
1942        match err {
1943            crate::operation::get_restore_testing_inferred_metadata::GetRestoreTestingInferredMetadataError::InvalidParameterValueException(
1944                inner,
1945            ) => Error::InvalidParameterValueException(inner),
1946            crate::operation::get_restore_testing_inferred_metadata::GetRestoreTestingInferredMetadataError::MissingParameterValueException(
1947                inner,
1948            ) => Error::MissingParameterValueException(inner),
1949            crate::operation::get_restore_testing_inferred_metadata::GetRestoreTestingInferredMetadataError::ResourceNotFoundException(inner) => {
1950                Error::ResourceNotFoundException(inner)
1951            }
1952            crate::operation::get_restore_testing_inferred_metadata::GetRestoreTestingInferredMetadataError::ServiceUnavailableException(inner) => {
1953                Error::ServiceUnavailableException(inner)
1954            }
1955            crate::operation::get_restore_testing_inferred_metadata::GetRestoreTestingInferredMetadataError::Unhandled(inner) => {
1956                Error::Unhandled(inner)
1957            }
1958        }
1959    }
1960}
1961impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_restore_testing_plan::GetRestoreTestingPlanError, R>> for Error
1962where
1963    R: Send + Sync + std::fmt::Debug + 'static,
1964{
1965    fn from(
1966        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_restore_testing_plan::GetRestoreTestingPlanError, R>,
1967    ) -> Self {
1968        match err {
1969            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1970            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1971                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1972                source: err.into(),
1973            }),
1974        }
1975    }
1976}
1977impl From<crate::operation::get_restore_testing_plan::GetRestoreTestingPlanError> for Error {
1978    fn from(err: crate::operation::get_restore_testing_plan::GetRestoreTestingPlanError) -> Self {
1979        match err {
1980            crate::operation::get_restore_testing_plan::GetRestoreTestingPlanError::ResourceNotFoundException(inner) => {
1981                Error::ResourceNotFoundException(inner)
1982            }
1983            crate::operation::get_restore_testing_plan::GetRestoreTestingPlanError::ServiceUnavailableException(inner) => {
1984                Error::ServiceUnavailableException(inner)
1985            }
1986            crate::operation::get_restore_testing_plan::GetRestoreTestingPlanError::Unhandled(inner) => Error::Unhandled(inner),
1987        }
1988    }
1989}
1990impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_restore_testing_selection::GetRestoreTestingSelectionError, R>>
1991    for Error
1992where
1993    R: Send + Sync + std::fmt::Debug + 'static,
1994{
1995    fn from(
1996        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_restore_testing_selection::GetRestoreTestingSelectionError, R>,
1997    ) -> Self {
1998        match err {
1999            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2000            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2001                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2002                source: err.into(),
2003            }),
2004        }
2005    }
2006}
2007impl From<crate::operation::get_restore_testing_selection::GetRestoreTestingSelectionError> for Error {
2008    fn from(err: crate::operation::get_restore_testing_selection::GetRestoreTestingSelectionError) -> Self {
2009        match err {
2010            crate::operation::get_restore_testing_selection::GetRestoreTestingSelectionError::ResourceNotFoundException(inner) => {
2011                Error::ResourceNotFoundException(inner)
2012            }
2013            crate::operation::get_restore_testing_selection::GetRestoreTestingSelectionError::ServiceUnavailableException(inner) => {
2014                Error::ServiceUnavailableException(inner)
2015            }
2016            crate::operation::get_restore_testing_selection::GetRestoreTestingSelectionError::Unhandled(inner) => Error::Unhandled(inner),
2017        }
2018    }
2019}
2020impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_supported_resource_types::GetSupportedResourceTypesError, R>>
2021    for Error
2022where
2023    R: Send + Sync + std::fmt::Debug + 'static,
2024{
2025    fn from(
2026        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_supported_resource_types::GetSupportedResourceTypesError, R>,
2027    ) -> Self {
2028        match err {
2029            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2030            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2031                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2032                source: err.into(),
2033            }),
2034        }
2035    }
2036}
2037impl From<crate::operation::get_supported_resource_types::GetSupportedResourceTypesError> for Error {
2038    fn from(err: crate::operation::get_supported_resource_types::GetSupportedResourceTypesError) -> Self {
2039        match err {
2040            crate::operation::get_supported_resource_types::GetSupportedResourceTypesError::ServiceUnavailableException(inner) => {
2041                Error::ServiceUnavailableException(inner)
2042            }
2043            crate::operation::get_supported_resource_types::GetSupportedResourceTypesError::Unhandled(inner) => Error::Unhandled(inner),
2044        }
2045    }
2046}
2047impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_tiering_configuration::GetTieringConfigurationError, R>>
2048    for Error
2049where
2050    R: Send + Sync + std::fmt::Debug + 'static,
2051{
2052    fn from(
2053        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_tiering_configuration::GetTieringConfigurationError, R>,
2054    ) -> Self {
2055        match err {
2056            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2057            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2058                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2059                source: err.into(),
2060            }),
2061        }
2062    }
2063}
2064impl From<crate::operation::get_tiering_configuration::GetTieringConfigurationError> for Error {
2065    fn from(err: crate::operation::get_tiering_configuration::GetTieringConfigurationError) -> Self {
2066        match err {
2067            crate::operation::get_tiering_configuration::GetTieringConfigurationError::InvalidParameterValueException(inner) => {
2068                Error::InvalidParameterValueException(inner)
2069            }
2070            crate::operation::get_tiering_configuration::GetTieringConfigurationError::MissingParameterValueException(inner) => {
2071                Error::MissingParameterValueException(inner)
2072            }
2073            crate::operation::get_tiering_configuration::GetTieringConfigurationError::ResourceNotFoundException(inner) => {
2074                Error::ResourceNotFoundException(inner)
2075            }
2076            crate::operation::get_tiering_configuration::GetTieringConfigurationError::ServiceUnavailableException(inner) => {
2077                Error::ServiceUnavailableException(inner)
2078            }
2079            crate::operation::get_tiering_configuration::GetTieringConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
2080        }
2081    }
2082}
2083impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_backup_jobs::ListBackupJobsError, R>> for Error
2084where
2085    R: Send + Sync + std::fmt::Debug + 'static,
2086{
2087    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_backup_jobs::ListBackupJobsError, R>) -> Self {
2088        match err {
2089            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2090            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2091                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2092                source: err.into(),
2093            }),
2094        }
2095    }
2096}
2097impl From<crate::operation::list_backup_jobs::ListBackupJobsError> for Error {
2098    fn from(err: crate::operation::list_backup_jobs::ListBackupJobsError) -> Self {
2099        match err {
2100            crate::operation::list_backup_jobs::ListBackupJobsError::InvalidParameterValueException(inner) => {
2101                Error::InvalidParameterValueException(inner)
2102            }
2103            crate::operation::list_backup_jobs::ListBackupJobsError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
2104            crate::operation::list_backup_jobs::ListBackupJobsError::Unhandled(inner) => Error::Unhandled(inner),
2105        }
2106    }
2107}
2108impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_backup_job_summaries::ListBackupJobSummariesError, R>>
2109    for Error
2110where
2111    R: Send + Sync + std::fmt::Debug + 'static,
2112{
2113    fn from(
2114        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_backup_job_summaries::ListBackupJobSummariesError, R>,
2115    ) -> Self {
2116        match err {
2117            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2118            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2119                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2120                source: err.into(),
2121            }),
2122        }
2123    }
2124}
2125impl From<crate::operation::list_backup_job_summaries::ListBackupJobSummariesError> for Error {
2126    fn from(err: crate::operation::list_backup_job_summaries::ListBackupJobSummariesError) -> Self {
2127        match err {
2128            crate::operation::list_backup_job_summaries::ListBackupJobSummariesError::InvalidParameterValueException(inner) => {
2129                Error::InvalidParameterValueException(inner)
2130            }
2131            crate::operation::list_backup_job_summaries::ListBackupJobSummariesError::ServiceUnavailableException(inner) => {
2132                Error::ServiceUnavailableException(inner)
2133            }
2134            crate::operation::list_backup_job_summaries::ListBackupJobSummariesError::Unhandled(inner) => Error::Unhandled(inner),
2135        }
2136    }
2137}
2138impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_backup_plans::ListBackupPlansError, R>> for Error
2139where
2140    R: Send + Sync + std::fmt::Debug + 'static,
2141{
2142    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_backup_plans::ListBackupPlansError, R>) -> Self {
2143        match err {
2144            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2145            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2146                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2147                source: err.into(),
2148            }),
2149        }
2150    }
2151}
2152impl From<crate::operation::list_backup_plans::ListBackupPlansError> for Error {
2153    fn from(err: crate::operation::list_backup_plans::ListBackupPlansError) -> Self {
2154        match err {
2155            crate::operation::list_backup_plans::ListBackupPlansError::InvalidParameterValueException(inner) => {
2156                Error::InvalidParameterValueException(inner)
2157            }
2158            crate::operation::list_backup_plans::ListBackupPlansError::MissingParameterValueException(inner) => {
2159                Error::MissingParameterValueException(inner)
2160            }
2161            crate::operation::list_backup_plans::ListBackupPlansError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
2162            crate::operation::list_backup_plans::ListBackupPlansError::ServiceUnavailableException(inner) => {
2163                Error::ServiceUnavailableException(inner)
2164            }
2165            crate::operation::list_backup_plans::ListBackupPlansError::Unhandled(inner) => Error::Unhandled(inner),
2166        }
2167    }
2168}
2169impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_backup_plan_templates::ListBackupPlanTemplatesError, R>>
2170    for Error
2171where
2172    R: Send + Sync + std::fmt::Debug + 'static,
2173{
2174    fn from(
2175        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_backup_plan_templates::ListBackupPlanTemplatesError, R>,
2176    ) -> Self {
2177        match err {
2178            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2179            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2180                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2181                source: err.into(),
2182            }),
2183        }
2184    }
2185}
2186impl From<crate::operation::list_backup_plan_templates::ListBackupPlanTemplatesError> for Error {
2187    fn from(err: crate::operation::list_backup_plan_templates::ListBackupPlanTemplatesError) -> Self {
2188        match err {
2189            crate::operation::list_backup_plan_templates::ListBackupPlanTemplatesError::InvalidParameterValueException(inner) => {
2190                Error::InvalidParameterValueException(inner)
2191            }
2192            crate::operation::list_backup_plan_templates::ListBackupPlanTemplatesError::MissingParameterValueException(inner) => {
2193                Error::MissingParameterValueException(inner)
2194            }
2195            crate::operation::list_backup_plan_templates::ListBackupPlanTemplatesError::ResourceNotFoundException(inner) => {
2196                Error::ResourceNotFoundException(inner)
2197            }
2198            crate::operation::list_backup_plan_templates::ListBackupPlanTemplatesError::ServiceUnavailableException(inner) => {
2199                Error::ServiceUnavailableException(inner)
2200            }
2201            crate::operation::list_backup_plan_templates::ListBackupPlanTemplatesError::Unhandled(inner) => Error::Unhandled(inner),
2202        }
2203    }
2204}
2205impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_backup_plan_versions::ListBackupPlanVersionsError, R>>
2206    for Error
2207where
2208    R: Send + Sync + std::fmt::Debug + 'static,
2209{
2210    fn from(
2211        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_backup_plan_versions::ListBackupPlanVersionsError, R>,
2212    ) -> Self {
2213        match err {
2214            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2215            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2216                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2217                source: err.into(),
2218            }),
2219        }
2220    }
2221}
2222impl From<crate::operation::list_backup_plan_versions::ListBackupPlanVersionsError> for Error {
2223    fn from(err: crate::operation::list_backup_plan_versions::ListBackupPlanVersionsError) -> Self {
2224        match err {
2225            crate::operation::list_backup_plan_versions::ListBackupPlanVersionsError::InvalidParameterValueException(inner) => {
2226                Error::InvalidParameterValueException(inner)
2227            }
2228            crate::operation::list_backup_plan_versions::ListBackupPlanVersionsError::MissingParameterValueException(inner) => {
2229                Error::MissingParameterValueException(inner)
2230            }
2231            crate::operation::list_backup_plan_versions::ListBackupPlanVersionsError::ResourceNotFoundException(inner) => {
2232                Error::ResourceNotFoundException(inner)
2233            }
2234            crate::operation::list_backup_plan_versions::ListBackupPlanVersionsError::ServiceUnavailableException(inner) => {
2235                Error::ServiceUnavailableException(inner)
2236            }
2237            crate::operation::list_backup_plan_versions::ListBackupPlanVersionsError::Unhandled(inner) => Error::Unhandled(inner),
2238        }
2239    }
2240}
2241impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_backup_selections::ListBackupSelectionsError, R>> for Error
2242where
2243    R: Send + Sync + std::fmt::Debug + 'static,
2244{
2245    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_backup_selections::ListBackupSelectionsError, R>) -> Self {
2246        match err {
2247            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2248            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2249                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2250                source: err.into(),
2251            }),
2252        }
2253    }
2254}
2255impl From<crate::operation::list_backup_selections::ListBackupSelectionsError> for Error {
2256    fn from(err: crate::operation::list_backup_selections::ListBackupSelectionsError) -> Self {
2257        match err {
2258            crate::operation::list_backup_selections::ListBackupSelectionsError::InvalidParameterValueException(inner) => {
2259                Error::InvalidParameterValueException(inner)
2260            }
2261            crate::operation::list_backup_selections::ListBackupSelectionsError::MissingParameterValueException(inner) => {
2262                Error::MissingParameterValueException(inner)
2263            }
2264            crate::operation::list_backup_selections::ListBackupSelectionsError::ResourceNotFoundException(inner) => {
2265                Error::ResourceNotFoundException(inner)
2266            }
2267            crate::operation::list_backup_selections::ListBackupSelectionsError::ServiceUnavailableException(inner) => {
2268                Error::ServiceUnavailableException(inner)
2269            }
2270            crate::operation::list_backup_selections::ListBackupSelectionsError::Unhandled(inner) => Error::Unhandled(inner),
2271        }
2272    }
2273}
2274impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_backup_vaults::ListBackupVaultsError, R>> for Error
2275where
2276    R: Send + Sync + std::fmt::Debug + 'static,
2277{
2278    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_backup_vaults::ListBackupVaultsError, R>) -> Self {
2279        match err {
2280            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2281            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2282                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2283                source: err.into(),
2284            }),
2285        }
2286    }
2287}
2288impl From<crate::operation::list_backup_vaults::ListBackupVaultsError> for Error {
2289    fn from(err: crate::operation::list_backup_vaults::ListBackupVaultsError) -> Self {
2290        match err {
2291            crate::operation::list_backup_vaults::ListBackupVaultsError::InvalidParameterValueException(inner) => {
2292                Error::InvalidParameterValueException(inner)
2293            }
2294            crate::operation::list_backup_vaults::ListBackupVaultsError::MissingParameterValueException(inner) => {
2295                Error::MissingParameterValueException(inner)
2296            }
2297            crate::operation::list_backup_vaults::ListBackupVaultsError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
2298            crate::operation::list_backup_vaults::ListBackupVaultsError::ServiceUnavailableException(inner) => {
2299                Error::ServiceUnavailableException(inner)
2300            }
2301            crate::operation::list_backup_vaults::ListBackupVaultsError::Unhandled(inner) => Error::Unhandled(inner),
2302        }
2303    }
2304}
2305impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_copy_jobs::ListCopyJobsError, R>> for Error
2306where
2307    R: Send + Sync + std::fmt::Debug + 'static,
2308{
2309    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_copy_jobs::ListCopyJobsError, R>) -> Self {
2310        match err {
2311            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2312            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2313                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2314                source: err.into(),
2315            }),
2316        }
2317    }
2318}
2319impl From<crate::operation::list_copy_jobs::ListCopyJobsError> for Error {
2320    fn from(err: crate::operation::list_copy_jobs::ListCopyJobsError) -> Self {
2321        match err {
2322            crate::operation::list_copy_jobs::ListCopyJobsError::InvalidParameterValueException(inner) => {
2323                Error::InvalidParameterValueException(inner)
2324            }
2325            crate::operation::list_copy_jobs::ListCopyJobsError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
2326            crate::operation::list_copy_jobs::ListCopyJobsError::Unhandled(inner) => Error::Unhandled(inner),
2327        }
2328    }
2329}
2330impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_copy_job_summaries::ListCopyJobSummariesError, R>> for Error
2331where
2332    R: Send + Sync + std::fmt::Debug + 'static,
2333{
2334    fn from(
2335        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_copy_job_summaries::ListCopyJobSummariesError, R>,
2336    ) -> Self {
2337        match err {
2338            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2339            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2340                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2341                source: err.into(),
2342            }),
2343        }
2344    }
2345}
2346impl From<crate::operation::list_copy_job_summaries::ListCopyJobSummariesError> for Error {
2347    fn from(err: crate::operation::list_copy_job_summaries::ListCopyJobSummariesError) -> Self {
2348        match err {
2349            crate::operation::list_copy_job_summaries::ListCopyJobSummariesError::InvalidParameterValueException(inner) => {
2350                Error::InvalidParameterValueException(inner)
2351            }
2352            crate::operation::list_copy_job_summaries::ListCopyJobSummariesError::ServiceUnavailableException(inner) => {
2353                Error::ServiceUnavailableException(inner)
2354            }
2355            crate::operation::list_copy_job_summaries::ListCopyJobSummariesError::Unhandled(inner) => Error::Unhandled(inner),
2356        }
2357    }
2358}
2359impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_frameworks::ListFrameworksError, R>> for Error
2360where
2361    R: Send + Sync + std::fmt::Debug + 'static,
2362{
2363    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_frameworks::ListFrameworksError, R>) -> Self {
2364        match err {
2365            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2366            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2367                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2368                source: err.into(),
2369            }),
2370        }
2371    }
2372}
2373impl From<crate::operation::list_frameworks::ListFrameworksError> for Error {
2374    fn from(err: crate::operation::list_frameworks::ListFrameworksError) -> Self {
2375        match err {
2376            crate::operation::list_frameworks::ListFrameworksError::InvalidParameterValueException(inner) => {
2377                Error::InvalidParameterValueException(inner)
2378            }
2379            crate::operation::list_frameworks::ListFrameworksError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
2380            crate::operation::list_frameworks::ListFrameworksError::Unhandled(inner) => Error::Unhandled(inner),
2381        }
2382    }
2383}
2384impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_indexed_recovery_points::ListIndexedRecoveryPointsError, R>>
2385    for Error
2386where
2387    R: Send + Sync + std::fmt::Debug + 'static,
2388{
2389    fn from(
2390        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_indexed_recovery_points::ListIndexedRecoveryPointsError, R>,
2391    ) -> Self {
2392        match err {
2393            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2394            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2395                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2396                source: err.into(),
2397            }),
2398        }
2399    }
2400}
2401impl From<crate::operation::list_indexed_recovery_points::ListIndexedRecoveryPointsError> for Error {
2402    fn from(err: crate::operation::list_indexed_recovery_points::ListIndexedRecoveryPointsError) -> Self {
2403        match err {
2404            crate::operation::list_indexed_recovery_points::ListIndexedRecoveryPointsError::InvalidParameterValueException(inner) => {
2405                Error::InvalidParameterValueException(inner)
2406            }
2407            crate::operation::list_indexed_recovery_points::ListIndexedRecoveryPointsError::ResourceNotFoundException(inner) => {
2408                Error::ResourceNotFoundException(inner)
2409            }
2410            crate::operation::list_indexed_recovery_points::ListIndexedRecoveryPointsError::ServiceUnavailableException(inner) => {
2411                Error::ServiceUnavailableException(inner)
2412            }
2413            crate::operation::list_indexed_recovery_points::ListIndexedRecoveryPointsError::Unhandled(inner) => Error::Unhandled(inner),
2414        }
2415    }
2416}
2417impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_legal_holds::ListLegalHoldsError, R>> for Error
2418where
2419    R: Send + Sync + std::fmt::Debug + 'static,
2420{
2421    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_legal_holds::ListLegalHoldsError, R>) -> Self {
2422        match err {
2423            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2424            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2425                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2426                source: err.into(),
2427            }),
2428        }
2429    }
2430}
2431impl From<crate::operation::list_legal_holds::ListLegalHoldsError> for Error {
2432    fn from(err: crate::operation::list_legal_holds::ListLegalHoldsError) -> Self {
2433        match err {
2434            crate::operation::list_legal_holds::ListLegalHoldsError::InvalidParameterValueException(inner) => {
2435                Error::InvalidParameterValueException(inner)
2436            }
2437            crate::operation::list_legal_holds::ListLegalHoldsError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
2438            crate::operation::list_legal_holds::ListLegalHoldsError::Unhandled(inner) => Error::Unhandled(inner),
2439        }
2440    }
2441}
2442impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_protected_resources::ListProtectedResourcesError, R>> for Error
2443where
2444    R: Send + Sync + std::fmt::Debug + 'static,
2445{
2446    fn from(
2447        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_protected_resources::ListProtectedResourcesError, R>,
2448    ) -> Self {
2449        match err {
2450            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2451            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2452                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2453                source: err.into(),
2454            }),
2455        }
2456    }
2457}
2458impl From<crate::operation::list_protected_resources::ListProtectedResourcesError> for Error {
2459    fn from(err: crate::operation::list_protected_resources::ListProtectedResourcesError) -> Self {
2460        match err {
2461            crate::operation::list_protected_resources::ListProtectedResourcesError::InvalidParameterValueException(inner) => {
2462                Error::InvalidParameterValueException(inner)
2463            }
2464            crate::operation::list_protected_resources::ListProtectedResourcesError::ServiceUnavailableException(inner) => {
2465                Error::ServiceUnavailableException(inner)
2466            }
2467            crate::operation::list_protected_resources::ListProtectedResourcesError::Unhandled(inner) => Error::Unhandled(inner),
2468        }
2469    }
2470}
2471impl<R>
2472    From<
2473        ::aws_smithy_runtime_api::client::result::SdkError<
2474            crate::operation::list_protected_resources_by_backup_vault::ListProtectedResourcesByBackupVaultError,
2475            R,
2476        >,
2477    > for Error
2478where
2479    R: Send + Sync + std::fmt::Debug + 'static,
2480{
2481    fn from(
2482        err: ::aws_smithy_runtime_api::client::result::SdkError<
2483            crate::operation::list_protected_resources_by_backup_vault::ListProtectedResourcesByBackupVaultError,
2484            R,
2485        >,
2486    ) -> Self {
2487        match err {
2488            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2489            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2490                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2491                source: err.into(),
2492            }),
2493        }
2494    }
2495}
2496impl From<crate::operation::list_protected_resources_by_backup_vault::ListProtectedResourcesByBackupVaultError> for Error {
2497    fn from(err: crate::operation::list_protected_resources_by_backup_vault::ListProtectedResourcesByBackupVaultError) -> Self {
2498        match err {
2499            crate::operation::list_protected_resources_by_backup_vault::ListProtectedResourcesByBackupVaultError::InvalidParameterValueException(
2500                inner,
2501            ) => Error::InvalidParameterValueException(inner),
2502            crate::operation::list_protected_resources_by_backup_vault::ListProtectedResourcesByBackupVaultError::ResourceNotFoundException(
2503                inner,
2504            ) => Error::ResourceNotFoundException(inner),
2505            crate::operation::list_protected_resources_by_backup_vault::ListProtectedResourcesByBackupVaultError::ServiceUnavailableException(
2506                inner,
2507            ) => Error::ServiceUnavailableException(inner),
2508            crate::operation::list_protected_resources_by_backup_vault::ListProtectedResourcesByBackupVaultError::Unhandled(inner) => {
2509                Error::Unhandled(inner)
2510            }
2511        }
2512    }
2513}
2514impl<R>
2515    From<
2516        ::aws_smithy_runtime_api::client::result::SdkError<
2517            crate::operation::list_recovery_points_by_backup_vault::ListRecoveryPointsByBackupVaultError,
2518            R,
2519        >,
2520    > for Error
2521where
2522    R: Send + Sync + std::fmt::Debug + 'static,
2523{
2524    fn from(
2525        err: ::aws_smithy_runtime_api::client::result::SdkError<
2526            crate::operation::list_recovery_points_by_backup_vault::ListRecoveryPointsByBackupVaultError,
2527            R,
2528        >,
2529    ) -> 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_recovery_points_by_backup_vault::ListRecoveryPointsByBackupVaultError> for Error {
2540    fn from(err: crate::operation::list_recovery_points_by_backup_vault::ListRecoveryPointsByBackupVaultError) -> Self {
2541        match err {
2542            crate::operation::list_recovery_points_by_backup_vault::ListRecoveryPointsByBackupVaultError::InvalidParameterValueException(inner) => {
2543                Error::InvalidParameterValueException(inner)
2544            }
2545            crate::operation::list_recovery_points_by_backup_vault::ListRecoveryPointsByBackupVaultError::MissingParameterValueException(inner) => {
2546                Error::MissingParameterValueException(inner)
2547            }
2548            crate::operation::list_recovery_points_by_backup_vault::ListRecoveryPointsByBackupVaultError::ResourceNotFoundException(inner) => {
2549                Error::ResourceNotFoundException(inner)
2550            }
2551            crate::operation::list_recovery_points_by_backup_vault::ListRecoveryPointsByBackupVaultError::ServiceUnavailableException(inner) => {
2552                Error::ServiceUnavailableException(inner)
2553            }
2554            crate::operation::list_recovery_points_by_backup_vault::ListRecoveryPointsByBackupVaultError::Unhandled(inner) => Error::Unhandled(inner),
2555        }
2556    }
2557}
2558impl<R>
2559    From<
2560        ::aws_smithy_runtime_api::client::result::SdkError<
2561            crate::operation::list_recovery_points_by_legal_hold::ListRecoveryPointsByLegalHoldError,
2562            R,
2563        >,
2564    > for Error
2565where
2566    R: Send + Sync + std::fmt::Debug + 'static,
2567{
2568    fn from(
2569        err: ::aws_smithy_runtime_api::client::result::SdkError<
2570            crate::operation::list_recovery_points_by_legal_hold::ListRecoveryPointsByLegalHoldError,
2571            R,
2572        >,
2573    ) -> Self {
2574        match err {
2575            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2576            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2577                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2578                source: err.into(),
2579            }),
2580        }
2581    }
2582}
2583impl From<crate::operation::list_recovery_points_by_legal_hold::ListRecoveryPointsByLegalHoldError> for Error {
2584    fn from(err: crate::operation::list_recovery_points_by_legal_hold::ListRecoveryPointsByLegalHoldError) -> Self {
2585        match err {
2586            crate::operation::list_recovery_points_by_legal_hold::ListRecoveryPointsByLegalHoldError::InvalidParameterValueException(inner) => {
2587                Error::InvalidParameterValueException(inner)
2588            }
2589            crate::operation::list_recovery_points_by_legal_hold::ListRecoveryPointsByLegalHoldError::MissingParameterValueException(inner) => {
2590                Error::MissingParameterValueException(inner)
2591            }
2592            crate::operation::list_recovery_points_by_legal_hold::ListRecoveryPointsByLegalHoldError::ServiceUnavailableException(inner) => {
2593                Error::ServiceUnavailableException(inner)
2594            }
2595            crate::operation::list_recovery_points_by_legal_hold::ListRecoveryPointsByLegalHoldError::Unhandled(inner) => Error::Unhandled(inner),
2596        }
2597    }
2598}
2599impl<R>
2600    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_recovery_points_by_resource::ListRecoveryPointsByResourceError, R>>
2601    for Error
2602where
2603    R: Send + Sync + std::fmt::Debug + 'static,
2604{
2605    fn from(
2606        err: ::aws_smithy_runtime_api::client::result::SdkError<
2607            crate::operation::list_recovery_points_by_resource::ListRecoveryPointsByResourceError,
2608            R,
2609        >,
2610    ) -> Self {
2611        match err {
2612            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2613            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2614                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2615                source: err.into(),
2616            }),
2617        }
2618    }
2619}
2620impl From<crate::operation::list_recovery_points_by_resource::ListRecoveryPointsByResourceError> for Error {
2621    fn from(err: crate::operation::list_recovery_points_by_resource::ListRecoveryPointsByResourceError) -> Self {
2622        match err {
2623            crate::operation::list_recovery_points_by_resource::ListRecoveryPointsByResourceError::InvalidParameterValueException(inner) => {
2624                Error::InvalidParameterValueException(inner)
2625            }
2626            crate::operation::list_recovery_points_by_resource::ListRecoveryPointsByResourceError::MissingParameterValueException(inner) => {
2627                Error::MissingParameterValueException(inner)
2628            }
2629            crate::operation::list_recovery_points_by_resource::ListRecoveryPointsByResourceError::ResourceNotFoundException(inner) => {
2630                Error::ResourceNotFoundException(inner)
2631            }
2632            crate::operation::list_recovery_points_by_resource::ListRecoveryPointsByResourceError::ServiceUnavailableException(inner) => {
2633                Error::ServiceUnavailableException(inner)
2634            }
2635            crate::operation::list_recovery_points_by_resource::ListRecoveryPointsByResourceError::Unhandled(inner) => Error::Unhandled(inner),
2636        }
2637    }
2638}
2639impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_report_jobs::ListReportJobsError, R>> for Error
2640where
2641    R: Send + Sync + std::fmt::Debug + 'static,
2642{
2643    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_report_jobs::ListReportJobsError, R>) -> Self {
2644        match err {
2645            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2646            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2647                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2648                source: err.into(),
2649            }),
2650        }
2651    }
2652}
2653impl From<crate::operation::list_report_jobs::ListReportJobsError> for Error {
2654    fn from(err: crate::operation::list_report_jobs::ListReportJobsError) -> Self {
2655        match err {
2656            crate::operation::list_report_jobs::ListReportJobsError::InvalidParameterValueException(inner) => {
2657                Error::InvalidParameterValueException(inner)
2658            }
2659            crate::operation::list_report_jobs::ListReportJobsError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
2660            crate::operation::list_report_jobs::ListReportJobsError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
2661            crate::operation::list_report_jobs::ListReportJobsError::Unhandled(inner) => Error::Unhandled(inner),
2662        }
2663    }
2664}
2665impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_report_plans::ListReportPlansError, R>> for Error
2666where
2667    R: Send + Sync + std::fmt::Debug + 'static,
2668{
2669    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_report_plans::ListReportPlansError, R>) -> Self {
2670        match err {
2671            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2672            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2673                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2674                source: err.into(),
2675            }),
2676        }
2677    }
2678}
2679impl From<crate::operation::list_report_plans::ListReportPlansError> for Error {
2680    fn from(err: crate::operation::list_report_plans::ListReportPlansError) -> Self {
2681        match err {
2682            crate::operation::list_report_plans::ListReportPlansError::InvalidParameterValueException(inner) => {
2683                Error::InvalidParameterValueException(inner)
2684            }
2685            crate::operation::list_report_plans::ListReportPlansError::ServiceUnavailableException(inner) => {
2686                Error::ServiceUnavailableException(inner)
2687            }
2688            crate::operation::list_report_plans::ListReportPlansError::Unhandled(inner) => Error::Unhandled(inner),
2689        }
2690    }
2691}
2692impl<R>
2693    From<
2694        ::aws_smithy_runtime_api::client::result::SdkError<
2695            crate::operation::list_restore_access_backup_vaults::ListRestoreAccessBackupVaultsError,
2696            R,
2697        >,
2698    > for Error
2699where
2700    R: Send + Sync + std::fmt::Debug + 'static,
2701{
2702    fn from(
2703        err: ::aws_smithy_runtime_api::client::result::SdkError<
2704            crate::operation::list_restore_access_backup_vaults::ListRestoreAccessBackupVaultsError,
2705            R,
2706        >,
2707    ) -> Self {
2708        match err {
2709            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2710            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2711                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2712                source: err.into(),
2713            }),
2714        }
2715    }
2716}
2717impl From<crate::operation::list_restore_access_backup_vaults::ListRestoreAccessBackupVaultsError> for Error {
2718    fn from(err: crate::operation::list_restore_access_backup_vaults::ListRestoreAccessBackupVaultsError) -> Self {
2719        match err {
2720            crate::operation::list_restore_access_backup_vaults::ListRestoreAccessBackupVaultsError::InvalidParameterValueException(inner) => {
2721                Error::InvalidParameterValueException(inner)
2722            }
2723            crate::operation::list_restore_access_backup_vaults::ListRestoreAccessBackupVaultsError::MissingParameterValueException(inner) => {
2724                Error::MissingParameterValueException(inner)
2725            }
2726            crate::operation::list_restore_access_backup_vaults::ListRestoreAccessBackupVaultsError::ResourceNotFoundException(inner) => {
2727                Error::ResourceNotFoundException(inner)
2728            }
2729            crate::operation::list_restore_access_backup_vaults::ListRestoreAccessBackupVaultsError::ServiceUnavailableException(inner) => {
2730                Error::ServiceUnavailableException(inner)
2731            }
2732            crate::operation::list_restore_access_backup_vaults::ListRestoreAccessBackupVaultsError::Unhandled(inner) => Error::Unhandled(inner),
2733        }
2734    }
2735}
2736impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_restore_jobs::ListRestoreJobsError, R>> for Error
2737where
2738    R: Send + Sync + std::fmt::Debug + 'static,
2739{
2740    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_restore_jobs::ListRestoreJobsError, R>) -> Self {
2741        match err {
2742            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2743            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2744                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2745                source: err.into(),
2746            }),
2747        }
2748    }
2749}
2750impl From<crate::operation::list_restore_jobs::ListRestoreJobsError> for Error {
2751    fn from(err: crate::operation::list_restore_jobs::ListRestoreJobsError) -> Self {
2752        match err {
2753            crate::operation::list_restore_jobs::ListRestoreJobsError::InvalidParameterValueException(inner) => {
2754                Error::InvalidParameterValueException(inner)
2755            }
2756            crate::operation::list_restore_jobs::ListRestoreJobsError::MissingParameterValueException(inner) => {
2757                Error::MissingParameterValueException(inner)
2758            }
2759            crate::operation::list_restore_jobs::ListRestoreJobsError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
2760            crate::operation::list_restore_jobs::ListRestoreJobsError::ServiceUnavailableException(inner) => {
2761                Error::ServiceUnavailableException(inner)
2762            }
2763            crate::operation::list_restore_jobs::ListRestoreJobsError::Unhandled(inner) => Error::Unhandled(inner),
2764        }
2765    }
2766}
2767impl<R>
2768    From<
2769        ::aws_smithy_runtime_api::client::result::SdkError<
2770            crate::operation::list_restore_jobs_by_protected_resource::ListRestoreJobsByProtectedResourceError,
2771            R,
2772        >,
2773    > for Error
2774where
2775    R: Send + Sync + std::fmt::Debug + 'static,
2776{
2777    fn from(
2778        err: ::aws_smithy_runtime_api::client::result::SdkError<
2779            crate::operation::list_restore_jobs_by_protected_resource::ListRestoreJobsByProtectedResourceError,
2780            R,
2781        >,
2782    ) -> Self {
2783        match err {
2784            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2785            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2786                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2787                source: err.into(),
2788            }),
2789        }
2790    }
2791}
2792impl From<crate::operation::list_restore_jobs_by_protected_resource::ListRestoreJobsByProtectedResourceError> for Error {
2793    fn from(err: crate::operation::list_restore_jobs_by_protected_resource::ListRestoreJobsByProtectedResourceError) -> Self {
2794        match err {
2795            crate::operation::list_restore_jobs_by_protected_resource::ListRestoreJobsByProtectedResourceError::InvalidParameterValueException(
2796                inner,
2797            ) => Error::InvalidParameterValueException(inner),
2798            crate::operation::list_restore_jobs_by_protected_resource::ListRestoreJobsByProtectedResourceError::MissingParameterValueException(
2799                inner,
2800            ) => Error::MissingParameterValueException(inner),
2801            crate::operation::list_restore_jobs_by_protected_resource::ListRestoreJobsByProtectedResourceError::ResourceNotFoundException(inner) => {
2802                Error::ResourceNotFoundException(inner)
2803            }
2804            crate::operation::list_restore_jobs_by_protected_resource::ListRestoreJobsByProtectedResourceError::ServiceUnavailableException(
2805                inner,
2806            ) => Error::ServiceUnavailableException(inner),
2807            crate::operation::list_restore_jobs_by_protected_resource::ListRestoreJobsByProtectedResourceError::Unhandled(inner) => {
2808                Error::Unhandled(inner)
2809            }
2810        }
2811    }
2812}
2813impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_restore_job_summaries::ListRestoreJobSummariesError, R>>
2814    for Error
2815where
2816    R: Send + Sync + std::fmt::Debug + 'static,
2817{
2818    fn from(
2819        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_restore_job_summaries::ListRestoreJobSummariesError, R>,
2820    ) -> Self {
2821        match err {
2822            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2823            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2824                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2825                source: err.into(),
2826            }),
2827        }
2828    }
2829}
2830impl From<crate::operation::list_restore_job_summaries::ListRestoreJobSummariesError> for Error {
2831    fn from(err: crate::operation::list_restore_job_summaries::ListRestoreJobSummariesError) -> Self {
2832        match err {
2833            crate::operation::list_restore_job_summaries::ListRestoreJobSummariesError::InvalidParameterValueException(inner) => {
2834                Error::InvalidParameterValueException(inner)
2835            }
2836            crate::operation::list_restore_job_summaries::ListRestoreJobSummariesError::ServiceUnavailableException(inner) => {
2837                Error::ServiceUnavailableException(inner)
2838            }
2839            crate::operation::list_restore_job_summaries::ListRestoreJobSummariesError::Unhandled(inner) => Error::Unhandled(inner),
2840        }
2841    }
2842}
2843impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_restore_testing_plans::ListRestoreTestingPlansError, R>>
2844    for Error
2845where
2846    R: Send + Sync + std::fmt::Debug + 'static,
2847{
2848    fn from(
2849        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_restore_testing_plans::ListRestoreTestingPlansError, R>,
2850    ) -> Self {
2851        match err {
2852            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2853            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2854                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2855                source: err.into(),
2856            }),
2857        }
2858    }
2859}
2860impl From<crate::operation::list_restore_testing_plans::ListRestoreTestingPlansError> for Error {
2861    fn from(err: crate::operation::list_restore_testing_plans::ListRestoreTestingPlansError) -> Self {
2862        match err {
2863            crate::operation::list_restore_testing_plans::ListRestoreTestingPlansError::InvalidParameterValueException(inner) => {
2864                Error::InvalidParameterValueException(inner)
2865            }
2866            crate::operation::list_restore_testing_plans::ListRestoreTestingPlansError::ServiceUnavailableException(inner) => {
2867                Error::ServiceUnavailableException(inner)
2868            }
2869            crate::operation::list_restore_testing_plans::ListRestoreTestingPlansError::Unhandled(inner) => Error::Unhandled(inner),
2870        }
2871    }
2872}
2873impl<R>
2874    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_restore_testing_selections::ListRestoreTestingSelectionsError, R>>
2875    for Error
2876where
2877    R: Send + Sync + std::fmt::Debug + 'static,
2878{
2879    fn from(
2880        err: ::aws_smithy_runtime_api::client::result::SdkError<
2881            crate::operation::list_restore_testing_selections::ListRestoreTestingSelectionsError,
2882            R,
2883        >,
2884    ) -> Self {
2885        match err {
2886            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2887            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2888                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2889                source: err.into(),
2890            }),
2891        }
2892    }
2893}
2894impl From<crate::operation::list_restore_testing_selections::ListRestoreTestingSelectionsError> for Error {
2895    fn from(err: crate::operation::list_restore_testing_selections::ListRestoreTestingSelectionsError) -> Self {
2896        match err {
2897            crate::operation::list_restore_testing_selections::ListRestoreTestingSelectionsError::InvalidParameterValueException(inner) => {
2898                Error::InvalidParameterValueException(inner)
2899            }
2900            crate::operation::list_restore_testing_selections::ListRestoreTestingSelectionsError::ResourceNotFoundException(inner) => {
2901                Error::ResourceNotFoundException(inner)
2902            }
2903            crate::operation::list_restore_testing_selections::ListRestoreTestingSelectionsError::ServiceUnavailableException(inner) => {
2904                Error::ServiceUnavailableException(inner)
2905            }
2906            crate::operation::list_restore_testing_selections::ListRestoreTestingSelectionsError::Unhandled(inner) => Error::Unhandled(inner),
2907        }
2908    }
2909}
2910impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_tags::ListTagsError, R>> for Error
2911where
2912    R: Send + Sync + std::fmt::Debug + 'static,
2913{
2914    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_tags::ListTagsError, R>) -> Self {
2915        match err {
2916            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2917            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2918                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2919                source: err.into(),
2920            }),
2921        }
2922    }
2923}
2924impl From<crate::operation::list_tags::ListTagsError> for Error {
2925    fn from(err: crate::operation::list_tags::ListTagsError) -> Self {
2926        match err {
2927            crate::operation::list_tags::ListTagsError::InvalidParameterValueException(inner) => Error::InvalidParameterValueException(inner),
2928            crate::operation::list_tags::ListTagsError::MissingParameterValueException(inner) => Error::MissingParameterValueException(inner),
2929            crate::operation::list_tags::ListTagsError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
2930            crate::operation::list_tags::ListTagsError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
2931            crate::operation::list_tags::ListTagsError::Unhandled(inner) => Error::Unhandled(inner),
2932        }
2933    }
2934}
2935impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_tiering_configurations::ListTieringConfigurationsError, R>>
2936    for Error
2937where
2938    R: Send + Sync + std::fmt::Debug + 'static,
2939{
2940    fn from(
2941        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_tiering_configurations::ListTieringConfigurationsError, R>,
2942    ) -> Self {
2943        match err {
2944            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2945            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2946                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2947                source: err.into(),
2948            }),
2949        }
2950    }
2951}
2952impl From<crate::operation::list_tiering_configurations::ListTieringConfigurationsError> for Error {
2953    fn from(err: crate::operation::list_tiering_configurations::ListTieringConfigurationsError) -> Self {
2954        match err {
2955            crate::operation::list_tiering_configurations::ListTieringConfigurationsError::InvalidParameterValueException(inner) => {
2956                Error::InvalidParameterValueException(inner)
2957            }
2958            crate::operation::list_tiering_configurations::ListTieringConfigurationsError::ServiceUnavailableException(inner) => {
2959                Error::ServiceUnavailableException(inner)
2960            }
2961            crate::operation::list_tiering_configurations::ListTieringConfigurationsError::Unhandled(inner) => Error::Unhandled(inner),
2962        }
2963    }
2964}
2965impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_backup_vault_access_policy::PutBackupVaultAccessPolicyError, R>>
2966    for Error
2967where
2968    R: Send + Sync + std::fmt::Debug + 'static,
2969{
2970    fn from(
2971        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_backup_vault_access_policy::PutBackupVaultAccessPolicyError, R>,
2972    ) -> Self {
2973        match err {
2974            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2975            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2976                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2977                source: err.into(),
2978            }),
2979        }
2980    }
2981}
2982impl From<crate::operation::put_backup_vault_access_policy::PutBackupVaultAccessPolicyError> for Error {
2983    fn from(err: crate::operation::put_backup_vault_access_policy::PutBackupVaultAccessPolicyError) -> Self {
2984        match err {
2985            crate::operation::put_backup_vault_access_policy::PutBackupVaultAccessPolicyError::InvalidParameterValueException(inner) => {
2986                Error::InvalidParameterValueException(inner)
2987            }
2988            crate::operation::put_backup_vault_access_policy::PutBackupVaultAccessPolicyError::MissingParameterValueException(inner) => {
2989                Error::MissingParameterValueException(inner)
2990            }
2991            crate::operation::put_backup_vault_access_policy::PutBackupVaultAccessPolicyError::ResourceNotFoundException(inner) => {
2992                Error::ResourceNotFoundException(inner)
2993            }
2994            crate::operation::put_backup_vault_access_policy::PutBackupVaultAccessPolicyError::ServiceUnavailableException(inner) => {
2995                Error::ServiceUnavailableException(inner)
2996            }
2997            crate::operation::put_backup_vault_access_policy::PutBackupVaultAccessPolicyError::Unhandled(inner) => Error::Unhandled(inner),
2998        }
2999    }
3000}
3001impl<R>
3002    From<
3003        ::aws_smithy_runtime_api::client::result::SdkError<
3004            crate::operation::put_backup_vault_lock_configuration::PutBackupVaultLockConfigurationError,
3005            R,
3006        >,
3007    > for Error
3008where
3009    R: Send + Sync + std::fmt::Debug + 'static,
3010{
3011    fn from(
3012        err: ::aws_smithy_runtime_api::client::result::SdkError<
3013            crate::operation::put_backup_vault_lock_configuration::PutBackupVaultLockConfigurationError,
3014            R,
3015        >,
3016    ) -> Self {
3017        match err {
3018            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3019            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3020                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3021                source: err.into(),
3022            }),
3023        }
3024    }
3025}
3026impl From<crate::operation::put_backup_vault_lock_configuration::PutBackupVaultLockConfigurationError> for Error {
3027    fn from(err: crate::operation::put_backup_vault_lock_configuration::PutBackupVaultLockConfigurationError) -> Self {
3028        match err {
3029            crate::operation::put_backup_vault_lock_configuration::PutBackupVaultLockConfigurationError::InvalidParameterValueException(inner) => {
3030                Error::InvalidParameterValueException(inner)
3031            }
3032            crate::operation::put_backup_vault_lock_configuration::PutBackupVaultLockConfigurationError::InvalidRequestException(inner) => {
3033                Error::InvalidRequestException(inner)
3034            }
3035            crate::operation::put_backup_vault_lock_configuration::PutBackupVaultLockConfigurationError::MissingParameterValueException(inner) => {
3036                Error::MissingParameterValueException(inner)
3037            }
3038            crate::operation::put_backup_vault_lock_configuration::PutBackupVaultLockConfigurationError::ResourceNotFoundException(inner) => {
3039                Error::ResourceNotFoundException(inner)
3040            }
3041            crate::operation::put_backup_vault_lock_configuration::PutBackupVaultLockConfigurationError::ServiceUnavailableException(inner) => {
3042                Error::ServiceUnavailableException(inner)
3043            }
3044            crate::operation::put_backup_vault_lock_configuration::PutBackupVaultLockConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
3045        }
3046    }
3047}
3048impl<R>
3049    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_backup_vault_notifications::PutBackupVaultNotificationsError, R>>
3050    for Error
3051where
3052    R: Send + Sync + std::fmt::Debug + 'static,
3053{
3054    fn from(
3055        err: ::aws_smithy_runtime_api::client::result::SdkError<
3056            crate::operation::put_backup_vault_notifications::PutBackupVaultNotificationsError,
3057            R,
3058        >,
3059    ) -> Self {
3060        match err {
3061            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3062            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3063                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3064                source: err.into(),
3065            }),
3066        }
3067    }
3068}
3069impl From<crate::operation::put_backup_vault_notifications::PutBackupVaultNotificationsError> for Error {
3070    fn from(err: crate::operation::put_backup_vault_notifications::PutBackupVaultNotificationsError) -> Self {
3071        match err {
3072            crate::operation::put_backup_vault_notifications::PutBackupVaultNotificationsError::InvalidParameterValueException(inner) => {
3073                Error::InvalidParameterValueException(inner)
3074            }
3075            crate::operation::put_backup_vault_notifications::PutBackupVaultNotificationsError::MissingParameterValueException(inner) => {
3076                Error::MissingParameterValueException(inner)
3077            }
3078            crate::operation::put_backup_vault_notifications::PutBackupVaultNotificationsError::ResourceNotFoundException(inner) => {
3079                Error::ResourceNotFoundException(inner)
3080            }
3081            crate::operation::put_backup_vault_notifications::PutBackupVaultNotificationsError::ServiceUnavailableException(inner) => {
3082                Error::ServiceUnavailableException(inner)
3083            }
3084            crate::operation::put_backup_vault_notifications::PutBackupVaultNotificationsError::Unhandled(inner) => Error::Unhandled(inner),
3085        }
3086    }
3087}
3088impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_restore_validation_result::PutRestoreValidationResultError, R>>
3089    for Error
3090where
3091    R: Send + Sync + std::fmt::Debug + 'static,
3092{
3093    fn from(
3094        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_restore_validation_result::PutRestoreValidationResultError, R>,
3095    ) -> Self {
3096        match err {
3097            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3098            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3099                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3100                source: err.into(),
3101            }),
3102        }
3103    }
3104}
3105impl From<crate::operation::put_restore_validation_result::PutRestoreValidationResultError> for Error {
3106    fn from(err: crate::operation::put_restore_validation_result::PutRestoreValidationResultError) -> Self {
3107        match err {
3108            crate::operation::put_restore_validation_result::PutRestoreValidationResultError::InvalidParameterValueException(inner) => {
3109                Error::InvalidParameterValueException(inner)
3110            }
3111            crate::operation::put_restore_validation_result::PutRestoreValidationResultError::InvalidRequestException(inner) => {
3112                Error::InvalidRequestException(inner)
3113            }
3114            crate::operation::put_restore_validation_result::PutRestoreValidationResultError::MissingParameterValueException(inner) => {
3115                Error::MissingParameterValueException(inner)
3116            }
3117            crate::operation::put_restore_validation_result::PutRestoreValidationResultError::ResourceNotFoundException(inner) => {
3118                Error::ResourceNotFoundException(inner)
3119            }
3120            crate::operation::put_restore_validation_result::PutRestoreValidationResultError::ServiceUnavailableException(inner) => {
3121                Error::ServiceUnavailableException(inner)
3122            }
3123            crate::operation::put_restore_validation_result::PutRestoreValidationResultError::Unhandled(inner) => Error::Unhandled(inner),
3124        }
3125    }
3126}
3127impl<R>
3128    From<
3129        ::aws_smithy_runtime_api::client::result::SdkError<
3130            crate::operation::revoke_restore_access_backup_vault::RevokeRestoreAccessBackupVaultError,
3131            R,
3132        >,
3133    > for Error
3134where
3135    R: Send + Sync + std::fmt::Debug + 'static,
3136{
3137    fn from(
3138        err: ::aws_smithy_runtime_api::client::result::SdkError<
3139            crate::operation::revoke_restore_access_backup_vault::RevokeRestoreAccessBackupVaultError,
3140            R,
3141        >,
3142    ) -> Self {
3143        match err {
3144            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3145            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3146                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3147                source: err.into(),
3148            }),
3149        }
3150    }
3151}
3152impl From<crate::operation::revoke_restore_access_backup_vault::RevokeRestoreAccessBackupVaultError> for Error {
3153    fn from(err: crate::operation::revoke_restore_access_backup_vault::RevokeRestoreAccessBackupVaultError) -> Self {
3154        match err {
3155            crate::operation::revoke_restore_access_backup_vault::RevokeRestoreAccessBackupVaultError::InvalidParameterValueException(inner) => {
3156                Error::InvalidParameterValueException(inner)
3157            }
3158            crate::operation::revoke_restore_access_backup_vault::RevokeRestoreAccessBackupVaultError::InvalidRequestException(inner) => {
3159                Error::InvalidRequestException(inner)
3160            }
3161            crate::operation::revoke_restore_access_backup_vault::RevokeRestoreAccessBackupVaultError::MissingParameterValueException(inner) => {
3162                Error::MissingParameterValueException(inner)
3163            }
3164            crate::operation::revoke_restore_access_backup_vault::RevokeRestoreAccessBackupVaultError::ResourceNotFoundException(inner) => {
3165                Error::ResourceNotFoundException(inner)
3166            }
3167            crate::operation::revoke_restore_access_backup_vault::RevokeRestoreAccessBackupVaultError::ServiceUnavailableException(inner) => {
3168                Error::ServiceUnavailableException(inner)
3169            }
3170            crate::operation::revoke_restore_access_backup_vault::RevokeRestoreAccessBackupVaultError::Unhandled(inner) => Error::Unhandled(inner),
3171        }
3172    }
3173}
3174impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_backup_job::StartBackupJobError, R>> for Error
3175where
3176    R: Send + Sync + std::fmt::Debug + 'static,
3177{
3178    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_backup_job::StartBackupJobError, R>) -> Self {
3179        match err {
3180            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3181            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3182                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3183                source: err.into(),
3184            }),
3185        }
3186    }
3187}
3188impl From<crate::operation::start_backup_job::StartBackupJobError> for Error {
3189    fn from(err: crate::operation::start_backup_job::StartBackupJobError) -> Self {
3190        match err {
3191            crate::operation::start_backup_job::StartBackupJobError::InvalidParameterValueException(inner) => {
3192                Error::InvalidParameterValueException(inner)
3193            }
3194            crate::operation::start_backup_job::StartBackupJobError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
3195            crate::operation::start_backup_job::StartBackupJobError::LimitExceededException(inner) => Error::LimitExceededException(inner),
3196            crate::operation::start_backup_job::StartBackupJobError::MissingParameterValueException(inner) => {
3197                Error::MissingParameterValueException(inner)
3198            }
3199            crate::operation::start_backup_job::StartBackupJobError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
3200            crate::operation::start_backup_job::StartBackupJobError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
3201            crate::operation::start_backup_job::StartBackupJobError::Unhandled(inner) => Error::Unhandled(inner),
3202        }
3203    }
3204}
3205impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_copy_job::StartCopyJobError, R>> for Error
3206where
3207    R: Send + Sync + std::fmt::Debug + 'static,
3208{
3209    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_copy_job::StartCopyJobError, R>) -> Self {
3210        match err {
3211            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3212            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3213                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3214                source: err.into(),
3215            }),
3216        }
3217    }
3218}
3219impl From<crate::operation::start_copy_job::StartCopyJobError> for Error {
3220    fn from(err: crate::operation::start_copy_job::StartCopyJobError) -> Self {
3221        match err {
3222            crate::operation::start_copy_job::StartCopyJobError::InvalidParameterValueException(inner) => {
3223                Error::InvalidParameterValueException(inner)
3224            }
3225            crate::operation::start_copy_job::StartCopyJobError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
3226            crate::operation::start_copy_job::StartCopyJobError::LimitExceededException(inner) => Error::LimitExceededException(inner),
3227            crate::operation::start_copy_job::StartCopyJobError::MissingParameterValueException(inner) => {
3228                Error::MissingParameterValueException(inner)
3229            }
3230            crate::operation::start_copy_job::StartCopyJobError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
3231            crate::operation::start_copy_job::StartCopyJobError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
3232            crate::operation::start_copy_job::StartCopyJobError::Unhandled(inner) => Error::Unhandled(inner),
3233        }
3234    }
3235}
3236impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_report_job::StartReportJobError, R>> for Error
3237where
3238    R: Send + Sync + std::fmt::Debug + 'static,
3239{
3240    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_report_job::StartReportJobError, R>) -> Self {
3241        match err {
3242            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3243            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3244                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3245                source: err.into(),
3246            }),
3247        }
3248    }
3249}
3250impl From<crate::operation::start_report_job::StartReportJobError> for Error {
3251    fn from(err: crate::operation::start_report_job::StartReportJobError) -> Self {
3252        match err {
3253            crate::operation::start_report_job::StartReportJobError::InvalidParameterValueException(inner) => {
3254                Error::InvalidParameterValueException(inner)
3255            }
3256            crate::operation::start_report_job::StartReportJobError::MissingParameterValueException(inner) => {
3257                Error::MissingParameterValueException(inner)
3258            }
3259            crate::operation::start_report_job::StartReportJobError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
3260            crate::operation::start_report_job::StartReportJobError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
3261            crate::operation::start_report_job::StartReportJobError::Unhandled(inner) => Error::Unhandled(inner),
3262        }
3263    }
3264}
3265impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_restore_job::StartRestoreJobError, R>> for Error
3266where
3267    R: Send + Sync + std::fmt::Debug + 'static,
3268{
3269    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_restore_job::StartRestoreJobError, R>) -> Self {
3270        match err {
3271            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3272            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3273                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3274                source: err.into(),
3275            }),
3276        }
3277    }
3278}
3279impl From<crate::operation::start_restore_job::StartRestoreJobError> for Error {
3280    fn from(err: crate::operation::start_restore_job::StartRestoreJobError) -> Self {
3281        match err {
3282            crate::operation::start_restore_job::StartRestoreJobError::InvalidParameterValueException(inner) => {
3283                Error::InvalidParameterValueException(inner)
3284            }
3285            crate::operation::start_restore_job::StartRestoreJobError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
3286            crate::operation::start_restore_job::StartRestoreJobError::MissingParameterValueException(inner) => {
3287                Error::MissingParameterValueException(inner)
3288            }
3289            crate::operation::start_restore_job::StartRestoreJobError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
3290            crate::operation::start_restore_job::StartRestoreJobError::ServiceUnavailableException(inner) => {
3291                Error::ServiceUnavailableException(inner)
3292            }
3293            crate::operation::start_restore_job::StartRestoreJobError::Unhandled(inner) => Error::Unhandled(inner),
3294        }
3295    }
3296}
3297impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_backup_job::StopBackupJobError, R>> for Error
3298where
3299    R: Send + Sync + std::fmt::Debug + 'static,
3300{
3301    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_backup_job::StopBackupJobError, R>) -> Self {
3302        match err {
3303            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3304            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3305                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3306                source: err.into(),
3307            }),
3308        }
3309    }
3310}
3311impl From<crate::operation::stop_backup_job::StopBackupJobError> for Error {
3312    fn from(err: crate::operation::stop_backup_job::StopBackupJobError) -> Self {
3313        match err {
3314            crate::operation::stop_backup_job::StopBackupJobError::InvalidParameterValueException(inner) => {
3315                Error::InvalidParameterValueException(inner)
3316            }
3317            crate::operation::stop_backup_job::StopBackupJobError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
3318            crate::operation::stop_backup_job::StopBackupJobError::MissingParameterValueException(inner) => {
3319                Error::MissingParameterValueException(inner)
3320            }
3321            crate::operation::stop_backup_job::StopBackupJobError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
3322            crate::operation::stop_backup_job::StopBackupJobError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
3323            crate::operation::stop_backup_job::StopBackupJobError::Unhandled(inner) => Error::Unhandled(inner),
3324        }
3325    }
3326}
3327impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::tag_resource::TagResourceError, R>> for Error
3328where
3329    R: Send + Sync + std::fmt::Debug + 'static,
3330{
3331    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::tag_resource::TagResourceError, R>) -> Self {
3332        match err {
3333            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3334            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3335                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3336                source: err.into(),
3337            }),
3338        }
3339    }
3340}
3341impl From<crate::operation::tag_resource::TagResourceError> for Error {
3342    fn from(err: crate::operation::tag_resource::TagResourceError) -> Self {
3343        match err {
3344            crate::operation::tag_resource::TagResourceError::InvalidParameterValueException(inner) => Error::InvalidParameterValueException(inner),
3345            crate::operation::tag_resource::TagResourceError::LimitExceededException(inner) => Error::LimitExceededException(inner),
3346            crate::operation::tag_resource::TagResourceError::MissingParameterValueException(inner) => Error::MissingParameterValueException(inner),
3347            crate::operation::tag_resource::TagResourceError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
3348            crate::operation::tag_resource::TagResourceError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
3349            crate::operation::tag_resource::TagResourceError::Unhandled(inner) => Error::Unhandled(inner),
3350        }
3351    }
3352}
3353impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::untag_resource::UntagResourceError, R>> for Error
3354where
3355    R: Send + Sync + std::fmt::Debug + 'static,
3356{
3357    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::untag_resource::UntagResourceError, R>) -> Self {
3358        match err {
3359            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3360            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3361                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3362                source: err.into(),
3363            }),
3364        }
3365    }
3366}
3367impl From<crate::operation::untag_resource::UntagResourceError> for Error {
3368    fn from(err: crate::operation::untag_resource::UntagResourceError) -> Self {
3369        match err {
3370            crate::operation::untag_resource::UntagResourceError::InvalidParameterValueException(inner) => {
3371                Error::InvalidParameterValueException(inner)
3372            }
3373            crate::operation::untag_resource::UntagResourceError::MissingParameterValueException(inner) => {
3374                Error::MissingParameterValueException(inner)
3375            }
3376            crate::operation::untag_resource::UntagResourceError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
3377            crate::operation::untag_resource::UntagResourceError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
3378            crate::operation::untag_resource::UntagResourceError::Unhandled(inner) => Error::Unhandled(inner),
3379        }
3380    }
3381}
3382impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_backup_plan::UpdateBackupPlanError, R>> for Error
3383where
3384    R: Send + Sync + std::fmt::Debug + 'static,
3385{
3386    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_backup_plan::UpdateBackupPlanError, R>) -> Self {
3387        match err {
3388            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3389            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3390                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3391                source: err.into(),
3392            }),
3393        }
3394    }
3395}
3396impl From<crate::operation::update_backup_plan::UpdateBackupPlanError> for Error {
3397    fn from(err: crate::operation::update_backup_plan::UpdateBackupPlanError) -> Self {
3398        match err {
3399            crate::operation::update_backup_plan::UpdateBackupPlanError::InvalidParameterValueException(inner) => {
3400                Error::InvalidParameterValueException(inner)
3401            }
3402            crate::operation::update_backup_plan::UpdateBackupPlanError::MissingParameterValueException(inner) => {
3403                Error::MissingParameterValueException(inner)
3404            }
3405            crate::operation::update_backup_plan::UpdateBackupPlanError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
3406            crate::operation::update_backup_plan::UpdateBackupPlanError::ServiceUnavailableException(inner) => {
3407                Error::ServiceUnavailableException(inner)
3408            }
3409            crate::operation::update_backup_plan::UpdateBackupPlanError::Unhandled(inner) => Error::Unhandled(inner),
3410        }
3411    }
3412}
3413impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_framework::UpdateFrameworkError, R>> for Error
3414where
3415    R: Send + Sync + std::fmt::Debug + 'static,
3416{
3417    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_framework::UpdateFrameworkError, R>) -> Self {
3418        match err {
3419            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3420            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3421                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3422                source: err.into(),
3423            }),
3424        }
3425    }
3426}
3427impl From<crate::operation::update_framework::UpdateFrameworkError> for Error {
3428    fn from(err: crate::operation::update_framework::UpdateFrameworkError) -> Self {
3429        match err {
3430            crate::operation::update_framework::UpdateFrameworkError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
3431            crate::operation::update_framework::UpdateFrameworkError::ConflictException(inner) => Error::ConflictException(inner),
3432            crate::operation::update_framework::UpdateFrameworkError::InvalidParameterValueException(inner) => {
3433                Error::InvalidParameterValueException(inner)
3434            }
3435            crate::operation::update_framework::UpdateFrameworkError::LimitExceededException(inner) => Error::LimitExceededException(inner),
3436            crate::operation::update_framework::UpdateFrameworkError::MissingParameterValueException(inner) => {
3437                Error::MissingParameterValueException(inner)
3438            }
3439            crate::operation::update_framework::UpdateFrameworkError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
3440            crate::operation::update_framework::UpdateFrameworkError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
3441            crate::operation::update_framework::UpdateFrameworkError::Unhandled(inner) => Error::Unhandled(inner),
3442        }
3443    }
3444}
3445impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_global_settings::UpdateGlobalSettingsError, R>> for Error
3446where
3447    R: Send + Sync + std::fmt::Debug + 'static,
3448{
3449    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_global_settings::UpdateGlobalSettingsError, R>) -> Self {
3450        match err {
3451            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3452            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3453                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3454                source: err.into(),
3455            }),
3456        }
3457    }
3458}
3459impl From<crate::operation::update_global_settings::UpdateGlobalSettingsError> for Error {
3460    fn from(err: crate::operation::update_global_settings::UpdateGlobalSettingsError) -> Self {
3461        match err {
3462            crate::operation::update_global_settings::UpdateGlobalSettingsError::InvalidParameterValueException(inner) => {
3463                Error::InvalidParameterValueException(inner)
3464            }
3465            crate::operation::update_global_settings::UpdateGlobalSettingsError::InvalidRequestException(inner) => {
3466                Error::InvalidRequestException(inner)
3467            }
3468            crate::operation::update_global_settings::UpdateGlobalSettingsError::MissingParameterValueException(inner) => {
3469                Error::MissingParameterValueException(inner)
3470            }
3471            crate::operation::update_global_settings::UpdateGlobalSettingsError::ServiceUnavailableException(inner) => {
3472                Error::ServiceUnavailableException(inner)
3473            }
3474            crate::operation::update_global_settings::UpdateGlobalSettingsError::Unhandled(inner) => Error::Unhandled(inner),
3475        }
3476    }
3477}
3478impl<R>
3479    From<
3480        ::aws_smithy_runtime_api::client::result::SdkError<
3481            crate::operation::update_recovery_point_index_settings::UpdateRecoveryPointIndexSettingsError,
3482            R,
3483        >,
3484    > for Error
3485where
3486    R: Send + Sync + std::fmt::Debug + 'static,
3487{
3488    fn from(
3489        err: ::aws_smithy_runtime_api::client::result::SdkError<
3490            crate::operation::update_recovery_point_index_settings::UpdateRecoveryPointIndexSettingsError,
3491            R,
3492        >,
3493    ) -> Self {
3494        match err {
3495            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3496            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3497                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3498                source: err.into(),
3499            }),
3500        }
3501    }
3502}
3503impl From<crate::operation::update_recovery_point_index_settings::UpdateRecoveryPointIndexSettingsError> for Error {
3504    fn from(err: crate::operation::update_recovery_point_index_settings::UpdateRecoveryPointIndexSettingsError) -> Self {
3505        match err {
3506            crate::operation::update_recovery_point_index_settings::UpdateRecoveryPointIndexSettingsError::InvalidParameterValueException(inner) => {
3507                Error::InvalidParameterValueException(inner)
3508            }
3509            crate::operation::update_recovery_point_index_settings::UpdateRecoveryPointIndexSettingsError::InvalidRequestException(inner) => {
3510                Error::InvalidRequestException(inner)
3511            }
3512            crate::operation::update_recovery_point_index_settings::UpdateRecoveryPointIndexSettingsError::MissingParameterValueException(inner) => {
3513                Error::MissingParameterValueException(inner)
3514            }
3515            crate::operation::update_recovery_point_index_settings::UpdateRecoveryPointIndexSettingsError::ResourceNotFoundException(inner) => {
3516                Error::ResourceNotFoundException(inner)
3517            }
3518            crate::operation::update_recovery_point_index_settings::UpdateRecoveryPointIndexSettingsError::ServiceUnavailableException(inner) => {
3519                Error::ServiceUnavailableException(inner)
3520            }
3521            crate::operation::update_recovery_point_index_settings::UpdateRecoveryPointIndexSettingsError::Unhandled(inner) => {
3522                Error::Unhandled(inner)
3523            }
3524        }
3525    }
3526}
3527impl<R>
3528    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_recovery_point_lifecycle::UpdateRecoveryPointLifecycleError, R>>
3529    for Error
3530where
3531    R: Send + Sync + std::fmt::Debug + 'static,
3532{
3533    fn from(
3534        err: ::aws_smithy_runtime_api::client::result::SdkError<
3535            crate::operation::update_recovery_point_lifecycle::UpdateRecoveryPointLifecycleError,
3536            R,
3537        >,
3538    ) -> Self {
3539        match err {
3540            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3541            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3542                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3543                source: err.into(),
3544            }),
3545        }
3546    }
3547}
3548impl From<crate::operation::update_recovery_point_lifecycle::UpdateRecoveryPointLifecycleError> for Error {
3549    fn from(err: crate::operation::update_recovery_point_lifecycle::UpdateRecoveryPointLifecycleError) -> Self {
3550        match err {
3551            crate::operation::update_recovery_point_lifecycle::UpdateRecoveryPointLifecycleError::InvalidParameterValueException(inner) => {
3552                Error::InvalidParameterValueException(inner)
3553            }
3554            crate::operation::update_recovery_point_lifecycle::UpdateRecoveryPointLifecycleError::InvalidRequestException(inner) => {
3555                Error::InvalidRequestException(inner)
3556            }
3557            crate::operation::update_recovery_point_lifecycle::UpdateRecoveryPointLifecycleError::MissingParameterValueException(inner) => {
3558                Error::MissingParameterValueException(inner)
3559            }
3560            crate::operation::update_recovery_point_lifecycle::UpdateRecoveryPointLifecycleError::ResourceNotFoundException(inner) => {
3561                Error::ResourceNotFoundException(inner)
3562            }
3563            crate::operation::update_recovery_point_lifecycle::UpdateRecoveryPointLifecycleError::ServiceUnavailableException(inner) => {
3564                Error::ServiceUnavailableException(inner)
3565            }
3566            crate::operation::update_recovery_point_lifecycle::UpdateRecoveryPointLifecycleError::Unhandled(inner) => Error::Unhandled(inner),
3567        }
3568    }
3569}
3570impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_region_settings::UpdateRegionSettingsError, R>> for Error
3571where
3572    R: Send + Sync + std::fmt::Debug + 'static,
3573{
3574    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_region_settings::UpdateRegionSettingsError, R>) -> Self {
3575        match err {
3576            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3577            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3578                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3579                source: err.into(),
3580            }),
3581        }
3582    }
3583}
3584impl From<crate::operation::update_region_settings::UpdateRegionSettingsError> for Error {
3585    fn from(err: crate::operation::update_region_settings::UpdateRegionSettingsError) -> Self {
3586        match err {
3587            crate::operation::update_region_settings::UpdateRegionSettingsError::InvalidParameterValueException(inner) => {
3588                Error::InvalidParameterValueException(inner)
3589            }
3590            crate::operation::update_region_settings::UpdateRegionSettingsError::MissingParameterValueException(inner) => {
3591                Error::MissingParameterValueException(inner)
3592            }
3593            crate::operation::update_region_settings::UpdateRegionSettingsError::ServiceUnavailableException(inner) => {
3594                Error::ServiceUnavailableException(inner)
3595            }
3596            crate::operation::update_region_settings::UpdateRegionSettingsError::Unhandled(inner) => Error::Unhandled(inner),
3597        }
3598    }
3599}
3600impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_report_plan::UpdateReportPlanError, R>> for Error
3601where
3602    R: Send + Sync + std::fmt::Debug + 'static,
3603{
3604    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_report_plan::UpdateReportPlanError, R>) -> Self {
3605        match err {
3606            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3607            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3608                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3609                source: err.into(),
3610            }),
3611        }
3612    }
3613}
3614impl From<crate::operation::update_report_plan::UpdateReportPlanError> for Error {
3615    fn from(err: crate::operation::update_report_plan::UpdateReportPlanError) -> Self {
3616        match err {
3617            crate::operation::update_report_plan::UpdateReportPlanError::ConflictException(inner) => Error::ConflictException(inner),
3618            crate::operation::update_report_plan::UpdateReportPlanError::InvalidParameterValueException(inner) => {
3619                Error::InvalidParameterValueException(inner)
3620            }
3621            crate::operation::update_report_plan::UpdateReportPlanError::MissingParameterValueException(inner) => {
3622                Error::MissingParameterValueException(inner)
3623            }
3624            crate::operation::update_report_plan::UpdateReportPlanError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
3625            crate::operation::update_report_plan::UpdateReportPlanError::ServiceUnavailableException(inner) => {
3626                Error::ServiceUnavailableException(inner)
3627            }
3628            crate::operation::update_report_plan::UpdateReportPlanError::Unhandled(inner) => Error::Unhandled(inner),
3629        }
3630    }
3631}
3632impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_restore_testing_plan::UpdateRestoreTestingPlanError, R>>
3633    for Error
3634where
3635    R: Send + Sync + std::fmt::Debug + 'static,
3636{
3637    fn from(
3638        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_restore_testing_plan::UpdateRestoreTestingPlanError, R>,
3639    ) -> Self {
3640        match err {
3641            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3642            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3643                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3644                source: err.into(),
3645            }),
3646        }
3647    }
3648}
3649impl From<crate::operation::update_restore_testing_plan::UpdateRestoreTestingPlanError> for Error {
3650    fn from(err: crate::operation::update_restore_testing_plan::UpdateRestoreTestingPlanError) -> Self {
3651        match err {
3652            crate::operation::update_restore_testing_plan::UpdateRestoreTestingPlanError::ConflictException(inner) => Error::ConflictException(inner),
3653            crate::operation::update_restore_testing_plan::UpdateRestoreTestingPlanError::InvalidParameterValueException(inner) => {
3654                Error::InvalidParameterValueException(inner)
3655            }
3656            crate::operation::update_restore_testing_plan::UpdateRestoreTestingPlanError::MissingParameterValueException(inner) => {
3657                Error::MissingParameterValueException(inner)
3658            }
3659            crate::operation::update_restore_testing_plan::UpdateRestoreTestingPlanError::ResourceNotFoundException(inner) => {
3660                Error::ResourceNotFoundException(inner)
3661            }
3662            crate::operation::update_restore_testing_plan::UpdateRestoreTestingPlanError::ServiceUnavailableException(inner) => {
3663                Error::ServiceUnavailableException(inner)
3664            }
3665            crate::operation::update_restore_testing_plan::UpdateRestoreTestingPlanError::Unhandled(inner) => Error::Unhandled(inner),
3666        }
3667    }
3668}
3669impl<R>
3670    From<
3671        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_restore_testing_selection::UpdateRestoreTestingSelectionError, R>,
3672    > for Error
3673where
3674    R: Send + Sync + std::fmt::Debug + 'static,
3675{
3676    fn from(
3677        err: ::aws_smithy_runtime_api::client::result::SdkError<
3678            crate::operation::update_restore_testing_selection::UpdateRestoreTestingSelectionError,
3679            R,
3680        >,
3681    ) -> Self {
3682        match err {
3683            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3684            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3685                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3686                source: err.into(),
3687            }),
3688        }
3689    }
3690}
3691impl From<crate::operation::update_restore_testing_selection::UpdateRestoreTestingSelectionError> for Error {
3692    fn from(err: crate::operation::update_restore_testing_selection::UpdateRestoreTestingSelectionError) -> Self {
3693        match err {
3694            crate::operation::update_restore_testing_selection::UpdateRestoreTestingSelectionError::ConflictException(inner) => {
3695                Error::ConflictException(inner)
3696            }
3697            crate::operation::update_restore_testing_selection::UpdateRestoreTestingSelectionError::InvalidParameterValueException(inner) => {
3698                Error::InvalidParameterValueException(inner)
3699            }
3700            crate::operation::update_restore_testing_selection::UpdateRestoreTestingSelectionError::MissingParameterValueException(inner) => {
3701                Error::MissingParameterValueException(inner)
3702            }
3703            crate::operation::update_restore_testing_selection::UpdateRestoreTestingSelectionError::ResourceNotFoundException(inner) => {
3704                Error::ResourceNotFoundException(inner)
3705            }
3706            crate::operation::update_restore_testing_selection::UpdateRestoreTestingSelectionError::ServiceUnavailableException(inner) => {
3707                Error::ServiceUnavailableException(inner)
3708            }
3709            crate::operation::update_restore_testing_selection::UpdateRestoreTestingSelectionError::Unhandled(inner) => Error::Unhandled(inner),
3710        }
3711    }
3712}
3713impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_tiering_configuration::UpdateTieringConfigurationError, R>>
3714    for Error
3715where
3716    R: Send + Sync + std::fmt::Debug + 'static,
3717{
3718    fn from(
3719        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_tiering_configuration::UpdateTieringConfigurationError, R>,
3720    ) -> Self {
3721        match err {
3722            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3723            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3724                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3725                source: err.into(),
3726            }),
3727        }
3728    }
3729}
3730impl From<crate::operation::update_tiering_configuration::UpdateTieringConfigurationError> for Error {
3731    fn from(err: crate::operation::update_tiering_configuration::UpdateTieringConfigurationError) -> Self {
3732        match err {
3733            crate::operation::update_tiering_configuration::UpdateTieringConfigurationError::AlreadyExistsException(inner) => {
3734                Error::AlreadyExistsException(inner)
3735            }
3736            crate::operation::update_tiering_configuration::UpdateTieringConfigurationError::ConflictException(inner) => {
3737                Error::ConflictException(inner)
3738            }
3739            crate::operation::update_tiering_configuration::UpdateTieringConfigurationError::InvalidParameterValueException(inner) => {
3740                Error::InvalidParameterValueException(inner)
3741            }
3742            crate::operation::update_tiering_configuration::UpdateTieringConfigurationError::LimitExceededException(inner) => {
3743                Error::LimitExceededException(inner)
3744            }
3745            crate::operation::update_tiering_configuration::UpdateTieringConfigurationError::MissingParameterValueException(inner) => {
3746                Error::MissingParameterValueException(inner)
3747            }
3748            crate::operation::update_tiering_configuration::UpdateTieringConfigurationError::ResourceNotFoundException(inner) => {
3749                Error::ResourceNotFoundException(inner)
3750            }
3751            crate::operation::update_tiering_configuration::UpdateTieringConfigurationError::ServiceUnavailableException(inner) => {
3752                Error::ServiceUnavailableException(inner)
3753            }
3754            crate::operation::update_tiering_configuration::UpdateTieringConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
3755        }
3756    }
3757}
3758impl ::std::error::Error for Error {
3759    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
3760        match self {
3761            Error::AlreadyExistsException(inner) => inner.source(),
3762            Error::ConflictException(inner) => inner.source(),
3763            Error::DependencyFailureException(inner) => inner.source(),
3764            Error::InvalidParameterValueException(inner) => inner.source(),
3765            Error::InvalidRequestException(inner) => inner.source(),
3766            Error::InvalidResourceStateException(inner) => inner.source(),
3767            Error::LimitExceededException(inner) => inner.source(),
3768            Error::MissingParameterValueException(inner) => inner.source(),
3769            Error::ResourceNotFoundException(inner) => inner.source(),
3770            Error::ServiceUnavailableException(inner) => inner.source(),
3771            Error::Unhandled(inner) => ::std::option::Option::Some(&*inner.source),
3772        }
3773    }
3774}
3775impl ::aws_types::request_id::RequestId for Error {
3776    fn request_id(&self) -> Option<&str> {
3777        match self {
3778            Self::AlreadyExistsException(e) => e.request_id(),
3779            Self::ConflictException(e) => e.request_id(),
3780            Self::DependencyFailureException(e) => e.request_id(),
3781            Self::InvalidParameterValueException(e) => e.request_id(),
3782            Self::InvalidRequestException(e) => e.request_id(),
3783            Self::InvalidResourceStateException(e) => e.request_id(),
3784            Self::LimitExceededException(e) => e.request_id(),
3785            Self::MissingParameterValueException(e) => e.request_id(),
3786            Self::ResourceNotFoundException(e) => e.request_id(),
3787            Self::ServiceUnavailableException(e) => e.request_id(),
3788            Self::Unhandled(e) => e.meta.request_id(),
3789        }
3790    }
3791}