Skip to main content

aws_sdk_backup/
error_meta.rs

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