Skip to main content

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