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::InternalServerException(inner) => {
952                Error::InternalServerException(inner)
953            }
954            crate::operation::deregister_account_association::DeregisterAccountAssociationError::ResourceNotFoundException(inner) => {
955                Error::ResourceNotFoundException(inner)
956            }
957            crate::operation::deregister_account_association::DeregisterAccountAssociationError::ThrottlingException(inner) => {
958                Error::ThrottlingException(inner)
959            }
960            crate::operation::deregister_account_association::DeregisterAccountAssociationError::ValidationException(inner) => {
961                Error::ValidationException(inner)
962            }
963            crate::operation::deregister_account_association::DeregisterAccountAssociationError::Unhandled(inner) => Error::Unhandled(inner),
964        }
965    }
966}
967impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_account_association::GetAccountAssociationError, R>> for Error
968where
969    R: Send + Sync + std::fmt::Debug + 'static,
970{
971    fn from(
972        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_account_association::GetAccountAssociationError, R>,
973    ) -> Self {
974        match err {
975            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
976            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
977                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
978                source: err.into(),
979            }),
980        }
981    }
982}
983impl From<crate::operation::get_account_association::GetAccountAssociationError> for Error {
984    fn from(err: crate::operation::get_account_association::GetAccountAssociationError) -> Self {
985        match err {
986            crate::operation::get_account_association::GetAccountAssociationError::AccessDeniedException(inner) => {
987                Error::AccessDeniedException(inner)
988            }
989            crate::operation::get_account_association::GetAccountAssociationError::InternalServerException(inner) => {
990                Error::InternalServerException(inner)
991            }
992            crate::operation::get_account_association::GetAccountAssociationError::ResourceNotFoundException(inner) => {
993                Error::ResourceNotFoundException(inner)
994            }
995            crate::operation::get_account_association::GetAccountAssociationError::ServiceUnavailableException(inner) => {
996                Error::ServiceUnavailableException(inner)
997            }
998            crate::operation::get_account_association::GetAccountAssociationError::ThrottlingException(inner) => Error::ThrottlingException(inner),
999            crate::operation::get_account_association::GetAccountAssociationError::ValidationException(inner) => Error::ValidationException(inner),
1000            crate::operation::get_account_association::GetAccountAssociationError::Unhandled(inner) => Error::Unhandled(inner),
1001        }
1002    }
1003}
1004impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_cloud_connector::GetCloudConnectorError, R>> for Error
1005where
1006    R: Send + Sync + std::fmt::Debug + 'static,
1007{
1008    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_cloud_connector::GetCloudConnectorError, R>) -> Self {
1009        match err {
1010            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1011            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1012                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1013                source: err.into(),
1014            }),
1015        }
1016    }
1017}
1018impl From<crate::operation::get_cloud_connector::GetCloudConnectorError> for Error {
1019    fn from(err: crate::operation::get_cloud_connector::GetCloudConnectorError) -> Self {
1020        match err {
1021            crate::operation::get_cloud_connector::GetCloudConnectorError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1022            crate::operation::get_cloud_connector::GetCloudConnectorError::InternalServerException(inner) => Error::InternalServerException(inner),
1023            crate::operation::get_cloud_connector::GetCloudConnectorError::ResourceNotFoundException(inner) => {
1024                Error::ResourceNotFoundException(inner)
1025            }
1026            crate::operation::get_cloud_connector::GetCloudConnectorError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1027            crate::operation::get_cloud_connector::GetCloudConnectorError::ValidationException(inner) => Error::ValidationException(inner),
1028            crate::operation::get_cloud_connector::GetCloudConnectorError::Unhandled(inner) => Error::Unhandled(inner),
1029        }
1030    }
1031}
1032impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_connector_destination::GetConnectorDestinationError, R>>
1033    for Error
1034where
1035    R: Send + Sync + std::fmt::Debug + 'static,
1036{
1037    fn from(
1038        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_connector_destination::GetConnectorDestinationError, R>,
1039    ) -> Self {
1040        match err {
1041            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1042            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1043                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1044                source: err.into(),
1045            }),
1046        }
1047    }
1048}
1049impl From<crate::operation::get_connector_destination::GetConnectorDestinationError> for Error {
1050    fn from(err: crate::operation::get_connector_destination::GetConnectorDestinationError) -> Self {
1051        match err {
1052            crate::operation::get_connector_destination::GetConnectorDestinationError::AccessDeniedException(inner) => {
1053                Error::AccessDeniedException(inner)
1054            }
1055            crate::operation::get_connector_destination::GetConnectorDestinationError::InternalServerException(inner) => {
1056                Error::InternalServerException(inner)
1057            }
1058            crate::operation::get_connector_destination::GetConnectorDestinationError::ResourceNotFoundException(inner) => {
1059                Error::ResourceNotFoundException(inner)
1060            }
1061            crate::operation::get_connector_destination::GetConnectorDestinationError::ThrottlingException(inner) => {
1062                Error::ThrottlingException(inner)
1063            }
1064            crate::operation::get_connector_destination::GetConnectorDestinationError::ValidationException(inner) => {
1065                Error::ValidationException(inner)
1066            }
1067            crate::operation::get_connector_destination::GetConnectorDestinationError::Unhandled(inner) => Error::Unhandled(inner),
1068        }
1069    }
1070}
1071impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_credential_locker::GetCredentialLockerError, R>> for Error
1072where
1073    R: Send + Sync + std::fmt::Debug + 'static,
1074{
1075    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_credential_locker::GetCredentialLockerError, R>) -> Self {
1076        match err {
1077            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1078            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1079                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1080                source: err.into(),
1081            }),
1082        }
1083    }
1084}
1085impl From<crate::operation::get_credential_locker::GetCredentialLockerError> for Error {
1086    fn from(err: crate::operation::get_credential_locker::GetCredentialLockerError) -> Self {
1087        match err {
1088            crate::operation::get_credential_locker::GetCredentialLockerError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1089            crate::operation::get_credential_locker::GetCredentialLockerError::InternalServerException(inner) => {
1090                Error::InternalServerException(inner)
1091            }
1092            crate::operation::get_credential_locker::GetCredentialLockerError::ResourceNotFoundException(inner) => {
1093                Error::ResourceNotFoundException(inner)
1094            }
1095            crate::operation::get_credential_locker::GetCredentialLockerError::ServiceUnavailableException(inner) => {
1096                Error::ServiceUnavailableException(inner)
1097            }
1098            crate::operation::get_credential_locker::GetCredentialLockerError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1099            crate::operation::get_credential_locker::GetCredentialLockerError::ValidationException(inner) => Error::ValidationException(inner),
1100            crate::operation::get_credential_locker::GetCredentialLockerError::Unhandled(inner) => Error::Unhandled(inner),
1101        }
1102    }
1103}
1104impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_custom_endpoint::GetCustomEndpointError, R>> for Error
1105where
1106    R: Send + Sync + std::fmt::Debug + 'static,
1107{
1108    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_custom_endpoint::GetCustomEndpointError, R>) -> Self {
1109        match err {
1110            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1111            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1112                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1113                source: err.into(),
1114            }),
1115        }
1116    }
1117}
1118impl From<crate::operation::get_custom_endpoint::GetCustomEndpointError> for Error {
1119    fn from(err: crate::operation::get_custom_endpoint::GetCustomEndpointError) -> Self {
1120        match err {
1121            crate::operation::get_custom_endpoint::GetCustomEndpointError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1122            crate::operation::get_custom_endpoint::GetCustomEndpointError::InternalServerException(inner) => Error::InternalServerException(inner),
1123            crate::operation::get_custom_endpoint::GetCustomEndpointError::ResourceNotFoundException(inner) => {
1124                Error::ResourceNotFoundException(inner)
1125            }
1126            crate::operation::get_custom_endpoint::GetCustomEndpointError::ServiceUnavailableException(inner) => {
1127                Error::ServiceUnavailableException(inner)
1128            }
1129            crate::operation::get_custom_endpoint::GetCustomEndpointError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1130            crate::operation::get_custom_endpoint::GetCustomEndpointError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
1131            crate::operation::get_custom_endpoint::GetCustomEndpointError::ValidationException(inner) => Error::ValidationException(inner),
1132            crate::operation::get_custom_endpoint::GetCustomEndpointError::Unhandled(inner) => Error::Unhandled(inner),
1133        }
1134    }
1135}
1136impl<R>
1137    From<
1138        ::aws_smithy_runtime_api::client::result::SdkError<
1139            crate::operation::get_default_encryption_configuration::GetDefaultEncryptionConfigurationError,
1140            R,
1141        >,
1142    > for Error
1143where
1144    R: Send + Sync + std::fmt::Debug + 'static,
1145{
1146    fn from(
1147        err: ::aws_smithy_runtime_api::client::result::SdkError<
1148            crate::operation::get_default_encryption_configuration::GetDefaultEncryptionConfigurationError,
1149            R,
1150        >,
1151    ) -> Self {
1152        match err {
1153            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1154            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1155                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1156                source: err.into(),
1157            }),
1158        }
1159    }
1160}
1161impl From<crate::operation::get_default_encryption_configuration::GetDefaultEncryptionConfigurationError> for Error {
1162    fn from(err: crate::operation::get_default_encryption_configuration::GetDefaultEncryptionConfigurationError) -> Self {
1163        match err {
1164            crate::operation::get_default_encryption_configuration::GetDefaultEncryptionConfigurationError::AccessDeniedException(inner) => {
1165                Error::AccessDeniedException(inner)
1166            }
1167            crate::operation::get_default_encryption_configuration::GetDefaultEncryptionConfigurationError::InternalFailureException(inner) => {
1168                Error::InternalFailureException(inner)
1169            }
1170            crate::operation::get_default_encryption_configuration::GetDefaultEncryptionConfigurationError::ResourceNotFoundException(inner) => {
1171                Error::ResourceNotFoundException(inner)
1172            }
1173            crate::operation::get_default_encryption_configuration::GetDefaultEncryptionConfigurationError::ServiceUnavailableException(inner) => {
1174                Error::ServiceUnavailableException(inner)
1175            }
1176            crate::operation::get_default_encryption_configuration::GetDefaultEncryptionConfigurationError::ThrottlingException(inner) => {
1177                Error::ThrottlingException(inner)
1178            }
1179            crate::operation::get_default_encryption_configuration::GetDefaultEncryptionConfigurationError::UnauthorizedException(inner) => {
1180                Error::UnauthorizedException(inner)
1181            }
1182            crate::operation::get_default_encryption_configuration::GetDefaultEncryptionConfigurationError::ValidationException(inner) => {
1183                Error::ValidationException(inner)
1184            }
1185            crate::operation::get_default_encryption_configuration::GetDefaultEncryptionConfigurationError::Unhandled(inner) => {
1186                Error::Unhandled(inner)
1187            }
1188        }
1189    }
1190}
1191impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_destination::GetDestinationError, R>> for Error
1192where
1193    R: Send + Sync + std::fmt::Debug + 'static,
1194{
1195    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_destination::GetDestinationError, R>) -> Self {
1196        match err {
1197            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1198            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1199                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1200                source: err.into(),
1201            }),
1202        }
1203    }
1204}
1205impl From<crate::operation::get_destination::GetDestinationError> for Error {
1206    fn from(err: crate::operation::get_destination::GetDestinationError) -> Self {
1207        match err {
1208            crate::operation::get_destination::GetDestinationError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1209            crate::operation::get_destination::GetDestinationError::InternalServerException(inner) => Error::InternalServerException(inner),
1210            crate::operation::get_destination::GetDestinationError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1211            crate::operation::get_destination::GetDestinationError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1212            crate::operation::get_destination::GetDestinationError::ValidationException(inner) => Error::ValidationException(inner),
1213            crate::operation::get_destination::GetDestinationError::Unhandled(inner) => Error::Unhandled(inner),
1214        }
1215    }
1216}
1217impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_device_discovery::GetDeviceDiscoveryError, R>> for Error
1218where
1219    R: Send + Sync + std::fmt::Debug + 'static,
1220{
1221    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_device_discovery::GetDeviceDiscoveryError, R>) -> Self {
1222        match err {
1223            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1224            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1225                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1226                source: err.into(),
1227            }),
1228        }
1229    }
1230}
1231impl From<crate::operation::get_device_discovery::GetDeviceDiscoveryError> for Error {
1232    fn from(err: crate::operation::get_device_discovery::GetDeviceDiscoveryError) -> Self {
1233        match err {
1234            crate::operation::get_device_discovery::GetDeviceDiscoveryError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1235            crate::operation::get_device_discovery::GetDeviceDiscoveryError::InternalServerException(inner) => Error::InternalServerException(inner),
1236            crate::operation::get_device_discovery::GetDeviceDiscoveryError::ResourceNotFoundException(inner) => {
1237                Error::ResourceNotFoundException(inner)
1238            }
1239            crate::operation::get_device_discovery::GetDeviceDiscoveryError::ServiceUnavailableException(inner) => {
1240                Error::ServiceUnavailableException(inner)
1241            }
1242            crate::operation::get_device_discovery::GetDeviceDiscoveryError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1243            crate::operation::get_device_discovery::GetDeviceDiscoveryError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
1244            crate::operation::get_device_discovery::GetDeviceDiscoveryError::ValidationException(inner) => Error::ValidationException(inner),
1245            crate::operation::get_device_discovery::GetDeviceDiscoveryError::Unhandled(inner) => Error::Unhandled(inner),
1246        }
1247    }
1248}
1249impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_event_log_configuration::GetEventLogConfigurationError, R>>
1250    for Error
1251where
1252    R: Send + Sync + std::fmt::Debug + 'static,
1253{
1254    fn from(
1255        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_event_log_configuration::GetEventLogConfigurationError, R>,
1256    ) -> Self {
1257        match err {
1258            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1259            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1260                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1261                source: err.into(),
1262            }),
1263        }
1264    }
1265}
1266impl From<crate::operation::get_event_log_configuration::GetEventLogConfigurationError> for Error {
1267    fn from(err: crate::operation::get_event_log_configuration::GetEventLogConfigurationError) -> Self {
1268        match err {
1269            crate::operation::get_event_log_configuration::GetEventLogConfigurationError::AccessDeniedException(inner) => {
1270                Error::AccessDeniedException(inner)
1271            }
1272            crate::operation::get_event_log_configuration::GetEventLogConfigurationError::InternalServerException(inner) => {
1273                Error::InternalServerException(inner)
1274            }
1275            crate::operation::get_event_log_configuration::GetEventLogConfigurationError::ResourceNotFoundException(inner) => {
1276                Error::ResourceNotFoundException(inner)
1277            }
1278            crate::operation::get_event_log_configuration::GetEventLogConfigurationError::ThrottlingException(inner) => {
1279                Error::ThrottlingException(inner)
1280            }
1281            crate::operation::get_event_log_configuration::GetEventLogConfigurationError::ValidationException(inner) => {
1282                Error::ValidationException(inner)
1283            }
1284            crate::operation::get_event_log_configuration::GetEventLogConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
1285        }
1286    }
1287}
1288impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_hub_configuration::GetHubConfigurationError, R>> for Error
1289where
1290    R: Send + Sync + std::fmt::Debug + 'static,
1291{
1292    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_hub_configuration::GetHubConfigurationError, R>) -> Self {
1293        match err {
1294            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1295            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1296                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1297                source: err.into(),
1298            }),
1299        }
1300    }
1301}
1302impl From<crate::operation::get_hub_configuration::GetHubConfigurationError> for Error {
1303    fn from(err: crate::operation::get_hub_configuration::GetHubConfigurationError) -> Self {
1304        match err {
1305            crate::operation::get_hub_configuration::GetHubConfigurationError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1306            crate::operation::get_hub_configuration::GetHubConfigurationError::InternalServerException(inner) => {
1307                Error::InternalServerException(inner)
1308            }
1309            crate::operation::get_hub_configuration::GetHubConfigurationError::ResourceNotFoundException(inner) => {
1310                Error::ResourceNotFoundException(inner)
1311            }
1312            crate::operation::get_hub_configuration::GetHubConfigurationError::ServiceUnavailableException(inner) => {
1313                Error::ServiceUnavailableException(inner)
1314            }
1315            crate::operation::get_hub_configuration::GetHubConfigurationError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1316            crate::operation::get_hub_configuration::GetHubConfigurationError::ValidationException(inner) => Error::ValidationException(inner),
1317            crate::operation::get_hub_configuration::GetHubConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
1318        }
1319    }
1320}
1321impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_managed_thing::GetManagedThingError, R>> for Error
1322where
1323    R: Send + Sync + std::fmt::Debug + 'static,
1324{
1325    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_managed_thing::GetManagedThingError, R>) -> Self {
1326        match err {
1327            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1328            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1329                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1330                source: err.into(),
1331            }),
1332        }
1333    }
1334}
1335impl From<crate::operation::get_managed_thing::GetManagedThingError> for Error {
1336    fn from(err: crate::operation::get_managed_thing::GetManagedThingError) -> Self {
1337        match err {
1338            crate::operation::get_managed_thing::GetManagedThingError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1339            crate::operation::get_managed_thing::GetManagedThingError::InternalServerException(inner) => Error::InternalServerException(inner),
1340            crate::operation::get_managed_thing::GetManagedThingError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1341            crate::operation::get_managed_thing::GetManagedThingError::ServiceUnavailableException(inner) => {
1342                Error::ServiceUnavailableException(inner)
1343            }
1344            crate::operation::get_managed_thing::GetManagedThingError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1345            crate::operation::get_managed_thing::GetManagedThingError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
1346            crate::operation::get_managed_thing::GetManagedThingError::ValidationException(inner) => Error::ValidationException(inner),
1347            crate::operation::get_managed_thing::GetManagedThingError::Unhandled(inner) => Error::Unhandled(inner),
1348        }
1349    }
1350}
1351impl<R>
1352    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_managed_thing_capabilities::GetManagedThingCapabilitiesError, R>>
1353    for Error
1354where
1355    R: Send + Sync + std::fmt::Debug + 'static,
1356{
1357    fn from(
1358        err: ::aws_smithy_runtime_api::client::result::SdkError<
1359            crate::operation::get_managed_thing_capabilities::GetManagedThingCapabilitiesError,
1360            R,
1361        >,
1362    ) -> Self {
1363        match err {
1364            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1365            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1366                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1367                source: err.into(),
1368            }),
1369        }
1370    }
1371}
1372impl From<crate::operation::get_managed_thing_capabilities::GetManagedThingCapabilitiesError> for Error {
1373    fn from(err: crate::operation::get_managed_thing_capabilities::GetManagedThingCapabilitiesError) -> Self {
1374        match err {
1375            crate::operation::get_managed_thing_capabilities::GetManagedThingCapabilitiesError::AccessDeniedException(inner) => {
1376                Error::AccessDeniedException(inner)
1377            }
1378            crate::operation::get_managed_thing_capabilities::GetManagedThingCapabilitiesError::InternalServerException(inner) => {
1379                Error::InternalServerException(inner)
1380            }
1381            crate::operation::get_managed_thing_capabilities::GetManagedThingCapabilitiesError::ResourceNotFoundException(inner) => {
1382                Error::ResourceNotFoundException(inner)
1383            }
1384            crate::operation::get_managed_thing_capabilities::GetManagedThingCapabilitiesError::ServiceUnavailableException(inner) => {
1385                Error::ServiceUnavailableException(inner)
1386            }
1387            crate::operation::get_managed_thing_capabilities::GetManagedThingCapabilitiesError::ThrottlingException(inner) => {
1388                Error::ThrottlingException(inner)
1389            }
1390            crate::operation::get_managed_thing_capabilities::GetManagedThingCapabilitiesError::UnauthorizedException(inner) => {
1391                Error::UnauthorizedException(inner)
1392            }
1393            crate::operation::get_managed_thing_capabilities::GetManagedThingCapabilitiesError::ValidationException(inner) => {
1394                Error::ValidationException(inner)
1395            }
1396            crate::operation::get_managed_thing_capabilities::GetManagedThingCapabilitiesError::Unhandled(inner) => Error::Unhandled(inner),
1397        }
1398    }
1399}
1400impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_managed_thing_certificate::GetManagedThingCertificateError, R>>
1401    for Error
1402where
1403    R: Send + Sync + std::fmt::Debug + 'static,
1404{
1405    fn from(
1406        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_managed_thing_certificate::GetManagedThingCertificateError, R>,
1407    ) -> Self {
1408        match err {
1409            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1410            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1411                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1412                source: err.into(),
1413            }),
1414        }
1415    }
1416}
1417impl From<crate::operation::get_managed_thing_certificate::GetManagedThingCertificateError> for Error {
1418    fn from(err: crate::operation::get_managed_thing_certificate::GetManagedThingCertificateError) -> Self {
1419        match err {
1420            crate::operation::get_managed_thing_certificate::GetManagedThingCertificateError::AccessDeniedException(inner) => {
1421                Error::AccessDeniedException(inner)
1422            }
1423            crate::operation::get_managed_thing_certificate::GetManagedThingCertificateError::InternalServerException(inner) => {
1424                Error::InternalServerException(inner)
1425            }
1426            crate::operation::get_managed_thing_certificate::GetManagedThingCertificateError::ResourceNotFoundException(inner) => {
1427                Error::ResourceNotFoundException(inner)
1428            }
1429            crate::operation::get_managed_thing_certificate::GetManagedThingCertificateError::ServiceUnavailableException(inner) => {
1430                Error::ServiceUnavailableException(inner)
1431            }
1432            crate::operation::get_managed_thing_certificate::GetManagedThingCertificateError::ThrottlingException(inner) => {
1433                Error::ThrottlingException(inner)
1434            }
1435            crate::operation::get_managed_thing_certificate::GetManagedThingCertificateError::UnauthorizedException(inner) => {
1436                Error::UnauthorizedException(inner)
1437            }
1438            crate::operation::get_managed_thing_certificate::GetManagedThingCertificateError::ValidationException(inner) => {
1439                Error::ValidationException(inner)
1440            }
1441            crate::operation::get_managed_thing_certificate::GetManagedThingCertificateError::Unhandled(inner) => Error::Unhandled(inner),
1442        }
1443    }
1444}
1445impl<R>
1446    From<
1447        ::aws_smithy_runtime_api::client::result::SdkError<
1448            crate::operation::get_managed_thing_connectivity_data::GetManagedThingConnectivityDataError,
1449            R,
1450        >,
1451    > for Error
1452where
1453    R: Send + Sync + std::fmt::Debug + 'static,
1454{
1455    fn from(
1456        err: ::aws_smithy_runtime_api::client::result::SdkError<
1457            crate::operation::get_managed_thing_connectivity_data::GetManagedThingConnectivityDataError,
1458            R,
1459        >,
1460    ) -> Self {
1461        match err {
1462            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1463            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1464                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1465                source: err.into(),
1466            }),
1467        }
1468    }
1469}
1470impl From<crate::operation::get_managed_thing_connectivity_data::GetManagedThingConnectivityDataError> for Error {
1471    fn from(err: crate::operation::get_managed_thing_connectivity_data::GetManagedThingConnectivityDataError) -> Self {
1472        match err {
1473            crate::operation::get_managed_thing_connectivity_data::GetManagedThingConnectivityDataError::AccessDeniedException(inner) => {
1474                Error::AccessDeniedException(inner)
1475            }
1476            crate::operation::get_managed_thing_connectivity_data::GetManagedThingConnectivityDataError::InternalServerException(inner) => {
1477                Error::InternalServerException(inner)
1478            }
1479            crate::operation::get_managed_thing_connectivity_data::GetManagedThingConnectivityDataError::ResourceNotFoundException(inner) => {
1480                Error::ResourceNotFoundException(inner)
1481            }
1482            crate::operation::get_managed_thing_connectivity_data::GetManagedThingConnectivityDataError::ServiceUnavailableException(inner) => {
1483                Error::ServiceUnavailableException(inner)
1484            }
1485            crate::operation::get_managed_thing_connectivity_data::GetManagedThingConnectivityDataError::ThrottlingException(inner) => {
1486                Error::ThrottlingException(inner)
1487            }
1488            crate::operation::get_managed_thing_connectivity_data::GetManagedThingConnectivityDataError::UnauthorizedException(inner) => {
1489                Error::UnauthorizedException(inner)
1490            }
1491            crate::operation::get_managed_thing_connectivity_data::GetManagedThingConnectivityDataError::ValidationException(inner) => {
1492                Error::ValidationException(inner)
1493            }
1494            crate::operation::get_managed_thing_connectivity_data::GetManagedThingConnectivityDataError::Unhandled(inner) => Error::Unhandled(inner),
1495        }
1496    }
1497}
1498impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_managed_thing_meta_data::GetManagedThingMetaDataError, R>>
1499    for Error
1500where
1501    R: Send + Sync + std::fmt::Debug + 'static,
1502{
1503    fn from(
1504        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_managed_thing_meta_data::GetManagedThingMetaDataError, R>,
1505    ) -> Self {
1506        match err {
1507            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1508            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1509                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1510                source: err.into(),
1511            }),
1512        }
1513    }
1514}
1515impl From<crate::operation::get_managed_thing_meta_data::GetManagedThingMetaDataError> for Error {
1516    fn from(err: crate::operation::get_managed_thing_meta_data::GetManagedThingMetaDataError) -> Self {
1517        match err {
1518            crate::operation::get_managed_thing_meta_data::GetManagedThingMetaDataError::AccessDeniedException(inner) => {
1519                Error::AccessDeniedException(inner)
1520            }
1521            crate::operation::get_managed_thing_meta_data::GetManagedThingMetaDataError::InternalServerException(inner) => {
1522                Error::InternalServerException(inner)
1523            }
1524            crate::operation::get_managed_thing_meta_data::GetManagedThingMetaDataError::ResourceNotFoundException(inner) => {
1525                Error::ResourceNotFoundException(inner)
1526            }
1527            crate::operation::get_managed_thing_meta_data::GetManagedThingMetaDataError::ServiceUnavailableException(inner) => {
1528                Error::ServiceUnavailableException(inner)
1529            }
1530            crate::operation::get_managed_thing_meta_data::GetManagedThingMetaDataError::ThrottlingException(inner) => {
1531                Error::ThrottlingException(inner)
1532            }
1533            crate::operation::get_managed_thing_meta_data::GetManagedThingMetaDataError::UnauthorizedException(inner) => {
1534                Error::UnauthorizedException(inner)
1535            }
1536            crate::operation::get_managed_thing_meta_data::GetManagedThingMetaDataError::ValidationException(inner) => {
1537                Error::ValidationException(inner)
1538            }
1539            crate::operation::get_managed_thing_meta_data::GetManagedThingMetaDataError::Unhandled(inner) => Error::Unhandled(inner),
1540        }
1541    }
1542}
1543impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_managed_thing_state::GetManagedThingStateError, R>> for Error
1544where
1545    R: Send + Sync + std::fmt::Debug + 'static,
1546{
1547    fn from(
1548        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_managed_thing_state::GetManagedThingStateError, R>,
1549    ) -> Self {
1550        match err {
1551            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1552            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1553                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1554                source: err.into(),
1555            }),
1556        }
1557    }
1558}
1559impl From<crate::operation::get_managed_thing_state::GetManagedThingStateError> for Error {
1560    fn from(err: crate::operation::get_managed_thing_state::GetManagedThingStateError) -> Self {
1561        match err {
1562            crate::operation::get_managed_thing_state::GetManagedThingStateError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1563            crate::operation::get_managed_thing_state::GetManagedThingStateError::InternalFailureException(inner) => {
1564                Error::InternalFailureException(inner)
1565            }
1566            crate::operation::get_managed_thing_state::GetManagedThingStateError::ResourceNotFoundException(inner) => {
1567                Error::ResourceNotFoundException(inner)
1568            }
1569            crate::operation::get_managed_thing_state::GetManagedThingStateError::ServiceUnavailableException(inner) => {
1570                Error::ServiceUnavailableException(inner)
1571            }
1572            crate::operation::get_managed_thing_state::GetManagedThingStateError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1573            crate::operation::get_managed_thing_state::GetManagedThingStateError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
1574            crate::operation::get_managed_thing_state::GetManagedThingStateError::ValidationException(inner) => Error::ValidationException(inner),
1575            crate::operation::get_managed_thing_state::GetManagedThingStateError::Unhandled(inner) => Error::Unhandled(inner),
1576        }
1577    }
1578}
1579impl<R>
1580    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_notification_configuration::GetNotificationConfigurationError, R>>
1581    for Error
1582where
1583    R: Send + Sync + std::fmt::Debug + 'static,
1584{
1585    fn from(
1586        err: ::aws_smithy_runtime_api::client::result::SdkError<
1587            crate::operation::get_notification_configuration::GetNotificationConfigurationError,
1588            R,
1589        >,
1590    ) -> Self {
1591        match err {
1592            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1593            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1594                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1595                source: err.into(),
1596            }),
1597        }
1598    }
1599}
1600impl From<crate::operation::get_notification_configuration::GetNotificationConfigurationError> for Error {
1601    fn from(err: crate::operation::get_notification_configuration::GetNotificationConfigurationError) -> Self {
1602        match err {
1603            crate::operation::get_notification_configuration::GetNotificationConfigurationError::AccessDeniedException(inner) => {
1604                Error::AccessDeniedException(inner)
1605            }
1606            crate::operation::get_notification_configuration::GetNotificationConfigurationError::InternalServerException(inner) => {
1607                Error::InternalServerException(inner)
1608            }
1609            crate::operation::get_notification_configuration::GetNotificationConfigurationError::ResourceNotFoundException(inner) => {
1610                Error::ResourceNotFoundException(inner)
1611            }
1612            crate::operation::get_notification_configuration::GetNotificationConfigurationError::ThrottlingException(inner) => {
1613                Error::ThrottlingException(inner)
1614            }
1615            crate::operation::get_notification_configuration::GetNotificationConfigurationError::ValidationException(inner) => {
1616                Error::ValidationException(inner)
1617            }
1618            crate::operation::get_notification_configuration::GetNotificationConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
1619        }
1620    }
1621}
1622impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ota_task::GetOtaTaskError, R>> for Error
1623where
1624    R: Send + Sync + std::fmt::Debug + 'static,
1625{
1626    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ota_task::GetOtaTaskError, R>) -> Self {
1627        match err {
1628            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1629            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1630                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1631                source: err.into(),
1632            }),
1633        }
1634    }
1635}
1636impl From<crate::operation::get_ota_task::GetOtaTaskError> for Error {
1637    fn from(err: crate::operation::get_ota_task::GetOtaTaskError) -> Self {
1638        match err {
1639            crate::operation::get_ota_task::GetOtaTaskError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1640            crate::operation::get_ota_task::GetOtaTaskError::InternalServerException(inner) => Error::InternalServerException(inner),
1641            crate::operation::get_ota_task::GetOtaTaskError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1642            crate::operation::get_ota_task::GetOtaTaskError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1643            crate::operation::get_ota_task::GetOtaTaskError::ValidationException(inner) => Error::ValidationException(inner),
1644            crate::operation::get_ota_task::GetOtaTaskError::Unhandled(inner) => Error::Unhandled(inner),
1645        }
1646    }
1647}
1648impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ota_task_configuration::GetOtaTaskConfigurationError, R>>
1649    for Error
1650where
1651    R: Send + Sync + std::fmt::Debug + 'static,
1652{
1653    fn from(
1654        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ota_task_configuration::GetOtaTaskConfigurationError, R>,
1655    ) -> Self {
1656        match err {
1657            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1658            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1659                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1660                source: err.into(),
1661            }),
1662        }
1663    }
1664}
1665impl From<crate::operation::get_ota_task_configuration::GetOtaTaskConfigurationError> for Error {
1666    fn from(err: crate::operation::get_ota_task_configuration::GetOtaTaskConfigurationError) -> Self {
1667        match err {
1668            crate::operation::get_ota_task_configuration::GetOtaTaskConfigurationError::AccessDeniedException(inner) => {
1669                Error::AccessDeniedException(inner)
1670            }
1671            crate::operation::get_ota_task_configuration::GetOtaTaskConfigurationError::InternalServerException(inner) => {
1672                Error::InternalServerException(inner)
1673            }
1674            crate::operation::get_ota_task_configuration::GetOtaTaskConfigurationError::ResourceNotFoundException(inner) => {
1675                Error::ResourceNotFoundException(inner)
1676            }
1677            crate::operation::get_ota_task_configuration::GetOtaTaskConfigurationError::ThrottlingException(inner) => {
1678                Error::ThrottlingException(inner)
1679            }
1680            crate::operation::get_ota_task_configuration::GetOtaTaskConfigurationError::ValidationException(inner) => {
1681                Error::ValidationException(inner)
1682            }
1683            crate::operation::get_ota_task_configuration::GetOtaTaskConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
1684        }
1685    }
1686}
1687impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_provisioning_profile::GetProvisioningProfileError, R>> for Error
1688where
1689    R: Send + Sync + std::fmt::Debug + 'static,
1690{
1691    fn from(
1692        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_provisioning_profile::GetProvisioningProfileError, R>,
1693    ) -> Self {
1694        match err {
1695            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1696            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1697                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1698                source: err.into(),
1699            }),
1700        }
1701    }
1702}
1703impl From<crate::operation::get_provisioning_profile::GetProvisioningProfileError> for Error {
1704    fn from(err: crate::operation::get_provisioning_profile::GetProvisioningProfileError) -> Self {
1705        match err {
1706            crate::operation::get_provisioning_profile::GetProvisioningProfileError::AccessDeniedException(inner) => {
1707                Error::AccessDeniedException(inner)
1708            }
1709            crate::operation::get_provisioning_profile::GetProvisioningProfileError::InternalServerException(inner) => {
1710                Error::InternalServerException(inner)
1711            }
1712            crate::operation::get_provisioning_profile::GetProvisioningProfileError::ResourceNotFoundException(inner) => {
1713                Error::ResourceNotFoundException(inner)
1714            }
1715            crate::operation::get_provisioning_profile::GetProvisioningProfileError::ServiceUnavailableException(inner) => {
1716                Error::ServiceUnavailableException(inner)
1717            }
1718            crate::operation::get_provisioning_profile::GetProvisioningProfileError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1719            crate::operation::get_provisioning_profile::GetProvisioningProfileError::UnauthorizedException(inner) => {
1720                Error::UnauthorizedException(inner)
1721            }
1722            crate::operation::get_provisioning_profile::GetProvisioningProfileError::ValidationException(inner) => Error::ValidationException(inner),
1723            crate::operation::get_provisioning_profile::GetProvisioningProfileError::Unhandled(inner) => Error::Unhandled(inner),
1724        }
1725    }
1726}
1727impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_runtime_log_configuration::GetRuntimeLogConfigurationError, R>>
1728    for Error
1729where
1730    R: Send + Sync + std::fmt::Debug + 'static,
1731{
1732    fn from(
1733        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_runtime_log_configuration::GetRuntimeLogConfigurationError, R>,
1734    ) -> Self {
1735        match err {
1736            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1737            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1738                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1739                source: err.into(),
1740            }),
1741        }
1742    }
1743}
1744impl From<crate::operation::get_runtime_log_configuration::GetRuntimeLogConfigurationError> for Error {
1745    fn from(err: crate::operation::get_runtime_log_configuration::GetRuntimeLogConfigurationError) -> Self {
1746        match err {
1747            crate::operation::get_runtime_log_configuration::GetRuntimeLogConfigurationError::AccessDeniedException(inner) => {
1748                Error::AccessDeniedException(inner)
1749            }
1750            crate::operation::get_runtime_log_configuration::GetRuntimeLogConfigurationError::InternalServerException(inner) => {
1751                Error::InternalServerException(inner)
1752            }
1753            crate::operation::get_runtime_log_configuration::GetRuntimeLogConfigurationError::ResourceNotFoundException(inner) => {
1754                Error::ResourceNotFoundException(inner)
1755            }
1756            crate::operation::get_runtime_log_configuration::GetRuntimeLogConfigurationError::ThrottlingException(inner) => {
1757                Error::ThrottlingException(inner)
1758            }
1759            crate::operation::get_runtime_log_configuration::GetRuntimeLogConfigurationError::ValidationException(inner) => {
1760                Error::ValidationException(inner)
1761            }
1762            crate::operation::get_runtime_log_configuration::GetRuntimeLogConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
1763        }
1764    }
1765}
1766impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_schema_version::GetSchemaVersionError, R>> for Error
1767where
1768    R: Send + Sync + std::fmt::Debug + 'static,
1769{
1770    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_schema_version::GetSchemaVersionError, R>) -> Self {
1771        match err {
1772            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1773            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1774                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1775                source: err.into(),
1776            }),
1777        }
1778    }
1779}
1780impl From<crate::operation::get_schema_version::GetSchemaVersionError> for Error {
1781    fn from(err: crate::operation::get_schema_version::GetSchemaVersionError) -> Self {
1782        match err {
1783            crate::operation::get_schema_version::GetSchemaVersionError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1784            crate::operation::get_schema_version::GetSchemaVersionError::ConflictException(inner) => Error::ConflictException(inner),
1785            crate::operation::get_schema_version::GetSchemaVersionError::InternalServerException(inner) => Error::InternalServerException(inner),
1786            crate::operation::get_schema_version::GetSchemaVersionError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1787            crate::operation::get_schema_version::GetSchemaVersionError::ServiceUnavailableException(inner) => {
1788                Error::ServiceUnavailableException(inner)
1789            }
1790            crate::operation::get_schema_version::GetSchemaVersionError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1791            crate::operation::get_schema_version::GetSchemaVersionError::ValidationException(inner) => Error::ValidationException(inner),
1792            crate::operation::get_schema_version::GetSchemaVersionError::Unhandled(inner) => Error::Unhandled(inner),
1793        }
1794    }
1795}
1796impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_account_associations::ListAccountAssociationsError, R>>
1797    for Error
1798where
1799    R: Send + Sync + std::fmt::Debug + 'static,
1800{
1801    fn from(
1802        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_account_associations::ListAccountAssociationsError, R>,
1803    ) -> Self {
1804        match err {
1805            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1806            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1807                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1808                source: err.into(),
1809            }),
1810        }
1811    }
1812}
1813impl From<crate::operation::list_account_associations::ListAccountAssociationsError> for Error {
1814    fn from(err: crate::operation::list_account_associations::ListAccountAssociationsError) -> Self {
1815        match err {
1816            crate::operation::list_account_associations::ListAccountAssociationsError::AccessDeniedException(inner) => {
1817                Error::AccessDeniedException(inner)
1818            }
1819            crate::operation::list_account_associations::ListAccountAssociationsError::InternalServerException(inner) => {
1820                Error::InternalServerException(inner)
1821            }
1822            crate::operation::list_account_associations::ListAccountAssociationsError::ServiceUnavailableException(inner) => {
1823                Error::ServiceUnavailableException(inner)
1824            }
1825            crate::operation::list_account_associations::ListAccountAssociationsError::ThrottlingException(inner) => {
1826                Error::ThrottlingException(inner)
1827            }
1828            crate::operation::list_account_associations::ListAccountAssociationsError::ValidationException(inner) => {
1829                Error::ValidationException(inner)
1830            }
1831            crate::operation::list_account_associations::ListAccountAssociationsError::Unhandled(inner) => Error::Unhandled(inner),
1832        }
1833    }
1834}
1835impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_cloud_connectors::ListCloudConnectorsError, R>> for Error
1836where
1837    R: Send + Sync + std::fmt::Debug + 'static,
1838{
1839    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_cloud_connectors::ListCloudConnectorsError, R>) -> Self {
1840        match err {
1841            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1842            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1843                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1844                source: err.into(),
1845            }),
1846        }
1847    }
1848}
1849impl From<crate::operation::list_cloud_connectors::ListCloudConnectorsError> for Error {
1850    fn from(err: crate::operation::list_cloud_connectors::ListCloudConnectorsError) -> Self {
1851        match err {
1852            crate::operation::list_cloud_connectors::ListCloudConnectorsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1853            crate::operation::list_cloud_connectors::ListCloudConnectorsError::InternalServerException(inner) => {
1854                Error::InternalServerException(inner)
1855            }
1856            crate::operation::list_cloud_connectors::ListCloudConnectorsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1857            crate::operation::list_cloud_connectors::ListCloudConnectorsError::ValidationException(inner) => Error::ValidationException(inner),
1858            crate::operation::list_cloud_connectors::ListCloudConnectorsError::Unhandled(inner) => Error::Unhandled(inner),
1859        }
1860    }
1861}
1862impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_connector_destinations::ListConnectorDestinationsError, R>>
1863    for Error
1864where
1865    R: Send + Sync + std::fmt::Debug + 'static,
1866{
1867    fn from(
1868        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_connector_destinations::ListConnectorDestinationsError, R>,
1869    ) -> Self {
1870        match err {
1871            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1872            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1873                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1874                source: err.into(),
1875            }),
1876        }
1877    }
1878}
1879impl From<crate::operation::list_connector_destinations::ListConnectorDestinationsError> for Error {
1880    fn from(err: crate::operation::list_connector_destinations::ListConnectorDestinationsError) -> Self {
1881        match err {
1882            crate::operation::list_connector_destinations::ListConnectorDestinationsError::AccessDeniedException(inner) => {
1883                Error::AccessDeniedException(inner)
1884            }
1885            crate::operation::list_connector_destinations::ListConnectorDestinationsError::InternalServerException(inner) => {
1886                Error::InternalServerException(inner)
1887            }
1888            crate::operation::list_connector_destinations::ListConnectorDestinationsError::ThrottlingException(inner) => {
1889                Error::ThrottlingException(inner)
1890            }
1891            crate::operation::list_connector_destinations::ListConnectorDestinationsError::ValidationException(inner) => {
1892                Error::ValidationException(inner)
1893            }
1894            crate::operation::list_connector_destinations::ListConnectorDestinationsError::Unhandled(inner) => Error::Unhandled(inner),
1895        }
1896    }
1897}
1898impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_credential_lockers::ListCredentialLockersError, R>> for Error
1899where
1900    R: Send + Sync + std::fmt::Debug + 'static,
1901{
1902    fn from(
1903        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_credential_lockers::ListCredentialLockersError, R>,
1904    ) -> Self {
1905        match err {
1906            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1907            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1908                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1909                source: err.into(),
1910            }),
1911        }
1912    }
1913}
1914impl From<crate::operation::list_credential_lockers::ListCredentialLockersError> for Error {
1915    fn from(err: crate::operation::list_credential_lockers::ListCredentialLockersError) -> Self {
1916        match err {
1917            crate::operation::list_credential_lockers::ListCredentialLockersError::AccessDeniedException(inner) => {
1918                Error::AccessDeniedException(inner)
1919            }
1920            crate::operation::list_credential_lockers::ListCredentialLockersError::InternalServerException(inner) => {
1921                Error::InternalServerException(inner)
1922            }
1923            crate::operation::list_credential_lockers::ListCredentialLockersError::ServiceUnavailableException(inner) => {
1924                Error::ServiceUnavailableException(inner)
1925            }
1926            crate::operation::list_credential_lockers::ListCredentialLockersError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1927            crate::operation::list_credential_lockers::ListCredentialLockersError::ValidationException(inner) => Error::ValidationException(inner),
1928            crate::operation::list_credential_lockers::ListCredentialLockersError::Unhandled(inner) => Error::Unhandled(inner),
1929        }
1930    }
1931}
1932impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_destinations::ListDestinationsError, R>> for Error
1933where
1934    R: Send + Sync + std::fmt::Debug + 'static,
1935{
1936    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_destinations::ListDestinationsError, R>) -> Self {
1937        match err {
1938            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1939            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1940                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1941                source: err.into(),
1942            }),
1943        }
1944    }
1945}
1946impl From<crate::operation::list_destinations::ListDestinationsError> for Error {
1947    fn from(err: crate::operation::list_destinations::ListDestinationsError) -> Self {
1948        match err {
1949            crate::operation::list_destinations::ListDestinationsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1950            crate::operation::list_destinations::ListDestinationsError::InternalServerException(inner) => Error::InternalServerException(inner),
1951            crate::operation::list_destinations::ListDestinationsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1952            crate::operation::list_destinations::ListDestinationsError::ValidationException(inner) => Error::ValidationException(inner),
1953            crate::operation::list_destinations::ListDestinationsError::Unhandled(inner) => Error::Unhandled(inner),
1954        }
1955    }
1956}
1957impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_device_discoveries::ListDeviceDiscoveriesError, R>> for Error
1958where
1959    R: Send + Sync + std::fmt::Debug + 'static,
1960{
1961    fn from(
1962        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_device_discoveries::ListDeviceDiscoveriesError, R>,
1963    ) -> Self {
1964        match err {
1965            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1966            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1967                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1968                source: err.into(),
1969            }),
1970        }
1971    }
1972}
1973impl From<crate::operation::list_device_discoveries::ListDeviceDiscoveriesError> for Error {
1974    fn from(err: crate::operation::list_device_discoveries::ListDeviceDiscoveriesError) -> Self {
1975        match err {
1976            crate::operation::list_device_discoveries::ListDeviceDiscoveriesError::AccessDeniedException(inner) => {
1977                Error::AccessDeniedException(inner)
1978            }
1979            crate::operation::list_device_discoveries::ListDeviceDiscoveriesError::InternalServerException(inner) => {
1980                Error::InternalServerException(inner)
1981            }
1982            crate::operation::list_device_discoveries::ListDeviceDiscoveriesError::ServiceUnavailableException(inner) => {
1983                Error::ServiceUnavailableException(inner)
1984            }
1985            crate::operation::list_device_discoveries::ListDeviceDiscoveriesError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1986            crate::operation::list_device_discoveries::ListDeviceDiscoveriesError::UnauthorizedException(inner) => {
1987                Error::UnauthorizedException(inner)
1988            }
1989            crate::operation::list_device_discoveries::ListDeviceDiscoveriesError::ValidationException(inner) => Error::ValidationException(inner),
1990            crate::operation::list_device_discoveries::ListDeviceDiscoveriesError::Unhandled(inner) => Error::Unhandled(inner),
1991        }
1992    }
1993}
1994impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_discovered_devices::ListDiscoveredDevicesError, R>> for Error
1995where
1996    R: Send + Sync + std::fmt::Debug + 'static,
1997{
1998    fn from(
1999        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_discovered_devices::ListDiscoveredDevicesError, R>,
2000    ) -> Self {
2001        match err {
2002            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2003            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2004                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2005                source: err.into(),
2006            }),
2007        }
2008    }
2009}
2010impl From<crate::operation::list_discovered_devices::ListDiscoveredDevicesError> for Error {
2011    fn from(err: crate::operation::list_discovered_devices::ListDiscoveredDevicesError) -> Self {
2012        match err {
2013            crate::operation::list_discovered_devices::ListDiscoveredDevicesError::AccessDeniedException(inner) => {
2014                Error::AccessDeniedException(inner)
2015            }
2016            crate::operation::list_discovered_devices::ListDiscoveredDevicesError::InternalServerException(inner) => {
2017                Error::InternalServerException(inner)
2018            }
2019            crate::operation::list_discovered_devices::ListDiscoveredDevicesError::ResourceNotFoundException(inner) => {
2020                Error::ResourceNotFoundException(inner)
2021            }
2022            crate::operation::list_discovered_devices::ListDiscoveredDevicesError::ServiceUnavailableException(inner) => {
2023                Error::ServiceUnavailableException(inner)
2024            }
2025            crate::operation::list_discovered_devices::ListDiscoveredDevicesError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2026            crate::operation::list_discovered_devices::ListDiscoveredDevicesError::UnauthorizedException(inner) => {
2027                Error::UnauthorizedException(inner)
2028            }
2029            crate::operation::list_discovered_devices::ListDiscoveredDevicesError::ValidationException(inner) => Error::ValidationException(inner),
2030            crate::operation::list_discovered_devices::ListDiscoveredDevicesError::Unhandled(inner) => Error::Unhandled(inner),
2031        }
2032    }
2033}
2034impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_event_log_configurations::ListEventLogConfigurationsError, R>>
2035    for Error
2036where
2037    R: Send + Sync + std::fmt::Debug + 'static,
2038{
2039    fn from(
2040        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_event_log_configurations::ListEventLogConfigurationsError, R>,
2041    ) -> Self {
2042        match err {
2043            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2044            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2045                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2046                source: err.into(),
2047            }),
2048        }
2049    }
2050}
2051impl From<crate::operation::list_event_log_configurations::ListEventLogConfigurationsError> for Error {
2052    fn from(err: crate::operation::list_event_log_configurations::ListEventLogConfigurationsError) -> Self {
2053        match err {
2054            crate::operation::list_event_log_configurations::ListEventLogConfigurationsError::AccessDeniedException(inner) => {
2055                Error::AccessDeniedException(inner)
2056            }
2057            crate::operation::list_event_log_configurations::ListEventLogConfigurationsError::InternalServerException(inner) => {
2058                Error::InternalServerException(inner)
2059            }
2060            crate::operation::list_event_log_configurations::ListEventLogConfigurationsError::ThrottlingException(inner) => {
2061                Error::ThrottlingException(inner)
2062            }
2063            crate::operation::list_event_log_configurations::ListEventLogConfigurationsError::ValidationException(inner) => {
2064                Error::ValidationException(inner)
2065            }
2066            crate::operation::list_event_log_configurations::ListEventLogConfigurationsError::Unhandled(inner) => Error::Unhandled(inner),
2067        }
2068    }
2069}
2070impl<R>
2071    From<
2072        ::aws_smithy_runtime_api::client::result::SdkError<
2073            crate::operation::list_managed_thing_account_associations::ListManagedThingAccountAssociationsError,
2074            R,
2075        >,
2076    > for Error
2077where
2078    R: Send + Sync + std::fmt::Debug + 'static,
2079{
2080    fn from(
2081        err: ::aws_smithy_runtime_api::client::result::SdkError<
2082            crate::operation::list_managed_thing_account_associations::ListManagedThingAccountAssociationsError,
2083            R,
2084        >,
2085    ) -> Self {
2086        match err {
2087            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2088            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2089                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2090                source: err.into(),
2091            }),
2092        }
2093    }
2094}
2095impl From<crate::operation::list_managed_thing_account_associations::ListManagedThingAccountAssociationsError> for Error {
2096    fn from(err: crate::operation::list_managed_thing_account_associations::ListManagedThingAccountAssociationsError) -> Self {
2097        match err {
2098            crate::operation::list_managed_thing_account_associations::ListManagedThingAccountAssociationsError::AccessDeniedException(inner) => {
2099                Error::AccessDeniedException(inner)
2100            }
2101            crate::operation::list_managed_thing_account_associations::ListManagedThingAccountAssociationsError::InternalServerException(inner) => {
2102                Error::InternalServerException(inner)
2103            }
2104            crate::operation::list_managed_thing_account_associations::ListManagedThingAccountAssociationsError::ThrottlingException(inner) => {
2105                Error::ThrottlingException(inner)
2106            }
2107            crate::operation::list_managed_thing_account_associations::ListManagedThingAccountAssociationsError::ValidationException(inner) => {
2108                Error::ValidationException(inner)
2109            }
2110            crate::operation::list_managed_thing_account_associations::ListManagedThingAccountAssociationsError::Unhandled(inner) => {
2111                Error::Unhandled(inner)
2112            }
2113        }
2114    }
2115}
2116impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_managed_things::ListManagedThingsError, R>> for Error
2117where
2118    R: Send + Sync + std::fmt::Debug + 'static,
2119{
2120    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_managed_things::ListManagedThingsError, R>) -> Self {
2121        match err {
2122            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2123            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2124                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2125                source: err.into(),
2126            }),
2127        }
2128    }
2129}
2130impl From<crate::operation::list_managed_things::ListManagedThingsError> for Error {
2131    fn from(err: crate::operation::list_managed_things::ListManagedThingsError) -> Self {
2132        match err {
2133            crate::operation::list_managed_things::ListManagedThingsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2134            crate::operation::list_managed_things::ListManagedThingsError::InternalServerException(inner) => Error::InternalServerException(inner),
2135            crate::operation::list_managed_things::ListManagedThingsError::ServiceUnavailableException(inner) => {
2136                Error::ServiceUnavailableException(inner)
2137            }
2138            crate::operation::list_managed_things::ListManagedThingsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2139            crate::operation::list_managed_things::ListManagedThingsError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
2140            crate::operation::list_managed_things::ListManagedThingsError::ValidationException(inner) => Error::ValidationException(inner),
2141            crate::operation::list_managed_things::ListManagedThingsError::Unhandled(inner) => Error::Unhandled(inner),
2142        }
2143    }
2144}
2145impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_managed_thing_schemas::ListManagedThingSchemasError, R>>
2146    for Error
2147where
2148    R: Send + Sync + std::fmt::Debug + 'static,
2149{
2150    fn from(
2151        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_managed_thing_schemas::ListManagedThingSchemasError, R>,
2152    ) -> Self {
2153        match err {
2154            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2155            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2156                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2157                source: err.into(),
2158            }),
2159        }
2160    }
2161}
2162impl From<crate::operation::list_managed_thing_schemas::ListManagedThingSchemasError> for Error {
2163    fn from(err: crate::operation::list_managed_thing_schemas::ListManagedThingSchemasError) -> Self {
2164        match err {
2165            crate::operation::list_managed_thing_schemas::ListManagedThingSchemasError::AccessDeniedException(inner) => {
2166                Error::AccessDeniedException(inner)
2167            }
2168            crate::operation::list_managed_thing_schemas::ListManagedThingSchemasError::InternalServerException(inner) => {
2169                Error::InternalServerException(inner)
2170            }
2171            crate::operation::list_managed_thing_schemas::ListManagedThingSchemasError::ResourceNotFoundException(inner) => {
2172                Error::ResourceNotFoundException(inner)
2173            }
2174            crate::operation::list_managed_thing_schemas::ListManagedThingSchemasError::ServiceUnavailableException(inner) => {
2175                Error::ServiceUnavailableException(inner)
2176            }
2177            crate::operation::list_managed_thing_schemas::ListManagedThingSchemasError::ThrottlingException(inner) => {
2178                Error::ThrottlingException(inner)
2179            }
2180            crate::operation::list_managed_thing_schemas::ListManagedThingSchemasError::UnauthorizedException(inner) => {
2181                Error::UnauthorizedException(inner)
2182            }
2183            crate::operation::list_managed_thing_schemas::ListManagedThingSchemasError::ValidationException(inner) => {
2184                Error::ValidationException(inner)
2185            }
2186            crate::operation::list_managed_thing_schemas::ListManagedThingSchemasError::Unhandled(inner) => Error::Unhandled(inner),
2187        }
2188    }
2189}
2190impl<R>
2191    From<
2192        ::aws_smithy_runtime_api::client::result::SdkError<
2193            crate::operation::list_notification_configurations::ListNotificationConfigurationsError,
2194            R,
2195        >,
2196    > for Error
2197where
2198    R: Send + Sync + std::fmt::Debug + 'static,
2199{
2200    fn from(
2201        err: ::aws_smithy_runtime_api::client::result::SdkError<
2202            crate::operation::list_notification_configurations::ListNotificationConfigurationsError,
2203            R,
2204        >,
2205    ) -> Self {
2206        match err {
2207            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2208            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2209                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2210                source: err.into(),
2211            }),
2212        }
2213    }
2214}
2215impl From<crate::operation::list_notification_configurations::ListNotificationConfigurationsError> for Error {
2216    fn from(err: crate::operation::list_notification_configurations::ListNotificationConfigurationsError) -> Self {
2217        match err {
2218            crate::operation::list_notification_configurations::ListNotificationConfigurationsError::AccessDeniedException(inner) => {
2219                Error::AccessDeniedException(inner)
2220            }
2221            crate::operation::list_notification_configurations::ListNotificationConfigurationsError::InternalServerException(inner) => {
2222                Error::InternalServerException(inner)
2223            }
2224            crate::operation::list_notification_configurations::ListNotificationConfigurationsError::ThrottlingException(inner) => {
2225                Error::ThrottlingException(inner)
2226            }
2227            crate::operation::list_notification_configurations::ListNotificationConfigurationsError::ValidationException(inner) => {
2228                Error::ValidationException(inner)
2229            }
2230            crate::operation::list_notification_configurations::ListNotificationConfigurationsError::Unhandled(inner) => Error::Unhandled(inner),
2231        }
2232    }
2233}
2234impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_ota_task_configurations::ListOtaTaskConfigurationsError, R>>
2235    for Error
2236where
2237    R: Send + Sync + std::fmt::Debug + 'static,
2238{
2239    fn from(
2240        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_ota_task_configurations::ListOtaTaskConfigurationsError, R>,
2241    ) -> Self {
2242        match err {
2243            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2244            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2245                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2246                source: err.into(),
2247            }),
2248        }
2249    }
2250}
2251impl From<crate::operation::list_ota_task_configurations::ListOtaTaskConfigurationsError> for Error {
2252    fn from(err: crate::operation::list_ota_task_configurations::ListOtaTaskConfigurationsError) -> Self {
2253        match err {
2254            crate::operation::list_ota_task_configurations::ListOtaTaskConfigurationsError::AccessDeniedException(inner) => {
2255                Error::AccessDeniedException(inner)
2256            }
2257            crate::operation::list_ota_task_configurations::ListOtaTaskConfigurationsError::InternalServerException(inner) => {
2258                Error::InternalServerException(inner)
2259            }
2260            crate::operation::list_ota_task_configurations::ListOtaTaskConfigurationsError::ThrottlingException(inner) => {
2261                Error::ThrottlingException(inner)
2262            }
2263            crate::operation::list_ota_task_configurations::ListOtaTaskConfigurationsError::ValidationException(inner) => {
2264                Error::ValidationException(inner)
2265            }
2266            crate::operation::list_ota_task_configurations::ListOtaTaskConfigurationsError::Unhandled(inner) => Error::Unhandled(inner),
2267        }
2268    }
2269}
2270impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_ota_task_executions::ListOtaTaskExecutionsError, R>> for Error
2271where
2272    R: Send + Sync + std::fmt::Debug + 'static,
2273{
2274    fn from(
2275        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_ota_task_executions::ListOtaTaskExecutionsError, R>,
2276    ) -> Self {
2277        match err {
2278            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2279            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2280                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2281                source: err.into(),
2282            }),
2283        }
2284    }
2285}
2286impl From<crate::operation::list_ota_task_executions::ListOtaTaskExecutionsError> for Error {
2287    fn from(err: crate::operation::list_ota_task_executions::ListOtaTaskExecutionsError) -> Self {
2288        match err {
2289            crate::operation::list_ota_task_executions::ListOtaTaskExecutionsError::AccessDeniedException(inner) => {
2290                Error::AccessDeniedException(inner)
2291            }
2292            crate::operation::list_ota_task_executions::ListOtaTaskExecutionsError::InternalServerException(inner) => {
2293                Error::InternalServerException(inner)
2294            }
2295            crate::operation::list_ota_task_executions::ListOtaTaskExecutionsError::ResourceNotFoundException(inner) => {
2296                Error::ResourceNotFoundException(inner)
2297            }
2298            crate::operation::list_ota_task_executions::ListOtaTaskExecutionsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2299            crate::operation::list_ota_task_executions::ListOtaTaskExecutionsError::ValidationException(inner) => Error::ValidationException(inner),
2300            crate::operation::list_ota_task_executions::ListOtaTaskExecutionsError::Unhandled(inner) => Error::Unhandled(inner),
2301        }
2302    }
2303}
2304impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_ota_tasks::ListOtaTasksError, R>> for Error
2305where
2306    R: Send + Sync + std::fmt::Debug + 'static,
2307{
2308    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_ota_tasks::ListOtaTasksError, R>) -> Self {
2309        match err {
2310            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2311            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2312                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2313                source: err.into(),
2314            }),
2315        }
2316    }
2317}
2318impl From<crate::operation::list_ota_tasks::ListOtaTasksError> for Error {
2319    fn from(err: crate::operation::list_ota_tasks::ListOtaTasksError) -> Self {
2320        match err {
2321            crate::operation::list_ota_tasks::ListOtaTasksError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2322            crate::operation::list_ota_tasks::ListOtaTasksError::InternalServerException(inner) => Error::InternalServerException(inner),
2323            crate::operation::list_ota_tasks::ListOtaTasksError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
2324            crate::operation::list_ota_tasks::ListOtaTasksError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2325            crate::operation::list_ota_tasks::ListOtaTasksError::ValidationException(inner) => Error::ValidationException(inner),
2326            crate::operation::list_ota_tasks::ListOtaTasksError::Unhandled(inner) => Error::Unhandled(inner),
2327        }
2328    }
2329}
2330impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_provisioning_profiles::ListProvisioningProfilesError, R>>
2331    for Error
2332where
2333    R: Send + Sync + std::fmt::Debug + 'static,
2334{
2335    fn from(
2336        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_provisioning_profiles::ListProvisioningProfilesError, R>,
2337    ) -> Self {
2338        match err {
2339            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2340            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2341                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2342                source: err.into(),
2343            }),
2344        }
2345    }
2346}
2347impl From<crate::operation::list_provisioning_profiles::ListProvisioningProfilesError> for Error {
2348    fn from(err: crate::operation::list_provisioning_profiles::ListProvisioningProfilesError) -> Self {
2349        match err {
2350            crate::operation::list_provisioning_profiles::ListProvisioningProfilesError::AccessDeniedException(inner) => {
2351                Error::AccessDeniedException(inner)
2352            }
2353            crate::operation::list_provisioning_profiles::ListProvisioningProfilesError::InternalServerException(inner) => {
2354                Error::InternalServerException(inner)
2355            }
2356            crate::operation::list_provisioning_profiles::ListProvisioningProfilesError::ServiceUnavailableException(inner) => {
2357                Error::ServiceUnavailableException(inner)
2358            }
2359            crate::operation::list_provisioning_profiles::ListProvisioningProfilesError::ThrottlingException(inner) => {
2360                Error::ThrottlingException(inner)
2361            }
2362            crate::operation::list_provisioning_profiles::ListProvisioningProfilesError::UnauthorizedException(inner) => {
2363                Error::UnauthorizedException(inner)
2364            }
2365            crate::operation::list_provisioning_profiles::ListProvisioningProfilesError::ValidationException(inner) => {
2366                Error::ValidationException(inner)
2367            }
2368            crate::operation::list_provisioning_profiles::ListProvisioningProfilesError::Unhandled(inner) => Error::Unhandled(inner),
2369        }
2370    }
2371}
2372impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_schema_versions::ListSchemaVersionsError, R>> for Error
2373where
2374    R: Send + Sync + std::fmt::Debug + 'static,
2375{
2376    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_schema_versions::ListSchemaVersionsError, R>) -> Self {
2377        match err {
2378            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2379            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2380                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2381                source: err.into(),
2382            }),
2383        }
2384    }
2385}
2386impl From<crate::operation::list_schema_versions::ListSchemaVersionsError> for Error {
2387    fn from(err: crate::operation::list_schema_versions::ListSchemaVersionsError) -> Self {
2388        match err {
2389            crate::operation::list_schema_versions::ListSchemaVersionsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2390            crate::operation::list_schema_versions::ListSchemaVersionsError::ConflictException(inner) => Error::ConflictException(inner),
2391            crate::operation::list_schema_versions::ListSchemaVersionsError::InternalServerException(inner) => Error::InternalServerException(inner),
2392            crate::operation::list_schema_versions::ListSchemaVersionsError::ServiceUnavailableException(inner) => {
2393                Error::ServiceUnavailableException(inner)
2394            }
2395            crate::operation::list_schema_versions::ListSchemaVersionsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2396            crate::operation::list_schema_versions::ListSchemaVersionsError::ValidationException(inner) => Error::ValidationException(inner),
2397            crate::operation::list_schema_versions::ListSchemaVersionsError::Unhandled(inner) => Error::Unhandled(inner),
2398        }
2399    }
2400}
2401impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_tags_for_resource::ListTagsForResourceError, R>> for Error
2402where
2403    R: Send + Sync + std::fmt::Debug + 'static,
2404{
2405    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_tags_for_resource::ListTagsForResourceError, R>) -> Self {
2406        match err {
2407            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2408            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2409                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2410                source: err.into(),
2411            }),
2412        }
2413    }
2414}
2415impl From<crate::operation::list_tags_for_resource::ListTagsForResourceError> for Error {
2416    fn from(err: crate::operation::list_tags_for_resource::ListTagsForResourceError) -> Self {
2417        match err {
2418            crate::operation::list_tags_for_resource::ListTagsForResourceError::InvalidRequestException(inner) => {
2419                Error::InvalidRequestException(inner)
2420            }
2421            crate::operation::list_tags_for_resource::ListTagsForResourceError::ResourceNotFoundException(inner) => {
2422                Error::ResourceNotFoundException(inner)
2423            }
2424            crate::operation::list_tags_for_resource::ListTagsForResourceError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2425            crate::operation::list_tags_for_resource::ListTagsForResourceError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
2426            crate::operation::list_tags_for_resource::ListTagsForResourceError::Unhandled(inner) => Error::Unhandled(inner),
2427        }
2428    }
2429}
2430impl<R>
2431    From<
2432        ::aws_smithy_runtime_api::client::result::SdkError<
2433            crate::operation::put_default_encryption_configuration::PutDefaultEncryptionConfigurationError,
2434            R,
2435        >,
2436    > for Error
2437where
2438    R: Send + Sync + std::fmt::Debug + 'static,
2439{
2440    fn from(
2441        err: ::aws_smithy_runtime_api::client::result::SdkError<
2442            crate::operation::put_default_encryption_configuration::PutDefaultEncryptionConfigurationError,
2443            R,
2444        >,
2445    ) -> Self {
2446        match err {
2447            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2448            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2449                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2450                source: err.into(),
2451            }),
2452        }
2453    }
2454}
2455impl From<crate::operation::put_default_encryption_configuration::PutDefaultEncryptionConfigurationError> for Error {
2456    fn from(err: crate::operation::put_default_encryption_configuration::PutDefaultEncryptionConfigurationError) -> Self {
2457        match err {
2458            crate::operation::put_default_encryption_configuration::PutDefaultEncryptionConfigurationError::AccessDeniedException(inner) => {
2459                Error::AccessDeniedException(inner)
2460            }
2461            crate::operation::put_default_encryption_configuration::PutDefaultEncryptionConfigurationError::InternalFailureException(inner) => {
2462                Error::InternalFailureException(inner)
2463            }
2464            crate::operation::put_default_encryption_configuration::PutDefaultEncryptionConfigurationError::ResourceNotFoundException(inner) => {
2465                Error::ResourceNotFoundException(inner)
2466            }
2467            crate::operation::put_default_encryption_configuration::PutDefaultEncryptionConfigurationError::ServiceUnavailableException(inner) => {
2468                Error::ServiceUnavailableException(inner)
2469            }
2470            crate::operation::put_default_encryption_configuration::PutDefaultEncryptionConfigurationError::ThrottlingException(inner) => {
2471                Error::ThrottlingException(inner)
2472            }
2473            crate::operation::put_default_encryption_configuration::PutDefaultEncryptionConfigurationError::UnauthorizedException(inner) => {
2474                Error::UnauthorizedException(inner)
2475            }
2476            crate::operation::put_default_encryption_configuration::PutDefaultEncryptionConfigurationError::ValidationException(inner) => {
2477                Error::ValidationException(inner)
2478            }
2479            crate::operation::put_default_encryption_configuration::PutDefaultEncryptionConfigurationError::Unhandled(inner) => {
2480                Error::Unhandled(inner)
2481            }
2482        }
2483    }
2484}
2485impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_hub_configuration::PutHubConfigurationError, R>> for Error
2486where
2487    R: Send + Sync + std::fmt::Debug + 'static,
2488{
2489    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_hub_configuration::PutHubConfigurationError, R>) -> Self {
2490        match err {
2491            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2492            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2493                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2494                source: err.into(),
2495            }),
2496        }
2497    }
2498}
2499impl From<crate::operation::put_hub_configuration::PutHubConfigurationError> for Error {
2500    fn from(err: crate::operation::put_hub_configuration::PutHubConfigurationError) -> Self {
2501        match err {
2502            crate::operation::put_hub_configuration::PutHubConfigurationError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2503            crate::operation::put_hub_configuration::PutHubConfigurationError::InternalServerException(inner) => {
2504                Error::InternalServerException(inner)
2505            }
2506            crate::operation::put_hub_configuration::PutHubConfigurationError::ResourceNotFoundException(inner) => {
2507                Error::ResourceNotFoundException(inner)
2508            }
2509            crate::operation::put_hub_configuration::PutHubConfigurationError::ServiceUnavailableException(inner) => {
2510                Error::ServiceUnavailableException(inner)
2511            }
2512            crate::operation::put_hub_configuration::PutHubConfigurationError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2513            crate::operation::put_hub_configuration::PutHubConfigurationError::ValidationException(inner) => Error::ValidationException(inner),
2514            crate::operation::put_hub_configuration::PutHubConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
2515        }
2516    }
2517}
2518impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_runtime_log_configuration::PutRuntimeLogConfigurationError, R>>
2519    for Error
2520where
2521    R: Send + Sync + std::fmt::Debug + 'static,
2522{
2523    fn from(
2524        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_runtime_log_configuration::PutRuntimeLogConfigurationError, R>,
2525    ) -> Self {
2526        match err {
2527            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2528            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2529                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2530                source: err.into(),
2531            }),
2532        }
2533    }
2534}
2535impl From<crate::operation::put_runtime_log_configuration::PutRuntimeLogConfigurationError> for Error {
2536    fn from(err: crate::operation::put_runtime_log_configuration::PutRuntimeLogConfigurationError) -> Self {
2537        match err {
2538            crate::operation::put_runtime_log_configuration::PutRuntimeLogConfigurationError::AccessDeniedException(inner) => {
2539                Error::AccessDeniedException(inner)
2540            }
2541            crate::operation::put_runtime_log_configuration::PutRuntimeLogConfigurationError::InternalServerException(inner) => {
2542                Error::InternalServerException(inner)
2543            }
2544            crate::operation::put_runtime_log_configuration::PutRuntimeLogConfigurationError::ResourceNotFoundException(inner) => {
2545                Error::ResourceNotFoundException(inner)
2546            }
2547            crate::operation::put_runtime_log_configuration::PutRuntimeLogConfigurationError::ThrottlingException(inner) => {
2548                Error::ThrottlingException(inner)
2549            }
2550            crate::operation::put_runtime_log_configuration::PutRuntimeLogConfigurationError::ValidationException(inner) => {
2551                Error::ValidationException(inner)
2552            }
2553            crate::operation::put_runtime_log_configuration::PutRuntimeLogConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
2554        }
2555    }
2556}
2557impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::register_account_association::RegisterAccountAssociationError, R>>
2558    for Error
2559where
2560    R: Send + Sync + std::fmt::Debug + 'static,
2561{
2562    fn from(
2563        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::register_account_association::RegisterAccountAssociationError, R>,
2564    ) -> Self {
2565        match err {
2566            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2567            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2568                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2569                source: err.into(),
2570            }),
2571        }
2572    }
2573}
2574impl From<crate::operation::register_account_association::RegisterAccountAssociationError> for Error {
2575    fn from(err: crate::operation::register_account_association::RegisterAccountAssociationError) -> Self {
2576        match err {
2577            crate::operation::register_account_association::RegisterAccountAssociationError::AccessDeniedException(inner) => {
2578                Error::AccessDeniedException(inner)
2579            }
2580            crate::operation::register_account_association::RegisterAccountAssociationError::ConflictException(inner) => {
2581                Error::ConflictException(inner)
2582            }
2583            crate::operation::register_account_association::RegisterAccountAssociationError::InternalServerException(inner) => {
2584                Error::InternalServerException(inner)
2585            }
2586            crate::operation::register_account_association::RegisterAccountAssociationError::ResourceNotFoundException(inner) => {
2587                Error::ResourceNotFoundException(inner)
2588            }
2589            crate::operation::register_account_association::RegisterAccountAssociationError::ThrottlingException(inner) => {
2590                Error::ThrottlingException(inner)
2591            }
2592            crate::operation::register_account_association::RegisterAccountAssociationError::ValidationException(inner) => {
2593                Error::ValidationException(inner)
2594            }
2595            crate::operation::register_account_association::RegisterAccountAssociationError::Unhandled(inner) => Error::Unhandled(inner),
2596        }
2597    }
2598}
2599impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::register_custom_endpoint::RegisterCustomEndpointError, R>> for Error
2600where
2601    R: Send + Sync + std::fmt::Debug + 'static,
2602{
2603    fn from(
2604        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::register_custom_endpoint::RegisterCustomEndpointError, R>,
2605    ) -> Self {
2606        match err {
2607            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2608            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2609                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2610                source: err.into(),
2611            }),
2612        }
2613    }
2614}
2615impl From<crate::operation::register_custom_endpoint::RegisterCustomEndpointError> for Error {
2616    fn from(err: crate::operation::register_custom_endpoint::RegisterCustomEndpointError) -> Self {
2617        match err {
2618            crate::operation::register_custom_endpoint::RegisterCustomEndpointError::AccessDeniedException(inner) => {
2619                Error::AccessDeniedException(inner)
2620            }
2621            crate::operation::register_custom_endpoint::RegisterCustomEndpointError::ConflictException(inner) => Error::ConflictException(inner),
2622            crate::operation::register_custom_endpoint::RegisterCustomEndpointError::InternalServerException(inner) => {
2623                Error::InternalServerException(inner)
2624            }
2625            crate::operation::register_custom_endpoint::RegisterCustomEndpointError::ServiceUnavailableException(inner) => {
2626                Error::ServiceUnavailableException(inner)
2627            }
2628            crate::operation::register_custom_endpoint::RegisterCustomEndpointError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2629            crate::operation::register_custom_endpoint::RegisterCustomEndpointError::UnauthorizedException(inner) => {
2630                Error::UnauthorizedException(inner)
2631            }
2632            crate::operation::register_custom_endpoint::RegisterCustomEndpointError::ValidationException(inner) => Error::ValidationException(inner),
2633            crate::operation::register_custom_endpoint::RegisterCustomEndpointError::Unhandled(inner) => Error::Unhandled(inner),
2634        }
2635    }
2636}
2637impl<R>
2638    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_runtime_log_configuration::ResetRuntimeLogConfigurationError, R>>
2639    for Error
2640where
2641    R: Send + Sync + std::fmt::Debug + 'static,
2642{
2643    fn from(
2644        err: ::aws_smithy_runtime_api::client::result::SdkError<
2645            crate::operation::reset_runtime_log_configuration::ResetRuntimeLogConfigurationError,
2646            R,
2647        >,
2648    ) -> Self {
2649        match err {
2650            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2651            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2652                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2653                source: err.into(),
2654            }),
2655        }
2656    }
2657}
2658impl From<crate::operation::reset_runtime_log_configuration::ResetRuntimeLogConfigurationError> for Error {
2659    fn from(err: crate::operation::reset_runtime_log_configuration::ResetRuntimeLogConfigurationError) -> Self {
2660        match err {
2661            crate::operation::reset_runtime_log_configuration::ResetRuntimeLogConfigurationError::AccessDeniedException(inner) => {
2662                Error::AccessDeniedException(inner)
2663            }
2664            crate::operation::reset_runtime_log_configuration::ResetRuntimeLogConfigurationError::InternalServerException(inner) => {
2665                Error::InternalServerException(inner)
2666            }
2667            crate::operation::reset_runtime_log_configuration::ResetRuntimeLogConfigurationError::ResourceNotFoundException(inner) => {
2668                Error::ResourceNotFoundException(inner)
2669            }
2670            crate::operation::reset_runtime_log_configuration::ResetRuntimeLogConfigurationError::ThrottlingException(inner) => {
2671                Error::ThrottlingException(inner)
2672            }
2673            crate::operation::reset_runtime_log_configuration::ResetRuntimeLogConfigurationError::ValidationException(inner) => {
2674                Error::ValidationException(inner)
2675            }
2676            crate::operation::reset_runtime_log_configuration::ResetRuntimeLogConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
2677        }
2678    }
2679}
2680impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::send_connector_event::SendConnectorEventError, R>> for Error
2681where
2682    R: Send + Sync + std::fmt::Debug + 'static,
2683{
2684    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::send_connector_event::SendConnectorEventError, R>) -> Self {
2685        match err {
2686            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2687            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2688                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2689                source: err.into(),
2690            }),
2691        }
2692    }
2693}
2694impl From<crate::operation::send_connector_event::SendConnectorEventError> for Error {
2695    fn from(err: crate::operation::send_connector_event::SendConnectorEventError) -> Self {
2696        match err {
2697            crate::operation::send_connector_event::SendConnectorEventError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2698            crate::operation::send_connector_event::SendConnectorEventError::InternalServerException(inner) => Error::InternalServerException(inner),
2699            crate::operation::send_connector_event::SendConnectorEventError::ResourceNotFoundException(inner) => {
2700                Error::ResourceNotFoundException(inner)
2701            }
2702            crate::operation::send_connector_event::SendConnectorEventError::ServiceUnavailableException(inner) => {
2703                Error::ServiceUnavailableException(inner)
2704            }
2705            crate::operation::send_connector_event::SendConnectorEventError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2706            crate::operation::send_connector_event::SendConnectorEventError::ValidationException(inner) => Error::ValidationException(inner),
2707            crate::operation::send_connector_event::SendConnectorEventError::Unhandled(inner) => Error::Unhandled(inner),
2708        }
2709    }
2710}
2711impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::send_managed_thing_command::SendManagedThingCommandError, R>>
2712    for Error
2713where
2714    R: Send + Sync + std::fmt::Debug + 'static,
2715{
2716    fn from(
2717        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::send_managed_thing_command::SendManagedThingCommandError, R>,
2718    ) -> Self {
2719        match err {
2720            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2721            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2722                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2723                source: err.into(),
2724            }),
2725        }
2726    }
2727}
2728impl From<crate::operation::send_managed_thing_command::SendManagedThingCommandError> for Error {
2729    fn from(err: crate::operation::send_managed_thing_command::SendManagedThingCommandError) -> Self {
2730        match err {
2731            crate::operation::send_managed_thing_command::SendManagedThingCommandError::AccessDeniedException(inner) => {
2732                Error::AccessDeniedException(inner)
2733            }
2734            crate::operation::send_managed_thing_command::SendManagedThingCommandError::InternalServerException(inner) => {
2735                Error::InternalServerException(inner)
2736            }
2737            crate::operation::send_managed_thing_command::SendManagedThingCommandError::ResourceNotFoundException(inner) => {
2738                Error::ResourceNotFoundException(inner)
2739            }
2740            crate::operation::send_managed_thing_command::SendManagedThingCommandError::ServiceUnavailableException(inner) => {
2741                Error::ServiceUnavailableException(inner)
2742            }
2743            crate::operation::send_managed_thing_command::SendManagedThingCommandError::ThrottlingException(inner) => {
2744                Error::ThrottlingException(inner)
2745            }
2746            crate::operation::send_managed_thing_command::SendManagedThingCommandError::UnauthorizedException(inner) => {
2747                Error::UnauthorizedException(inner)
2748            }
2749            crate::operation::send_managed_thing_command::SendManagedThingCommandError::ValidationException(inner) => {
2750                Error::ValidationException(inner)
2751            }
2752            crate::operation::send_managed_thing_command::SendManagedThingCommandError::Unhandled(inner) => Error::Unhandled(inner),
2753        }
2754    }
2755}
2756impl<R>
2757    From<
2758        ::aws_smithy_runtime_api::client::result::SdkError<
2759            crate::operation::start_account_association_refresh::StartAccountAssociationRefreshError,
2760            R,
2761        >,
2762    > for Error
2763where
2764    R: Send + Sync + std::fmt::Debug + 'static,
2765{
2766    fn from(
2767        err: ::aws_smithy_runtime_api::client::result::SdkError<
2768            crate::operation::start_account_association_refresh::StartAccountAssociationRefreshError,
2769            R,
2770        >,
2771    ) -> Self {
2772        match err {
2773            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2774            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2775                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2776                source: err.into(),
2777            }),
2778        }
2779    }
2780}
2781impl From<crate::operation::start_account_association_refresh::StartAccountAssociationRefreshError> for Error {
2782    fn from(err: crate::operation::start_account_association_refresh::StartAccountAssociationRefreshError) -> Self {
2783        match err {
2784            crate::operation::start_account_association_refresh::StartAccountAssociationRefreshError::AccessDeniedException(inner) => {
2785                Error::AccessDeniedException(inner)
2786            }
2787            crate::operation::start_account_association_refresh::StartAccountAssociationRefreshError::InternalServerException(inner) => {
2788                Error::InternalServerException(inner)
2789            }
2790            crate::operation::start_account_association_refresh::StartAccountAssociationRefreshError::ResourceNotFoundException(inner) => {
2791                Error::ResourceNotFoundException(inner)
2792            }
2793            crate::operation::start_account_association_refresh::StartAccountAssociationRefreshError::ServiceUnavailableException(inner) => {
2794                Error::ServiceUnavailableException(inner)
2795            }
2796            crate::operation::start_account_association_refresh::StartAccountAssociationRefreshError::ThrottlingException(inner) => {
2797                Error::ThrottlingException(inner)
2798            }
2799            crate::operation::start_account_association_refresh::StartAccountAssociationRefreshError::ValidationException(inner) => {
2800                Error::ValidationException(inner)
2801            }
2802            crate::operation::start_account_association_refresh::StartAccountAssociationRefreshError::Unhandled(inner) => Error::Unhandled(inner),
2803        }
2804    }
2805}
2806impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_device_discovery::StartDeviceDiscoveryError, R>> for Error
2807where
2808    R: Send + Sync + std::fmt::Debug + 'static,
2809{
2810    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_device_discovery::StartDeviceDiscoveryError, R>) -> Self {
2811        match err {
2812            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2813            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2814                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2815                source: err.into(),
2816            }),
2817        }
2818    }
2819}
2820impl From<crate::operation::start_device_discovery::StartDeviceDiscoveryError> for Error {
2821    fn from(err: crate::operation::start_device_discovery::StartDeviceDiscoveryError) -> Self {
2822        match err {
2823            crate::operation::start_device_discovery::StartDeviceDiscoveryError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2824            crate::operation::start_device_discovery::StartDeviceDiscoveryError::ConflictException(inner) => Error::ConflictException(inner),
2825            crate::operation::start_device_discovery::StartDeviceDiscoveryError::InternalServerException(inner) => {
2826                Error::InternalServerException(inner)
2827            }
2828            crate::operation::start_device_discovery::StartDeviceDiscoveryError::ResourceNotFoundException(inner) => {
2829                Error::ResourceNotFoundException(inner)
2830            }
2831            crate::operation::start_device_discovery::StartDeviceDiscoveryError::ServiceUnavailableException(inner) => {
2832                Error::ServiceUnavailableException(inner)
2833            }
2834            crate::operation::start_device_discovery::StartDeviceDiscoveryError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2835            crate::operation::start_device_discovery::StartDeviceDiscoveryError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
2836            crate::operation::start_device_discovery::StartDeviceDiscoveryError::ValidationException(inner) => Error::ValidationException(inner),
2837            crate::operation::start_device_discovery::StartDeviceDiscoveryError::Unhandled(inner) => Error::Unhandled(inner),
2838        }
2839    }
2840}
2841impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::tag_resource::TagResourceError, R>> for Error
2842where
2843    R: Send + Sync + std::fmt::Debug + 'static,
2844{
2845    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::tag_resource::TagResourceError, R>) -> Self {
2846        match err {
2847            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2848            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2849                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2850                source: err.into(),
2851            }),
2852        }
2853    }
2854}
2855impl From<crate::operation::tag_resource::TagResourceError> for Error {
2856    fn from(err: crate::operation::tag_resource::TagResourceError) -> Self {
2857        match err {
2858            crate::operation::tag_resource::TagResourceError::ConflictException(inner) => Error::ConflictException(inner),
2859            crate::operation::tag_resource::TagResourceError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
2860            crate::operation::tag_resource::TagResourceError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
2861            crate::operation::tag_resource::TagResourceError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2862            crate::operation::tag_resource::TagResourceError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
2863            crate::operation::tag_resource::TagResourceError::Unhandled(inner) => Error::Unhandled(inner),
2864        }
2865    }
2866}
2867impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::untag_resource::UntagResourceError, R>> for Error
2868where
2869    R: Send + Sync + std::fmt::Debug + 'static,
2870{
2871    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::untag_resource::UntagResourceError, R>) -> Self {
2872        match err {
2873            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2874            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2875                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2876                source: err.into(),
2877            }),
2878        }
2879    }
2880}
2881impl From<crate::operation::untag_resource::UntagResourceError> for Error {
2882    fn from(err: crate::operation::untag_resource::UntagResourceError) -> Self {
2883        match err {
2884            crate::operation::untag_resource::UntagResourceError::ConflictException(inner) => Error::ConflictException(inner),
2885            crate::operation::untag_resource::UntagResourceError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
2886            crate::operation::untag_resource::UntagResourceError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
2887            crate::operation::untag_resource::UntagResourceError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2888            crate::operation::untag_resource::UntagResourceError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
2889            crate::operation::untag_resource::UntagResourceError::Unhandled(inner) => Error::Unhandled(inner),
2890        }
2891    }
2892}
2893impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_account_association::UpdateAccountAssociationError, R>>
2894    for Error
2895where
2896    R: Send + Sync + std::fmt::Debug + 'static,
2897{
2898    fn from(
2899        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_account_association::UpdateAccountAssociationError, R>,
2900    ) -> Self {
2901        match err {
2902            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2903            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2904                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2905                source: err.into(),
2906            }),
2907        }
2908    }
2909}
2910impl From<crate::operation::update_account_association::UpdateAccountAssociationError> for Error {
2911    fn from(err: crate::operation::update_account_association::UpdateAccountAssociationError) -> Self {
2912        match err {
2913            crate::operation::update_account_association::UpdateAccountAssociationError::AccessDeniedException(inner) => {
2914                Error::AccessDeniedException(inner)
2915            }
2916            crate::operation::update_account_association::UpdateAccountAssociationError::ConflictException(inner) => Error::ConflictException(inner),
2917            crate::operation::update_account_association::UpdateAccountAssociationError::InternalServerException(inner) => {
2918                Error::InternalServerException(inner)
2919            }
2920            crate::operation::update_account_association::UpdateAccountAssociationError::ResourceNotFoundException(inner) => {
2921                Error::ResourceNotFoundException(inner)
2922            }
2923            crate::operation::update_account_association::UpdateAccountAssociationError::ServiceUnavailableException(inner) => {
2924                Error::ServiceUnavailableException(inner)
2925            }
2926            crate::operation::update_account_association::UpdateAccountAssociationError::ThrottlingException(inner) => {
2927                Error::ThrottlingException(inner)
2928            }
2929            crate::operation::update_account_association::UpdateAccountAssociationError::ValidationException(inner) => {
2930                Error::ValidationException(inner)
2931            }
2932            crate::operation::update_account_association::UpdateAccountAssociationError::Unhandled(inner) => Error::Unhandled(inner),
2933        }
2934    }
2935}
2936impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_cloud_connector::UpdateCloudConnectorError, R>> for Error
2937where
2938    R: Send + Sync + std::fmt::Debug + 'static,
2939{
2940    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_cloud_connector::UpdateCloudConnectorError, R>) -> Self {
2941        match err {
2942            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2943            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2944                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2945                source: err.into(),
2946            }),
2947        }
2948    }
2949}
2950impl From<crate::operation::update_cloud_connector::UpdateCloudConnectorError> for Error {
2951    fn from(err: crate::operation::update_cloud_connector::UpdateCloudConnectorError) -> Self {
2952        match err {
2953            crate::operation::update_cloud_connector::UpdateCloudConnectorError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2954            crate::operation::update_cloud_connector::UpdateCloudConnectorError::InternalServerException(inner) => {
2955                Error::InternalServerException(inner)
2956            }
2957            crate::operation::update_cloud_connector::UpdateCloudConnectorError::ResourceNotFoundException(inner) => {
2958                Error::ResourceNotFoundException(inner)
2959            }
2960            crate::operation::update_cloud_connector::UpdateCloudConnectorError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2961            crate::operation::update_cloud_connector::UpdateCloudConnectorError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
2962            crate::operation::update_cloud_connector::UpdateCloudConnectorError::ValidationException(inner) => Error::ValidationException(inner),
2963            crate::operation::update_cloud_connector::UpdateCloudConnectorError::Unhandled(inner) => Error::Unhandled(inner),
2964        }
2965    }
2966}
2967impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_connector_destination::UpdateConnectorDestinationError, R>>
2968    for Error
2969where
2970    R: Send + Sync + std::fmt::Debug + 'static,
2971{
2972    fn from(
2973        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_connector_destination::UpdateConnectorDestinationError, R>,
2974    ) -> Self {
2975        match err {
2976            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2977            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2978                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2979                source: err.into(),
2980            }),
2981        }
2982    }
2983}
2984impl From<crate::operation::update_connector_destination::UpdateConnectorDestinationError> for Error {
2985    fn from(err: crate::operation::update_connector_destination::UpdateConnectorDestinationError) -> Self {
2986        match err {
2987            crate::operation::update_connector_destination::UpdateConnectorDestinationError::AccessDeniedException(inner) => {
2988                Error::AccessDeniedException(inner)
2989            }
2990            crate::operation::update_connector_destination::UpdateConnectorDestinationError::InternalServerException(inner) => {
2991                Error::InternalServerException(inner)
2992            }
2993            crate::operation::update_connector_destination::UpdateConnectorDestinationError::ResourceNotFoundException(inner) => {
2994                Error::ResourceNotFoundException(inner)
2995            }
2996            crate::operation::update_connector_destination::UpdateConnectorDestinationError::ThrottlingException(inner) => {
2997                Error::ThrottlingException(inner)
2998            }
2999            crate::operation::update_connector_destination::UpdateConnectorDestinationError::ValidationException(inner) => {
3000                Error::ValidationException(inner)
3001            }
3002            crate::operation::update_connector_destination::UpdateConnectorDestinationError::Unhandled(inner) => Error::Unhandled(inner),
3003        }
3004    }
3005}
3006impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_destination::UpdateDestinationError, R>> for Error
3007where
3008    R: Send + Sync + std::fmt::Debug + 'static,
3009{
3010    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_destination::UpdateDestinationError, R>) -> Self {
3011        match err {
3012            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3013            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3014                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3015                source: err.into(),
3016            }),
3017        }
3018    }
3019}
3020impl From<crate::operation::update_destination::UpdateDestinationError> for Error {
3021    fn from(err: crate::operation::update_destination::UpdateDestinationError) -> Self {
3022        match err {
3023            crate::operation::update_destination::UpdateDestinationError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3024            crate::operation::update_destination::UpdateDestinationError::InternalServerException(inner) => Error::InternalServerException(inner),
3025            crate::operation::update_destination::UpdateDestinationError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
3026            crate::operation::update_destination::UpdateDestinationError::ThrottlingException(inner) => Error::ThrottlingException(inner),
3027            crate::operation::update_destination::UpdateDestinationError::ValidationException(inner) => Error::ValidationException(inner),
3028            crate::operation::update_destination::UpdateDestinationError::Unhandled(inner) => Error::Unhandled(inner),
3029        }
3030    }
3031}
3032impl<R>
3033    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_event_log_configuration::UpdateEventLogConfigurationError, R>>
3034    for Error
3035where
3036    R: Send + Sync + std::fmt::Debug + 'static,
3037{
3038    fn from(
3039        err: ::aws_smithy_runtime_api::client::result::SdkError<
3040            crate::operation::update_event_log_configuration::UpdateEventLogConfigurationError,
3041            R,
3042        >,
3043    ) -> Self {
3044        match err {
3045            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3046            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3047                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3048                source: err.into(),
3049            }),
3050        }
3051    }
3052}
3053impl From<crate::operation::update_event_log_configuration::UpdateEventLogConfigurationError> for Error {
3054    fn from(err: crate::operation::update_event_log_configuration::UpdateEventLogConfigurationError) -> Self {
3055        match err {
3056            crate::operation::update_event_log_configuration::UpdateEventLogConfigurationError::AccessDeniedException(inner) => {
3057                Error::AccessDeniedException(inner)
3058            }
3059            crate::operation::update_event_log_configuration::UpdateEventLogConfigurationError::InternalServerException(inner) => {
3060                Error::InternalServerException(inner)
3061            }
3062            crate::operation::update_event_log_configuration::UpdateEventLogConfigurationError::ResourceNotFoundException(inner) => {
3063                Error::ResourceNotFoundException(inner)
3064            }
3065            crate::operation::update_event_log_configuration::UpdateEventLogConfigurationError::ThrottlingException(inner) => {
3066                Error::ThrottlingException(inner)
3067            }
3068            crate::operation::update_event_log_configuration::UpdateEventLogConfigurationError::ValidationException(inner) => {
3069                Error::ValidationException(inner)
3070            }
3071            crate::operation::update_event_log_configuration::UpdateEventLogConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
3072        }
3073    }
3074}
3075impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_managed_thing::UpdateManagedThingError, R>> for Error
3076where
3077    R: Send + Sync + std::fmt::Debug + 'static,
3078{
3079    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_managed_thing::UpdateManagedThingError, R>) -> Self {
3080        match err {
3081            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3082            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3083                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3084                source: err.into(),
3085            }),
3086        }
3087    }
3088}
3089impl From<crate::operation::update_managed_thing::UpdateManagedThingError> for Error {
3090    fn from(err: crate::operation::update_managed_thing::UpdateManagedThingError) -> Self {
3091        match err {
3092            crate::operation::update_managed_thing::UpdateManagedThingError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3093            crate::operation::update_managed_thing::UpdateManagedThingError::ConflictException(inner) => Error::ConflictException(inner),
3094            crate::operation::update_managed_thing::UpdateManagedThingError::InternalServerException(inner) => Error::InternalServerException(inner),
3095            crate::operation::update_managed_thing::UpdateManagedThingError::ResourceNotFoundException(inner) => {
3096                Error::ResourceNotFoundException(inner)
3097            }
3098            crate::operation::update_managed_thing::UpdateManagedThingError::ServiceUnavailableException(inner) => {
3099                Error::ServiceUnavailableException(inner)
3100            }
3101            crate::operation::update_managed_thing::UpdateManagedThingError::ThrottlingException(inner) => Error::ThrottlingException(inner),
3102            crate::operation::update_managed_thing::UpdateManagedThingError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
3103            crate::operation::update_managed_thing::UpdateManagedThingError::ValidationException(inner) => Error::ValidationException(inner),
3104            crate::operation::update_managed_thing::UpdateManagedThingError::Unhandled(inner) => Error::Unhandled(inner),
3105        }
3106    }
3107}
3108impl<R>
3109    From<
3110        ::aws_smithy_runtime_api::client::result::SdkError<
3111            crate::operation::update_notification_configuration::UpdateNotificationConfigurationError,
3112            R,
3113        >,
3114    > for Error
3115where
3116    R: Send + Sync + std::fmt::Debug + 'static,
3117{
3118    fn from(
3119        err: ::aws_smithy_runtime_api::client::result::SdkError<
3120            crate::operation::update_notification_configuration::UpdateNotificationConfigurationError,
3121            R,
3122        >,
3123    ) -> Self {
3124        match err {
3125            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3126            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3127                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3128                source: err.into(),
3129            }),
3130        }
3131    }
3132}
3133impl From<crate::operation::update_notification_configuration::UpdateNotificationConfigurationError> for Error {
3134    fn from(err: crate::operation::update_notification_configuration::UpdateNotificationConfigurationError) -> Self {
3135        match err {
3136            crate::operation::update_notification_configuration::UpdateNotificationConfigurationError::AccessDeniedException(inner) => {
3137                Error::AccessDeniedException(inner)
3138            }
3139            crate::operation::update_notification_configuration::UpdateNotificationConfigurationError::InternalServerException(inner) => {
3140                Error::InternalServerException(inner)
3141            }
3142            crate::operation::update_notification_configuration::UpdateNotificationConfigurationError::ResourceNotFoundException(inner) => {
3143                Error::ResourceNotFoundException(inner)
3144            }
3145            crate::operation::update_notification_configuration::UpdateNotificationConfigurationError::ThrottlingException(inner) => {
3146                Error::ThrottlingException(inner)
3147            }
3148            crate::operation::update_notification_configuration::UpdateNotificationConfigurationError::ValidationException(inner) => {
3149                Error::ValidationException(inner)
3150            }
3151            crate::operation::update_notification_configuration::UpdateNotificationConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
3152        }
3153    }
3154}
3155impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_ota_task::UpdateOtaTaskError, R>> for Error
3156where
3157    R: Send + Sync + std::fmt::Debug + 'static,
3158{
3159    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_ota_task::UpdateOtaTaskError, R>) -> Self {
3160        match err {
3161            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3162            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3163                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3164                source: err.into(),
3165            }),
3166        }
3167    }
3168}
3169impl From<crate::operation::update_ota_task::UpdateOtaTaskError> for Error {
3170    fn from(err: crate::operation::update_ota_task::UpdateOtaTaskError) -> Self {
3171        match err {
3172            crate::operation::update_ota_task::UpdateOtaTaskError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3173            crate::operation::update_ota_task::UpdateOtaTaskError::InternalServerException(inner) => Error::InternalServerException(inner),
3174            crate::operation::update_ota_task::UpdateOtaTaskError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
3175            crate::operation::update_ota_task::UpdateOtaTaskError::ThrottlingException(inner) => Error::ThrottlingException(inner),
3176            crate::operation::update_ota_task::UpdateOtaTaskError::ValidationException(inner) => Error::ValidationException(inner),
3177            crate::operation::update_ota_task::UpdateOtaTaskError::Unhandled(inner) => Error::Unhandled(inner),
3178        }
3179    }
3180}
3181impl ::std::error::Error for Error {
3182    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
3183        match self {
3184            Error::AccessDeniedException(inner) => inner.source(),
3185            Error::ConflictException(inner) => inner.source(),
3186            Error::InternalFailureException(inner) => inner.source(),
3187            Error::InternalServerException(inner) => inner.source(),
3188            Error::InvalidRequestException(inner) => inner.source(),
3189            Error::LimitExceededException(inner) => inner.source(),
3190            Error::ResourceNotFoundException(inner) => inner.source(),
3191            Error::ServiceQuotaExceededException(inner) => inner.source(),
3192            Error::ServiceUnavailableException(inner) => inner.source(),
3193            Error::ThrottlingException(inner) => inner.source(),
3194            Error::UnauthorizedException(inner) => inner.source(),
3195            Error::ValidationException(inner) => inner.source(),
3196            Error::Unhandled(inner) => ::std::option::Option::Some(&*inner.source),
3197        }
3198    }
3199}
3200impl ::aws_types::request_id::RequestId for Error {
3201    fn request_id(&self) -> Option<&str> {
3202        match self {
3203            Self::AccessDeniedException(e) => e.request_id(),
3204            Self::ConflictException(e) => e.request_id(),
3205            Self::InternalFailureException(e) => e.request_id(),
3206            Self::InternalServerException(e) => e.request_id(),
3207            Self::InvalidRequestException(e) => e.request_id(),
3208            Self::LimitExceededException(e) => e.request_id(),
3209            Self::ResourceNotFoundException(e) => e.request_id(),
3210            Self::ServiceQuotaExceededException(e) => e.request_id(),
3211            Self::ServiceUnavailableException(e) => e.request_id(),
3212            Self::ThrottlingException(e) => e.request_id(),
3213            Self::UnauthorizedException(e) => e.request_id(),
3214            Self::ValidationException(e) => e.request_id(),
3215            Self::Unhandled(e) => e.meta.request_id(),
3216        }
3217    }
3218}