aws_sdk_finspace/
error_meta.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2/// All possible error types for this service.
3#[non_exhaustive]
4#[derive(::std::fmt::Debug)]
5pub enum Error {
6    /// <p>You do not have sufficient access to perform this action.</p>
7    AccessDeniedException(crate::types::error::AccessDeniedException),
8    /// <p>There was a conflict with this action, and it could not be completed.</p>
9    ConflictException(crate::types::error::ConflictException),
10    /// <p>The request processing has failed because of an unknown error, exception or failure.</p>
11    InternalServerException(crate::types::error::InternalServerException),
12    /// <p>The request is invalid. Something is wrong with the input to the request.</p>
13    InvalidRequestException(crate::types::error::InvalidRequestException),
14    /// <p>A service limit or quota is exceeded.</p>
15    LimitExceededException(crate::types::error::LimitExceededException),
16    /// <p>The specified resource group already exists.</p>
17    ResourceAlreadyExistsException(crate::types::error::ResourceAlreadyExistsException),
18    /// <p>One or more resources can't be found.</p>
19    ResourceNotFoundException(crate::types::error::ResourceNotFoundException),
20    /// <p>You have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase.</p>
21    ServiceQuotaExceededException(crate::types::error::ServiceQuotaExceededException),
22    /// <p>The request was denied due to request throttling.</p>
23    ThrottlingException(crate::types::error::ThrottlingException),
24    /// <p>The input fails to satisfy the constraints specified by an AWS service.</p>
25    ValidationException(crate::types::error::ValidationException),
26    /// An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
27    #[deprecated(note = "Matching `Unhandled` directly is not forwards compatible. Instead, match using a \
28    variable wildcard pattern and check `.code()`:
29     \
30    &nbsp;&nbsp;&nbsp;`err if err.code() == Some(\"SpecificExceptionCode\") => { /* handle the error */ }`
31     \
32    See [`ProvideErrorMetadata`](#impl-ProvideErrorMetadata-for-Error) for what information is available for the error.")]
33    Unhandled(crate::error::sealed_unhandled::Unhandled),
34}
35impl ::std::fmt::Display for Error {
36    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
37        match self {
38            Error::AccessDeniedException(inner) => inner.fmt(f),
39            Error::ConflictException(inner) => inner.fmt(f),
40            Error::InternalServerException(inner) => inner.fmt(f),
41            Error::InvalidRequestException(inner) => inner.fmt(f),
42            Error::LimitExceededException(inner) => inner.fmt(f),
43            Error::ResourceAlreadyExistsException(inner) => inner.fmt(f),
44            Error::ResourceNotFoundException(inner) => inner.fmt(f),
45            Error::ServiceQuotaExceededException(inner) => inner.fmt(f),
46            Error::ThrottlingException(inner) => inner.fmt(f),
47            Error::ValidationException(inner) => inner.fmt(f),
48            Error::Unhandled(_) => {
49                if let ::std::option::Option::Some(code) = ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self) {
50                    write!(f, "unhandled error ({code})")
51                } else {
52                    f.write_str("unhandled error")
53                }
54            }
55        }
56    }
57}
58impl From<::aws_smithy_types::error::operation::BuildError> for Error {
59    fn from(value: ::aws_smithy_types::error::operation::BuildError) -> Self {
60        Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
61            source: value.into(),
62            meta: ::std::default::Default::default(),
63        })
64    }
65}
66impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for Error {
67    fn meta(&self) -> &::aws_smithy_types::error::metadata::ErrorMetadata {
68        match self {
69            Self::AccessDeniedException(inner) => inner.meta(),
70            Self::ConflictException(inner) => inner.meta(),
71            Self::InternalServerException(inner) => inner.meta(),
72            Self::InvalidRequestException(inner) => inner.meta(),
73            Self::LimitExceededException(inner) => inner.meta(),
74            Self::ResourceAlreadyExistsException(inner) => inner.meta(),
75            Self::ResourceNotFoundException(inner) => inner.meta(),
76            Self::ServiceQuotaExceededException(inner) => inner.meta(),
77            Self::ThrottlingException(inner) => inner.meta(),
78            Self::ValidationException(inner) => inner.meta(),
79            Self::Unhandled(inner) => &inner.meta,
80        }
81    }
82}
83impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_environment::CreateEnvironmentError, R>> for Error
84where
85    R: Send + Sync + std::fmt::Debug + 'static,
86{
87    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_environment::CreateEnvironmentError, R>) -> Self {
88        match err {
89            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
90            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
91                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
92                source: err.into(),
93            }),
94        }
95    }
96}
97impl From<crate::operation::create_environment::CreateEnvironmentError> for Error {
98    fn from(err: crate::operation::create_environment::CreateEnvironmentError) -> Self {
99        match err {
100            crate::operation::create_environment::CreateEnvironmentError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
101            crate::operation::create_environment::CreateEnvironmentError::InternalServerException(inner) => Error::InternalServerException(inner),
102            crate::operation::create_environment::CreateEnvironmentError::LimitExceededException(inner) => Error::LimitExceededException(inner),
103            crate::operation::create_environment::CreateEnvironmentError::ServiceQuotaExceededException(inner) => {
104                Error::ServiceQuotaExceededException(inner)
105            }
106            crate::operation::create_environment::CreateEnvironmentError::ThrottlingException(inner) => Error::ThrottlingException(inner),
107            crate::operation::create_environment::CreateEnvironmentError::ValidationException(inner) => Error::ValidationException(inner),
108            crate::operation::create_environment::CreateEnvironmentError::Unhandled(inner) => Error::Unhandled(inner),
109        }
110    }
111}
112impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_kx_changeset::CreateKxChangesetError, R>> for Error
113where
114    R: Send + Sync + std::fmt::Debug + 'static,
115{
116    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_kx_changeset::CreateKxChangesetError, R>) -> Self {
117        match err {
118            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
119            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
120                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
121                source: err.into(),
122            }),
123        }
124    }
125}
126impl From<crate::operation::create_kx_changeset::CreateKxChangesetError> for Error {
127    fn from(err: crate::operation::create_kx_changeset::CreateKxChangesetError) -> Self {
128        match err {
129            crate::operation::create_kx_changeset::CreateKxChangesetError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
130            crate::operation::create_kx_changeset::CreateKxChangesetError::ConflictException(inner) => Error::ConflictException(inner),
131            crate::operation::create_kx_changeset::CreateKxChangesetError::InternalServerException(inner) => Error::InternalServerException(inner),
132            crate::operation::create_kx_changeset::CreateKxChangesetError::LimitExceededException(inner) => Error::LimitExceededException(inner),
133            crate::operation::create_kx_changeset::CreateKxChangesetError::ResourceNotFoundException(inner) => {
134                Error::ResourceNotFoundException(inner)
135            }
136            crate::operation::create_kx_changeset::CreateKxChangesetError::ThrottlingException(inner) => Error::ThrottlingException(inner),
137            crate::operation::create_kx_changeset::CreateKxChangesetError::ValidationException(inner) => Error::ValidationException(inner),
138            crate::operation::create_kx_changeset::CreateKxChangesetError::Unhandled(inner) => Error::Unhandled(inner),
139        }
140    }
141}
142impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_kx_cluster::CreateKxClusterError, R>> for Error
143where
144    R: Send + Sync + std::fmt::Debug + 'static,
145{
146    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_kx_cluster::CreateKxClusterError, R>) -> Self {
147        match err {
148            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
149            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
150                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
151                source: err.into(),
152            }),
153        }
154    }
155}
156impl From<crate::operation::create_kx_cluster::CreateKxClusterError> for Error {
157    fn from(err: crate::operation::create_kx_cluster::CreateKxClusterError) -> Self {
158        match err {
159            crate::operation::create_kx_cluster::CreateKxClusterError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
160            crate::operation::create_kx_cluster::CreateKxClusterError::ConflictException(inner) => Error::ConflictException(inner),
161            crate::operation::create_kx_cluster::CreateKxClusterError::InternalServerException(inner) => Error::InternalServerException(inner),
162            crate::operation::create_kx_cluster::CreateKxClusterError::LimitExceededException(inner) => Error::LimitExceededException(inner),
163            crate::operation::create_kx_cluster::CreateKxClusterError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
164            crate::operation::create_kx_cluster::CreateKxClusterError::ThrottlingException(inner) => Error::ThrottlingException(inner),
165            crate::operation::create_kx_cluster::CreateKxClusterError::ValidationException(inner) => Error::ValidationException(inner),
166            crate::operation::create_kx_cluster::CreateKxClusterError::Unhandled(inner) => Error::Unhandled(inner),
167        }
168    }
169}
170impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_kx_database::CreateKxDatabaseError, R>> for Error
171where
172    R: Send + Sync + std::fmt::Debug + 'static,
173{
174    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_kx_database::CreateKxDatabaseError, R>) -> Self {
175        match err {
176            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
177            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
178                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
179                source: err.into(),
180            }),
181        }
182    }
183}
184impl From<crate::operation::create_kx_database::CreateKxDatabaseError> for Error {
185    fn from(err: crate::operation::create_kx_database::CreateKxDatabaseError) -> Self {
186        match err {
187            crate::operation::create_kx_database::CreateKxDatabaseError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
188            crate::operation::create_kx_database::CreateKxDatabaseError::ConflictException(inner) => Error::ConflictException(inner),
189            crate::operation::create_kx_database::CreateKxDatabaseError::InternalServerException(inner) => Error::InternalServerException(inner),
190            crate::operation::create_kx_database::CreateKxDatabaseError::LimitExceededException(inner) => Error::LimitExceededException(inner),
191            crate::operation::create_kx_database::CreateKxDatabaseError::ResourceAlreadyExistsException(inner) => {
192                Error::ResourceAlreadyExistsException(inner)
193            }
194            crate::operation::create_kx_database::CreateKxDatabaseError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
195            crate::operation::create_kx_database::CreateKxDatabaseError::ThrottlingException(inner) => Error::ThrottlingException(inner),
196            crate::operation::create_kx_database::CreateKxDatabaseError::ValidationException(inner) => Error::ValidationException(inner),
197            crate::operation::create_kx_database::CreateKxDatabaseError::Unhandled(inner) => Error::Unhandled(inner),
198        }
199    }
200}
201impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_kx_dataview::CreateKxDataviewError, R>> for Error
202where
203    R: Send + Sync + std::fmt::Debug + 'static,
204{
205    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_kx_dataview::CreateKxDataviewError, R>) -> Self {
206        match err {
207            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
208            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
209                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
210                source: err.into(),
211            }),
212        }
213    }
214}
215impl From<crate::operation::create_kx_dataview::CreateKxDataviewError> for Error {
216    fn from(err: crate::operation::create_kx_dataview::CreateKxDataviewError) -> Self {
217        match err {
218            crate::operation::create_kx_dataview::CreateKxDataviewError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
219            crate::operation::create_kx_dataview::CreateKxDataviewError::ConflictException(inner) => Error::ConflictException(inner),
220            crate::operation::create_kx_dataview::CreateKxDataviewError::InternalServerException(inner) => Error::InternalServerException(inner),
221            crate::operation::create_kx_dataview::CreateKxDataviewError::LimitExceededException(inner) => Error::LimitExceededException(inner),
222            crate::operation::create_kx_dataview::CreateKxDataviewError::ResourceAlreadyExistsException(inner) => {
223                Error::ResourceAlreadyExistsException(inner)
224            }
225            crate::operation::create_kx_dataview::CreateKxDataviewError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
226            crate::operation::create_kx_dataview::CreateKxDataviewError::ThrottlingException(inner) => Error::ThrottlingException(inner),
227            crate::operation::create_kx_dataview::CreateKxDataviewError::ValidationException(inner) => Error::ValidationException(inner),
228            crate::operation::create_kx_dataview::CreateKxDataviewError::Unhandled(inner) => Error::Unhandled(inner),
229        }
230    }
231}
232impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_kx_environment::CreateKxEnvironmentError, R>> for Error
233where
234    R: Send + Sync + std::fmt::Debug + 'static,
235{
236    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_kx_environment::CreateKxEnvironmentError, R>) -> Self {
237        match err {
238            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
239            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
240                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
241                source: err.into(),
242            }),
243        }
244    }
245}
246impl From<crate::operation::create_kx_environment::CreateKxEnvironmentError> for Error {
247    fn from(err: crate::operation::create_kx_environment::CreateKxEnvironmentError) -> Self {
248        match err {
249            crate::operation::create_kx_environment::CreateKxEnvironmentError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
250            crate::operation::create_kx_environment::CreateKxEnvironmentError::ConflictException(inner) => Error::ConflictException(inner),
251            crate::operation::create_kx_environment::CreateKxEnvironmentError::InternalServerException(inner) => {
252                Error::InternalServerException(inner)
253            }
254            crate::operation::create_kx_environment::CreateKxEnvironmentError::LimitExceededException(inner) => Error::LimitExceededException(inner),
255            crate::operation::create_kx_environment::CreateKxEnvironmentError::ServiceQuotaExceededException(inner) => {
256                Error::ServiceQuotaExceededException(inner)
257            }
258            crate::operation::create_kx_environment::CreateKxEnvironmentError::ThrottlingException(inner) => Error::ThrottlingException(inner),
259            crate::operation::create_kx_environment::CreateKxEnvironmentError::ValidationException(inner) => Error::ValidationException(inner),
260            crate::operation::create_kx_environment::CreateKxEnvironmentError::Unhandled(inner) => Error::Unhandled(inner),
261        }
262    }
263}
264impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_kx_scaling_group::CreateKxScalingGroupError, R>> for Error
265where
266    R: Send + Sync + std::fmt::Debug + 'static,
267{
268    fn from(
269        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_kx_scaling_group::CreateKxScalingGroupError, R>,
270    ) -> Self {
271        match err {
272            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
273            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
274                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
275                source: err.into(),
276            }),
277        }
278    }
279}
280impl From<crate::operation::create_kx_scaling_group::CreateKxScalingGroupError> for Error {
281    fn from(err: crate::operation::create_kx_scaling_group::CreateKxScalingGroupError) -> Self {
282        match err {
283            crate::operation::create_kx_scaling_group::CreateKxScalingGroupError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
284            crate::operation::create_kx_scaling_group::CreateKxScalingGroupError::ConflictException(inner) => Error::ConflictException(inner),
285            crate::operation::create_kx_scaling_group::CreateKxScalingGroupError::InternalServerException(inner) => {
286                Error::InternalServerException(inner)
287            }
288            crate::operation::create_kx_scaling_group::CreateKxScalingGroupError::LimitExceededException(inner) => {
289                Error::LimitExceededException(inner)
290            }
291            crate::operation::create_kx_scaling_group::CreateKxScalingGroupError::ResourceNotFoundException(inner) => {
292                Error::ResourceNotFoundException(inner)
293            }
294            crate::operation::create_kx_scaling_group::CreateKxScalingGroupError::ThrottlingException(inner) => Error::ThrottlingException(inner),
295            crate::operation::create_kx_scaling_group::CreateKxScalingGroupError::ValidationException(inner) => Error::ValidationException(inner),
296            crate::operation::create_kx_scaling_group::CreateKxScalingGroupError::Unhandled(inner) => Error::Unhandled(inner),
297        }
298    }
299}
300impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_kx_user::CreateKxUserError, R>> for Error
301where
302    R: Send + Sync + std::fmt::Debug + 'static,
303{
304    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_kx_user::CreateKxUserError, R>) -> Self {
305        match err {
306            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
307            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
308                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
309                source: err.into(),
310            }),
311        }
312    }
313}
314impl From<crate::operation::create_kx_user::CreateKxUserError> for Error {
315    fn from(err: crate::operation::create_kx_user::CreateKxUserError) -> Self {
316        match err {
317            crate::operation::create_kx_user::CreateKxUserError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
318            crate::operation::create_kx_user::CreateKxUserError::ConflictException(inner) => Error::ConflictException(inner),
319            crate::operation::create_kx_user::CreateKxUserError::InternalServerException(inner) => Error::InternalServerException(inner),
320            crate::operation::create_kx_user::CreateKxUserError::LimitExceededException(inner) => Error::LimitExceededException(inner),
321            crate::operation::create_kx_user::CreateKxUserError::ResourceAlreadyExistsException(inner) => {
322                Error::ResourceAlreadyExistsException(inner)
323            }
324            crate::operation::create_kx_user::CreateKxUserError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
325            crate::operation::create_kx_user::CreateKxUserError::ThrottlingException(inner) => Error::ThrottlingException(inner),
326            crate::operation::create_kx_user::CreateKxUserError::ValidationException(inner) => Error::ValidationException(inner),
327            crate::operation::create_kx_user::CreateKxUserError::Unhandled(inner) => Error::Unhandled(inner),
328        }
329    }
330}
331impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_kx_volume::CreateKxVolumeError, R>> for Error
332where
333    R: Send + Sync + std::fmt::Debug + 'static,
334{
335    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_kx_volume::CreateKxVolumeError, R>) -> Self {
336        match err {
337            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
338            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
339                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
340                source: err.into(),
341            }),
342        }
343    }
344}
345impl From<crate::operation::create_kx_volume::CreateKxVolumeError> for Error {
346    fn from(err: crate::operation::create_kx_volume::CreateKxVolumeError) -> Self {
347        match err {
348            crate::operation::create_kx_volume::CreateKxVolumeError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
349            crate::operation::create_kx_volume::CreateKxVolumeError::ConflictException(inner) => Error::ConflictException(inner),
350            crate::operation::create_kx_volume::CreateKxVolumeError::InternalServerException(inner) => Error::InternalServerException(inner),
351            crate::operation::create_kx_volume::CreateKxVolumeError::LimitExceededException(inner) => Error::LimitExceededException(inner),
352            crate::operation::create_kx_volume::CreateKxVolumeError::ResourceAlreadyExistsException(inner) => {
353                Error::ResourceAlreadyExistsException(inner)
354            }
355            crate::operation::create_kx_volume::CreateKxVolumeError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
356            crate::operation::create_kx_volume::CreateKxVolumeError::ThrottlingException(inner) => Error::ThrottlingException(inner),
357            crate::operation::create_kx_volume::CreateKxVolumeError::ValidationException(inner) => Error::ValidationException(inner),
358            crate::operation::create_kx_volume::CreateKxVolumeError::Unhandled(inner) => Error::Unhandled(inner),
359        }
360    }
361}
362impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_environment::DeleteEnvironmentError, R>> for Error
363where
364    R: Send + Sync + std::fmt::Debug + 'static,
365{
366    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_environment::DeleteEnvironmentError, R>) -> Self {
367        match err {
368            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
369            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
370                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
371                source: err.into(),
372            }),
373        }
374    }
375}
376impl From<crate::operation::delete_environment::DeleteEnvironmentError> for Error {
377    fn from(err: crate::operation::delete_environment::DeleteEnvironmentError) -> Self {
378        match err {
379            crate::operation::delete_environment::DeleteEnvironmentError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
380            crate::operation::delete_environment::DeleteEnvironmentError::InternalServerException(inner) => Error::InternalServerException(inner),
381            crate::operation::delete_environment::DeleteEnvironmentError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
382            crate::operation::delete_environment::DeleteEnvironmentError::ThrottlingException(inner) => Error::ThrottlingException(inner),
383            crate::operation::delete_environment::DeleteEnvironmentError::ValidationException(inner) => Error::ValidationException(inner),
384            crate::operation::delete_environment::DeleteEnvironmentError::Unhandled(inner) => Error::Unhandled(inner),
385        }
386    }
387}
388impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_kx_cluster::DeleteKxClusterError, R>> for Error
389where
390    R: Send + Sync + std::fmt::Debug + 'static,
391{
392    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_kx_cluster::DeleteKxClusterError, R>) -> Self {
393        match err {
394            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
395            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
396                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
397                source: err.into(),
398            }),
399        }
400    }
401}
402impl From<crate::operation::delete_kx_cluster::DeleteKxClusterError> for Error {
403    fn from(err: crate::operation::delete_kx_cluster::DeleteKxClusterError) -> Self {
404        match err {
405            crate::operation::delete_kx_cluster::DeleteKxClusterError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
406            crate::operation::delete_kx_cluster::DeleteKxClusterError::ConflictException(inner) => Error::ConflictException(inner),
407            crate::operation::delete_kx_cluster::DeleteKxClusterError::InternalServerException(inner) => Error::InternalServerException(inner),
408            crate::operation::delete_kx_cluster::DeleteKxClusterError::LimitExceededException(inner) => Error::LimitExceededException(inner),
409            crate::operation::delete_kx_cluster::DeleteKxClusterError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
410            crate::operation::delete_kx_cluster::DeleteKxClusterError::ThrottlingException(inner) => Error::ThrottlingException(inner),
411            crate::operation::delete_kx_cluster::DeleteKxClusterError::ValidationException(inner) => Error::ValidationException(inner),
412            crate::operation::delete_kx_cluster::DeleteKxClusterError::Unhandled(inner) => Error::Unhandled(inner),
413        }
414    }
415}
416impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_kx_cluster_node::DeleteKxClusterNodeError, R>> for Error
417where
418    R: Send + Sync + std::fmt::Debug + 'static,
419{
420    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_kx_cluster_node::DeleteKxClusterNodeError, R>) -> Self {
421        match err {
422            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
423            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
424                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
425                source: err.into(),
426            }),
427        }
428    }
429}
430impl From<crate::operation::delete_kx_cluster_node::DeleteKxClusterNodeError> for Error {
431    fn from(err: crate::operation::delete_kx_cluster_node::DeleteKxClusterNodeError) -> Self {
432        match err {
433            crate::operation::delete_kx_cluster_node::DeleteKxClusterNodeError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
434            crate::operation::delete_kx_cluster_node::DeleteKxClusterNodeError::InternalServerException(inner) => {
435                Error::InternalServerException(inner)
436            }
437            crate::operation::delete_kx_cluster_node::DeleteKxClusterNodeError::ResourceNotFoundException(inner) => {
438                Error::ResourceNotFoundException(inner)
439            }
440            crate::operation::delete_kx_cluster_node::DeleteKxClusterNodeError::ThrottlingException(inner) => Error::ThrottlingException(inner),
441            crate::operation::delete_kx_cluster_node::DeleteKxClusterNodeError::ValidationException(inner) => Error::ValidationException(inner),
442            crate::operation::delete_kx_cluster_node::DeleteKxClusterNodeError::Unhandled(inner) => Error::Unhandled(inner),
443        }
444    }
445}
446impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_kx_database::DeleteKxDatabaseError, R>> for Error
447where
448    R: Send + Sync + std::fmt::Debug + 'static,
449{
450    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_kx_database::DeleteKxDatabaseError, R>) -> Self {
451        match err {
452            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
453            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
454                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
455                source: err.into(),
456            }),
457        }
458    }
459}
460impl From<crate::operation::delete_kx_database::DeleteKxDatabaseError> for Error {
461    fn from(err: crate::operation::delete_kx_database::DeleteKxDatabaseError) -> Self {
462        match err {
463            crate::operation::delete_kx_database::DeleteKxDatabaseError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
464            crate::operation::delete_kx_database::DeleteKxDatabaseError::ConflictException(inner) => Error::ConflictException(inner),
465            crate::operation::delete_kx_database::DeleteKxDatabaseError::InternalServerException(inner) => Error::InternalServerException(inner),
466            crate::operation::delete_kx_database::DeleteKxDatabaseError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
467            crate::operation::delete_kx_database::DeleteKxDatabaseError::ThrottlingException(inner) => Error::ThrottlingException(inner),
468            crate::operation::delete_kx_database::DeleteKxDatabaseError::ValidationException(inner) => Error::ValidationException(inner),
469            crate::operation::delete_kx_database::DeleteKxDatabaseError::Unhandled(inner) => Error::Unhandled(inner),
470        }
471    }
472}
473impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_kx_dataview::DeleteKxDataviewError, R>> for Error
474where
475    R: Send + Sync + std::fmt::Debug + 'static,
476{
477    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_kx_dataview::DeleteKxDataviewError, R>) -> Self {
478        match err {
479            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
480            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
481                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
482                source: err.into(),
483            }),
484        }
485    }
486}
487impl From<crate::operation::delete_kx_dataview::DeleteKxDataviewError> for Error {
488    fn from(err: crate::operation::delete_kx_dataview::DeleteKxDataviewError) -> Self {
489        match err {
490            crate::operation::delete_kx_dataview::DeleteKxDataviewError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
491            crate::operation::delete_kx_dataview::DeleteKxDataviewError::ConflictException(inner) => Error::ConflictException(inner),
492            crate::operation::delete_kx_dataview::DeleteKxDataviewError::InternalServerException(inner) => Error::InternalServerException(inner),
493            crate::operation::delete_kx_dataview::DeleteKxDataviewError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
494            crate::operation::delete_kx_dataview::DeleteKxDataviewError::ThrottlingException(inner) => Error::ThrottlingException(inner),
495            crate::operation::delete_kx_dataview::DeleteKxDataviewError::ValidationException(inner) => Error::ValidationException(inner),
496            crate::operation::delete_kx_dataview::DeleteKxDataviewError::Unhandled(inner) => Error::Unhandled(inner),
497        }
498    }
499}
500impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_kx_environment::DeleteKxEnvironmentError, R>> for Error
501where
502    R: Send + Sync + std::fmt::Debug + 'static,
503{
504    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_kx_environment::DeleteKxEnvironmentError, R>) -> Self {
505        match err {
506            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
507            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
508                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
509                source: err.into(),
510            }),
511        }
512    }
513}
514impl From<crate::operation::delete_kx_environment::DeleteKxEnvironmentError> for Error {
515    fn from(err: crate::operation::delete_kx_environment::DeleteKxEnvironmentError) -> Self {
516        match err {
517            crate::operation::delete_kx_environment::DeleteKxEnvironmentError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
518            crate::operation::delete_kx_environment::DeleteKxEnvironmentError::ConflictException(inner) => Error::ConflictException(inner),
519            crate::operation::delete_kx_environment::DeleteKxEnvironmentError::InternalServerException(inner) => {
520                Error::InternalServerException(inner)
521            }
522            crate::operation::delete_kx_environment::DeleteKxEnvironmentError::ResourceNotFoundException(inner) => {
523                Error::ResourceNotFoundException(inner)
524            }
525            crate::operation::delete_kx_environment::DeleteKxEnvironmentError::ThrottlingException(inner) => Error::ThrottlingException(inner),
526            crate::operation::delete_kx_environment::DeleteKxEnvironmentError::ValidationException(inner) => Error::ValidationException(inner),
527            crate::operation::delete_kx_environment::DeleteKxEnvironmentError::Unhandled(inner) => Error::Unhandled(inner),
528        }
529    }
530}
531impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_kx_scaling_group::DeleteKxScalingGroupError, R>> for Error
532where
533    R: Send + Sync + std::fmt::Debug + 'static,
534{
535    fn from(
536        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_kx_scaling_group::DeleteKxScalingGroupError, R>,
537    ) -> Self {
538        match err {
539            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
540            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
541                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
542                source: err.into(),
543            }),
544        }
545    }
546}
547impl From<crate::operation::delete_kx_scaling_group::DeleteKxScalingGroupError> for Error {
548    fn from(err: crate::operation::delete_kx_scaling_group::DeleteKxScalingGroupError) -> Self {
549        match err {
550            crate::operation::delete_kx_scaling_group::DeleteKxScalingGroupError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
551            crate::operation::delete_kx_scaling_group::DeleteKxScalingGroupError::ConflictException(inner) => Error::ConflictException(inner),
552            crate::operation::delete_kx_scaling_group::DeleteKxScalingGroupError::InternalServerException(inner) => {
553                Error::InternalServerException(inner)
554            }
555            crate::operation::delete_kx_scaling_group::DeleteKxScalingGroupError::LimitExceededException(inner) => {
556                Error::LimitExceededException(inner)
557            }
558            crate::operation::delete_kx_scaling_group::DeleteKxScalingGroupError::ResourceNotFoundException(inner) => {
559                Error::ResourceNotFoundException(inner)
560            }
561            crate::operation::delete_kx_scaling_group::DeleteKxScalingGroupError::ThrottlingException(inner) => Error::ThrottlingException(inner),
562            crate::operation::delete_kx_scaling_group::DeleteKxScalingGroupError::ValidationException(inner) => Error::ValidationException(inner),
563            crate::operation::delete_kx_scaling_group::DeleteKxScalingGroupError::Unhandled(inner) => Error::Unhandled(inner),
564        }
565    }
566}
567impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_kx_user::DeleteKxUserError, R>> for Error
568where
569    R: Send + Sync + std::fmt::Debug + 'static,
570{
571    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_kx_user::DeleteKxUserError, R>) -> Self {
572        match err {
573            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
574            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
575                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
576                source: err.into(),
577            }),
578        }
579    }
580}
581impl From<crate::operation::delete_kx_user::DeleteKxUserError> for Error {
582    fn from(err: crate::operation::delete_kx_user::DeleteKxUserError) -> Self {
583        match err {
584            crate::operation::delete_kx_user::DeleteKxUserError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
585            crate::operation::delete_kx_user::DeleteKxUserError::ConflictException(inner) => Error::ConflictException(inner),
586            crate::operation::delete_kx_user::DeleteKxUserError::InternalServerException(inner) => Error::InternalServerException(inner),
587            crate::operation::delete_kx_user::DeleteKxUserError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
588            crate::operation::delete_kx_user::DeleteKxUserError::ThrottlingException(inner) => Error::ThrottlingException(inner),
589            crate::operation::delete_kx_user::DeleteKxUserError::ValidationException(inner) => Error::ValidationException(inner),
590            crate::operation::delete_kx_user::DeleteKxUserError::Unhandled(inner) => Error::Unhandled(inner),
591        }
592    }
593}
594impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_kx_volume::DeleteKxVolumeError, R>> for Error
595where
596    R: Send + Sync + std::fmt::Debug + 'static,
597{
598    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_kx_volume::DeleteKxVolumeError, R>) -> Self {
599        match err {
600            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
601            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
602                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
603                source: err.into(),
604            }),
605        }
606    }
607}
608impl From<crate::operation::delete_kx_volume::DeleteKxVolumeError> for Error {
609    fn from(err: crate::operation::delete_kx_volume::DeleteKxVolumeError) -> Self {
610        match err {
611            crate::operation::delete_kx_volume::DeleteKxVolumeError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
612            crate::operation::delete_kx_volume::DeleteKxVolumeError::ConflictException(inner) => Error::ConflictException(inner),
613            crate::operation::delete_kx_volume::DeleteKxVolumeError::InternalServerException(inner) => Error::InternalServerException(inner),
614            crate::operation::delete_kx_volume::DeleteKxVolumeError::LimitExceededException(inner) => Error::LimitExceededException(inner),
615            crate::operation::delete_kx_volume::DeleteKxVolumeError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
616            crate::operation::delete_kx_volume::DeleteKxVolumeError::ThrottlingException(inner) => Error::ThrottlingException(inner),
617            crate::operation::delete_kx_volume::DeleteKxVolumeError::ValidationException(inner) => Error::ValidationException(inner),
618            crate::operation::delete_kx_volume::DeleteKxVolumeError::Unhandled(inner) => Error::Unhandled(inner),
619        }
620    }
621}
622impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_environment::GetEnvironmentError, R>> for Error
623where
624    R: Send + Sync + std::fmt::Debug + 'static,
625{
626    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_environment::GetEnvironmentError, R>) -> Self {
627        match err {
628            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
629            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
630                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
631                source: err.into(),
632            }),
633        }
634    }
635}
636impl From<crate::operation::get_environment::GetEnvironmentError> for Error {
637    fn from(err: crate::operation::get_environment::GetEnvironmentError) -> Self {
638        match err {
639            crate::operation::get_environment::GetEnvironmentError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
640            crate::operation::get_environment::GetEnvironmentError::InternalServerException(inner) => Error::InternalServerException(inner),
641            crate::operation::get_environment::GetEnvironmentError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
642            crate::operation::get_environment::GetEnvironmentError::ValidationException(inner) => Error::ValidationException(inner),
643            crate::operation::get_environment::GetEnvironmentError::Unhandled(inner) => Error::Unhandled(inner),
644        }
645    }
646}
647impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_kx_changeset::GetKxChangesetError, R>> for Error
648where
649    R: Send + Sync + std::fmt::Debug + 'static,
650{
651    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_kx_changeset::GetKxChangesetError, R>) -> Self {
652        match err {
653            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
654            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
655                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
656                source: err.into(),
657            }),
658        }
659    }
660}
661impl From<crate::operation::get_kx_changeset::GetKxChangesetError> for Error {
662    fn from(err: crate::operation::get_kx_changeset::GetKxChangesetError) -> Self {
663        match err {
664            crate::operation::get_kx_changeset::GetKxChangesetError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
665            crate::operation::get_kx_changeset::GetKxChangesetError::InternalServerException(inner) => Error::InternalServerException(inner),
666            crate::operation::get_kx_changeset::GetKxChangesetError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
667            crate::operation::get_kx_changeset::GetKxChangesetError::ThrottlingException(inner) => Error::ThrottlingException(inner),
668            crate::operation::get_kx_changeset::GetKxChangesetError::ValidationException(inner) => Error::ValidationException(inner),
669            crate::operation::get_kx_changeset::GetKxChangesetError::Unhandled(inner) => Error::Unhandled(inner),
670        }
671    }
672}
673impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_kx_cluster::GetKxClusterError, R>> for Error
674where
675    R: Send + Sync + std::fmt::Debug + 'static,
676{
677    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_kx_cluster::GetKxClusterError, R>) -> Self {
678        match err {
679            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
680            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
681                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
682                source: err.into(),
683            }),
684        }
685    }
686}
687impl From<crate::operation::get_kx_cluster::GetKxClusterError> for Error {
688    fn from(err: crate::operation::get_kx_cluster::GetKxClusterError) -> Self {
689        match err {
690            crate::operation::get_kx_cluster::GetKxClusterError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
691            crate::operation::get_kx_cluster::GetKxClusterError::ConflictException(inner) => Error::ConflictException(inner),
692            crate::operation::get_kx_cluster::GetKxClusterError::InternalServerException(inner) => Error::InternalServerException(inner),
693            crate::operation::get_kx_cluster::GetKxClusterError::LimitExceededException(inner) => Error::LimitExceededException(inner),
694            crate::operation::get_kx_cluster::GetKxClusterError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
695            crate::operation::get_kx_cluster::GetKxClusterError::ThrottlingException(inner) => Error::ThrottlingException(inner),
696            crate::operation::get_kx_cluster::GetKxClusterError::ValidationException(inner) => Error::ValidationException(inner),
697            crate::operation::get_kx_cluster::GetKxClusterError::Unhandled(inner) => Error::Unhandled(inner),
698        }
699    }
700}
701impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_kx_connection_string::GetKxConnectionStringError, R>> for Error
702where
703    R: Send + Sync + std::fmt::Debug + 'static,
704{
705    fn from(
706        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_kx_connection_string::GetKxConnectionStringError, R>,
707    ) -> Self {
708        match err {
709            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
710            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
711                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
712                source: err.into(),
713            }),
714        }
715    }
716}
717impl From<crate::operation::get_kx_connection_string::GetKxConnectionStringError> for Error {
718    fn from(err: crate::operation::get_kx_connection_string::GetKxConnectionStringError) -> Self {
719        match err {
720            crate::operation::get_kx_connection_string::GetKxConnectionStringError::AccessDeniedException(inner) => {
721                Error::AccessDeniedException(inner)
722            }
723            crate::operation::get_kx_connection_string::GetKxConnectionStringError::InternalServerException(inner) => {
724                Error::InternalServerException(inner)
725            }
726            crate::operation::get_kx_connection_string::GetKxConnectionStringError::ResourceNotFoundException(inner) => {
727                Error::ResourceNotFoundException(inner)
728            }
729            crate::operation::get_kx_connection_string::GetKxConnectionStringError::ThrottlingException(inner) => Error::ThrottlingException(inner),
730            crate::operation::get_kx_connection_string::GetKxConnectionStringError::ValidationException(inner) => Error::ValidationException(inner),
731            crate::operation::get_kx_connection_string::GetKxConnectionStringError::Unhandled(inner) => Error::Unhandled(inner),
732        }
733    }
734}
735impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_kx_database::GetKxDatabaseError, R>> for Error
736where
737    R: Send + Sync + std::fmt::Debug + 'static,
738{
739    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_kx_database::GetKxDatabaseError, R>) -> Self {
740        match err {
741            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
742            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
743                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
744                source: err.into(),
745            }),
746        }
747    }
748}
749impl From<crate::operation::get_kx_database::GetKxDatabaseError> for Error {
750    fn from(err: crate::operation::get_kx_database::GetKxDatabaseError) -> Self {
751        match err {
752            crate::operation::get_kx_database::GetKxDatabaseError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
753            crate::operation::get_kx_database::GetKxDatabaseError::InternalServerException(inner) => Error::InternalServerException(inner),
754            crate::operation::get_kx_database::GetKxDatabaseError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
755            crate::operation::get_kx_database::GetKxDatabaseError::ThrottlingException(inner) => Error::ThrottlingException(inner),
756            crate::operation::get_kx_database::GetKxDatabaseError::ValidationException(inner) => Error::ValidationException(inner),
757            crate::operation::get_kx_database::GetKxDatabaseError::Unhandled(inner) => Error::Unhandled(inner),
758        }
759    }
760}
761impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_kx_dataview::GetKxDataviewError, R>> for Error
762where
763    R: Send + Sync + std::fmt::Debug + 'static,
764{
765    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_kx_dataview::GetKxDataviewError, R>) -> Self {
766        match err {
767            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
768            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
769                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
770                source: err.into(),
771            }),
772        }
773    }
774}
775impl From<crate::operation::get_kx_dataview::GetKxDataviewError> for Error {
776    fn from(err: crate::operation::get_kx_dataview::GetKxDataviewError) -> Self {
777        match err {
778            crate::operation::get_kx_dataview::GetKxDataviewError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
779            crate::operation::get_kx_dataview::GetKxDataviewError::InternalServerException(inner) => Error::InternalServerException(inner),
780            crate::operation::get_kx_dataview::GetKxDataviewError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
781            crate::operation::get_kx_dataview::GetKxDataviewError::ThrottlingException(inner) => Error::ThrottlingException(inner),
782            crate::operation::get_kx_dataview::GetKxDataviewError::ValidationException(inner) => Error::ValidationException(inner),
783            crate::operation::get_kx_dataview::GetKxDataviewError::Unhandled(inner) => Error::Unhandled(inner),
784        }
785    }
786}
787impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_kx_environment::GetKxEnvironmentError, R>> for Error
788where
789    R: Send + Sync + std::fmt::Debug + 'static,
790{
791    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_kx_environment::GetKxEnvironmentError, R>) -> Self {
792        match err {
793            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
794            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
795                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
796                source: err.into(),
797            }),
798        }
799    }
800}
801impl From<crate::operation::get_kx_environment::GetKxEnvironmentError> for Error {
802    fn from(err: crate::operation::get_kx_environment::GetKxEnvironmentError) -> Self {
803        match err {
804            crate::operation::get_kx_environment::GetKxEnvironmentError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
805            crate::operation::get_kx_environment::GetKxEnvironmentError::ConflictException(inner) => Error::ConflictException(inner),
806            crate::operation::get_kx_environment::GetKxEnvironmentError::InternalServerException(inner) => Error::InternalServerException(inner),
807            crate::operation::get_kx_environment::GetKxEnvironmentError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
808            crate::operation::get_kx_environment::GetKxEnvironmentError::ValidationException(inner) => Error::ValidationException(inner),
809            crate::operation::get_kx_environment::GetKxEnvironmentError::Unhandled(inner) => Error::Unhandled(inner),
810        }
811    }
812}
813impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_kx_scaling_group::GetKxScalingGroupError, 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::get_kx_scaling_group::GetKxScalingGroupError, 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::get_kx_scaling_group::GetKxScalingGroupError> for Error {
828    fn from(err: crate::operation::get_kx_scaling_group::GetKxScalingGroupError) -> Self {
829        match err {
830            crate::operation::get_kx_scaling_group::GetKxScalingGroupError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
831            crate::operation::get_kx_scaling_group::GetKxScalingGroupError::ConflictException(inner) => Error::ConflictException(inner),
832            crate::operation::get_kx_scaling_group::GetKxScalingGroupError::InternalServerException(inner) => Error::InternalServerException(inner),
833            crate::operation::get_kx_scaling_group::GetKxScalingGroupError::LimitExceededException(inner) => Error::LimitExceededException(inner),
834            crate::operation::get_kx_scaling_group::GetKxScalingGroupError::ResourceNotFoundException(inner) => {
835                Error::ResourceNotFoundException(inner)
836            }
837            crate::operation::get_kx_scaling_group::GetKxScalingGroupError::ThrottlingException(inner) => Error::ThrottlingException(inner),
838            crate::operation::get_kx_scaling_group::GetKxScalingGroupError::ValidationException(inner) => Error::ValidationException(inner),
839            crate::operation::get_kx_scaling_group::GetKxScalingGroupError::Unhandled(inner) => Error::Unhandled(inner),
840        }
841    }
842}
843impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_kx_user::GetKxUserError, R>> for Error
844where
845    R: Send + Sync + std::fmt::Debug + 'static,
846{
847    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_kx_user::GetKxUserError, R>) -> 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::get_kx_user::GetKxUserError> for Error {
858    fn from(err: crate::operation::get_kx_user::GetKxUserError) -> Self {
859        match err {
860            crate::operation::get_kx_user::GetKxUserError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
861            crate::operation::get_kx_user::GetKxUserError::InternalServerException(inner) => Error::InternalServerException(inner),
862            crate::operation::get_kx_user::GetKxUserError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
863            crate::operation::get_kx_user::GetKxUserError::ThrottlingException(inner) => Error::ThrottlingException(inner),
864            crate::operation::get_kx_user::GetKxUserError::ValidationException(inner) => Error::ValidationException(inner),
865            crate::operation::get_kx_user::GetKxUserError::Unhandled(inner) => Error::Unhandled(inner),
866        }
867    }
868}
869impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_kx_volume::GetKxVolumeError, R>> for Error
870where
871    R: Send + Sync + std::fmt::Debug + 'static,
872{
873    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_kx_volume::GetKxVolumeError, R>) -> Self {
874        match err {
875            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
876            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
877                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
878                source: err.into(),
879            }),
880        }
881    }
882}
883impl From<crate::operation::get_kx_volume::GetKxVolumeError> for Error {
884    fn from(err: crate::operation::get_kx_volume::GetKxVolumeError) -> Self {
885        match err {
886            crate::operation::get_kx_volume::GetKxVolumeError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
887            crate::operation::get_kx_volume::GetKxVolumeError::ConflictException(inner) => Error::ConflictException(inner),
888            crate::operation::get_kx_volume::GetKxVolumeError::InternalServerException(inner) => Error::InternalServerException(inner),
889            crate::operation::get_kx_volume::GetKxVolumeError::LimitExceededException(inner) => Error::LimitExceededException(inner),
890            crate::operation::get_kx_volume::GetKxVolumeError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
891            crate::operation::get_kx_volume::GetKxVolumeError::ThrottlingException(inner) => Error::ThrottlingException(inner),
892            crate::operation::get_kx_volume::GetKxVolumeError::ValidationException(inner) => Error::ValidationException(inner),
893            crate::operation::get_kx_volume::GetKxVolumeError::Unhandled(inner) => Error::Unhandled(inner),
894        }
895    }
896}
897impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_environments::ListEnvironmentsError, R>> for Error
898where
899    R: Send + Sync + std::fmt::Debug + 'static,
900{
901    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_environments::ListEnvironmentsError, R>) -> Self {
902        match err {
903            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
904            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
905                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
906                source: err.into(),
907            }),
908        }
909    }
910}
911impl From<crate::operation::list_environments::ListEnvironmentsError> for Error {
912    fn from(err: crate::operation::list_environments::ListEnvironmentsError) -> Self {
913        match err {
914            crate::operation::list_environments::ListEnvironmentsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
915            crate::operation::list_environments::ListEnvironmentsError::InternalServerException(inner) => Error::InternalServerException(inner),
916            crate::operation::list_environments::ListEnvironmentsError::ValidationException(inner) => Error::ValidationException(inner),
917            crate::operation::list_environments::ListEnvironmentsError::Unhandled(inner) => Error::Unhandled(inner),
918        }
919    }
920}
921impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_kx_changesets::ListKxChangesetsError, R>> for Error
922where
923    R: Send + Sync + std::fmt::Debug + 'static,
924{
925    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_kx_changesets::ListKxChangesetsError, R>) -> Self {
926        match err {
927            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
928            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
929                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
930                source: err.into(),
931            }),
932        }
933    }
934}
935impl From<crate::operation::list_kx_changesets::ListKxChangesetsError> for Error {
936    fn from(err: crate::operation::list_kx_changesets::ListKxChangesetsError) -> Self {
937        match err {
938            crate::operation::list_kx_changesets::ListKxChangesetsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
939            crate::operation::list_kx_changesets::ListKxChangesetsError::InternalServerException(inner) => Error::InternalServerException(inner),
940            crate::operation::list_kx_changesets::ListKxChangesetsError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
941            crate::operation::list_kx_changesets::ListKxChangesetsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
942            crate::operation::list_kx_changesets::ListKxChangesetsError::ValidationException(inner) => Error::ValidationException(inner),
943            crate::operation::list_kx_changesets::ListKxChangesetsError::Unhandled(inner) => Error::Unhandled(inner),
944        }
945    }
946}
947impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_kx_cluster_nodes::ListKxClusterNodesError, R>> for Error
948where
949    R: Send + Sync + std::fmt::Debug + 'static,
950{
951    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_kx_cluster_nodes::ListKxClusterNodesError, R>) -> Self {
952        match err {
953            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
954            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
955                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
956                source: err.into(),
957            }),
958        }
959    }
960}
961impl From<crate::operation::list_kx_cluster_nodes::ListKxClusterNodesError> for Error {
962    fn from(err: crate::operation::list_kx_cluster_nodes::ListKxClusterNodesError) -> Self {
963        match err {
964            crate::operation::list_kx_cluster_nodes::ListKxClusterNodesError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
965            crate::operation::list_kx_cluster_nodes::ListKxClusterNodesError::InternalServerException(inner) => Error::InternalServerException(inner),
966            crate::operation::list_kx_cluster_nodes::ListKxClusterNodesError::LimitExceededException(inner) => Error::LimitExceededException(inner),
967            crate::operation::list_kx_cluster_nodes::ListKxClusterNodesError::ResourceNotFoundException(inner) => {
968                Error::ResourceNotFoundException(inner)
969            }
970            crate::operation::list_kx_cluster_nodes::ListKxClusterNodesError::ThrottlingException(inner) => Error::ThrottlingException(inner),
971            crate::operation::list_kx_cluster_nodes::ListKxClusterNodesError::ValidationException(inner) => Error::ValidationException(inner),
972            crate::operation::list_kx_cluster_nodes::ListKxClusterNodesError::Unhandled(inner) => Error::Unhandled(inner),
973        }
974    }
975}
976impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_kx_clusters::ListKxClustersError, R>> for Error
977where
978    R: Send + Sync + std::fmt::Debug + 'static,
979{
980    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_kx_clusters::ListKxClustersError, R>) -> Self {
981        match err {
982            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
983            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
984                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
985                source: err.into(),
986            }),
987        }
988    }
989}
990impl From<crate::operation::list_kx_clusters::ListKxClustersError> for Error {
991    fn from(err: crate::operation::list_kx_clusters::ListKxClustersError) -> Self {
992        match err {
993            crate::operation::list_kx_clusters::ListKxClustersError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
994            crate::operation::list_kx_clusters::ListKxClustersError::ConflictException(inner) => Error::ConflictException(inner),
995            crate::operation::list_kx_clusters::ListKxClustersError::InternalServerException(inner) => Error::InternalServerException(inner),
996            crate::operation::list_kx_clusters::ListKxClustersError::LimitExceededException(inner) => Error::LimitExceededException(inner),
997            crate::operation::list_kx_clusters::ListKxClustersError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
998            crate::operation::list_kx_clusters::ListKxClustersError::ThrottlingException(inner) => Error::ThrottlingException(inner),
999            crate::operation::list_kx_clusters::ListKxClustersError::ValidationException(inner) => Error::ValidationException(inner),
1000            crate::operation::list_kx_clusters::ListKxClustersError::Unhandled(inner) => Error::Unhandled(inner),
1001        }
1002    }
1003}
1004impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_kx_databases::ListKxDatabasesError, 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::list_kx_databases::ListKxDatabasesError, 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::list_kx_databases::ListKxDatabasesError> for Error {
1019    fn from(err: crate::operation::list_kx_databases::ListKxDatabasesError) -> Self {
1020        match err {
1021            crate::operation::list_kx_databases::ListKxDatabasesError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1022            crate::operation::list_kx_databases::ListKxDatabasesError::InternalServerException(inner) => Error::InternalServerException(inner),
1023            crate::operation::list_kx_databases::ListKxDatabasesError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1024            crate::operation::list_kx_databases::ListKxDatabasesError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1025            crate::operation::list_kx_databases::ListKxDatabasesError::ValidationException(inner) => Error::ValidationException(inner),
1026            crate::operation::list_kx_databases::ListKxDatabasesError::Unhandled(inner) => Error::Unhandled(inner),
1027        }
1028    }
1029}
1030impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_kx_dataviews::ListKxDataviewsError, R>> for Error
1031where
1032    R: Send + Sync + std::fmt::Debug + 'static,
1033{
1034    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_kx_dataviews::ListKxDataviewsError, R>) -> Self {
1035        match err {
1036            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1037            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1038                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1039                source: err.into(),
1040            }),
1041        }
1042    }
1043}
1044impl From<crate::operation::list_kx_dataviews::ListKxDataviewsError> for Error {
1045    fn from(err: crate::operation::list_kx_dataviews::ListKxDataviewsError) -> Self {
1046        match err {
1047            crate::operation::list_kx_dataviews::ListKxDataviewsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1048            crate::operation::list_kx_dataviews::ListKxDataviewsError::InternalServerException(inner) => Error::InternalServerException(inner),
1049            crate::operation::list_kx_dataviews::ListKxDataviewsError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1050            crate::operation::list_kx_dataviews::ListKxDataviewsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1051            crate::operation::list_kx_dataviews::ListKxDataviewsError::ValidationException(inner) => Error::ValidationException(inner),
1052            crate::operation::list_kx_dataviews::ListKxDataviewsError::Unhandled(inner) => Error::Unhandled(inner),
1053        }
1054    }
1055}
1056impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_kx_environments::ListKxEnvironmentsError, R>> for Error
1057where
1058    R: Send + Sync + std::fmt::Debug + 'static,
1059{
1060    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_kx_environments::ListKxEnvironmentsError, R>) -> Self {
1061        match err {
1062            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1063            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1064                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1065                source: err.into(),
1066            }),
1067        }
1068    }
1069}
1070impl From<crate::operation::list_kx_environments::ListKxEnvironmentsError> for Error {
1071    fn from(err: crate::operation::list_kx_environments::ListKxEnvironmentsError) -> Self {
1072        match err {
1073            crate::operation::list_kx_environments::ListKxEnvironmentsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1074            crate::operation::list_kx_environments::ListKxEnvironmentsError::InternalServerException(inner) => Error::InternalServerException(inner),
1075            crate::operation::list_kx_environments::ListKxEnvironmentsError::ValidationException(inner) => Error::ValidationException(inner),
1076            crate::operation::list_kx_environments::ListKxEnvironmentsError::Unhandled(inner) => Error::Unhandled(inner),
1077        }
1078    }
1079}
1080impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_kx_scaling_groups::ListKxScalingGroupsError, R>> for Error
1081where
1082    R: Send + Sync + std::fmt::Debug + 'static,
1083{
1084    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_kx_scaling_groups::ListKxScalingGroupsError, R>) -> Self {
1085        match err {
1086            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1087            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1088                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1089                source: err.into(),
1090            }),
1091        }
1092    }
1093}
1094impl From<crate::operation::list_kx_scaling_groups::ListKxScalingGroupsError> for Error {
1095    fn from(err: crate::operation::list_kx_scaling_groups::ListKxScalingGroupsError) -> Self {
1096        match err {
1097            crate::operation::list_kx_scaling_groups::ListKxScalingGroupsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1098            crate::operation::list_kx_scaling_groups::ListKxScalingGroupsError::ConflictException(inner) => Error::ConflictException(inner),
1099            crate::operation::list_kx_scaling_groups::ListKxScalingGroupsError::InternalServerException(inner) => {
1100                Error::InternalServerException(inner)
1101            }
1102            crate::operation::list_kx_scaling_groups::ListKxScalingGroupsError::LimitExceededException(inner) => Error::LimitExceededException(inner),
1103            crate::operation::list_kx_scaling_groups::ListKxScalingGroupsError::ResourceNotFoundException(inner) => {
1104                Error::ResourceNotFoundException(inner)
1105            }
1106            crate::operation::list_kx_scaling_groups::ListKxScalingGroupsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1107            crate::operation::list_kx_scaling_groups::ListKxScalingGroupsError::ValidationException(inner) => Error::ValidationException(inner),
1108            crate::operation::list_kx_scaling_groups::ListKxScalingGroupsError::Unhandled(inner) => Error::Unhandled(inner),
1109        }
1110    }
1111}
1112impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_kx_users::ListKxUsersError, R>> for Error
1113where
1114    R: Send + Sync + std::fmt::Debug + 'static,
1115{
1116    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_kx_users::ListKxUsersError, R>) -> Self {
1117        match err {
1118            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1119            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1120                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1121                source: err.into(),
1122            }),
1123        }
1124    }
1125}
1126impl From<crate::operation::list_kx_users::ListKxUsersError> for Error {
1127    fn from(err: crate::operation::list_kx_users::ListKxUsersError) -> Self {
1128        match err {
1129            crate::operation::list_kx_users::ListKxUsersError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1130            crate::operation::list_kx_users::ListKxUsersError::InternalServerException(inner) => Error::InternalServerException(inner),
1131            crate::operation::list_kx_users::ListKxUsersError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1132            crate::operation::list_kx_users::ListKxUsersError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1133            crate::operation::list_kx_users::ListKxUsersError::ValidationException(inner) => Error::ValidationException(inner),
1134            crate::operation::list_kx_users::ListKxUsersError::Unhandled(inner) => Error::Unhandled(inner),
1135        }
1136    }
1137}
1138impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_kx_volumes::ListKxVolumesError, R>> for Error
1139where
1140    R: Send + Sync + std::fmt::Debug + 'static,
1141{
1142    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_kx_volumes::ListKxVolumesError, R>) -> Self {
1143        match err {
1144            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1145            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1146                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1147                source: err.into(),
1148            }),
1149        }
1150    }
1151}
1152impl From<crate::operation::list_kx_volumes::ListKxVolumesError> for Error {
1153    fn from(err: crate::operation::list_kx_volumes::ListKxVolumesError) -> Self {
1154        match err {
1155            crate::operation::list_kx_volumes::ListKxVolumesError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1156            crate::operation::list_kx_volumes::ListKxVolumesError::ConflictException(inner) => Error::ConflictException(inner),
1157            crate::operation::list_kx_volumes::ListKxVolumesError::InternalServerException(inner) => Error::InternalServerException(inner),
1158            crate::operation::list_kx_volumes::ListKxVolumesError::LimitExceededException(inner) => Error::LimitExceededException(inner),
1159            crate::operation::list_kx_volumes::ListKxVolumesError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1160            crate::operation::list_kx_volumes::ListKxVolumesError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1161            crate::operation::list_kx_volumes::ListKxVolumesError::ValidationException(inner) => Error::ValidationException(inner),
1162            crate::operation::list_kx_volumes::ListKxVolumesError::Unhandled(inner) => Error::Unhandled(inner),
1163        }
1164    }
1165}
1166impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_tags_for_resource::ListTagsForResourceError, R>> for Error
1167where
1168    R: Send + Sync + std::fmt::Debug + 'static,
1169{
1170    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_tags_for_resource::ListTagsForResourceError, R>) -> Self {
1171        match err {
1172            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1173            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1174                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1175                source: err.into(),
1176            }),
1177        }
1178    }
1179}
1180impl From<crate::operation::list_tags_for_resource::ListTagsForResourceError> for Error {
1181    fn from(err: crate::operation::list_tags_for_resource::ListTagsForResourceError) -> Self {
1182        match err {
1183            crate::operation::list_tags_for_resource::ListTagsForResourceError::InternalServerException(inner) => {
1184                Error::InternalServerException(inner)
1185            }
1186            crate::operation::list_tags_for_resource::ListTagsForResourceError::InvalidRequestException(inner) => {
1187                Error::InvalidRequestException(inner)
1188            }
1189            crate::operation::list_tags_for_resource::ListTagsForResourceError::ResourceNotFoundException(inner) => {
1190                Error::ResourceNotFoundException(inner)
1191            }
1192            crate::operation::list_tags_for_resource::ListTagsForResourceError::Unhandled(inner) => Error::Unhandled(inner),
1193        }
1194    }
1195}
1196impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::tag_resource::TagResourceError, R>> for Error
1197where
1198    R: Send + Sync + std::fmt::Debug + 'static,
1199{
1200    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::tag_resource::TagResourceError, R>) -> Self {
1201        match err {
1202            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1203            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1204                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1205                source: err.into(),
1206            }),
1207        }
1208    }
1209}
1210impl From<crate::operation::tag_resource::TagResourceError> for Error {
1211    fn from(err: crate::operation::tag_resource::TagResourceError) -> Self {
1212        match err {
1213            crate::operation::tag_resource::TagResourceError::InternalServerException(inner) => Error::InternalServerException(inner),
1214            crate::operation::tag_resource::TagResourceError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
1215            crate::operation::tag_resource::TagResourceError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1216            crate::operation::tag_resource::TagResourceError::Unhandled(inner) => Error::Unhandled(inner),
1217        }
1218    }
1219}
1220impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::untag_resource::UntagResourceError, R>> for Error
1221where
1222    R: Send + Sync + std::fmt::Debug + 'static,
1223{
1224    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::untag_resource::UntagResourceError, R>) -> Self {
1225        match err {
1226            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1227            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1228                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1229                source: err.into(),
1230            }),
1231        }
1232    }
1233}
1234impl From<crate::operation::untag_resource::UntagResourceError> for Error {
1235    fn from(err: crate::operation::untag_resource::UntagResourceError) -> Self {
1236        match err {
1237            crate::operation::untag_resource::UntagResourceError::InternalServerException(inner) => Error::InternalServerException(inner),
1238            crate::operation::untag_resource::UntagResourceError::InvalidRequestException(inner) => Error::InvalidRequestException(inner),
1239            crate::operation::untag_resource::UntagResourceError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1240            crate::operation::untag_resource::UntagResourceError::Unhandled(inner) => Error::Unhandled(inner),
1241        }
1242    }
1243}
1244impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_environment::UpdateEnvironmentError, R>> for Error
1245where
1246    R: Send + Sync + std::fmt::Debug + 'static,
1247{
1248    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_environment::UpdateEnvironmentError, R>) -> Self {
1249        match err {
1250            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1251            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1252                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1253                source: err.into(),
1254            }),
1255        }
1256    }
1257}
1258impl From<crate::operation::update_environment::UpdateEnvironmentError> for Error {
1259    fn from(err: crate::operation::update_environment::UpdateEnvironmentError) -> Self {
1260        match err {
1261            crate::operation::update_environment::UpdateEnvironmentError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1262            crate::operation::update_environment::UpdateEnvironmentError::InternalServerException(inner) => Error::InternalServerException(inner),
1263            crate::operation::update_environment::UpdateEnvironmentError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1264            crate::operation::update_environment::UpdateEnvironmentError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1265            crate::operation::update_environment::UpdateEnvironmentError::ValidationException(inner) => Error::ValidationException(inner),
1266            crate::operation::update_environment::UpdateEnvironmentError::Unhandled(inner) => Error::Unhandled(inner),
1267        }
1268    }
1269}
1270impl<R>
1271    From<
1272        ::aws_smithy_runtime_api::client::result::SdkError<
1273            crate::operation::update_kx_cluster_code_configuration::UpdateKxClusterCodeConfigurationError,
1274            R,
1275        >,
1276    > for Error
1277where
1278    R: Send + Sync + std::fmt::Debug + 'static,
1279{
1280    fn from(
1281        err: ::aws_smithy_runtime_api::client::result::SdkError<
1282            crate::operation::update_kx_cluster_code_configuration::UpdateKxClusterCodeConfigurationError,
1283            R,
1284        >,
1285    ) -> Self {
1286        match err {
1287            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1288            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1289                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1290                source: err.into(),
1291            }),
1292        }
1293    }
1294}
1295impl From<crate::operation::update_kx_cluster_code_configuration::UpdateKxClusterCodeConfigurationError> for Error {
1296    fn from(err: crate::operation::update_kx_cluster_code_configuration::UpdateKxClusterCodeConfigurationError) -> Self {
1297        match err {
1298            crate::operation::update_kx_cluster_code_configuration::UpdateKxClusterCodeConfigurationError::AccessDeniedException(inner) => {
1299                Error::AccessDeniedException(inner)
1300            }
1301            crate::operation::update_kx_cluster_code_configuration::UpdateKxClusterCodeConfigurationError::ConflictException(inner) => {
1302                Error::ConflictException(inner)
1303            }
1304            crate::operation::update_kx_cluster_code_configuration::UpdateKxClusterCodeConfigurationError::InternalServerException(inner) => {
1305                Error::InternalServerException(inner)
1306            }
1307            crate::operation::update_kx_cluster_code_configuration::UpdateKxClusterCodeConfigurationError::LimitExceededException(inner) => {
1308                Error::LimitExceededException(inner)
1309            }
1310            crate::operation::update_kx_cluster_code_configuration::UpdateKxClusterCodeConfigurationError::ResourceNotFoundException(inner) => {
1311                Error::ResourceNotFoundException(inner)
1312            }
1313            crate::operation::update_kx_cluster_code_configuration::UpdateKxClusterCodeConfigurationError::ThrottlingException(inner) => {
1314                Error::ThrottlingException(inner)
1315            }
1316            crate::operation::update_kx_cluster_code_configuration::UpdateKxClusterCodeConfigurationError::ValidationException(inner) => {
1317                Error::ValidationException(inner)
1318            }
1319            crate::operation::update_kx_cluster_code_configuration::UpdateKxClusterCodeConfigurationError::Unhandled(inner) => {
1320                Error::Unhandled(inner)
1321            }
1322        }
1323    }
1324}
1325impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_kx_cluster_databases::UpdateKxClusterDatabasesError, R>>
1326    for Error
1327where
1328    R: Send + Sync + std::fmt::Debug + 'static,
1329{
1330    fn from(
1331        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_kx_cluster_databases::UpdateKxClusterDatabasesError, R>,
1332    ) -> Self {
1333        match err {
1334            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1335            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1336                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1337                source: err.into(),
1338            }),
1339        }
1340    }
1341}
1342impl From<crate::operation::update_kx_cluster_databases::UpdateKxClusterDatabasesError> for Error {
1343    fn from(err: crate::operation::update_kx_cluster_databases::UpdateKxClusterDatabasesError) -> Self {
1344        match err {
1345            crate::operation::update_kx_cluster_databases::UpdateKxClusterDatabasesError::AccessDeniedException(inner) => {
1346                Error::AccessDeniedException(inner)
1347            }
1348            crate::operation::update_kx_cluster_databases::UpdateKxClusterDatabasesError::ConflictException(inner) => Error::ConflictException(inner),
1349            crate::operation::update_kx_cluster_databases::UpdateKxClusterDatabasesError::InternalServerException(inner) => {
1350                Error::InternalServerException(inner)
1351            }
1352            crate::operation::update_kx_cluster_databases::UpdateKxClusterDatabasesError::LimitExceededException(inner) => {
1353                Error::LimitExceededException(inner)
1354            }
1355            crate::operation::update_kx_cluster_databases::UpdateKxClusterDatabasesError::ResourceNotFoundException(inner) => {
1356                Error::ResourceNotFoundException(inner)
1357            }
1358            crate::operation::update_kx_cluster_databases::UpdateKxClusterDatabasesError::ThrottlingException(inner) => {
1359                Error::ThrottlingException(inner)
1360            }
1361            crate::operation::update_kx_cluster_databases::UpdateKxClusterDatabasesError::ValidationException(inner) => {
1362                Error::ValidationException(inner)
1363            }
1364            crate::operation::update_kx_cluster_databases::UpdateKxClusterDatabasesError::Unhandled(inner) => Error::Unhandled(inner),
1365        }
1366    }
1367}
1368impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_kx_database::UpdateKxDatabaseError, R>> for Error
1369where
1370    R: Send + Sync + std::fmt::Debug + 'static,
1371{
1372    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_kx_database::UpdateKxDatabaseError, R>) -> Self {
1373        match err {
1374            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1375            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1376                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1377                source: err.into(),
1378            }),
1379        }
1380    }
1381}
1382impl From<crate::operation::update_kx_database::UpdateKxDatabaseError> for Error {
1383    fn from(err: crate::operation::update_kx_database::UpdateKxDatabaseError) -> Self {
1384        match err {
1385            crate::operation::update_kx_database::UpdateKxDatabaseError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1386            crate::operation::update_kx_database::UpdateKxDatabaseError::ConflictException(inner) => Error::ConflictException(inner),
1387            crate::operation::update_kx_database::UpdateKxDatabaseError::InternalServerException(inner) => Error::InternalServerException(inner),
1388            crate::operation::update_kx_database::UpdateKxDatabaseError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1389            crate::operation::update_kx_database::UpdateKxDatabaseError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1390            crate::operation::update_kx_database::UpdateKxDatabaseError::ValidationException(inner) => Error::ValidationException(inner),
1391            crate::operation::update_kx_database::UpdateKxDatabaseError::Unhandled(inner) => Error::Unhandled(inner),
1392        }
1393    }
1394}
1395impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_kx_dataview::UpdateKxDataviewError, R>> for Error
1396where
1397    R: Send + Sync + std::fmt::Debug + 'static,
1398{
1399    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_kx_dataview::UpdateKxDataviewError, R>) -> Self {
1400        match err {
1401            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1402            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1403                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1404                source: err.into(),
1405            }),
1406        }
1407    }
1408}
1409impl From<crate::operation::update_kx_dataview::UpdateKxDataviewError> for Error {
1410    fn from(err: crate::operation::update_kx_dataview::UpdateKxDataviewError) -> Self {
1411        match err {
1412            crate::operation::update_kx_dataview::UpdateKxDataviewError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1413            crate::operation::update_kx_dataview::UpdateKxDataviewError::ConflictException(inner) => Error::ConflictException(inner),
1414            crate::operation::update_kx_dataview::UpdateKxDataviewError::InternalServerException(inner) => Error::InternalServerException(inner),
1415            crate::operation::update_kx_dataview::UpdateKxDataviewError::ResourceAlreadyExistsException(inner) => {
1416                Error::ResourceAlreadyExistsException(inner)
1417            }
1418            crate::operation::update_kx_dataview::UpdateKxDataviewError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1419            crate::operation::update_kx_dataview::UpdateKxDataviewError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1420            crate::operation::update_kx_dataview::UpdateKxDataviewError::ValidationException(inner) => Error::ValidationException(inner),
1421            crate::operation::update_kx_dataview::UpdateKxDataviewError::Unhandled(inner) => Error::Unhandled(inner),
1422        }
1423    }
1424}
1425impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_kx_environment::UpdateKxEnvironmentError, R>> for Error
1426where
1427    R: Send + Sync + std::fmt::Debug + 'static,
1428{
1429    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_kx_environment::UpdateKxEnvironmentError, R>) -> Self {
1430        match err {
1431            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1432            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1433                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1434                source: err.into(),
1435            }),
1436        }
1437    }
1438}
1439impl From<crate::operation::update_kx_environment::UpdateKxEnvironmentError> for Error {
1440    fn from(err: crate::operation::update_kx_environment::UpdateKxEnvironmentError) -> Self {
1441        match err {
1442            crate::operation::update_kx_environment::UpdateKxEnvironmentError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1443            crate::operation::update_kx_environment::UpdateKxEnvironmentError::ConflictException(inner) => Error::ConflictException(inner),
1444            crate::operation::update_kx_environment::UpdateKxEnvironmentError::InternalServerException(inner) => {
1445                Error::InternalServerException(inner)
1446            }
1447            crate::operation::update_kx_environment::UpdateKxEnvironmentError::ResourceNotFoundException(inner) => {
1448                Error::ResourceNotFoundException(inner)
1449            }
1450            crate::operation::update_kx_environment::UpdateKxEnvironmentError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1451            crate::operation::update_kx_environment::UpdateKxEnvironmentError::ValidationException(inner) => Error::ValidationException(inner),
1452            crate::operation::update_kx_environment::UpdateKxEnvironmentError::Unhandled(inner) => Error::Unhandled(inner),
1453        }
1454    }
1455}
1456impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_kx_environment_network::UpdateKxEnvironmentNetworkError, R>>
1457    for Error
1458where
1459    R: Send + Sync + std::fmt::Debug + 'static,
1460{
1461    fn from(
1462        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_kx_environment_network::UpdateKxEnvironmentNetworkError, R>,
1463    ) -> Self {
1464        match err {
1465            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1466            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1467                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1468                source: err.into(),
1469            }),
1470        }
1471    }
1472}
1473impl From<crate::operation::update_kx_environment_network::UpdateKxEnvironmentNetworkError> for Error {
1474    fn from(err: crate::operation::update_kx_environment_network::UpdateKxEnvironmentNetworkError) -> Self {
1475        match err {
1476            crate::operation::update_kx_environment_network::UpdateKxEnvironmentNetworkError::AccessDeniedException(inner) => {
1477                Error::AccessDeniedException(inner)
1478            }
1479            crate::operation::update_kx_environment_network::UpdateKxEnvironmentNetworkError::ConflictException(inner) => {
1480                Error::ConflictException(inner)
1481            }
1482            crate::operation::update_kx_environment_network::UpdateKxEnvironmentNetworkError::InternalServerException(inner) => {
1483                Error::InternalServerException(inner)
1484            }
1485            crate::operation::update_kx_environment_network::UpdateKxEnvironmentNetworkError::ResourceNotFoundException(inner) => {
1486                Error::ResourceNotFoundException(inner)
1487            }
1488            crate::operation::update_kx_environment_network::UpdateKxEnvironmentNetworkError::ThrottlingException(inner) => {
1489                Error::ThrottlingException(inner)
1490            }
1491            crate::operation::update_kx_environment_network::UpdateKxEnvironmentNetworkError::ValidationException(inner) => {
1492                Error::ValidationException(inner)
1493            }
1494            crate::operation::update_kx_environment_network::UpdateKxEnvironmentNetworkError::Unhandled(inner) => Error::Unhandled(inner),
1495        }
1496    }
1497}
1498impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_kx_user::UpdateKxUserError, R>> for Error
1499where
1500    R: Send + Sync + std::fmt::Debug + 'static,
1501{
1502    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_kx_user::UpdateKxUserError, R>) -> Self {
1503        match err {
1504            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1505            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1506                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1507                source: err.into(),
1508            }),
1509        }
1510    }
1511}
1512impl From<crate::operation::update_kx_user::UpdateKxUserError> for Error {
1513    fn from(err: crate::operation::update_kx_user::UpdateKxUserError) -> Self {
1514        match err {
1515            crate::operation::update_kx_user::UpdateKxUserError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1516            crate::operation::update_kx_user::UpdateKxUserError::ConflictException(inner) => Error::ConflictException(inner),
1517            crate::operation::update_kx_user::UpdateKxUserError::InternalServerException(inner) => Error::InternalServerException(inner),
1518            crate::operation::update_kx_user::UpdateKxUserError::LimitExceededException(inner) => Error::LimitExceededException(inner),
1519            crate::operation::update_kx_user::UpdateKxUserError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1520            crate::operation::update_kx_user::UpdateKxUserError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1521            crate::operation::update_kx_user::UpdateKxUserError::ValidationException(inner) => Error::ValidationException(inner),
1522            crate::operation::update_kx_user::UpdateKxUserError::Unhandled(inner) => Error::Unhandled(inner),
1523        }
1524    }
1525}
1526impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_kx_volume::UpdateKxVolumeError, R>> for Error
1527where
1528    R: Send + Sync + std::fmt::Debug + 'static,
1529{
1530    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_kx_volume::UpdateKxVolumeError, R>) -> Self {
1531        match err {
1532            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1533            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1534                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1535                source: err.into(),
1536            }),
1537        }
1538    }
1539}
1540impl From<crate::operation::update_kx_volume::UpdateKxVolumeError> for Error {
1541    fn from(err: crate::operation::update_kx_volume::UpdateKxVolumeError) -> Self {
1542        match err {
1543            crate::operation::update_kx_volume::UpdateKxVolumeError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1544            crate::operation::update_kx_volume::UpdateKxVolumeError::ConflictException(inner) => Error::ConflictException(inner),
1545            crate::operation::update_kx_volume::UpdateKxVolumeError::InternalServerException(inner) => Error::InternalServerException(inner),
1546            crate::operation::update_kx_volume::UpdateKxVolumeError::LimitExceededException(inner) => Error::LimitExceededException(inner),
1547            crate::operation::update_kx_volume::UpdateKxVolumeError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1548            crate::operation::update_kx_volume::UpdateKxVolumeError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1549            crate::operation::update_kx_volume::UpdateKxVolumeError::ValidationException(inner) => Error::ValidationException(inner),
1550            crate::operation::update_kx_volume::UpdateKxVolumeError::Unhandled(inner) => Error::Unhandled(inner),
1551        }
1552    }
1553}
1554impl ::std::error::Error for Error {
1555    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
1556        match self {
1557            Error::AccessDeniedException(inner) => inner.source(),
1558            Error::ConflictException(inner) => inner.source(),
1559            Error::InternalServerException(inner) => inner.source(),
1560            Error::InvalidRequestException(inner) => inner.source(),
1561            Error::LimitExceededException(inner) => inner.source(),
1562            Error::ResourceAlreadyExistsException(inner) => inner.source(),
1563            Error::ResourceNotFoundException(inner) => inner.source(),
1564            Error::ServiceQuotaExceededException(inner) => inner.source(),
1565            Error::ThrottlingException(inner) => inner.source(),
1566            Error::ValidationException(inner) => inner.source(),
1567            Error::Unhandled(inner) => ::std::option::Option::Some(&*inner.source),
1568        }
1569    }
1570}
1571impl ::aws_types::request_id::RequestId for Error {
1572    fn request_id(&self) -> Option<&str> {
1573        match self {
1574            Self::AccessDeniedException(e) => e.request_id(),
1575            Self::ConflictException(e) => e.request_id(),
1576            Self::InternalServerException(e) => e.request_id(),
1577            Self::InvalidRequestException(e) => e.request_id(),
1578            Self::LimitExceededException(e) => e.request_id(),
1579            Self::ResourceAlreadyExistsException(e) => e.request_id(),
1580            Self::ResourceNotFoundException(e) => e.request_id(),
1581            Self::ServiceQuotaExceededException(e) => e.request_id(),
1582            Self::ThrottlingException(e) => e.request_id(),
1583            Self::ValidationException(e) => e.request_id(),
1584            Self::Unhandled(e) => e.meta.request_id(),
1585        }
1586    }
1587}