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