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