Skip to main content

aws_sdk_kafka/
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>Returns information about an error.</p>
7    BadRequestException(crate::types::error::BadRequestException),
8    /// <p>Returns information about an error.</p>
9    ClusterConnectivityException(crate::types::error::ClusterConnectivityException),
10    /// <p>Returns information about an error.</p>
11    ConflictException(crate::types::error::ConflictException),
12    /// <p>Returns information about an error.</p>
13    ControllerMovedException(crate::types::error::ControllerMovedException),
14    /// <p>Returns information about an error.</p>
15    ForbiddenException(crate::types::error::ForbiddenException),
16    /// <p>Returns information about an error.</p>
17    GroupSubscribedToTopicException(crate::types::error::GroupSubscribedToTopicException),
18    /// <p>Returns information about an error.</p>
19    InternalServerErrorException(crate::types::error::InternalServerErrorException),
20    /// <p>Returns information about an error.</p>
21    KafkaRequestException(crate::types::error::KafkaRequestException),
22    /// <p>Returns information about an error.</p>
23    KafkaTimeoutException(crate::types::error::KafkaTimeoutException),
24    /// <p>Returns information about an error.</p>
25    NotControllerException(crate::types::error::NotControllerException),
26    /// <p>Returns information about an error.</p>
27    NotFoundException(crate::types::error::NotFoundException),
28    /// <p>Returns information about an error.</p>
29    ReassignmentInProgressException(crate::types::error::ReassignmentInProgressException),
30    /// <p>Returns information about an error.</p>
31    ServiceUnavailableException(crate::types::error::ServiceUnavailableException),
32    /// <p>Returns information about an error.</p>
33    TooManyRequestsException(crate::types::error::TooManyRequestsException),
34    /// <p>Returns information about an error.</p>
35    TopicExistsException(crate::types::error::TopicExistsException),
36    /// <p>Returns information about an error.</p>
37    UnauthorizedException(crate::types::error::UnauthorizedException),
38    /// <p>Returns information about an error.</p>
39    UnknownTopicOrPartitionException(crate::types::error::UnknownTopicOrPartitionException),
40    /// An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
41    #[deprecated(note = "Matching `Unhandled` directly is not forwards compatible. Instead, match using a \
42    variable wildcard pattern and check `.code()`:
43     \
44    &nbsp;&nbsp;&nbsp;`err if err.code() == Some(\"SpecificExceptionCode\") => { /* handle the error */ }`
45     \
46    See [`ProvideErrorMetadata`](#impl-ProvideErrorMetadata-for-Error) for what information is available for the error.")]
47    Unhandled(crate::error::sealed_unhandled::Unhandled),
48}
49impl ::std::fmt::Display for Error {
50    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
51        match self {
52            Error::BadRequestException(inner) => inner.fmt(f),
53            Error::ClusterConnectivityException(inner) => inner.fmt(f),
54            Error::ConflictException(inner) => inner.fmt(f),
55            Error::ControllerMovedException(inner) => inner.fmt(f),
56            Error::ForbiddenException(inner) => inner.fmt(f),
57            Error::GroupSubscribedToTopicException(inner) => inner.fmt(f),
58            Error::InternalServerErrorException(inner) => inner.fmt(f),
59            Error::KafkaRequestException(inner) => inner.fmt(f),
60            Error::KafkaTimeoutException(inner) => inner.fmt(f),
61            Error::NotControllerException(inner) => inner.fmt(f),
62            Error::NotFoundException(inner) => inner.fmt(f),
63            Error::ReassignmentInProgressException(inner) => inner.fmt(f),
64            Error::ServiceUnavailableException(inner) => inner.fmt(f),
65            Error::TooManyRequestsException(inner) => inner.fmt(f),
66            Error::TopicExistsException(inner) => inner.fmt(f),
67            Error::UnauthorizedException(inner) => inner.fmt(f),
68            Error::UnknownTopicOrPartitionException(inner) => inner.fmt(f),
69            Error::Unhandled(_) => {
70                if let ::std::option::Option::Some(code) = ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self) {
71                    write!(f, "unhandled error ({code})")
72                } else {
73                    f.write_str("unhandled error")
74                }
75            }
76        }
77    }
78}
79impl From<::aws_smithy_types::error::operation::BuildError> for Error {
80    fn from(value: ::aws_smithy_types::error::operation::BuildError) -> Self {
81        Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
82            source: value.into(),
83            meta: ::std::default::Default::default(),
84        })
85    }
86}
87impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for Error {
88    fn meta(&self) -> &::aws_smithy_types::error::metadata::ErrorMetadata {
89        match self {
90            Self::BadRequestException(inner) => inner.meta(),
91            Self::ClusterConnectivityException(inner) => inner.meta(),
92            Self::ConflictException(inner) => inner.meta(),
93            Self::ControllerMovedException(inner) => inner.meta(),
94            Self::ForbiddenException(inner) => inner.meta(),
95            Self::GroupSubscribedToTopicException(inner) => inner.meta(),
96            Self::InternalServerErrorException(inner) => inner.meta(),
97            Self::KafkaRequestException(inner) => inner.meta(),
98            Self::KafkaTimeoutException(inner) => inner.meta(),
99            Self::NotControllerException(inner) => inner.meta(),
100            Self::NotFoundException(inner) => inner.meta(),
101            Self::ReassignmentInProgressException(inner) => inner.meta(),
102            Self::ServiceUnavailableException(inner) => inner.meta(),
103            Self::TooManyRequestsException(inner) => inner.meta(),
104            Self::TopicExistsException(inner) => inner.meta(),
105            Self::UnauthorizedException(inner) => inner.meta(),
106            Self::UnknownTopicOrPartitionException(inner) => inner.meta(),
107            Self::Unhandled(inner) => &inner.meta,
108        }
109    }
110}
111impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_associate_scram_secret::BatchAssociateScramSecretError, R>>
112    for Error
113where
114    R: Send + Sync + std::fmt::Debug + 'static,
115{
116    fn from(
117        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_associate_scram_secret::BatchAssociateScramSecretError, R>,
118    ) -> Self {
119        match err {
120            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
121            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
122                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
123                source: err.into(),
124            }),
125        }
126    }
127}
128impl From<crate::operation::batch_associate_scram_secret::BatchAssociateScramSecretError> for Error {
129    fn from(err: crate::operation::batch_associate_scram_secret::BatchAssociateScramSecretError) -> Self {
130        match err {
131            crate::operation::batch_associate_scram_secret::BatchAssociateScramSecretError::BadRequestException(inner) => {
132                Error::BadRequestException(inner)
133            }
134            crate::operation::batch_associate_scram_secret::BatchAssociateScramSecretError::ForbiddenException(inner) => {
135                Error::ForbiddenException(inner)
136            }
137            crate::operation::batch_associate_scram_secret::BatchAssociateScramSecretError::InternalServerErrorException(inner) => {
138                Error::InternalServerErrorException(inner)
139            }
140            crate::operation::batch_associate_scram_secret::BatchAssociateScramSecretError::NotFoundException(inner) => {
141                Error::NotFoundException(inner)
142            }
143            crate::operation::batch_associate_scram_secret::BatchAssociateScramSecretError::ServiceUnavailableException(inner) => {
144                Error::ServiceUnavailableException(inner)
145            }
146            crate::operation::batch_associate_scram_secret::BatchAssociateScramSecretError::TooManyRequestsException(inner) => {
147                Error::TooManyRequestsException(inner)
148            }
149            crate::operation::batch_associate_scram_secret::BatchAssociateScramSecretError::UnauthorizedException(inner) => {
150                Error::UnauthorizedException(inner)
151            }
152            crate::operation::batch_associate_scram_secret::BatchAssociateScramSecretError::Unhandled(inner) => Error::Unhandled(inner),
153        }
154    }
155}
156impl<R>
157    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_disassociate_scram_secret::BatchDisassociateScramSecretError, R>>
158    for Error
159where
160    R: Send + Sync + std::fmt::Debug + 'static,
161{
162    fn from(
163        err: ::aws_smithy_runtime_api::client::result::SdkError<
164            crate::operation::batch_disassociate_scram_secret::BatchDisassociateScramSecretError,
165            R,
166        >,
167    ) -> Self {
168        match err {
169            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
170            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
171                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
172                source: err.into(),
173            }),
174        }
175    }
176}
177impl From<crate::operation::batch_disassociate_scram_secret::BatchDisassociateScramSecretError> for Error {
178    fn from(err: crate::operation::batch_disassociate_scram_secret::BatchDisassociateScramSecretError) -> Self {
179        match err {
180            crate::operation::batch_disassociate_scram_secret::BatchDisassociateScramSecretError::BadRequestException(inner) => {
181                Error::BadRequestException(inner)
182            }
183            crate::operation::batch_disassociate_scram_secret::BatchDisassociateScramSecretError::ForbiddenException(inner) => {
184                Error::ForbiddenException(inner)
185            }
186            crate::operation::batch_disassociate_scram_secret::BatchDisassociateScramSecretError::InternalServerErrorException(inner) => {
187                Error::InternalServerErrorException(inner)
188            }
189            crate::operation::batch_disassociate_scram_secret::BatchDisassociateScramSecretError::NotFoundException(inner) => {
190                Error::NotFoundException(inner)
191            }
192            crate::operation::batch_disassociate_scram_secret::BatchDisassociateScramSecretError::ServiceUnavailableException(inner) => {
193                Error::ServiceUnavailableException(inner)
194            }
195            crate::operation::batch_disassociate_scram_secret::BatchDisassociateScramSecretError::TooManyRequestsException(inner) => {
196                Error::TooManyRequestsException(inner)
197            }
198            crate::operation::batch_disassociate_scram_secret::BatchDisassociateScramSecretError::UnauthorizedException(inner) => {
199                Error::UnauthorizedException(inner)
200            }
201            crate::operation::batch_disassociate_scram_secret::BatchDisassociateScramSecretError::Unhandled(inner) => Error::Unhandled(inner),
202        }
203    }
204}
205impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_cluster::CreateClusterError, R>> for Error
206where
207    R: Send + Sync + std::fmt::Debug + 'static,
208{
209    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_cluster::CreateClusterError, R>) -> Self {
210        match err {
211            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
212            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
213                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
214                source: err.into(),
215            }),
216        }
217    }
218}
219impl From<crate::operation::create_cluster::CreateClusterError> for Error {
220    fn from(err: crate::operation::create_cluster::CreateClusterError) -> Self {
221        match err {
222            crate::operation::create_cluster::CreateClusterError::BadRequestException(inner) => Error::BadRequestException(inner),
223            crate::operation::create_cluster::CreateClusterError::ConflictException(inner) => Error::ConflictException(inner),
224            crate::operation::create_cluster::CreateClusterError::ForbiddenException(inner) => Error::ForbiddenException(inner),
225            crate::operation::create_cluster::CreateClusterError::InternalServerErrorException(inner) => Error::InternalServerErrorException(inner),
226            crate::operation::create_cluster::CreateClusterError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
227            crate::operation::create_cluster::CreateClusterError::TooManyRequestsException(inner) => Error::TooManyRequestsException(inner),
228            crate::operation::create_cluster::CreateClusterError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
229            crate::operation::create_cluster::CreateClusterError::Unhandled(inner) => Error::Unhandled(inner),
230        }
231    }
232}
233impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_cluster_v2::CreateClusterV2Error, R>> for Error
234where
235    R: Send + Sync + std::fmt::Debug + 'static,
236{
237    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_cluster_v2::CreateClusterV2Error, R>) -> Self {
238        match err {
239            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
240            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
241                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
242                source: err.into(),
243            }),
244        }
245    }
246}
247impl From<crate::operation::create_cluster_v2::CreateClusterV2Error> for Error {
248    fn from(err: crate::operation::create_cluster_v2::CreateClusterV2Error) -> Self {
249        match err {
250            crate::operation::create_cluster_v2::CreateClusterV2Error::BadRequestException(inner) => Error::BadRequestException(inner),
251            crate::operation::create_cluster_v2::CreateClusterV2Error::ConflictException(inner) => Error::ConflictException(inner),
252            crate::operation::create_cluster_v2::CreateClusterV2Error::ForbiddenException(inner) => Error::ForbiddenException(inner),
253            crate::operation::create_cluster_v2::CreateClusterV2Error::InternalServerErrorException(inner) => {
254                Error::InternalServerErrorException(inner)
255            }
256            crate::operation::create_cluster_v2::CreateClusterV2Error::ServiceUnavailableException(inner) => {
257                Error::ServiceUnavailableException(inner)
258            }
259            crate::operation::create_cluster_v2::CreateClusterV2Error::TooManyRequestsException(inner) => Error::TooManyRequestsException(inner),
260            crate::operation::create_cluster_v2::CreateClusterV2Error::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
261            crate::operation::create_cluster_v2::CreateClusterV2Error::Unhandled(inner) => Error::Unhandled(inner),
262        }
263    }
264}
265impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_configuration::CreateConfigurationError, R>> for Error
266where
267    R: Send + Sync + std::fmt::Debug + 'static,
268{
269    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_configuration::CreateConfigurationError, R>) -> Self {
270        match err {
271            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
272            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
273                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
274                source: err.into(),
275            }),
276        }
277    }
278}
279impl From<crate::operation::create_configuration::CreateConfigurationError> for Error {
280    fn from(err: crate::operation::create_configuration::CreateConfigurationError) -> Self {
281        match err {
282            crate::operation::create_configuration::CreateConfigurationError::BadRequestException(inner) => Error::BadRequestException(inner),
283            crate::operation::create_configuration::CreateConfigurationError::ConflictException(inner) => Error::ConflictException(inner),
284            crate::operation::create_configuration::CreateConfigurationError::ForbiddenException(inner) => Error::ForbiddenException(inner),
285            crate::operation::create_configuration::CreateConfigurationError::InternalServerErrorException(inner) => {
286                Error::InternalServerErrorException(inner)
287            }
288            crate::operation::create_configuration::CreateConfigurationError::ServiceUnavailableException(inner) => {
289                Error::ServiceUnavailableException(inner)
290            }
291            crate::operation::create_configuration::CreateConfigurationError::TooManyRequestsException(inner) => {
292                Error::TooManyRequestsException(inner)
293            }
294            crate::operation::create_configuration::CreateConfigurationError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
295            crate::operation::create_configuration::CreateConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
296        }
297    }
298}
299impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_replicator::CreateReplicatorError, R>> for Error
300where
301    R: Send + Sync + std::fmt::Debug + 'static,
302{
303    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_replicator::CreateReplicatorError, R>) -> Self {
304        match err {
305            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
306            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
307                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
308                source: err.into(),
309            }),
310        }
311    }
312}
313impl From<crate::operation::create_replicator::CreateReplicatorError> for Error {
314    fn from(err: crate::operation::create_replicator::CreateReplicatorError) -> Self {
315        match err {
316            crate::operation::create_replicator::CreateReplicatorError::BadRequestException(inner) => Error::BadRequestException(inner),
317            crate::operation::create_replicator::CreateReplicatorError::ConflictException(inner) => Error::ConflictException(inner),
318            crate::operation::create_replicator::CreateReplicatorError::ForbiddenException(inner) => Error::ForbiddenException(inner),
319            crate::operation::create_replicator::CreateReplicatorError::InternalServerErrorException(inner) => {
320                Error::InternalServerErrorException(inner)
321            }
322            crate::operation::create_replicator::CreateReplicatorError::NotFoundException(inner) => Error::NotFoundException(inner),
323            crate::operation::create_replicator::CreateReplicatorError::ServiceUnavailableException(inner) => {
324                Error::ServiceUnavailableException(inner)
325            }
326            crate::operation::create_replicator::CreateReplicatorError::TooManyRequestsException(inner) => Error::TooManyRequestsException(inner),
327            crate::operation::create_replicator::CreateReplicatorError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
328            crate::operation::create_replicator::CreateReplicatorError::Unhandled(inner) => Error::Unhandled(inner),
329        }
330    }
331}
332impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_topic::CreateTopicError, R>> for Error
333where
334    R: Send + Sync + std::fmt::Debug + 'static,
335{
336    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_topic::CreateTopicError, R>) -> Self {
337        match err {
338            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
339            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
340                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
341                source: err.into(),
342            }),
343        }
344    }
345}
346impl From<crate::operation::create_topic::CreateTopicError> for Error {
347    fn from(err: crate::operation::create_topic::CreateTopicError) -> Self {
348        match err {
349            crate::operation::create_topic::CreateTopicError::BadRequestException(inner) => Error::BadRequestException(inner),
350            crate::operation::create_topic::CreateTopicError::ClusterConnectivityException(inner) => Error::ClusterConnectivityException(inner),
351            crate::operation::create_topic::CreateTopicError::ConflictException(inner) => Error::ConflictException(inner),
352            crate::operation::create_topic::CreateTopicError::ControllerMovedException(inner) => Error::ControllerMovedException(inner),
353            crate::operation::create_topic::CreateTopicError::ForbiddenException(inner) => Error::ForbiddenException(inner),
354            crate::operation::create_topic::CreateTopicError::GroupSubscribedToTopicException(inner) => Error::GroupSubscribedToTopicException(inner),
355            crate::operation::create_topic::CreateTopicError::InternalServerErrorException(inner) => Error::InternalServerErrorException(inner),
356            crate::operation::create_topic::CreateTopicError::KafkaRequestException(inner) => Error::KafkaRequestException(inner),
357            crate::operation::create_topic::CreateTopicError::KafkaTimeoutException(inner) => Error::KafkaTimeoutException(inner),
358            crate::operation::create_topic::CreateTopicError::NotControllerException(inner) => Error::NotControllerException(inner),
359            crate::operation::create_topic::CreateTopicError::ReassignmentInProgressException(inner) => Error::ReassignmentInProgressException(inner),
360            crate::operation::create_topic::CreateTopicError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
361            crate::operation::create_topic::CreateTopicError::TooManyRequestsException(inner) => Error::TooManyRequestsException(inner),
362            crate::operation::create_topic::CreateTopicError::TopicExistsException(inner) => Error::TopicExistsException(inner),
363            crate::operation::create_topic::CreateTopicError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
364            crate::operation::create_topic::CreateTopicError::UnknownTopicOrPartitionException(inner) => {
365                Error::UnknownTopicOrPartitionException(inner)
366            }
367            crate::operation::create_topic::CreateTopicError::Unhandled(inner) => Error::Unhandled(inner),
368        }
369    }
370}
371impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpc_connection::CreateVpcConnectionError, R>> for Error
372where
373    R: Send + Sync + std::fmt::Debug + 'static,
374{
375    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpc_connection::CreateVpcConnectionError, R>) -> Self {
376        match err {
377            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
378            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
379                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
380                source: err.into(),
381            }),
382        }
383    }
384}
385impl From<crate::operation::create_vpc_connection::CreateVpcConnectionError> for Error {
386    fn from(err: crate::operation::create_vpc_connection::CreateVpcConnectionError) -> Self {
387        match err {
388            crate::operation::create_vpc_connection::CreateVpcConnectionError::BadRequestException(inner) => Error::BadRequestException(inner),
389            crate::operation::create_vpc_connection::CreateVpcConnectionError::ForbiddenException(inner) => Error::ForbiddenException(inner),
390            crate::operation::create_vpc_connection::CreateVpcConnectionError::InternalServerErrorException(inner) => {
391                Error::InternalServerErrorException(inner)
392            }
393            crate::operation::create_vpc_connection::CreateVpcConnectionError::ServiceUnavailableException(inner) => {
394                Error::ServiceUnavailableException(inner)
395            }
396            crate::operation::create_vpc_connection::CreateVpcConnectionError::TooManyRequestsException(inner) => {
397                Error::TooManyRequestsException(inner)
398            }
399            crate::operation::create_vpc_connection::CreateVpcConnectionError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
400            crate::operation::create_vpc_connection::CreateVpcConnectionError::Unhandled(inner) => Error::Unhandled(inner),
401        }
402    }
403}
404impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_cluster::DeleteClusterError, R>> for Error
405where
406    R: Send + Sync + std::fmt::Debug + 'static,
407{
408    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_cluster::DeleteClusterError, R>) -> Self {
409        match err {
410            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
411            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
412                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
413                source: err.into(),
414            }),
415        }
416    }
417}
418impl From<crate::operation::delete_cluster::DeleteClusterError> for Error {
419    fn from(err: crate::operation::delete_cluster::DeleteClusterError) -> Self {
420        match err {
421            crate::operation::delete_cluster::DeleteClusterError::BadRequestException(inner) => Error::BadRequestException(inner),
422            crate::operation::delete_cluster::DeleteClusterError::ForbiddenException(inner) => Error::ForbiddenException(inner),
423            crate::operation::delete_cluster::DeleteClusterError::InternalServerErrorException(inner) => Error::InternalServerErrorException(inner),
424            crate::operation::delete_cluster::DeleteClusterError::NotFoundException(inner) => Error::NotFoundException(inner),
425            crate::operation::delete_cluster::DeleteClusterError::Unhandled(inner) => Error::Unhandled(inner),
426        }
427    }
428}
429impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_cluster_policy::DeleteClusterPolicyError, R>> for Error
430where
431    R: Send + Sync + std::fmt::Debug + 'static,
432{
433    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_cluster_policy::DeleteClusterPolicyError, R>) -> Self {
434        match err {
435            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
436            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
437                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
438                source: err.into(),
439            }),
440        }
441    }
442}
443impl From<crate::operation::delete_cluster_policy::DeleteClusterPolicyError> for Error {
444    fn from(err: crate::operation::delete_cluster_policy::DeleteClusterPolicyError) -> Self {
445        match err {
446            crate::operation::delete_cluster_policy::DeleteClusterPolicyError::BadRequestException(inner) => Error::BadRequestException(inner),
447            crate::operation::delete_cluster_policy::DeleteClusterPolicyError::ForbiddenException(inner) => Error::ForbiddenException(inner),
448            crate::operation::delete_cluster_policy::DeleteClusterPolicyError::InternalServerErrorException(inner) => {
449                Error::InternalServerErrorException(inner)
450            }
451            crate::operation::delete_cluster_policy::DeleteClusterPolicyError::NotFoundException(inner) => Error::NotFoundException(inner),
452            crate::operation::delete_cluster_policy::DeleteClusterPolicyError::Unhandled(inner) => Error::Unhandled(inner),
453        }
454    }
455}
456impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_configuration::DeleteConfigurationError, R>> for Error
457where
458    R: Send + Sync + std::fmt::Debug + 'static,
459{
460    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_configuration::DeleteConfigurationError, R>) -> Self {
461        match err {
462            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
463            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
464                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
465                source: err.into(),
466            }),
467        }
468    }
469}
470impl From<crate::operation::delete_configuration::DeleteConfigurationError> for Error {
471    fn from(err: crate::operation::delete_configuration::DeleteConfigurationError) -> Self {
472        match err {
473            crate::operation::delete_configuration::DeleteConfigurationError::BadRequestException(inner) => Error::BadRequestException(inner),
474            crate::operation::delete_configuration::DeleteConfigurationError::ForbiddenException(inner) => Error::ForbiddenException(inner),
475            crate::operation::delete_configuration::DeleteConfigurationError::InternalServerErrorException(inner) => {
476                Error::InternalServerErrorException(inner)
477            }
478            crate::operation::delete_configuration::DeleteConfigurationError::NotFoundException(inner) => Error::NotFoundException(inner),
479            crate::operation::delete_configuration::DeleteConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
480        }
481    }
482}
483impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_replicator::DeleteReplicatorError, R>> for Error
484where
485    R: Send + Sync + std::fmt::Debug + 'static,
486{
487    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_replicator::DeleteReplicatorError, R>) -> Self {
488        match err {
489            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
490            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
491                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
492                source: err.into(),
493            }),
494        }
495    }
496}
497impl From<crate::operation::delete_replicator::DeleteReplicatorError> for Error {
498    fn from(err: crate::operation::delete_replicator::DeleteReplicatorError) -> Self {
499        match err {
500            crate::operation::delete_replicator::DeleteReplicatorError::BadRequestException(inner) => Error::BadRequestException(inner),
501            crate::operation::delete_replicator::DeleteReplicatorError::ForbiddenException(inner) => Error::ForbiddenException(inner),
502            crate::operation::delete_replicator::DeleteReplicatorError::InternalServerErrorException(inner) => {
503                Error::InternalServerErrorException(inner)
504            }
505            crate::operation::delete_replicator::DeleteReplicatorError::NotFoundException(inner) => Error::NotFoundException(inner),
506            crate::operation::delete_replicator::DeleteReplicatorError::ServiceUnavailableException(inner) => {
507                Error::ServiceUnavailableException(inner)
508            }
509            crate::operation::delete_replicator::DeleteReplicatorError::TooManyRequestsException(inner) => Error::TooManyRequestsException(inner),
510            crate::operation::delete_replicator::DeleteReplicatorError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
511            crate::operation::delete_replicator::DeleteReplicatorError::Unhandled(inner) => Error::Unhandled(inner),
512        }
513    }
514}
515impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_topic::DeleteTopicError, R>> for Error
516where
517    R: Send + Sync + std::fmt::Debug + 'static,
518{
519    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_topic::DeleteTopicError, R>) -> Self {
520        match err {
521            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
522            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
523                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
524                source: err.into(),
525            }),
526        }
527    }
528}
529impl From<crate::operation::delete_topic::DeleteTopicError> for Error {
530    fn from(err: crate::operation::delete_topic::DeleteTopicError) -> Self {
531        match err {
532            crate::operation::delete_topic::DeleteTopicError::BadRequestException(inner) => Error::BadRequestException(inner),
533            crate::operation::delete_topic::DeleteTopicError::ClusterConnectivityException(inner) => Error::ClusterConnectivityException(inner),
534            crate::operation::delete_topic::DeleteTopicError::ControllerMovedException(inner) => Error::ControllerMovedException(inner),
535            crate::operation::delete_topic::DeleteTopicError::ForbiddenException(inner) => Error::ForbiddenException(inner),
536            crate::operation::delete_topic::DeleteTopicError::GroupSubscribedToTopicException(inner) => Error::GroupSubscribedToTopicException(inner),
537            crate::operation::delete_topic::DeleteTopicError::InternalServerErrorException(inner) => Error::InternalServerErrorException(inner),
538            crate::operation::delete_topic::DeleteTopicError::KafkaRequestException(inner) => Error::KafkaRequestException(inner),
539            crate::operation::delete_topic::DeleteTopicError::KafkaTimeoutException(inner) => Error::KafkaTimeoutException(inner),
540            crate::operation::delete_topic::DeleteTopicError::NotControllerException(inner) => Error::NotControllerException(inner),
541            crate::operation::delete_topic::DeleteTopicError::NotFoundException(inner) => Error::NotFoundException(inner),
542            crate::operation::delete_topic::DeleteTopicError::ReassignmentInProgressException(inner) => Error::ReassignmentInProgressException(inner),
543            crate::operation::delete_topic::DeleteTopicError::UnknownTopicOrPartitionException(inner) => {
544                Error::UnknownTopicOrPartitionException(inner)
545            }
546            crate::operation::delete_topic::DeleteTopicError::Unhandled(inner) => Error::Unhandled(inner),
547        }
548    }
549}
550impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpc_connection::DeleteVpcConnectionError, R>> for Error
551where
552    R: Send + Sync + std::fmt::Debug + 'static,
553{
554    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpc_connection::DeleteVpcConnectionError, R>) -> Self {
555        match err {
556            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
557            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
558                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
559                source: err.into(),
560            }),
561        }
562    }
563}
564impl From<crate::operation::delete_vpc_connection::DeleteVpcConnectionError> for Error {
565    fn from(err: crate::operation::delete_vpc_connection::DeleteVpcConnectionError) -> Self {
566        match err {
567            crate::operation::delete_vpc_connection::DeleteVpcConnectionError::BadRequestException(inner) => Error::BadRequestException(inner),
568            crate::operation::delete_vpc_connection::DeleteVpcConnectionError::ForbiddenException(inner) => Error::ForbiddenException(inner),
569            crate::operation::delete_vpc_connection::DeleteVpcConnectionError::InternalServerErrorException(inner) => {
570                Error::InternalServerErrorException(inner)
571            }
572            crate::operation::delete_vpc_connection::DeleteVpcConnectionError::NotFoundException(inner) => Error::NotFoundException(inner),
573            crate::operation::delete_vpc_connection::DeleteVpcConnectionError::Unhandled(inner) => Error::Unhandled(inner),
574        }
575    }
576}
577impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_cluster::DescribeClusterError, R>> for Error
578where
579    R: Send + Sync + std::fmt::Debug + 'static,
580{
581    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_cluster::DescribeClusterError, R>) -> Self {
582        match err {
583            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
584            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
585                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
586                source: err.into(),
587            }),
588        }
589    }
590}
591impl From<crate::operation::describe_cluster::DescribeClusterError> for Error {
592    fn from(err: crate::operation::describe_cluster::DescribeClusterError) -> Self {
593        match err {
594            crate::operation::describe_cluster::DescribeClusterError::BadRequestException(inner) => Error::BadRequestException(inner),
595            crate::operation::describe_cluster::DescribeClusterError::ForbiddenException(inner) => Error::ForbiddenException(inner),
596            crate::operation::describe_cluster::DescribeClusterError::InternalServerErrorException(inner) => {
597                Error::InternalServerErrorException(inner)
598            }
599            crate::operation::describe_cluster::DescribeClusterError::NotFoundException(inner) => Error::NotFoundException(inner),
600            crate::operation::describe_cluster::DescribeClusterError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
601            crate::operation::describe_cluster::DescribeClusterError::Unhandled(inner) => Error::Unhandled(inner),
602        }
603    }
604}
605impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_cluster_operation::DescribeClusterOperationError, R>>
606    for Error
607where
608    R: Send + Sync + std::fmt::Debug + 'static,
609{
610    fn from(
611        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_cluster_operation::DescribeClusterOperationError, R>,
612    ) -> Self {
613        match err {
614            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
615            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
616                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
617                source: err.into(),
618            }),
619        }
620    }
621}
622impl From<crate::operation::describe_cluster_operation::DescribeClusterOperationError> for Error {
623    fn from(err: crate::operation::describe_cluster_operation::DescribeClusterOperationError) -> Self {
624        match err {
625            crate::operation::describe_cluster_operation::DescribeClusterOperationError::BadRequestException(inner) => {
626                Error::BadRequestException(inner)
627            }
628            crate::operation::describe_cluster_operation::DescribeClusterOperationError::ForbiddenException(inner) => {
629                Error::ForbiddenException(inner)
630            }
631            crate::operation::describe_cluster_operation::DescribeClusterOperationError::InternalServerErrorException(inner) => {
632                Error::InternalServerErrorException(inner)
633            }
634            crate::operation::describe_cluster_operation::DescribeClusterOperationError::NotFoundException(inner) => Error::NotFoundException(inner),
635            crate::operation::describe_cluster_operation::DescribeClusterOperationError::UnauthorizedException(inner) => {
636                Error::UnauthorizedException(inner)
637            }
638            crate::operation::describe_cluster_operation::DescribeClusterOperationError::Unhandled(inner) => Error::Unhandled(inner),
639        }
640    }
641}
642impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_cluster_operation_v2::DescribeClusterOperationV2Error, R>>
643    for Error
644where
645    R: Send + Sync + std::fmt::Debug + 'static,
646{
647    fn from(
648        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_cluster_operation_v2::DescribeClusterOperationV2Error, R>,
649    ) -> Self {
650        match err {
651            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
652            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
653                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
654                source: err.into(),
655            }),
656        }
657    }
658}
659impl From<crate::operation::describe_cluster_operation_v2::DescribeClusterOperationV2Error> for Error {
660    fn from(err: crate::operation::describe_cluster_operation_v2::DescribeClusterOperationV2Error) -> Self {
661        match err {
662            crate::operation::describe_cluster_operation_v2::DescribeClusterOperationV2Error::BadRequestException(inner) => {
663                Error::BadRequestException(inner)
664            }
665            crate::operation::describe_cluster_operation_v2::DescribeClusterOperationV2Error::ForbiddenException(inner) => {
666                Error::ForbiddenException(inner)
667            }
668            crate::operation::describe_cluster_operation_v2::DescribeClusterOperationV2Error::InternalServerErrorException(inner) => {
669                Error::InternalServerErrorException(inner)
670            }
671            crate::operation::describe_cluster_operation_v2::DescribeClusterOperationV2Error::NotFoundException(inner) => {
672                Error::NotFoundException(inner)
673            }
674            crate::operation::describe_cluster_operation_v2::DescribeClusterOperationV2Error::ServiceUnavailableException(inner) => {
675                Error::ServiceUnavailableException(inner)
676            }
677            crate::operation::describe_cluster_operation_v2::DescribeClusterOperationV2Error::TooManyRequestsException(inner) => {
678                Error::TooManyRequestsException(inner)
679            }
680            crate::operation::describe_cluster_operation_v2::DescribeClusterOperationV2Error::UnauthorizedException(inner) => {
681                Error::UnauthorizedException(inner)
682            }
683            crate::operation::describe_cluster_operation_v2::DescribeClusterOperationV2Error::Unhandled(inner) => Error::Unhandled(inner),
684        }
685    }
686}
687impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_cluster_v2::DescribeClusterV2Error, R>> for Error
688where
689    R: Send + Sync + std::fmt::Debug + 'static,
690{
691    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_cluster_v2::DescribeClusterV2Error, R>) -> Self {
692        match err {
693            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
694            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
695                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
696                source: err.into(),
697            }),
698        }
699    }
700}
701impl From<crate::operation::describe_cluster_v2::DescribeClusterV2Error> for Error {
702    fn from(err: crate::operation::describe_cluster_v2::DescribeClusterV2Error) -> Self {
703        match err {
704            crate::operation::describe_cluster_v2::DescribeClusterV2Error::BadRequestException(inner) => Error::BadRequestException(inner),
705            crate::operation::describe_cluster_v2::DescribeClusterV2Error::ForbiddenException(inner) => Error::ForbiddenException(inner),
706            crate::operation::describe_cluster_v2::DescribeClusterV2Error::InternalServerErrorException(inner) => {
707                Error::InternalServerErrorException(inner)
708            }
709            crate::operation::describe_cluster_v2::DescribeClusterV2Error::NotFoundException(inner) => Error::NotFoundException(inner),
710            crate::operation::describe_cluster_v2::DescribeClusterV2Error::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
711            crate::operation::describe_cluster_v2::DescribeClusterV2Error::Unhandled(inner) => Error::Unhandled(inner),
712        }
713    }
714}
715impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_configuration::DescribeConfigurationError, R>> for Error
716where
717    R: Send + Sync + std::fmt::Debug + 'static,
718{
719    fn from(
720        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_configuration::DescribeConfigurationError, R>,
721    ) -> Self {
722        match err {
723            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
724            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
725                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
726                source: err.into(),
727            }),
728        }
729    }
730}
731impl From<crate::operation::describe_configuration::DescribeConfigurationError> for Error {
732    fn from(err: crate::operation::describe_configuration::DescribeConfigurationError) -> Self {
733        match err {
734            crate::operation::describe_configuration::DescribeConfigurationError::BadRequestException(inner) => Error::BadRequestException(inner),
735            crate::operation::describe_configuration::DescribeConfigurationError::ForbiddenException(inner) => Error::ForbiddenException(inner),
736            crate::operation::describe_configuration::DescribeConfigurationError::InternalServerErrorException(inner) => {
737                Error::InternalServerErrorException(inner)
738            }
739            crate::operation::describe_configuration::DescribeConfigurationError::NotFoundException(inner) => Error::NotFoundException(inner),
740            crate::operation::describe_configuration::DescribeConfigurationError::ServiceUnavailableException(inner) => {
741                Error::ServiceUnavailableException(inner)
742            }
743            crate::operation::describe_configuration::DescribeConfigurationError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
744            crate::operation::describe_configuration::DescribeConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
745        }
746    }
747}
748impl<R>
749    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_configuration_revision::DescribeConfigurationRevisionError, R>>
750    for Error
751where
752    R: Send + Sync + std::fmt::Debug + 'static,
753{
754    fn from(
755        err: ::aws_smithy_runtime_api::client::result::SdkError<
756            crate::operation::describe_configuration_revision::DescribeConfigurationRevisionError,
757            R,
758        >,
759    ) -> Self {
760        match err {
761            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
762            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
763                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
764                source: err.into(),
765            }),
766        }
767    }
768}
769impl From<crate::operation::describe_configuration_revision::DescribeConfigurationRevisionError> for Error {
770    fn from(err: crate::operation::describe_configuration_revision::DescribeConfigurationRevisionError) -> Self {
771        match err {
772            crate::operation::describe_configuration_revision::DescribeConfigurationRevisionError::BadRequestException(inner) => {
773                Error::BadRequestException(inner)
774            }
775            crate::operation::describe_configuration_revision::DescribeConfigurationRevisionError::ForbiddenException(inner) => {
776                Error::ForbiddenException(inner)
777            }
778            crate::operation::describe_configuration_revision::DescribeConfigurationRevisionError::InternalServerErrorException(inner) => {
779                Error::InternalServerErrorException(inner)
780            }
781            crate::operation::describe_configuration_revision::DescribeConfigurationRevisionError::NotFoundException(inner) => {
782                Error::NotFoundException(inner)
783            }
784            crate::operation::describe_configuration_revision::DescribeConfigurationRevisionError::ServiceUnavailableException(inner) => {
785                Error::ServiceUnavailableException(inner)
786            }
787            crate::operation::describe_configuration_revision::DescribeConfigurationRevisionError::UnauthorizedException(inner) => {
788                Error::UnauthorizedException(inner)
789            }
790            crate::operation::describe_configuration_revision::DescribeConfigurationRevisionError::Unhandled(inner) => Error::Unhandled(inner),
791        }
792    }
793}
794impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_replicator::DescribeReplicatorError, R>> for Error
795where
796    R: Send + Sync + std::fmt::Debug + 'static,
797{
798    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_replicator::DescribeReplicatorError, R>) -> Self {
799        match err {
800            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
801            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
802                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
803                source: err.into(),
804            }),
805        }
806    }
807}
808impl From<crate::operation::describe_replicator::DescribeReplicatorError> for Error {
809    fn from(err: crate::operation::describe_replicator::DescribeReplicatorError) -> Self {
810        match err {
811            crate::operation::describe_replicator::DescribeReplicatorError::BadRequestException(inner) => Error::BadRequestException(inner),
812            crate::operation::describe_replicator::DescribeReplicatorError::ForbiddenException(inner) => Error::ForbiddenException(inner),
813            crate::operation::describe_replicator::DescribeReplicatorError::InternalServerErrorException(inner) => {
814                Error::InternalServerErrorException(inner)
815            }
816            crate::operation::describe_replicator::DescribeReplicatorError::NotFoundException(inner) => Error::NotFoundException(inner),
817            crate::operation::describe_replicator::DescribeReplicatorError::ServiceUnavailableException(inner) => {
818                Error::ServiceUnavailableException(inner)
819            }
820            crate::operation::describe_replicator::DescribeReplicatorError::TooManyRequestsException(inner) => Error::TooManyRequestsException(inner),
821            crate::operation::describe_replicator::DescribeReplicatorError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
822            crate::operation::describe_replicator::DescribeReplicatorError::Unhandled(inner) => Error::Unhandled(inner),
823        }
824    }
825}
826impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_topic::DescribeTopicError, R>> for Error
827where
828    R: Send + Sync + std::fmt::Debug + 'static,
829{
830    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_topic::DescribeTopicError, R>) -> Self {
831        match err {
832            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
833            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
834                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
835                source: err.into(),
836            }),
837        }
838    }
839}
840impl From<crate::operation::describe_topic::DescribeTopicError> for Error {
841    fn from(err: crate::operation::describe_topic::DescribeTopicError) -> Self {
842        match err {
843            crate::operation::describe_topic::DescribeTopicError::BadRequestException(inner) => Error::BadRequestException(inner),
844            crate::operation::describe_topic::DescribeTopicError::ForbiddenException(inner) => Error::ForbiddenException(inner),
845            crate::operation::describe_topic::DescribeTopicError::InternalServerErrorException(inner) => Error::InternalServerErrorException(inner),
846            crate::operation::describe_topic::DescribeTopicError::NotFoundException(inner) => Error::NotFoundException(inner),
847            crate::operation::describe_topic::DescribeTopicError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
848            crate::operation::describe_topic::DescribeTopicError::Unhandled(inner) => Error::Unhandled(inner),
849        }
850    }
851}
852impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_topic_partitions::DescribeTopicPartitionsError, R>>
853    for Error
854where
855    R: Send + Sync + std::fmt::Debug + 'static,
856{
857    fn from(
858        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_topic_partitions::DescribeTopicPartitionsError, R>,
859    ) -> Self {
860        match err {
861            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
862            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
863                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
864                source: err.into(),
865            }),
866        }
867    }
868}
869impl From<crate::operation::describe_topic_partitions::DescribeTopicPartitionsError> for Error {
870    fn from(err: crate::operation::describe_topic_partitions::DescribeTopicPartitionsError) -> Self {
871        match err {
872            crate::operation::describe_topic_partitions::DescribeTopicPartitionsError::BadRequestException(inner) => {
873                Error::BadRequestException(inner)
874            }
875            crate::operation::describe_topic_partitions::DescribeTopicPartitionsError::ForbiddenException(inner) => Error::ForbiddenException(inner),
876            crate::operation::describe_topic_partitions::DescribeTopicPartitionsError::InternalServerErrorException(inner) => {
877                Error::InternalServerErrorException(inner)
878            }
879            crate::operation::describe_topic_partitions::DescribeTopicPartitionsError::NotFoundException(inner) => Error::NotFoundException(inner),
880            crate::operation::describe_topic_partitions::DescribeTopicPartitionsError::UnauthorizedException(inner) => {
881                Error::UnauthorizedException(inner)
882            }
883            crate::operation::describe_topic_partitions::DescribeTopicPartitionsError::Unhandled(inner) => Error::Unhandled(inner),
884        }
885    }
886}
887impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_connection::DescribeVpcConnectionError, R>> for Error
888where
889    R: Send + Sync + std::fmt::Debug + 'static,
890{
891    fn from(
892        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_connection::DescribeVpcConnectionError, R>,
893    ) -> Self {
894        match err {
895            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
896            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
897                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
898                source: err.into(),
899            }),
900        }
901    }
902}
903impl From<crate::operation::describe_vpc_connection::DescribeVpcConnectionError> for Error {
904    fn from(err: crate::operation::describe_vpc_connection::DescribeVpcConnectionError) -> Self {
905        match err {
906            crate::operation::describe_vpc_connection::DescribeVpcConnectionError::BadRequestException(inner) => Error::BadRequestException(inner),
907            crate::operation::describe_vpc_connection::DescribeVpcConnectionError::ForbiddenException(inner) => Error::ForbiddenException(inner),
908            crate::operation::describe_vpc_connection::DescribeVpcConnectionError::InternalServerErrorException(inner) => {
909                Error::InternalServerErrorException(inner)
910            }
911            crate::operation::describe_vpc_connection::DescribeVpcConnectionError::NotFoundException(inner) => Error::NotFoundException(inner),
912            crate::operation::describe_vpc_connection::DescribeVpcConnectionError::ServiceUnavailableException(inner) => {
913                Error::ServiceUnavailableException(inner)
914            }
915            crate::operation::describe_vpc_connection::DescribeVpcConnectionError::UnauthorizedException(inner) => {
916                Error::UnauthorizedException(inner)
917            }
918            crate::operation::describe_vpc_connection::DescribeVpcConnectionError::Unhandled(inner) => Error::Unhandled(inner),
919        }
920    }
921}
922impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_bootstrap_brokers::GetBootstrapBrokersError, R>> for Error
923where
924    R: Send + Sync + std::fmt::Debug + 'static,
925{
926    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_bootstrap_brokers::GetBootstrapBrokersError, R>) -> Self {
927        match err {
928            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
929            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
930                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
931                source: err.into(),
932            }),
933        }
934    }
935}
936impl From<crate::operation::get_bootstrap_brokers::GetBootstrapBrokersError> for Error {
937    fn from(err: crate::operation::get_bootstrap_brokers::GetBootstrapBrokersError) -> Self {
938        match err {
939            crate::operation::get_bootstrap_brokers::GetBootstrapBrokersError::BadRequestException(inner) => Error::BadRequestException(inner),
940            crate::operation::get_bootstrap_brokers::GetBootstrapBrokersError::ConflictException(inner) => Error::ConflictException(inner),
941            crate::operation::get_bootstrap_brokers::GetBootstrapBrokersError::ForbiddenException(inner) => Error::ForbiddenException(inner),
942            crate::operation::get_bootstrap_brokers::GetBootstrapBrokersError::InternalServerErrorException(inner) => {
943                Error::InternalServerErrorException(inner)
944            }
945            crate::operation::get_bootstrap_brokers::GetBootstrapBrokersError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
946            crate::operation::get_bootstrap_brokers::GetBootstrapBrokersError::Unhandled(inner) => Error::Unhandled(inner),
947        }
948    }
949}
950impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_cluster_policy::GetClusterPolicyError, R>> for Error
951where
952    R: Send + Sync + std::fmt::Debug + 'static,
953{
954    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_cluster_policy::GetClusterPolicyError, R>) -> Self {
955        match err {
956            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
957            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
958                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
959                source: err.into(),
960            }),
961        }
962    }
963}
964impl From<crate::operation::get_cluster_policy::GetClusterPolicyError> for Error {
965    fn from(err: crate::operation::get_cluster_policy::GetClusterPolicyError) -> Self {
966        match err {
967            crate::operation::get_cluster_policy::GetClusterPolicyError::BadRequestException(inner) => Error::BadRequestException(inner),
968            crate::operation::get_cluster_policy::GetClusterPolicyError::ForbiddenException(inner) => Error::ForbiddenException(inner),
969            crate::operation::get_cluster_policy::GetClusterPolicyError::InternalServerErrorException(inner) => {
970                Error::InternalServerErrorException(inner)
971            }
972            crate::operation::get_cluster_policy::GetClusterPolicyError::NotFoundException(inner) => Error::NotFoundException(inner),
973            crate::operation::get_cluster_policy::GetClusterPolicyError::Unhandled(inner) => Error::Unhandled(inner),
974        }
975    }
976}
977impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_compatible_kafka_versions::GetCompatibleKafkaVersionsError, R>>
978    for Error
979where
980    R: Send + Sync + std::fmt::Debug + 'static,
981{
982    fn from(
983        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_compatible_kafka_versions::GetCompatibleKafkaVersionsError, R>,
984    ) -> Self {
985        match err {
986            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
987            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
988                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
989                source: err.into(),
990            }),
991        }
992    }
993}
994impl From<crate::operation::get_compatible_kafka_versions::GetCompatibleKafkaVersionsError> for Error {
995    fn from(err: crate::operation::get_compatible_kafka_versions::GetCompatibleKafkaVersionsError) -> Self {
996        match err {
997            crate::operation::get_compatible_kafka_versions::GetCompatibleKafkaVersionsError::BadRequestException(inner) => {
998                Error::BadRequestException(inner)
999            }
1000            crate::operation::get_compatible_kafka_versions::GetCompatibleKafkaVersionsError::ForbiddenException(inner) => {
1001                Error::ForbiddenException(inner)
1002            }
1003            crate::operation::get_compatible_kafka_versions::GetCompatibleKafkaVersionsError::InternalServerErrorException(inner) => {
1004                Error::InternalServerErrorException(inner)
1005            }
1006            crate::operation::get_compatible_kafka_versions::GetCompatibleKafkaVersionsError::NotFoundException(inner) => {
1007                Error::NotFoundException(inner)
1008            }
1009            crate::operation::get_compatible_kafka_versions::GetCompatibleKafkaVersionsError::ServiceUnavailableException(inner) => {
1010                Error::ServiceUnavailableException(inner)
1011            }
1012            crate::operation::get_compatible_kafka_versions::GetCompatibleKafkaVersionsError::TooManyRequestsException(inner) => {
1013                Error::TooManyRequestsException(inner)
1014            }
1015            crate::operation::get_compatible_kafka_versions::GetCompatibleKafkaVersionsError::UnauthorizedException(inner) => {
1016                Error::UnauthorizedException(inner)
1017            }
1018            crate::operation::get_compatible_kafka_versions::GetCompatibleKafkaVersionsError::Unhandled(inner) => Error::Unhandled(inner),
1019        }
1020    }
1021}
1022impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_client_vpc_connections::ListClientVpcConnectionsError, R>>
1023    for Error
1024where
1025    R: Send + Sync + std::fmt::Debug + 'static,
1026{
1027    fn from(
1028        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_client_vpc_connections::ListClientVpcConnectionsError, R>,
1029    ) -> Self {
1030        match err {
1031            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1032            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1033                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1034                source: err.into(),
1035            }),
1036        }
1037    }
1038}
1039impl From<crate::operation::list_client_vpc_connections::ListClientVpcConnectionsError> for Error {
1040    fn from(err: crate::operation::list_client_vpc_connections::ListClientVpcConnectionsError) -> Self {
1041        match err {
1042            crate::operation::list_client_vpc_connections::ListClientVpcConnectionsError::BadRequestException(inner) => {
1043                Error::BadRequestException(inner)
1044            }
1045            crate::operation::list_client_vpc_connections::ListClientVpcConnectionsError::ForbiddenException(inner) => {
1046                Error::ForbiddenException(inner)
1047            }
1048            crate::operation::list_client_vpc_connections::ListClientVpcConnectionsError::InternalServerErrorException(inner) => {
1049                Error::InternalServerErrorException(inner)
1050            }
1051            crate::operation::list_client_vpc_connections::ListClientVpcConnectionsError::ServiceUnavailableException(inner) => {
1052                Error::ServiceUnavailableException(inner)
1053            }
1054            crate::operation::list_client_vpc_connections::ListClientVpcConnectionsError::UnauthorizedException(inner) => {
1055                Error::UnauthorizedException(inner)
1056            }
1057            crate::operation::list_client_vpc_connections::ListClientVpcConnectionsError::Unhandled(inner) => Error::Unhandled(inner),
1058        }
1059    }
1060}
1061impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_cluster_operations::ListClusterOperationsError, R>> for Error
1062where
1063    R: Send + Sync + std::fmt::Debug + 'static,
1064{
1065    fn from(
1066        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_cluster_operations::ListClusterOperationsError, R>,
1067    ) -> Self {
1068        match err {
1069            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1070            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1071                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1072                source: err.into(),
1073            }),
1074        }
1075    }
1076}
1077impl From<crate::operation::list_cluster_operations::ListClusterOperationsError> for Error {
1078    fn from(err: crate::operation::list_cluster_operations::ListClusterOperationsError) -> Self {
1079        match err {
1080            crate::operation::list_cluster_operations::ListClusterOperationsError::BadRequestException(inner) => Error::BadRequestException(inner),
1081            crate::operation::list_cluster_operations::ListClusterOperationsError::ForbiddenException(inner) => Error::ForbiddenException(inner),
1082            crate::operation::list_cluster_operations::ListClusterOperationsError::InternalServerErrorException(inner) => {
1083                Error::InternalServerErrorException(inner)
1084            }
1085            crate::operation::list_cluster_operations::ListClusterOperationsError::UnauthorizedException(inner) => {
1086                Error::UnauthorizedException(inner)
1087            }
1088            crate::operation::list_cluster_operations::ListClusterOperationsError::Unhandled(inner) => Error::Unhandled(inner),
1089        }
1090    }
1091}
1092impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_cluster_operations_v2::ListClusterOperationsV2Error, R>>
1093    for Error
1094where
1095    R: Send + Sync + std::fmt::Debug + 'static,
1096{
1097    fn from(
1098        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_cluster_operations_v2::ListClusterOperationsV2Error, R>,
1099    ) -> Self {
1100        match err {
1101            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1102            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1103                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1104                source: err.into(),
1105            }),
1106        }
1107    }
1108}
1109impl From<crate::operation::list_cluster_operations_v2::ListClusterOperationsV2Error> for Error {
1110    fn from(err: crate::operation::list_cluster_operations_v2::ListClusterOperationsV2Error) -> Self {
1111        match err {
1112            crate::operation::list_cluster_operations_v2::ListClusterOperationsV2Error::BadRequestException(inner) => {
1113                Error::BadRequestException(inner)
1114            }
1115            crate::operation::list_cluster_operations_v2::ListClusterOperationsV2Error::ForbiddenException(inner) => Error::ForbiddenException(inner),
1116            crate::operation::list_cluster_operations_v2::ListClusterOperationsV2Error::InternalServerErrorException(inner) => {
1117                Error::InternalServerErrorException(inner)
1118            }
1119            crate::operation::list_cluster_operations_v2::ListClusterOperationsV2Error::NotFoundException(inner) => Error::NotFoundException(inner),
1120            crate::operation::list_cluster_operations_v2::ListClusterOperationsV2Error::ServiceUnavailableException(inner) => {
1121                Error::ServiceUnavailableException(inner)
1122            }
1123            crate::operation::list_cluster_operations_v2::ListClusterOperationsV2Error::TooManyRequestsException(inner) => {
1124                Error::TooManyRequestsException(inner)
1125            }
1126            crate::operation::list_cluster_operations_v2::ListClusterOperationsV2Error::UnauthorizedException(inner) => {
1127                Error::UnauthorizedException(inner)
1128            }
1129            crate::operation::list_cluster_operations_v2::ListClusterOperationsV2Error::Unhandled(inner) => Error::Unhandled(inner),
1130        }
1131    }
1132}
1133impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_clusters::ListClustersError, R>> for Error
1134where
1135    R: Send + Sync + std::fmt::Debug + 'static,
1136{
1137    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_clusters::ListClustersError, R>) -> Self {
1138        match err {
1139            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1140            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1141                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1142                source: err.into(),
1143            }),
1144        }
1145    }
1146}
1147impl From<crate::operation::list_clusters::ListClustersError> for Error {
1148    fn from(err: crate::operation::list_clusters::ListClustersError) -> Self {
1149        match err {
1150            crate::operation::list_clusters::ListClustersError::BadRequestException(inner) => Error::BadRequestException(inner),
1151            crate::operation::list_clusters::ListClustersError::ForbiddenException(inner) => Error::ForbiddenException(inner),
1152            crate::operation::list_clusters::ListClustersError::InternalServerErrorException(inner) => Error::InternalServerErrorException(inner),
1153            crate::operation::list_clusters::ListClustersError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
1154            crate::operation::list_clusters::ListClustersError::Unhandled(inner) => Error::Unhandled(inner),
1155        }
1156    }
1157}
1158impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_clusters_v2::ListClustersV2Error, R>> for Error
1159where
1160    R: Send + Sync + std::fmt::Debug + 'static,
1161{
1162    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_clusters_v2::ListClustersV2Error, R>) -> Self {
1163        match err {
1164            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1165            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1166                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1167                source: err.into(),
1168            }),
1169        }
1170    }
1171}
1172impl From<crate::operation::list_clusters_v2::ListClustersV2Error> for Error {
1173    fn from(err: crate::operation::list_clusters_v2::ListClustersV2Error) -> Self {
1174        match err {
1175            crate::operation::list_clusters_v2::ListClustersV2Error::BadRequestException(inner) => Error::BadRequestException(inner),
1176            crate::operation::list_clusters_v2::ListClustersV2Error::ForbiddenException(inner) => Error::ForbiddenException(inner),
1177            crate::operation::list_clusters_v2::ListClustersV2Error::InternalServerErrorException(inner) => {
1178                Error::InternalServerErrorException(inner)
1179            }
1180            crate::operation::list_clusters_v2::ListClustersV2Error::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
1181            crate::operation::list_clusters_v2::ListClustersV2Error::Unhandled(inner) => Error::Unhandled(inner),
1182        }
1183    }
1184}
1185impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_configuration_revisions::ListConfigurationRevisionsError, R>>
1186    for Error
1187where
1188    R: Send + Sync + std::fmt::Debug + 'static,
1189{
1190    fn from(
1191        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_configuration_revisions::ListConfigurationRevisionsError, R>,
1192    ) -> Self {
1193        match err {
1194            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1195            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1196                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1197                source: err.into(),
1198            }),
1199        }
1200    }
1201}
1202impl From<crate::operation::list_configuration_revisions::ListConfigurationRevisionsError> for Error {
1203    fn from(err: crate::operation::list_configuration_revisions::ListConfigurationRevisionsError) -> Self {
1204        match err {
1205            crate::operation::list_configuration_revisions::ListConfigurationRevisionsError::BadRequestException(inner) => {
1206                Error::BadRequestException(inner)
1207            }
1208            crate::operation::list_configuration_revisions::ListConfigurationRevisionsError::ForbiddenException(inner) => {
1209                Error::ForbiddenException(inner)
1210            }
1211            crate::operation::list_configuration_revisions::ListConfigurationRevisionsError::InternalServerErrorException(inner) => {
1212                Error::InternalServerErrorException(inner)
1213            }
1214            crate::operation::list_configuration_revisions::ListConfigurationRevisionsError::NotFoundException(inner) => {
1215                Error::NotFoundException(inner)
1216            }
1217            crate::operation::list_configuration_revisions::ListConfigurationRevisionsError::ServiceUnavailableException(inner) => {
1218                Error::ServiceUnavailableException(inner)
1219            }
1220            crate::operation::list_configuration_revisions::ListConfigurationRevisionsError::UnauthorizedException(inner) => {
1221                Error::UnauthorizedException(inner)
1222            }
1223            crate::operation::list_configuration_revisions::ListConfigurationRevisionsError::Unhandled(inner) => Error::Unhandled(inner),
1224        }
1225    }
1226}
1227impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_configurations::ListConfigurationsError, R>> for Error
1228where
1229    R: Send + Sync + std::fmt::Debug + 'static,
1230{
1231    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_configurations::ListConfigurationsError, R>) -> Self {
1232        match err {
1233            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1234            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1235                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1236                source: err.into(),
1237            }),
1238        }
1239    }
1240}
1241impl From<crate::operation::list_configurations::ListConfigurationsError> for Error {
1242    fn from(err: crate::operation::list_configurations::ListConfigurationsError) -> Self {
1243        match err {
1244            crate::operation::list_configurations::ListConfigurationsError::BadRequestException(inner) => Error::BadRequestException(inner),
1245            crate::operation::list_configurations::ListConfigurationsError::ForbiddenException(inner) => Error::ForbiddenException(inner),
1246            crate::operation::list_configurations::ListConfigurationsError::InternalServerErrorException(inner) => {
1247                Error::InternalServerErrorException(inner)
1248            }
1249            crate::operation::list_configurations::ListConfigurationsError::ServiceUnavailableException(inner) => {
1250                Error::ServiceUnavailableException(inner)
1251            }
1252            crate::operation::list_configurations::ListConfigurationsError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
1253            crate::operation::list_configurations::ListConfigurationsError::Unhandled(inner) => Error::Unhandled(inner),
1254        }
1255    }
1256}
1257impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_kafka_versions::ListKafkaVersionsError, R>> for Error
1258where
1259    R: Send + Sync + std::fmt::Debug + 'static,
1260{
1261    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_kafka_versions::ListKafkaVersionsError, R>) -> Self {
1262        match err {
1263            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1264            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1265                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1266                source: err.into(),
1267            }),
1268        }
1269    }
1270}
1271impl From<crate::operation::list_kafka_versions::ListKafkaVersionsError> for Error {
1272    fn from(err: crate::operation::list_kafka_versions::ListKafkaVersionsError) -> Self {
1273        match err {
1274            crate::operation::list_kafka_versions::ListKafkaVersionsError::BadRequestException(inner) => Error::BadRequestException(inner),
1275            crate::operation::list_kafka_versions::ListKafkaVersionsError::ForbiddenException(inner) => Error::ForbiddenException(inner),
1276            crate::operation::list_kafka_versions::ListKafkaVersionsError::InternalServerErrorException(inner) => {
1277                Error::InternalServerErrorException(inner)
1278            }
1279            crate::operation::list_kafka_versions::ListKafkaVersionsError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
1280            crate::operation::list_kafka_versions::ListKafkaVersionsError::Unhandled(inner) => Error::Unhandled(inner),
1281        }
1282    }
1283}
1284impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_nodes::ListNodesError, R>> for Error
1285where
1286    R: Send + Sync + std::fmt::Debug + 'static,
1287{
1288    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_nodes::ListNodesError, R>) -> Self {
1289        match err {
1290            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1291            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1292                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1293                source: err.into(),
1294            }),
1295        }
1296    }
1297}
1298impl From<crate::operation::list_nodes::ListNodesError> for Error {
1299    fn from(err: crate::operation::list_nodes::ListNodesError) -> Self {
1300        match err {
1301            crate::operation::list_nodes::ListNodesError::BadRequestException(inner) => Error::BadRequestException(inner),
1302            crate::operation::list_nodes::ListNodesError::ForbiddenException(inner) => Error::ForbiddenException(inner),
1303            crate::operation::list_nodes::ListNodesError::InternalServerErrorException(inner) => Error::InternalServerErrorException(inner),
1304            crate::operation::list_nodes::ListNodesError::NotFoundException(inner) => Error::NotFoundException(inner),
1305            crate::operation::list_nodes::ListNodesError::Unhandled(inner) => Error::Unhandled(inner),
1306        }
1307    }
1308}
1309impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_replicators::ListReplicatorsError, R>> for Error
1310where
1311    R: Send + Sync + std::fmt::Debug + 'static,
1312{
1313    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_replicators::ListReplicatorsError, R>) -> Self {
1314        match err {
1315            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1316            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1317                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1318                source: err.into(),
1319            }),
1320        }
1321    }
1322}
1323impl From<crate::operation::list_replicators::ListReplicatorsError> for Error {
1324    fn from(err: crate::operation::list_replicators::ListReplicatorsError) -> Self {
1325        match err {
1326            crate::operation::list_replicators::ListReplicatorsError::BadRequestException(inner) => Error::BadRequestException(inner),
1327            crate::operation::list_replicators::ListReplicatorsError::ForbiddenException(inner) => Error::ForbiddenException(inner),
1328            crate::operation::list_replicators::ListReplicatorsError::InternalServerErrorException(inner) => {
1329                Error::InternalServerErrorException(inner)
1330            }
1331            crate::operation::list_replicators::ListReplicatorsError::NotFoundException(inner) => Error::NotFoundException(inner),
1332            crate::operation::list_replicators::ListReplicatorsError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
1333            crate::operation::list_replicators::ListReplicatorsError::TooManyRequestsException(inner) => Error::TooManyRequestsException(inner),
1334            crate::operation::list_replicators::ListReplicatorsError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
1335            crate::operation::list_replicators::ListReplicatorsError::Unhandled(inner) => Error::Unhandled(inner),
1336        }
1337    }
1338}
1339impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_scram_secrets::ListScramSecretsError, R>> for Error
1340where
1341    R: Send + Sync + std::fmt::Debug + 'static,
1342{
1343    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_scram_secrets::ListScramSecretsError, R>) -> Self {
1344        match err {
1345            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1346            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1347                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1348                source: err.into(),
1349            }),
1350        }
1351    }
1352}
1353impl From<crate::operation::list_scram_secrets::ListScramSecretsError> for Error {
1354    fn from(err: crate::operation::list_scram_secrets::ListScramSecretsError) -> Self {
1355        match err {
1356            crate::operation::list_scram_secrets::ListScramSecretsError::BadRequestException(inner) => Error::BadRequestException(inner),
1357            crate::operation::list_scram_secrets::ListScramSecretsError::ForbiddenException(inner) => Error::ForbiddenException(inner),
1358            crate::operation::list_scram_secrets::ListScramSecretsError::InternalServerErrorException(inner) => {
1359                Error::InternalServerErrorException(inner)
1360            }
1361            crate::operation::list_scram_secrets::ListScramSecretsError::NotFoundException(inner) => Error::NotFoundException(inner),
1362            crate::operation::list_scram_secrets::ListScramSecretsError::ServiceUnavailableException(inner) => {
1363                Error::ServiceUnavailableException(inner)
1364            }
1365            crate::operation::list_scram_secrets::ListScramSecretsError::TooManyRequestsException(inner) => Error::TooManyRequestsException(inner),
1366            crate::operation::list_scram_secrets::ListScramSecretsError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
1367            crate::operation::list_scram_secrets::ListScramSecretsError::Unhandled(inner) => Error::Unhandled(inner),
1368        }
1369    }
1370}
1371impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_tags_for_resource::ListTagsForResourceError, R>> for Error
1372where
1373    R: Send + Sync + std::fmt::Debug + 'static,
1374{
1375    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_tags_for_resource::ListTagsForResourceError, R>) -> Self {
1376        match err {
1377            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1378            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1379                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1380                source: err.into(),
1381            }),
1382        }
1383    }
1384}
1385impl From<crate::operation::list_tags_for_resource::ListTagsForResourceError> for Error {
1386    fn from(err: crate::operation::list_tags_for_resource::ListTagsForResourceError) -> Self {
1387        match err {
1388            crate::operation::list_tags_for_resource::ListTagsForResourceError::BadRequestException(inner) => Error::BadRequestException(inner),
1389            crate::operation::list_tags_for_resource::ListTagsForResourceError::InternalServerErrorException(inner) => {
1390                Error::InternalServerErrorException(inner)
1391            }
1392            crate::operation::list_tags_for_resource::ListTagsForResourceError::NotFoundException(inner) => Error::NotFoundException(inner),
1393            crate::operation::list_tags_for_resource::ListTagsForResourceError::Unhandled(inner) => Error::Unhandled(inner),
1394        }
1395    }
1396}
1397impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_topics::ListTopicsError, R>> for Error
1398where
1399    R: Send + Sync + std::fmt::Debug + 'static,
1400{
1401    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_topics::ListTopicsError, R>) -> Self {
1402        match err {
1403            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1404            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1405                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1406                source: err.into(),
1407            }),
1408        }
1409    }
1410}
1411impl From<crate::operation::list_topics::ListTopicsError> for Error {
1412    fn from(err: crate::operation::list_topics::ListTopicsError) -> Self {
1413        match err {
1414            crate::operation::list_topics::ListTopicsError::BadRequestException(inner) => Error::BadRequestException(inner),
1415            crate::operation::list_topics::ListTopicsError::ForbiddenException(inner) => Error::ForbiddenException(inner),
1416            crate::operation::list_topics::ListTopicsError::InternalServerErrorException(inner) => Error::InternalServerErrorException(inner),
1417            crate::operation::list_topics::ListTopicsError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
1418            crate::operation::list_topics::ListTopicsError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
1419            crate::operation::list_topics::ListTopicsError::Unhandled(inner) => Error::Unhandled(inner),
1420        }
1421    }
1422}
1423impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_vpc_connections::ListVpcConnectionsError, R>> for Error
1424where
1425    R: Send + Sync + std::fmt::Debug + 'static,
1426{
1427    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_vpc_connections::ListVpcConnectionsError, R>) -> Self {
1428        match err {
1429            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1430            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1431                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1432                source: err.into(),
1433            }),
1434        }
1435    }
1436}
1437impl From<crate::operation::list_vpc_connections::ListVpcConnectionsError> for Error {
1438    fn from(err: crate::operation::list_vpc_connections::ListVpcConnectionsError) -> Self {
1439        match err {
1440            crate::operation::list_vpc_connections::ListVpcConnectionsError::BadRequestException(inner) => Error::BadRequestException(inner),
1441            crate::operation::list_vpc_connections::ListVpcConnectionsError::ForbiddenException(inner) => Error::ForbiddenException(inner),
1442            crate::operation::list_vpc_connections::ListVpcConnectionsError::InternalServerErrorException(inner) => {
1443                Error::InternalServerErrorException(inner)
1444            }
1445            crate::operation::list_vpc_connections::ListVpcConnectionsError::ServiceUnavailableException(inner) => {
1446                Error::ServiceUnavailableException(inner)
1447            }
1448            crate::operation::list_vpc_connections::ListVpcConnectionsError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
1449            crate::operation::list_vpc_connections::ListVpcConnectionsError::Unhandled(inner) => Error::Unhandled(inner),
1450        }
1451    }
1452}
1453impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_cluster_policy::PutClusterPolicyError, R>> for Error
1454where
1455    R: Send + Sync + std::fmt::Debug + 'static,
1456{
1457    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_cluster_policy::PutClusterPolicyError, R>) -> Self {
1458        match err {
1459            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1460            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1461                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1462                source: err.into(),
1463            }),
1464        }
1465    }
1466}
1467impl From<crate::operation::put_cluster_policy::PutClusterPolicyError> for Error {
1468    fn from(err: crate::operation::put_cluster_policy::PutClusterPolicyError) -> Self {
1469        match err {
1470            crate::operation::put_cluster_policy::PutClusterPolicyError::BadRequestException(inner) => Error::BadRequestException(inner),
1471            crate::operation::put_cluster_policy::PutClusterPolicyError::ForbiddenException(inner) => Error::ForbiddenException(inner),
1472            crate::operation::put_cluster_policy::PutClusterPolicyError::InternalServerErrorException(inner) => {
1473                Error::InternalServerErrorException(inner)
1474            }
1475            crate::operation::put_cluster_policy::PutClusterPolicyError::Unhandled(inner) => Error::Unhandled(inner),
1476        }
1477    }
1478}
1479impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reboot_broker::RebootBrokerError, R>> for Error
1480where
1481    R: Send + Sync + std::fmt::Debug + 'static,
1482{
1483    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reboot_broker::RebootBrokerError, R>) -> Self {
1484        match err {
1485            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1486            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1487                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1488                source: err.into(),
1489            }),
1490        }
1491    }
1492}
1493impl From<crate::operation::reboot_broker::RebootBrokerError> for Error {
1494    fn from(err: crate::operation::reboot_broker::RebootBrokerError) -> Self {
1495        match err {
1496            crate::operation::reboot_broker::RebootBrokerError::BadRequestException(inner) => Error::BadRequestException(inner),
1497            crate::operation::reboot_broker::RebootBrokerError::ForbiddenException(inner) => Error::ForbiddenException(inner),
1498            crate::operation::reboot_broker::RebootBrokerError::InternalServerErrorException(inner) => Error::InternalServerErrorException(inner),
1499            crate::operation::reboot_broker::RebootBrokerError::NotFoundException(inner) => Error::NotFoundException(inner),
1500            crate::operation::reboot_broker::RebootBrokerError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
1501            crate::operation::reboot_broker::RebootBrokerError::TooManyRequestsException(inner) => Error::TooManyRequestsException(inner),
1502            crate::operation::reboot_broker::RebootBrokerError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
1503            crate::operation::reboot_broker::RebootBrokerError::Unhandled(inner) => Error::Unhandled(inner),
1504        }
1505    }
1506}
1507impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reject_client_vpc_connection::RejectClientVpcConnectionError, R>>
1508    for Error
1509where
1510    R: Send + Sync + std::fmt::Debug + 'static,
1511{
1512    fn from(
1513        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reject_client_vpc_connection::RejectClientVpcConnectionError, R>,
1514    ) -> Self {
1515        match err {
1516            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1517            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1518                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1519                source: err.into(),
1520            }),
1521        }
1522    }
1523}
1524impl From<crate::operation::reject_client_vpc_connection::RejectClientVpcConnectionError> for Error {
1525    fn from(err: crate::operation::reject_client_vpc_connection::RejectClientVpcConnectionError) -> Self {
1526        match err {
1527            crate::operation::reject_client_vpc_connection::RejectClientVpcConnectionError::BadRequestException(inner) => {
1528                Error::BadRequestException(inner)
1529            }
1530            crate::operation::reject_client_vpc_connection::RejectClientVpcConnectionError::ForbiddenException(inner) => {
1531                Error::ForbiddenException(inner)
1532            }
1533            crate::operation::reject_client_vpc_connection::RejectClientVpcConnectionError::InternalServerErrorException(inner) => {
1534                Error::InternalServerErrorException(inner)
1535            }
1536            crate::operation::reject_client_vpc_connection::RejectClientVpcConnectionError::ServiceUnavailableException(inner) => {
1537                Error::ServiceUnavailableException(inner)
1538            }
1539            crate::operation::reject_client_vpc_connection::RejectClientVpcConnectionError::UnauthorizedException(inner) => {
1540                Error::UnauthorizedException(inner)
1541            }
1542            crate::operation::reject_client_vpc_connection::RejectClientVpcConnectionError::Unhandled(inner) => Error::Unhandled(inner),
1543        }
1544    }
1545}
1546impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::tag_resource::TagResourceError, R>> for Error
1547where
1548    R: Send + Sync + std::fmt::Debug + 'static,
1549{
1550    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::tag_resource::TagResourceError, R>) -> Self {
1551        match err {
1552            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1553            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1554                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1555                source: err.into(),
1556            }),
1557        }
1558    }
1559}
1560impl From<crate::operation::tag_resource::TagResourceError> for Error {
1561    fn from(err: crate::operation::tag_resource::TagResourceError) -> Self {
1562        match err {
1563            crate::operation::tag_resource::TagResourceError::BadRequestException(inner) => Error::BadRequestException(inner),
1564            crate::operation::tag_resource::TagResourceError::InternalServerErrorException(inner) => Error::InternalServerErrorException(inner),
1565            crate::operation::tag_resource::TagResourceError::NotFoundException(inner) => Error::NotFoundException(inner),
1566            crate::operation::tag_resource::TagResourceError::Unhandled(inner) => Error::Unhandled(inner),
1567        }
1568    }
1569}
1570impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::untag_resource::UntagResourceError, R>> for Error
1571where
1572    R: Send + Sync + std::fmt::Debug + 'static,
1573{
1574    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::untag_resource::UntagResourceError, R>) -> Self {
1575        match err {
1576            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1577            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1578                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1579                source: err.into(),
1580            }),
1581        }
1582    }
1583}
1584impl From<crate::operation::untag_resource::UntagResourceError> for Error {
1585    fn from(err: crate::operation::untag_resource::UntagResourceError) -> Self {
1586        match err {
1587            crate::operation::untag_resource::UntagResourceError::BadRequestException(inner) => Error::BadRequestException(inner),
1588            crate::operation::untag_resource::UntagResourceError::InternalServerErrorException(inner) => Error::InternalServerErrorException(inner),
1589            crate::operation::untag_resource::UntagResourceError::NotFoundException(inner) => Error::NotFoundException(inner),
1590            crate::operation::untag_resource::UntagResourceError::Unhandled(inner) => Error::Unhandled(inner),
1591        }
1592    }
1593}
1594impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_broker_count::UpdateBrokerCountError, R>> for Error
1595where
1596    R: Send + Sync + std::fmt::Debug + 'static,
1597{
1598    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_broker_count::UpdateBrokerCountError, R>) -> Self {
1599        match err {
1600            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1601            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1602                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1603                source: err.into(),
1604            }),
1605        }
1606    }
1607}
1608impl From<crate::operation::update_broker_count::UpdateBrokerCountError> for Error {
1609    fn from(err: crate::operation::update_broker_count::UpdateBrokerCountError) -> Self {
1610        match err {
1611            crate::operation::update_broker_count::UpdateBrokerCountError::BadRequestException(inner) => Error::BadRequestException(inner),
1612            crate::operation::update_broker_count::UpdateBrokerCountError::ForbiddenException(inner) => Error::ForbiddenException(inner),
1613            crate::operation::update_broker_count::UpdateBrokerCountError::InternalServerErrorException(inner) => {
1614                Error::InternalServerErrorException(inner)
1615            }
1616            crate::operation::update_broker_count::UpdateBrokerCountError::ServiceUnavailableException(inner) => {
1617                Error::ServiceUnavailableException(inner)
1618            }
1619            crate::operation::update_broker_count::UpdateBrokerCountError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
1620            crate::operation::update_broker_count::UpdateBrokerCountError::Unhandled(inner) => Error::Unhandled(inner),
1621        }
1622    }
1623}
1624impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_broker_storage::UpdateBrokerStorageError, R>> for Error
1625where
1626    R: Send + Sync + std::fmt::Debug + 'static,
1627{
1628    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_broker_storage::UpdateBrokerStorageError, R>) -> Self {
1629        match err {
1630            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1631            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1632                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1633                source: err.into(),
1634            }),
1635        }
1636    }
1637}
1638impl From<crate::operation::update_broker_storage::UpdateBrokerStorageError> for Error {
1639    fn from(err: crate::operation::update_broker_storage::UpdateBrokerStorageError) -> Self {
1640        match err {
1641            crate::operation::update_broker_storage::UpdateBrokerStorageError::BadRequestException(inner) => Error::BadRequestException(inner),
1642            crate::operation::update_broker_storage::UpdateBrokerStorageError::ForbiddenException(inner) => Error::ForbiddenException(inner),
1643            crate::operation::update_broker_storage::UpdateBrokerStorageError::InternalServerErrorException(inner) => {
1644                Error::InternalServerErrorException(inner)
1645            }
1646            crate::operation::update_broker_storage::UpdateBrokerStorageError::ServiceUnavailableException(inner) => {
1647                Error::ServiceUnavailableException(inner)
1648            }
1649            crate::operation::update_broker_storage::UpdateBrokerStorageError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
1650            crate::operation::update_broker_storage::UpdateBrokerStorageError::Unhandled(inner) => Error::Unhandled(inner),
1651        }
1652    }
1653}
1654impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_broker_type::UpdateBrokerTypeError, R>> for Error
1655where
1656    R: Send + Sync + std::fmt::Debug + 'static,
1657{
1658    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_broker_type::UpdateBrokerTypeError, R>) -> Self {
1659        match err {
1660            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1661            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1662                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1663                source: err.into(),
1664            }),
1665        }
1666    }
1667}
1668impl From<crate::operation::update_broker_type::UpdateBrokerTypeError> for Error {
1669    fn from(err: crate::operation::update_broker_type::UpdateBrokerTypeError) -> Self {
1670        match err {
1671            crate::operation::update_broker_type::UpdateBrokerTypeError::BadRequestException(inner) => Error::BadRequestException(inner),
1672            crate::operation::update_broker_type::UpdateBrokerTypeError::ForbiddenException(inner) => Error::ForbiddenException(inner),
1673            crate::operation::update_broker_type::UpdateBrokerTypeError::InternalServerErrorException(inner) => {
1674                Error::InternalServerErrorException(inner)
1675            }
1676            crate::operation::update_broker_type::UpdateBrokerTypeError::NotFoundException(inner) => Error::NotFoundException(inner),
1677            crate::operation::update_broker_type::UpdateBrokerTypeError::ServiceUnavailableException(inner) => {
1678                Error::ServiceUnavailableException(inner)
1679            }
1680            crate::operation::update_broker_type::UpdateBrokerTypeError::TooManyRequestsException(inner) => Error::TooManyRequestsException(inner),
1681            crate::operation::update_broker_type::UpdateBrokerTypeError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
1682            crate::operation::update_broker_type::UpdateBrokerTypeError::Unhandled(inner) => Error::Unhandled(inner),
1683        }
1684    }
1685}
1686impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_cluster_configuration::UpdateClusterConfigurationError, R>>
1687    for Error
1688where
1689    R: Send + Sync + std::fmt::Debug + 'static,
1690{
1691    fn from(
1692        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_cluster_configuration::UpdateClusterConfigurationError, R>,
1693    ) -> Self {
1694        match err {
1695            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1696            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1697                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1698                source: err.into(),
1699            }),
1700        }
1701    }
1702}
1703impl From<crate::operation::update_cluster_configuration::UpdateClusterConfigurationError> for Error {
1704    fn from(err: crate::operation::update_cluster_configuration::UpdateClusterConfigurationError) -> Self {
1705        match err {
1706            crate::operation::update_cluster_configuration::UpdateClusterConfigurationError::BadRequestException(inner) => {
1707                Error::BadRequestException(inner)
1708            }
1709            crate::operation::update_cluster_configuration::UpdateClusterConfigurationError::ForbiddenException(inner) => {
1710                Error::ForbiddenException(inner)
1711            }
1712            crate::operation::update_cluster_configuration::UpdateClusterConfigurationError::InternalServerErrorException(inner) => {
1713                Error::InternalServerErrorException(inner)
1714            }
1715            crate::operation::update_cluster_configuration::UpdateClusterConfigurationError::NotFoundException(inner) => {
1716                Error::NotFoundException(inner)
1717            }
1718            crate::operation::update_cluster_configuration::UpdateClusterConfigurationError::ServiceUnavailableException(inner) => {
1719                Error::ServiceUnavailableException(inner)
1720            }
1721            crate::operation::update_cluster_configuration::UpdateClusterConfigurationError::UnauthorizedException(inner) => {
1722                Error::UnauthorizedException(inner)
1723            }
1724            crate::operation::update_cluster_configuration::UpdateClusterConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
1725        }
1726    }
1727}
1728impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_cluster_kafka_version::UpdateClusterKafkaVersionError, R>>
1729    for Error
1730where
1731    R: Send + Sync + std::fmt::Debug + 'static,
1732{
1733    fn from(
1734        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_cluster_kafka_version::UpdateClusterKafkaVersionError, R>,
1735    ) -> Self {
1736        match err {
1737            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1738            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1739                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1740                source: err.into(),
1741            }),
1742        }
1743    }
1744}
1745impl From<crate::operation::update_cluster_kafka_version::UpdateClusterKafkaVersionError> for Error {
1746    fn from(err: crate::operation::update_cluster_kafka_version::UpdateClusterKafkaVersionError) -> Self {
1747        match err {
1748            crate::operation::update_cluster_kafka_version::UpdateClusterKafkaVersionError::BadRequestException(inner) => {
1749                Error::BadRequestException(inner)
1750            }
1751            crate::operation::update_cluster_kafka_version::UpdateClusterKafkaVersionError::ForbiddenException(inner) => {
1752                Error::ForbiddenException(inner)
1753            }
1754            crate::operation::update_cluster_kafka_version::UpdateClusterKafkaVersionError::InternalServerErrorException(inner) => {
1755                Error::InternalServerErrorException(inner)
1756            }
1757            crate::operation::update_cluster_kafka_version::UpdateClusterKafkaVersionError::NotFoundException(inner) => {
1758                Error::NotFoundException(inner)
1759            }
1760            crate::operation::update_cluster_kafka_version::UpdateClusterKafkaVersionError::ServiceUnavailableException(inner) => {
1761                Error::ServiceUnavailableException(inner)
1762            }
1763            crate::operation::update_cluster_kafka_version::UpdateClusterKafkaVersionError::TooManyRequestsException(inner) => {
1764                Error::TooManyRequestsException(inner)
1765            }
1766            crate::operation::update_cluster_kafka_version::UpdateClusterKafkaVersionError::UnauthorizedException(inner) => {
1767                Error::UnauthorizedException(inner)
1768            }
1769            crate::operation::update_cluster_kafka_version::UpdateClusterKafkaVersionError::Unhandled(inner) => Error::Unhandled(inner),
1770        }
1771    }
1772}
1773impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_configuration::UpdateConfigurationError, R>> for Error
1774where
1775    R: Send + Sync + std::fmt::Debug + 'static,
1776{
1777    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_configuration::UpdateConfigurationError, R>) -> Self {
1778        match err {
1779            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1780            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1781                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1782                source: err.into(),
1783            }),
1784        }
1785    }
1786}
1787impl From<crate::operation::update_configuration::UpdateConfigurationError> for Error {
1788    fn from(err: crate::operation::update_configuration::UpdateConfigurationError) -> Self {
1789        match err {
1790            crate::operation::update_configuration::UpdateConfigurationError::BadRequestException(inner) => Error::BadRequestException(inner),
1791            crate::operation::update_configuration::UpdateConfigurationError::ForbiddenException(inner) => Error::ForbiddenException(inner),
1792            crate::operation::update_configuration::UpdateConfigurationError::InternalServerErrorException(inner) => {
1793                Error::InternalServerErrorException(inner)
1794            }
1795            crate::operation::update_configuration::UpdateConfigurationError::NotFoundException(inner) => Error::NotFoundException(inner),
1796            crate::operation::update_configuration::UpdateConfigurationError::ServiceUnavailableException(inner) => {
1797                Error::ServiceUnavailableException(inner)
1798            }
1799            crate::operation::update_configuration::UpdateConfigurationError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
1800            crate::operation::update_configuration::UpdateConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
1801        }
1802    }
1803}
1804impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_connectivity::UpdateConnectivityError, R>> for Error
1805where
1806    R: Send + Sync + std::fmt::Debug + 'static,
1807{
1808    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_connectivity::UpdateConnectivityError, R>) -> Self {
1809        match err {
1810            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1811            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1812                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1813                source: err.into(),
1814            }),
1815        }
1816    }
1817}
1818impl From<crate::operation::update_connectivity::UpdateConnectivityError> for Error {
1819    fn from(err: crate::operation::update_connectivity::UpdateConnectivityError) -> Self {
1820        match err {
1821            crate::operation::update_connectivity::UpdateConnectivityError::BadRequestException(inner) => Error::BadRequestException(inner),
1822            crate::operation::update_connectivity::UpdateConnectivityError::ForbiddenException(inner) => Error::ForbiddenException(inner),
1823            crate::operation::update_connectivity::UpdateConnectivityError::InternalServerErrorException(inner) => {
1824                Error::InternalServerErrorException(inner)
1825            }
1826            crate::operation::update_connectivity::UpdateConnectivityError::NotFoundException(inner) => Error::NotFoundException(inner),
1827            crate::operation::update_connectivity::UpdateConnectivityError::ServiceUnavailableException(inner) => {
1828                Error::ServiceUnavailableException(inner)
1829            }
1830            crate::operation::update_connectivity::UpdateConnectivityError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
1831            crate::operation::update_connectivity::UpdateConnectivityError::Unhandled(inner) => Error::Unhandled(inner),
1832        }
1833    }
1834}
1835impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_monitoring::UpdateMonitoringError, R>> for Error
1836where
1837    R: Send + Sync + std::fmt::Debug + 'static,
1838{
1839    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_monitoring::UpdateMonitoringError, R>) -> Self {
1840        match err {
1841            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1842            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1843                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1844                source: err.into(),
1845            }),
1846        }
1847    }
1848}
1849impl From<crate::operation::update_monitoring::UpdateMonitoringError> for Error {
1850    fn from(err: crate::operation::update_monitoring::UpdateMonitoringError) -> Self {
1851        match err {
1852            crate::operation::update_monitoring::UpdateMonitoringError::BadRequestException(inner) => Error::BadRequestException(inner),
1853            crate::operation::update_monitoring::UpdateMonitoringError::ForbiddenException(inner) => Error::ForbiddenException(inner),
1854            crate::operation::update_monitoring::UpdateMonitoringError::InternalServerErrorException(inner) => {
1855                Error::InternalServerErrorException(inner)
1856            }
1857            crate::operation::update_monitoring::UpdateMonitoringError::ServiceUnavailableException(inner) => {
1858                Error::ServiceUnavailableException(inner)
1859            }
1860            crate::operation::update_monitoring::UpdateMonitoringError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
1861            crate::operation::update_monitoring::UpdateMonitoringError::Unhandled(inner) => Error::Unhandled(inner),
1862        }
1863    }
1864}
1865impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_rebalancing::UpdateRebalancingError, R>> for Error
1866where
1867    R: Send + Sync + std::fmt::Debug + 'static,
1868{
1869    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_rebalancing::UpdateRebalancingError, R>) -> Self {
1870        match err {
1871            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1872            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1873                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1874                source: err.into(),
1875            }),
1876        }
1877    }
1878}
1879impl From<crate::operation::update_rebalancing::UpdateRebalancingError> for Error {
1880    fn from(err: crate::operation::update_rebalancing::UpdateRebalancingError) -> Self {
1881        match err {
1882            crate::operation::update_rebalancing::UpdateRebalancingError::BadRequestException(inner) => Error::BadRequestException(inner),
1883            crate::operation::update_rebalancing::UpdateRebalancingError::ForbiddenException(inner) => Error::ForbiddenException(inner),
1884            crate::operation::update_rebalancing::UpdateRebalancingError::InternalServerErrorException(inner) => {
1885                Error::InternalServerErrorException(inner)
1886            }
1887            crate::operation::update_rebalancing::UpdateRebalancingError::NotFoundException(inner) => Error::NotFoundException(inner),
1888            crate::operation::update_rebalancing::UpdateRebalancingError::ServiceUnavailableException(inner) => {
1889                Error::ServiceUnavailableException(inner)
1890            }
1891            crate::operation::update_rebalancing::UpdateRebalancingError::TooManyRequestsException(inner) => Error::TooManyRequestsException(inner),
1892            crate::operation::update_rebalancing::UpdateRebalancingError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
1893            crate::operation::update_rebalancing::UpdateRebalancingError::Unhandled(inner) => Error::Unhandled(inner),
1894        }
1895    }
1896}
1897impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_replication_info::UpdateReplicationInfoError, R>> for Error
1898where
1899    R: Send + Sync + std::fmt::Debug + 'static,
1900{
1901    fn from(
1902        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_replication_info::UpdateReplicationInfoError, R>,
1903    ) -> Self {
1904        match err {
1905            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1906            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1907                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1908                source: err.into(),
1909            }),
1910        }
1911    }
1912}
1913impl From<crate::operation::update_replication_info::UpdateReplicationInfoError> for Error {
1914    fn from(err: crate::operation::update_replication_info::UpdateReplicationInfoError) -> Self {
1915        match err {
1916            crate::operation::update_replication_info::UpdateReplicationInfoError::BadRequestException(inner) => Error::BadRequestException(inner),
1917            crate::operation::update_replication_info::UpdateReplicationInfoError::ForbiddenException(inner) => Error::ForbiddenException(inner),
1918            crate::operation::update_replication_info::UpdateReplicationInfoError::InternalServerErrorException(inner) => {
1919                Error::InternalServerErrorException(inner)
1920            }
1921            crate::operation::update_replication_info::UpdateReplicationInfoError::NotFoundException(inner) => Error::NotFoundException(inner),
1922            crate::operation::update_replication_info::UpdateReplicationInfoError::ServiceUnavailableException(inner) => {
1923                Error::ServiceUnavailableException(inner)
1924            }
1925            crate::operation::update_replication_info::UpdateReplicationInfoError::TooManyRequestsException(inner) => {
1926                Error::TooManyRequestsException(inner)
1927            }
1928            crate::operation::update_replication_info::UpdateReplicationInfoError::UnauthorizedException(inner) => {
1929                Error::UnauthorizedException(inner)
1930            }
1931            crate::operation::update_replication_info::UpdateReplicationInfoError::Unhandled(inner) => Error::Unhandled(inner),
1932        }
1933    }
1934}
1935impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_security::UpdateSecurityError, R>> for Error
1936where
1937    R: Send + Sync + std::fmt::Debug + 'static,
1938{
1939    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_security::UpdateSecurityError, R>) -> Self {
1940        match err {
1941            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1942            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1943                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1944                source: err.into(),
1945            }),
1946        }
1947    }
1948}
1949impl From<crate::operation::update_security::UpdateSecurityError> for Error {
1950    fn from(err: crate::operation::update_security::UpdateSecurityError) -> Self {
1951        match err {
1952            crate::operation::update_security::UpdateSecurityError::BadRequestException(inner) => Error::BadRequestException(inner),
1953            crate::operation::update_security::UpdateSecurityError::ForbiddenException(inner) => Error::ForbiddenException(inner),
1954            crate::operation::update_security::UpdateSecurityError::InternalServerErrorException(inner) => Error::InternalServerErrorException(inner),
1955            crate::operation::update_security::UpdateSecurityError::NotFoundException(inner) => Error::NotFoundException(inner),
1956            crate::operation::update_security::UpdateSecurityError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
1957            crate::operation::update_security::UpdateSecurityError::TooManyRequestsException(inner) => Error::TooManyRequestsException(inner),
1958            crate::operation::update_security::UpdateSecurityError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
1959            crate::operation::update_security::UpdateSecurityError::Unhandled(inner) => Error::Unhandled(inner),
1960        }
1961    }
1962}
1963impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_storage::UpdateStorageError, R>> for Error
1964where
1965    R: Send + Sync + std::fmt::Debug + 'static,
1966{
1967    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_storage::UpdateStorageError, R>) -> Self {
1968        match err {
1969            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1970            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1971                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1972                source: err.into(),
1973            }),
1974        }
1975    }
1976}
1977impl From<crate::operation::update_storage::UpdateStorageError> for Error {
1978    fn from(err: crate::operation::update_storage::UpdateStorageError) -> Self {
1979        match err {
1980            crate::operation::update_storage::UpdateStorageError::BadRequestException(inner) => Error::BadRequestException(inner),
1981            crate::operation::update_storage::UpdateStorageError::ForbiddenException(inner) => Error::ForbiddenException(inner),
1982            crate::operation::update_storage::UpdateStorageError::InternalServerErrorException(inner) => Error::InternalServerErrorException(inner),
1983            crate::operation::update_storage::UpdateStorageError::NotFoundException(inner) => Error::NotFoundException(inner),
1984            crate::operation::update_storage::UpdateStorageError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
1985            crate::operation::update_storage::UpdateStorageError::TooManyRequestsException(inner) => Error::TooManyRequestsException(inner),
1986            crate::operation::update_storage::UpdateStorageError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
1987            crate::operation::update_storage::UpdateStorageError::Unhandled(inner) => Error::Unhandled(inner),
1988        }
1989    }
1990}
1991impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_topic::UpdateTopicError, R>> for Error
1992where
1993    R: Send + Sync + std::fmt::Debug + 'static,
1994{
1995    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_topic::UpdateTopicError, R>) -> Self {
1996        match err {
1997            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1998            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1999                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2000                source: err.into(),
2001            }),
2002        }
2003    }
2004}
2005impl From<crate::operation::update_topic::UpdateTopicError> for Error {
2006    fn from(err: crate::operation::update_topic::UpdateTopicError) -> Self {
2007        match err {
2008            crate::operation::update_topic::UpdateTopicError::BadRequestException(inner) => Error::BadRequestException(inner),
2009            crate::operation::update_topic::UpdateTopicError::ClusterConnectivityException(inner) => Error::ClusterConnectivityException(inner),
2010            crate::operation::update_topic::UpdateTopicError::ControllerMovedException(inner) => Error::ControllerMovedException(inner),
2011            crate::operation::update_topic::UpdateTopicError::ForbiddenException(inner) => Error::ForbiddenException(inner),
2012            crate::operation::update_topic::UpdateTopicError::GroupSubscribedToTopicException(inner) => Error::GroupSubscribedToTopicException(inner),
2013            crate::operation::update_topic::UpdateTopicError::InternalServerErrorException(inner) => Error::InternalServerErrorException(inner),
2014            crate::operation::update_topic::UpdateTopicError::KafkaRequestException(inner) => Error::KafkaRequestException(inner),
2015            crate::operation::update_topic::UpdateTopicError::KafkaTimeoutException(inner) => Error::KafkaTimeoutException(inner),
2016            crate::operation::update_topic::UpdateTopicError::NotControllerException(inner) => Error::NotControllerException(inner),
2017            crate::operation::update_topic::UpdateTopicError::NotFoundException(inner) => Error::NotFoundException(inner),
2018            crate::operation::update_topic::UpdateTopicError::ReassignmentInProgressException(inner) => Error::ReassignmentInProgressException(inner),
2019            crate::operation::update_topic::UpdateTopicError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
2020            crate::operation::update_topic::UpdateTopicError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
2021            crate::operation::update_topic::UpdateTopicError::UnknownTopicOrPartitionException(inner) => {
2022                Error::UnknownTopicOrPartitionException(inner)
2023            }
2024            crate::operation::update_topic::UpdateTopicError::Unhandled(inner) => Error::Unhandled(inner),
2025        }
2026    }
2027}
2028impl ::std::error::Error for Error {
2029    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
2030        match self {
2031            Error::BadRequestException(inner) => inner.source(),
2032            Error::ClusterConnectivityException(inner) => inner.source(),
2033            Error::ConflictException(inner) => inner.source(),
2034            Error::ControllerMovedException(inner) => inner.source(),
2035            Error::ForbiddenException(inner) => inner.source(),
2036            Error::GroupSubscribedToTopicException(inner) => inner.source(),
2037            Error::InternalServerErrorException(inner) => inner.source(),
2038            Error::KafkaRequestException(inner) => inner.source(),
2039            Error::KafkaTimeoutException(inner) => inner.source(),
2040            Error::NotControllerException(inner) => inner.source(),
2041            Error::NotFoundException(inner) => inner.source(),
2042            Error::ReassignmentInProgressException(inner) => inner.source(),
2043            Error::ServiceUnavailableException(inner) => inner.source(),
2044            Error::TooManyRequestsException(inner) => inner.source(),
2045            Error::TopicExistsException(inner) => inner.source(),
2046            Error::UnauthorizedException(inner) => inner.source(),
2047            Error::UnknownTopicOrPartitionException(inner) => inner.source(),
2048            Error::Unhandled(inner) => ::std::option::Option::Some(&*inner.source),
2049        }
2050    }
2051}
2052impl ::aws_types::request_id::RequestId for Error {
2053    fn request_id(&self) -> Option<&str> {
2054        match self {
2055            Self::BadRequestException(e) => e.request_id(),
2056            Self::ClusterConnectivityException(e) => e.request_id(),
2057            Self::ConflictException(e) => e.request_id(),
2058            Self::ControllerMovedException(e) => e.request_id(),
2059            Self::ForbiddenException(e) => e.request_id(),
2060            Self::GroupSubscribedToTopicException(e) => e.request_id(),
2061            Self::InternalServerErrorException(e) => e.request_id(),
2062            Self::KafkaRequestException(e) => e.request_id(),
2063            Self::KafkaTimeoutException(e) => e.request_id(),
2064            Self::NotControllerException(e) => e.request_id(),
2065            Self::NotFoundException(e) => e.request_id(),
2066            Self::ReassignmentInProgressException(e) => e.request_id(),
2067            Self::ServiceUnavailableException(e) => e.request_id(),
2068            Self::TooManyRequestsException(e) => e.request_id(),
2069            Self::TopicExistsException(e) => e.request_id(),
2070            Self::UnauthorizedException(e) => e.request_id(),
2071            Self::UnknownTopicOrPartitionException(e) => e.request_id(),
2072            Self::Unhandled(e) => e.meta.request_id(),
2073        }
2074    }
2075}