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