1#[non_exhaustive]
4#[derive(::std::fmt::Debug)]
5pub enum Error {
6 AccessDeniedException(crate::types::error::AccessDeniedException),
8 AlreadyExistsException(crate::types::error::AlreadyExistsException),
10 ColumnStatisticsTaskNotRunningException(crate::types::error::ColumnStatisticsTaskNotRunningException),
12 ColumnStatisticsTaskRunningException(crate::types::error::ColumnStatisticsTaskRunningException),
14 ColumnStatisticsTaskStoppingException(crate::types::error::ColumnStatisticsTaskStoppingException),
16 ConcurrentModificationException(crate::types::error::ConcurrentModificationException),
18 ConcurrentRunsExceededException(crate::types::error::ConcurrentRunsExceededException),
20 ConditionCheckFailureException(crate::types::error::ConditionCheckFailureException),
22 ConflictException(crate::types::error::ConflictException),
24 CrawlerNotRunningException(crate::types::error::CrawlerNotRunningException),
26 CrawlerRunningException(crate::types::error::CrawlerRunningException),
28 CrawlerStoppingException(crate::types::error::CrawlerStoppingException),
30 EntityNotFoundException(crate::types::error::EntityNotFoundException),
32 FederatedResourceAlreadyExistsException(crate::types::error::FederatedResourceAlreadyExistsException),
34 FederationSourceException(crate::types::error::FederationSourceException),
36 FederationSourceRetryableException(crate::types::error::FederationSourceRetryableException),
38 GlueEncryptionException(crate::types::error::GlueEncryptionException),
40 IdempotentParameterMismatchException(crate::types::error::IdempotentParameterMismatchException),
42 IllegalBlueprintStateException(crate::types::error::IllegalBlueprintStateException),
44 IllegalSessionStateException(crate::types::error::IllegalSessionStateException),
46 IllegalWorkflowStateException(crate::types::error::IllegalWorkflowStateException),
48 IntegrationConflictOperationFault(crate::types::error::IntegrationConflictOperationFault),
50 IntegrationNotFoundFault(crate::types::error::IntegrationNotFoundFault),
52 IntegrationQuotaExceededFault(crate::types::error::IntegrationQuotaExceededFault),
54 InternalServerException(crate::types::error::InternalServerException),
56 InternalServiceException(crate::types::error::InternalServiceException),
58 InvalidInputException(crate::types::error::InvalidInputException),
60 InvalidIntegrationStateFault(crate::types::error::InvalidIntegrationStateFault),
62 InvalidStateException(crate::types::error::InvalidStateException),
64 KmsKeyNotAccessibleFault(crate::types::error::KmsKeyNotAccessibleFault),
66 MlTransformNotReadyException(crate::types::error::MlTransformNotReadyException),
68 MaterializedViewRefreshTaskNotRunningException(crate::types::error::MaterializedViewRefreshTaskNotRunningException),
70 MaterializedViewRefreshTaskRunningException(crate::types::error::MaterializedViewRefreshTaskRunningException),
72 MaterializedViewRefreshTaskStoppingException(crate::types::error::MaterializedViewRefreshTaskStoppingException),
74 NoScheduleException(crate::types::error::NoScheduleException),
76 OperationNotSupportedException(crate::types::error::OperationNotSupportedException),
78 OperationTimeoutException(crate::types::error::OperationTimeoutException),
80 PermissionTypeMismatchException(crate::types::error::PermissionTypeMismatchException),
82 ResourceNotFoundException(crate::types::error::ResourceNotFoundException),
84 ResourceNotReadyException(crate::types::error::ResourceNotReadyException),
86 ResourceNumberLimitExceededException(crate::types::error::ResourceNumberLimitExceededException),
88 SchedulerNotRunningException(crate::types::error::SchedulerNotRunningException),
90 SchedulerRunningException(crate::types::error::SchedulerRunningException),
92 SchedulerTransitioningException(crate::types::error::SchedulerTransitioningException),
94 SessionBusyException(crate::types::error::SessionBusyException),
96 TargetResourceNotFound(crate::types::error::TargetResourceNotFound),
98 ThrottlingException(crate::types::error::ThrottlingException),
100 ValidationException(crate::types::error::ValidationException),
102 VersionMismatchException(crate::types::error::VersionMismatchException),
104 #[deprecated(note = "Matching `Unhandled` directly is not forwards compatible. Instead, match using a \
106 variable wildcard pattern and check `.code()`:
107 \
108 `err if err.code() == Some(\"SpecificExceptionCode\") => { /* handle the error */ }`
109 \
110 See [`ProvideErrorMetadata`](#impl-ProvideErrorMetadata-for-Error) for what information is available for the error.")]
111 Unhandled(crate::error::sealed_unhandled::Unhandled),
112}
113impl ::std::fmt::Display for Error {
114 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
115 match self {
116 Error::AccessDeniedException(inner) => inner.fmt(f),
117 Error::AlreadyExistsException(inner) => inner.fmt(f),
118 Error::ColumnStatisticsTaskNotRunningException(inner) => inner.fmt(f),
119 Error::ColumnStatisticsTaskRunningException(inner) => inner.fmt(f),
120 Error::ColumnStatisticsTaskStoppingException(inner) => inner.fmt(f),
121 Error::ConcurrentModificationException(inner) => inner.fmt(f),
122 Error::ConcurrentRunsExceededException(inner) => inner.fmt(f),
123 Error::ConditionCheckFailureException(inner) => inner.fmt(f),
124 Error::ConflictException(inner) => inner.fmt(f),
125 Error::CrawlerNotRunningException(inner) => inner.fmt(f),
126 Error::CrawlerRunningException(inner) => inner.fmt(f),
127 Error::CrawlerStoppingException(inner) => inner.fmt(f),
128 Error::EntityNotFoundException(inner) => inner.fmt(f),
129 Error::FederatedResourceAlreadyExistsException(inner) => inner.fmt(f),
130 Error::FederationSourceException(inner) => inner.fmt(f),
131 Error::FederationSourceRetryableException(inner) => inner.fmt(f),
132 Error::GlueEncryptionException(inner) => inner.fmt(f),
133 Error::IdempotentParameterMismatchException(inner) => inner.fmt(f),
134 Error::IllegalBlueprintStateException(inner) => inner.fmt(f),
135 Error::IllegalSessionStateException(inner) => inner.fmt(f),
136 Error::IllegalWorkflowStateException(inner) => inner.fmt(f),
137 Error::IntegrationConflictOperationFault(inner) => inner.fmt(f),
138 Error::IntegrationNotFoundFault(inner) => inner.fmt(f),
139 Error::IntegrationQuotaExceededFault(inner) => inner.fmt(f),
140 Error::InternalServerException(inner) => inner.fmt(f),
141 Error::InternalServiceException(inner) => inner.fmt(f),
142 Error::InvalidInputException(inner) => inner.fmt(f),
143 Error::InvalidIntegrationStateFault(inner) => inner.fmt(f),
144 Error::InvalidStateException(inner) => inner.fmt(f),
145 Error::KmsKeyNotAccessibleFault(inner) => inner.fmt(f),
146 Error::MlTransformNotReadyException(inner) => inner.fmt(f),
147 Error::MaterializedViewRefreshTaskNotRunningException(inner) => inner.fmt(f),
148 Error::MaterializedViewRefreshTaskRunningException(inner) => inner.fmt(f),
149 Error::MaterializedViewRefreshTaskStoppingException(inner) => inner.fmt(f),
150 Error::NoScheduleException(inner) => inner.fmt(f),
151 Error::OperationNotSupportedException(inner) => inner.fmt(f),
152 Error::OperationTimeoutException(inner) => inner.fmt(f),
153 Error::PermissionTypeMismatchException(inner) => inner.fmt(f),
154 Error::ResourceNotFoundException(inner) => inner.fmt(f),
155 Error::ResourceNotReadyException(inner) => inner.fmt(f),
156 Error::ResourceNumberLimitExceededException(inner) => inner.fmt(f),
157 Error::SchedulerNotRunningException(inner) => inner.fmt(f),
158 Error::SchedulerRunningException(inner) => inner.fmt(f),
159 Error::SchedulerTransitioningException(inner) => inner.fmt(f),
160 Error::SessionBusyException(inner) => inner.fmt(f),
161 Error::TargetResourceNotFound(inner) => inner.fmt(f),
162 Error::ThrottlingException(inner) => inner.fmt(f),
163 Error::ValidationException(inner) => inner.fmt(f),
164 Error::VersionMismatchException(inner) => inner.fmt(f),
165 Error::Unhandled(_) => {
166 if let ::std::option::Option::Some(code) = ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self) {
167 write!(f, "unhandled error ({code})")
168 } else {
169 f.write_str("unhandled error")
170 }
171 }
172 }
173 }
174}
175impl From<::aws_smithy_types::error::operation::BuildError> for Error {
176 fn from(value: ::aws_smithy_types::error::operation::BuildError) -> Self {
177 Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
178 source: value.into(),
179 meta: ::std::default::Default::default(),
180 })
181 }
182}
183impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for Error {
184 fn meta(&self) -> &::aws_smithy_types::error::metadata::ErrorMetadata {
185 match self {
186 Self::AccessDeniedException(inner) => inner.meta(),
187 Self::AlreadyExistsException(inner) => inner.meta(),
188 Self::ColumnStatisticsTaskNotRunningException(inner) => inner.meta(),
189 Self::ColumnStatisticsTaskRunningException(inner) => inner.meta(),
190 Self::ColumnStatisticsTaskStoppingException(inner) => inner.meta(),
191 Self::ConcurrentModificationException(inner) => inner.meta(),
192 Self::ConcurrentRunsExceededException(inner) => inner.meta(),
193 Self::ConditionCheckFailureException(inner) => inner.meta(),
194 Self::ConflictException(inner) => inner.meta(),
195 Self::CrawlerNotRunningException(inner) => inner.meta(),
196 Self::CrawlerRunningException(inner) => inner.meta(),
197 Self::CrawlerStoppingException(inner) => inner.meta(),
198 Self::EntityNotFoundException(inner) => inner.meta(),
199 Self::FederatedResourceAlreadyExistsException(inner) => inner.meta(),
200 Self::FederationSourceException(inner) => inner.meta(),
201 Self::FederationSourceRetryableException(inner) => inner.meta(),
202 Self::GlueEncryptionException(inner) => inner.meta(),
203 Self::IdempotentParameterMismatchException(inner) => inner.meta(),
204 Self::IllegalBlueprintStateException(inner) => inner.meta(),
205 Self::IllegalSessionStateException(inner) => inner.meta(),
206 Self::IllegalWorkflowStateException(inner) => inner.meta(),
207 Self::IntegrationConflictOperationFault(inner) => inner.meta(),
208 Self::IntegrationNotFoundFault(inner) => inner.meta(),
209 Self::IntegrationQuotaExceededFault(inner) => inner.meta(),
210 Self::InternalServerException(inner) => inner.meta(),
211 Self::InternalServiceException(inner) => inner.meta(),
212 Self::InvalidInputException(inner) => inner.meta(),
213 Self::InvalidIntegrationStateFault(inner) => inner.meta(),
214 Self::InvalidStateException(inner) => inner.meta(),
215 Self::KmsKeyNotAccessibleFault(inner) => inner.meta(),
216 Self::MlTransformNotReadyException(inner) => inner.meta(),
217 Self::MaterializedViewRefreshTaskNotRunningException(inner) => inner.meta(),
218 Self::MaterializedViewRefreshTaskRunningException(inner) => inner.meta(),
219 Self::MaterializedViewRefreshTaskStoppingException(inner) => inner.meta(),
220 Self::NoScheduleException(inner) => inner.meta(),
221 Self::OperationNotSupportedException(inner) => inner.meta(),
222 Self::OperationTimeoutException(inner) => inner.meta(),
223 Self::PermissionTypeMismatchException(inner) => inner.meta(),
224 Self::ResourceNotFoundException(inner) => inner.meta(),
225 Self::ResourceNotReadyException(inner) => inner.meta(),
226 Self::ResourceNumberLimitExceededException(inner) => inner.meta(),
227 Self::SchedulerNotRunningException(inner) => inner.meta(),
228 Self::SchedulerRunningException(inner) => inner.meta(),
229 Self::SchedulerTransitioningException(inner) => inner.meta(),
230 Self::SessionBusyException(inner) => inner.meta(),
231 Self::TargetResourceNotFound(inner) => inner.meta(),
232 Self::ThrottlingException(inner) => inner.meta(),
233 Self::ValidationException(inner) => inner.meta(),
234 Self::VersionMismatchException(inner) => inner.meta(),
235 Self::Unhandled(inner) => &inner.meta,
236 }
237 }
238}
239impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_glossary_terms::AssociateGlossaryTermsError, R>> for Error
240where
241 R: Send + Sync + std::fmt::Debug + 'static,
242{
243 fn from(
244 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_glossary_terms::AssociateGlossaryTermsError, R>,
245 ) -> Self {
246 match err {
247 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
248 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
249 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
250 source: err.into(),
251 }),
252 }
253 }
254}
255impl From<crate::operation::associate_glossary_terms::AssociateGlossaryTermsError> for Error {
256 fn from(err: crate::operation::associate_glossary_terms::AssociateGlossaryTermsError) -> Self {
257 match err {
258 crate::operation::associate_glossary_terms::AssociateGlossaryTermsError::AccessDeniedException(inner) => {
259 Error::AccessDeniedException(inner)
260 }
261 crate::operation::associate_glossary_terms::AssociateGlossaryTermsError::ConcurrentModificationException(inner) => {
262 Error::ConcurrentModificationException(inner)
263 }
264 crate::operation::associate_glossary_terms::AssociateGlossaryTermsError::EntityNotFoundException(inner) => {
265 Error::EntityNotFoundException(inner)
266 }
267 crate::operation::associate_glossary_terms::AssociateGlossaryTermsError::InternalServiceException(inner) => {
268 Error::InternalServiceException(inner)
269 }
270 crate::operation::associate_glossary_terms::AssociateGlossaryTermsError::InvalidInputException(inner) => {
271 Error::InvalidInputException(inner)
272 }
273 crate::operation::associate_glossary_terms::AssociateGlossaryTermsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
274 crate::operation::associate_glossary_terms::AssociateGlossaryTermsError::Unhandled(inner) => Error::Unhandled(inner),
275 }
276 }
277}
278impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_create_partition::BatchCreatePartitionError, R>> for Error
279where
280 R: Send + Sync + std::fmt::Debug + 'static,
281{
282 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_create_partition::BatchCreatePartitionError, R>) -> Self {
283 match err {
284 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
285 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
286 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
287 source: err.into(),
288 }),
289 }
290 }
291}
292impl From<crate::operation::batch_create_partition::BatchCreatePartitionError> for Error {
293 fn from(err: crate::operation::batch_create_partition::BatchCreatePartitionError) -> Self {
294 match err {
295 crate::operation::batch_create_partition::BatchCreatePartitionError::AlreadyExistsException(inner) => {
296 Error::AlreadyExistsException(inner)
297 }
298 crate::operation::batch_create_partition::BatchCreatePartitionError::ConcurrentModificationException(inner) => {
299 Error::ConcurrentModificationException(inner)
300 }
301 crate::operation::batch_create_partition::BatchCreatePartitionError::EntityNotFoundException(inner) => {
302 Error::EntityNotFoundException(inner)
303 }
304 crate::operation::batch_create_partition::BatchCreatePartitionError::GlueEncryptionException(inner) => {
305 Error::GlueEncryptionException(inner)
306 }
307 crate::operation::batch_create_partition::BatchCreatePartitionError::InternalServiceException(inner) => {
308 Error::InternalServiceException(inner)
309 }
310 crate::operation::batch_create_partition::BatchCreatePartitionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
311 crate::operation::batch_create_partition::BatchCreatePartitionError::OperationTimeoutException(inner) => {
312 Error::OperationTimeoutException(inner)
313 }
314 crate::operation::batch_create_partition::BatchCreatePartitionError::ResourceNumberLimitExceededException(inner) => {
315 Error::ResourceNumberLimitExceededException(inner)
316 }
317 crate::operation::batch_create_partition::BatchCreatePartitionError::Unhandled(inner) => Error::Unhandled(inner),
318 }
319 }
320}
321impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_delete_connection::BatchDeleteConnectionError, R>> for Error
322where
323 R: Send + Sync + std::fmt::Debug + 'static,
324{
325 fn from(
326 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_delete_connection::BatchDeleteConnectionError, R>,
327 ) -> Self {
328 match err {
329 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
330 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
331 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
332 source: err.into(),
333 }),
334 }
335 }
336}
337impl From<crate::operation::batch_delete_connection::BatchDeleteConnectionError> for Error {
338 fn from(err: crate::operation::batch_delete_connection::BatchDeleteConnectionError) -> Self {
339 match err {
340 crate::operation::batch_delete_connection::BatchDeleteConnectionError::InternalServiceException(inner) => {
341 Error::InternalServiceException(inner)
342 }
343 crate::operation::batch_delete_connection::BatchDeleteConnectionError::OperationTimeoutException(inner) => {
344 Error::OperationTimeoutException(inner)
345 }
346 crate::operation::batch_delete_connection::BatchDeleteConnectionError::Unhandled(inner) => Error::Unhandled(inner),
347 }
348 }
349}
350impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_delete_partition::BatchDeletePartitionError, R>> for Error
351where
352 R: Send + Sync + std::fmt::Debug + 'static,
353{
354 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_delete_partition::BatchDeletePartitionError, R>) -> Self {
355 match err {
356 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
357 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
358 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
359 source: err.into(),
360 }),
361 }
362 }
363}
364impl From<crate::operation::batch_delete_partition::BatchDeletePartitionError> for Error {
365 fn from(err: crate::operation::batch_delete_partition::BatchDeletePartitionError) -> Self {
366 match err {
367 crate::operation::batch_delete_partition::BatchDeletePartitionError::ConcurrentModificationException(inner) => {
368 Error::ConcurrentModificationException(inner)
369 }
370 crate::operation::batch_delete_partition::BatchDeletePartitionError::EntityNotFoundException(inner) => {
371 Error::EntityNotFoundException(inner)
372 }
373 crate::operation::batch_delete_partition::BatchDeletePartitionError::InternalServiceException(inner) => {
374 Error::InternalServiceException(inner)
375 }
376 crate::operation::batch_delete_partition::BatchDeletePartitionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
377 crate::operation::batch_delete_partition::BatchDeletePartitionError::OperationTimeoutException(inner) => {
378 Error::OperationTimeoutException(inner)
379 }
380 crate::operation::batch_delete_partition::BatchDeletePartitionError::Unhandled(inner) => Error::Unhandled(inner),
381 }
382 }
383}
384impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_delete_table::BatchDeleteTableError, R>> for Error
385where
386 R: Send + Sync + std::fmt::Debug + 'static,
387{
388 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_delete_table::BatchDeleteTableError, R>) -> Self {
389 match err {
390 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
391 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
392 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
393 source: err.into(),
394 }),
395 }
396 }
397}
398impl From<crate::operation::batch_delete_table::BatchDeleteTableError> for Error {
399 fn from(err: crate::operation::batch_delete_table::BatchDeleteTableError) -> Self {
400 match err {
401 crate::operation::batch_delete_table::BatchDeleteTableError::ConcurrentModificationException(inner) => {
402 Error::ConcurrentModificationException(inner)
403 }
404 crate::operation::batch_delete_table::BatchDeleteTableError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
405 crate::operation::batch_delete_table::BatchDeleteTableError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
406 crate::operation::batch_delete_table::BatchDeleteTableError::InternalServiceException(inner) => Error::InternalServiceException(inner),
407 crate::operation::batch_delete_table::BatchDeleteTableError::InvalidInputException(inner) => Error::InvalidInputException(inner),
408 crate::operation::batch_delete_table::BatchDeleteTableError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
409 crate::operation::batch_delete_table::BatchDeleteTableError::ResourceNotReadyException(inner) => Error::ResourceNotReadyException(inner),
410 crate::operation::batch_delete_table::BatchDeleteTableError::Unhandled(inner) => Error::Unhandled(inner),
411 }
412 }
413}
414impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_delete_table_version::BatchDeleteTableVersionError, R>>
415 for Error
416where
417 R: Send + Sync + std::fmt::Debug + 'static,
418{
419 fn from(
420 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_delete_table_version::BatchDeleteTableVersionError, R>,
421 ) -> Self {
422 match err {
423 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
424 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
425 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
426 source: err.into(),
427 }),
428 }
429 }
430}
431impl From<crate::operation::batch_delete_table_version::BatchDeleteTableVersionError> for Error {
432 fn from(err: crate::operation::batch_delete_table_version::BatchDeleteTableVersionError) -> Self {
433 match err {
434 crate::operation::batch_delete_table_version::BatchDeleteTableVersionError::EntityNotFoundException(inner) => {
435 Error::EntityNotFoundException(inner)
436 }
437 crate::operation::batch_delete_table_version::BatchDeleteTableVersionError::InternalServiceException(inner) => {
438 Error::InternalServiceException(inner)
439 }
440 crate::operation::batch_delete_table_version::BatchDeleteTableVersionError::InvalidInputException(inner) => {
441 Error::InvalidInputException(inner)
442 }
443 crate::operation::batch_delete_table_version::BatchDeleteTableVersionError::OperationTimeoutException(inner) => {
444 Error::OperationTimeoutException(inner)
445 }
446 crate::operation::batch_delete_table_version::BatchDeleteTableVersionError::Unhandled(inner) => Error::Unhandled(inner),
447 }
448 }
449}
450impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_blueprints::BatchGetBlueprintsError, R>> for Error
451where
452 R: Send + Sync + std::fmt::Debug + 'static,
453{
454 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_blueprints::BatchGetBlueprintsError, R>) -> Self {
455 match err {
456 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
457 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
458 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
459 source: err.into(),
460 }),
461 }
462 }
463}
464impl From<crate::operation::batch_get_blueprints::BatchGetBlueprintsError> for Error {
465 fn from(err: crate::operation::batch_get_blueprints::BatchGetBlueprintsError) -> Self {
466 match err {
467 crate::operation::batch_get_blueprints::BatchGetBlueprintsError::InternalServiceException(inner) => {
468 Error::InternalServiceException(inner)
469 }
470 crate::operation::batch_get_blueprints::BatchGetBlueprintsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
471 crate::operation::batch_get_blueprints::BatchGetBlueprintsError::OperationTimeoutException(inner) => {
472 Error::OperationTimeoutException(inner)
473 }
474 crate::operation::batch_get_blueprints::BatchGetBlueprintsError::Unhandled(inner) => Error::Unhandled(inner),
475 }
476 }
477}
478impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_crawlers::BatchGetCrawlersError, R>> for Error
479where
480 R: Send + Sync + std::fmt::Debug + 'static,
481{
482 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_crawlers::BatchGetCrawlersError, R>) -> Self {
483 match err {
484 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
485 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
486 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
487 source: err.into(),
488 }),
489 }
490 }
491}
492impl From<crate::operation::batch_get_crawlers::BatchGetCrawlersError> for Error {
493 fn from(err: crate::operation::batch_get_crawlers::BatchGetCrawlersError) -> Self {
494 match err {
495 crate::operation::batch_get_crawlers::BatchGetCrawlersError::InvalidInputException(inner) => Error::InvalidInputException(inner),
496 crate::operation::batch_get_crawlers::BatchGetCrawlersError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
497 crate::operation::batch_get_crawlers::BatchGetCrawlersError::Unhandled(inner) => Error::Unhandled(inner),
498 }
499 }
500}
501impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_custom_entity_types::BatchGetCustomEntityTypesError, R>>
502 for Error
503where
504 R: Send + Sync + std::fmt::Debug + 'static,
505{
506 fn from(
507 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_custom_entity_types::BatchGetCustomEntityTypesError, R>,
508 ) -> Self {
509 match err {
510 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
511 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
512 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
513 source: err.into(),
514 }),
515 }
516 }
517}
518impl From<crate::operation::batch_get_custom_entity_types::BatchGetCustomEntityTypesError> for Error {
519 fn from(err: crate::operation::batch_get_custom_entity_types::BatchGetCustomEntityTypesError) -> Self {
520 match err {
521 crate::operation::batch_get_custom_entity_types::BatchGetCustomEntityTypesError::InternalServiceException(inner) => {
522 Error::InternalServiceException(inner)
523 }
524 crate::operation::batch_get_custom_entity_types::BatchGetCustomEntityTypesError::InvalidInputException(inner) => {
525 Error::InvalidInputException(inner)
526 }
527 crate::operation::batch_get_custom_entity_types::BatchGetCustomEntityTypesError::OperationTimeoutException(inner) => {
528 Error::OperationTimeoutException(inner)
529 }
530 crate::operation::batch_get_custom_entity_types::BatchGetCustomEntityTypesError::Unhandled(inner) => Error::Unhandled(inner),
531 }
532 }
533}
534impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_data_quality_result::BatchGetDataQualityResultError, R>>
535 for Error
536where
537 R: Send + Sync + std::fmt::Debug + 'static,
538{
539 fn from(
540 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_data_quality_result::BatchGetDataQualityResultError, R>,
541 ) -> Self {
542 match err {
543 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
544 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
545 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
546 source: err.into(),
547 }),
548 }
549 }
550}
551impl From<crate::operation::batch_get_data_quality_result::BatchGetDataQualityResultError> for Error {
552 fn from(err: crate::operation::batch_get_data_quality_result::BatchGetDataQualityResultError) -> Self {
553 match err {
554 crate::operation::batch_get_data_quality_result::BatchGetDataQualityResultError::InternalServiceException(inner) => {
555 Error::InternalServiceException(inner)
556 }
557 crate::operation::batch_get_data_quality_result::BatchGetDataQualityResultError::InvalidInputException(inner) => {
558 Error::InvalidInputException(inner)
559 }
560 crate::operation::batch_get_data_quality_result::BatchGetDataQualityResultError::OperationTimeoutException(inner) => {
561 Error::OperationTimeoutException(inner)
562 }
563 crate::operation::batch_get_data_quality_result::BatchGetDataQualityResultError::Unhandled(inner) => Error::Unhandled(inner),
564 }
565 }
566}
567impl<R>
568 From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_data_quality_result_v2::BatchGetDataQualityResultV2Error, R>>
569 for Error
570where
571 R: Send + Sync + std::fmt::Debug + 'static,
572{
573 fn from(
574 err: ::aws_smithy_runtime_api::client::result::SdkError<
575 crate::operation::batch_get_data_quality_result_v2::BatchGetDataQualityResultV2Error,
576 R,
577 >,
578 ) -> Self {
579 match err {
580 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
581 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
582 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
583 source: err.into(),
584 }),
585 }
586 }
587}
588impl From<crate::operation::batch_get_data_quality_result_v2::BatchGetDataQualityResultV2Error> for Error {
589 fn from(err: crate::operation::batch_get_data_quality_result_v2::BatchGetDataQualityResultV2Error) -> Self {
590 match err {
591 crate::operation::batch_get_data_quality_result_v2::BatchGetDataQualityResultV2Error::InternalServiceException(inner) => {
592 Error::InternalServiceException(inner)
593 }
594 crate::operation::batch_get_data_quality_result_v2::BatchGetDataQualityResultV2Error::InvalidInputException(inner) => {
595 Error::InvalidInputException(inner)
596 }
597 crate::operation::batch_get_data_quality_result_v2::BatchGetDataQualityResultV2Error::OperationTimeoutException(inner) => {
598 Error::OperationTimeoutException(inner)
599 }
600 crate::operation::batch_get_data_quality_result_v2::BatchGetDataQualityResultV2Error::Unhandled(inner) => Error::Unhandled(inner),
601 }
602 }
603}
604impl<R>
605 From<
606 ::aws_smithy_runtime_api::client::result::SdkError<
607 crate::operation::batch_get_data_quality_ruleset_evaluation_run::BatchGetDataQualityRulesetEvaluationRunError,
608 R,
609 >,
610 > for Error
611where
612 R: Send + Sync + std::fmt::Debug + 'static,
613{
614 fn from(
615 err: ::aws_smithy_runtime_api::client::result::SdkError<
616 crate::operation::batch_get_data_quality_ruleset_evaluation_run::BatchGetDataQualityRulesetEvaluationRunError,
617 R,
618 >,
619 ) -> Self {
620 match err {
621 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
622 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
623 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
624 source: err.into(),
625 }),
626 }
627 }
628}
629impl From<crate::operation::batch_get_data_quality_ruleset_evaluation_run::BatchGetDataQualityRulesetEvaluationRunError> for Error {
630 fn from(err: crate::operation::batch_get_data_quality_ruleset_evaluation_run::BatchGetDataQualityRulesetEvaluationRunError) -> Self {
631 match err {
632 crate::operation::batch_get_data_quality_ruleset_evaluation_run::BatchGetDataQualityRulesetEvaluationRunError::InternalServiceException(inner) => Error::InternalServiceException(inner),
633 crate::operation::batch_get_data_quality_ruleset_evaluation_run::BatchGetDataQualityRulesetEvaluationRunError::InvalidInputException(inner) => Error::InvalidInputException(inner),
634 crate::operation::batch_get_data_quality_ruleset_evaluation_run::BatchGetDataQualityRulesetEvaluationRunError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
635 crate::operation::batch_get_data_quality_ruleset_evaluation_run::BatchGetDataQualityRulesetEvaluationRunError::Unhandled(inner) => Error::Unhandled(inner),
636 }
637 }
638}
639impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_dev_endpoints::BatchGetDevEndpointsError, R>> for Error
640where
641 R: Send + Sync + std::fmt::Debug + 'static,
642{
643 fn from(
644 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_dev_endpoints::BatchGetDevEndpointsError, R>,
645 ) -> Self {
646 match err {
647 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
648 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
649 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
650 source: err.into(),
651 }),
652 }
653 }
654}
655impl From<crate::operation::batch_get_dev_endpoints::BatchGetDevEndpointsError> for Error {
656 fn from(err: crate::operation::batch_get_dev_endpoints::BatchGetDevEndpointsError) -> Self {
657 match err {
658 crate::operation::batch_get_dev_endpoints::BatchGetDevEndpointsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
659 crate::operation::batch_get_dev_endpoints::BatchGetDevEndpointsError::InternalServiceException(inner) => {
660 Error::InternalServiceException(inner)
661 }
662 crate::operation::batch_get_dev_endpoints::BatchGetDevEndpointsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
663 crate::operation::batch_get_dev_endpoints::BatchGetDevEndpointsError::OperationTimeoutException(inner) => {
664 Error::OperationTimeoutException(inner)
665 }
666 crate::operation::batch_get_dev_endpoints::BatchGetDevEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
667 }
668 }
669}
670impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_iterable_forms::BatchGetIterableFormsError, R>> for Error
671where
672 R: Send + Sync + std::fmt::Debug + 'static,
673{
674 fn from(
675 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_iterable_forms::BatchGetIterableFormsError, R>,
676 ) -> Self {
677 match err {
678 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
679 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
680 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
681 source: err.into(),
682 }),
683 }
684 }
685}
686impl From<crate::operation::batch_get_iterable_forms::BatchGetIterableFormsError> for Error {
687 fn from(err: crate::operation::batch_get_iterable_forms::BatchGetIterableFormsError) -> Self {
688 match err {
689 crate::operation::batch_get_iterable_forms::BatchGetIterableFormsError::AccessDeniedException(inner) => {
690 Error::AccessDeniedException(inner)
691 }
692 crate::operation::batch_get_iterable_forms::BatchGetIterableFormsError::EntityNotFoundException(inner) => {
693 Error::EntityNotFoundException(inner)
694 }
695 crate::operation::batch_get_iterable_forms::BatchGetIterableFormsError::InternalServiceException(inner) => {
696 Error::InternalServiceException(inner)
697 }
698 crate::operation::batch_get_iterable_forms::BatchGetIterableFormsError::InvalidInputException(inner) => {
699 Error::InvalidInputException(inner)
700 }
701 crate::operation::batch_get_iterable_forms::BatchGetIterableFormsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
702 crate::operation::batch_get_iterable_forms::BatchGetIterableFormsError::Unhandled(inner) => Error::Unhandled(inner),
703 }
704 }
705}
706impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_jobs::BatchGetJobsError, R>> for Error
707where
708 R: Send + Sync + std::fmt::Debug + 'static,
709{
710 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_jobs::BatchGetJobsError, R>) -> Self {
711 match err {
712 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
713 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
714 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
715 source: err.into(),
716 }),
717 }
718 }
719}
720impl From<crate::operation::batch_get_jobs::BatchGetJobsError> for Error {
721 fn from(err: crate::operation::batch_get_jobs::BatchGetJobsError) -> Self {
722 match err {
723 crate::operation::batch_get_jobs::BatchGetJobsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
724 crate::operation::batch_get_jobs::BatchGetJobsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
725 crate::operation::batch_get_jobs::BatchGetJobsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
726 crate::operation::batch_get_jobs::BatchGetJobsError::Unhandled(inner) => Error::Unhandled(inner),
727 }
728 }
729}
730impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_partition::BatchGetPartitionError, R>> for Error
731where
732 R: Send + Sync + std::fmt::Debug + 'static,
733{
734 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_partition::BatchGetPartitionError, R>) -> Self {
735 match err {
736 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
737 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
738 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
739 source: err.into(),
740 }),
741 }
742 }
743}
744impl From<crate::operation::batch_get_partition::BatchGetPartitionError> for Error {
745 fn from(err: crate::operation::batch_get_partition::BatchGetPartitionError) -> Self {
746 match err {
747 crate::operation::batch_get_partition::BatchGetPartitionError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
748 crate::operation::batch_get_partition::BatchGetPartitionError::FederationSourceException(inner) => {
749 Error::FederationSourceException(inner)
750 }
751 crate::operation::batch_get_partition::BatchGetPartitionError::FederationSourceRetryableException(inner) => {
752 Error::FederationSourceRetryableException(inner)
753 }
754 crate::operation::batch_get_partition::BatchGetPartitionError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
755 crate::operation::batch_get_partition::BatchGetPartitionError::InternalServiceException(inner) => Error::InternalServiceException(inner),
756 crate::operation::batch_get_partition::BatchGetPartitionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
757 crate::operation::batch_get_partition::BatchGetPartitionError::InvalidStateException(inner) => Error::InvalidStateException(inner),
758 crate::operation::batch_get_partition::BatchGetPartitionError::OperationTimeoutException(inner) => {
759 Error::OperationTimeoutException(inner)
760 }
761 crate::operation::batch_get_partition::BatchGetPartitionError::Unhandled(inner) => Error::Unhandled(inner),
762 }
763 }
764}
765impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_table_optimizer::BatchGetTableOptimizerError, R>>
766 for Error
767where
768 R: Send + Sync + std::fmt::Debug + 'static,
769{
770 fn from(
771 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_table_optimizer::BatchGetTableOptimizerError, R>,
772 ) -> Self {
773 match err {
774 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
775 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
776 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
777 source: err.into(),
778 }),
779 }
780 }
781}
782impl From<crate::operation::batch_get_table_optimizer::BatchGetTableOptimizerError> for Error {
783 fn from(err: crate::operation::batch_get_table_optimizer::BatchGetTableOptimizerError) -> Self {
784 match err {
785 crate::operation::batch_get_table_optimizer::BatchGetTableOptimizerError::AccessDeniedException(inner) => {
786 Error::AccessDeniedException(inner)
787 }
788 crate::operation::batch_get_table_optimizer::BatchGetTableOptimizerError::EntityNotFoundException(inner) => {
789 Error::EntityNotFoundException(inner)
790 }
791 crate::operation::batch_get_table_optimizer::BatchGetTableOptimizerError::InternalServiceException(inner) => {
792 Error::InternalServiceException(inner)
793 }
794 crate::operation::batch_get_table_optimizer::BatchGetTableOptimizerError::InvalidInputException(inner) => {
795 Error::InvalidInputException(inner)
796 }
797 crate::operation::batch_get_table_optimizer::BatchGetTableOptimizerError::ThrottlingException(inner) => Error::ThrottlingException(inner),
798 crate::operation::batch_get_table_optimizer::BatchGetTableOptimizerError::Unhandled(inner) => Error::Unhandled(inner),
799 }
800 }
801}
802impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_triggers::BatchGetTriggersError, R>> for Error
803where
804 R: Send + Sync + std::fmt::Debug + 'static,
805{
806 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_triggers::BatchGetTriggersError, R>) -> Self {
807 match err {
808 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
809 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
810 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
811 source: err.into(),
812 }),
813 }
814 }
815}
816impl From<crate::operation::batch_get_triggers::BatchGetTriggersError> for Error {
817 fn from(err: crate::operation::batch_get_triggers::BatchGetTriggersError) -> Self {
818 match err {
819 crate::operation::batch_get_triggers::BatchGetTriggersError::InternalServiceException(inner) => Error::InternalServiceException(inner),
820 crate::operation::batch_get_triggers::BatchGetTriggersError::InvalidInputException(inner) => Error::InvalidInputException(inner),
821 crate::operation::batch_get_triggers::BatchGetTriggersError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
822 crate::operation::batch_get_triggers::BatchGetTriggersError::Unhandled(inner) => Error::Unhandled(inner),
823 }
824 }
825}
826impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_workflows::BatchGetWorkflowsError, 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::batch_get_workflows::BatchGetWorkflowsError, 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::batch_get_workflows::BatchGetWorkflowsError> for Error {
841 fn from(err: crate::operation::batch_get_workflows::BatchGetWorkflowsError) -> Self {
842 match err {
843 crate::operation::batch_get_workflows::BatchGetWorkflowsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
844 crate::operation::batch_get_workflows::BatchGetWorkflowsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
845 crate::operation::batch_get_workflows::BatchGetWorkflowsError::OperationTimeoutException(inner) => {
846 Error::OperationTimeoutException(inner)
847 }
848 crate::operation::batch_get_workflows::BatchGetWorkflowsError::Unhandled(inner) => Error::Unhandled(inner),
849 }
850 }
851}
852impl<R>
853 From<
854 ::aws_smithy_runtime_api::client::result::SdkError<
855 crate::operation::batch_put_data_quality_statistic_annotation::BatchPutDataQualityStatisticAnnotationError,
856 R,
857 >,
858 > for Error
859where
860 R: Send + Sync + std::fmt::Debug + 'static,
861{
862 fn from(
863 err: ::aws_smithy_runtime_api::client::result::SdkError<
864 crate::operation::batch_put_data_quality_statistic_annotation::BatchPutDataQualityStatisticAnnotationError,
865 R,
866 >,
867 ) -> Self {
868 match err {
869 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
870 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
871 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
872 source: err.into(),
873 }),
874 }
875 }
876}
877impl From<crate::operation::batch_put_data_quality_statistic_annotation::BatchPutDataQualityStatisticAnnotationError> for Error {
878 fn from(err: crate::operation::batch_put_data_quality_statistic_annotation::BatchPutDataQualityStatisticAnnotationError) -> Self {
879 match err {
880 crate::operation::batch_put_data_quality_statistic_annotation::BatchPutDataQualityStatisticAnnotationError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
881 crate::operation::batch_put_data_quality_statistic_annotation::BatchPutDataQualityStatisticAnnotationError::InternalServiceException(inner) => Error::InternalServiceException(inner),
882 crate::operation::batch_put_data_quality_statistic_annotation::BatchPutDataQualityStatisticAnnotationError::InvalidInputException(inner) => Error::InvalidInputException(inner),
883 crate::operation::batch_put_data_quality_statistic_annotation::BatchPutDataQualityStatisticAnnotationError::ResourceNumberLimitExceededException(inner) => Error::ResourceNumberLimitExceededException(inner),
884 crate::operation::batch_put_data_quality_statistic_annotation::BatchPutDataQualityStatisticAnnotationError::Unhandled(inner) => Error::Unhandled(inner),
885 }
886 }
887}
888impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_stop_job_run::BatchStopJobRunError, R>> for Error
889where
890 R: Send + Sync + std::fmt::Debug + 'static,
891{
892 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_stop_job_run::BatchStopJobRunError, R>) -> Self {
893 match err {
894 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
895 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
896 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
897 source: err.into(),
898 }),
899 }
900 }
901}
902impl From<crate::operation::batch_stop_job_run::BatchStopJobRunError> for Error {
903 fn from(err: crate::operation::batch_stop_job_run::BatchStopJobRunError) -> Self {
904 match err {
905 crate::operation::batch_stop_job_run::BatchStopJobRunError::InternalServiceException(inner) => Error::InternalServiceException(inner),
906 crate::operation::batch_stop_job_run::BatchStopJobRunError::InvalidInputException(inner) => Error::InvalidInputException(inner),
907 crate::operation::batch_stop_job_run::BatchStopJobRunError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
908 crate::operation::batch_stop_job_run::BatchStopJobRunError::Unhandled(inner) => Error::Unhandled(inner),
909 }
910 }
911}
912impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_update_partition::BatchUpdatePartitionError, R>> for Error
913where
914 R: Send + Sync + std::fmt::Debug + 'static,
915{
916 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_update_partition::BatchUpdatePartitionError, R>) -> Self {
917 match err {
918 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
919 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
920 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
921 source: err.into(),
922 }),
923 }
924 }
925}
926impl From<crate::operation::batch_update_partition::BatchUpdatePartitionError> for Error {
927 fn from(err: crate::operation::batch_update_partition::BatchUpdatePartitionError) -> Self {
928 match err {
929 crate::operation::batch_update_partition::BatchUpdatePartitionError::ConcurrentModificationException(inner) => {
930 Error::ConcurrentModificationException(inner)
931 }
932 crate::operation::batch_update_partition::BatchUpdatePartitionError::EntityNotFoundException(inner) => {
933 Error::EntityNotFoundException(inner)
934 }
935 crate::operation::batch_update_partition::BatchUpdatePartitionError::GlueEncryptionException(inner) => {
936 Error::GlueEncryptionException(inner)
937 }
938 crate::operation::batch_update_partition::BatchUpdatePartitionError::InternalServiceException(inner) => {
939 Error::InternalServiceException(inner)
940 }
941 crate::operation::batch_update_partition::BatchUpdatePartitionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
942 crate::operation::batch_update_partition::BatchUpdatePartitionError::OperationTimeoutException(inner) => {
943 Error::OperationTimeoutException(inner)
944 }
945 crate::operation::batch_update_partition::BatchUpdatePartitionError::Unhandled(inner) => Error::Unhandled(inner),
946 }
947 }
948}
949impl<R>
950 From<
951 ::aws_smithy_runtime_api::client::result::SdkError<
952 crate::operation::cancel_data_quality_rule_recommendation_run::CancelDataQualityRuleRecommendationRunError,
953 R,
954 >,
955 > for Error
956where
957 R: Send + Sync + std::fmt::Debug + 'static,
958{
959 fn from(
960 err: ::aws_smithy_runtime_api::client::result::SdkError<
961 crate::operation::cancel_data_quality_rule_recommendation_run::CancelDataQualityRuleRecommendationRunError,
962 R,
963 >,
964 ) -> Self {
965 match err {
966 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
967 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
968 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
969 source: err.into(),
970 }),
971 }
972 }
973}
974impl From<crate::operation::cancel_data_quality_rule_recommendation_run::CancelDataQualityRuleRecommendationRunError> for Error {
975 fn from(err: crate::operation::cancel_data_quality_rule_recommendation_run::CancelDataQualityRuleRecommendationRunError) -> Self {
976 match err {
977 crate::operation::cancel_data_quality_rule_recommendation_run::CancelDataQualityRuleRecommendationRunError::EntityNotFoundException(
978 inner,
979 ) => Error::EntityNotFoundException(inner),
980 crate::operation::cancel_data_quality_rule_recommendation_run::CancelDataQualityRuleRecommendationRunError::InternalServiceException(
981 inner,
982 ) => Error::InternalServiceException(inner),
983 crate::operation::cancel_data_quality_rule_recommendation_run::CancelDataQualityRuleRecommendationRunError::InvalidInputException(
984 inner,
985 ) => Error::InvalidInputException(inner),
986 crate::operation::cancel_data_quality_rule_recommendation_run::CancelDataQualityRuleRecommendationRunError::OperationTimeoutException(
987 inner,
988 ) => Error::OperationTimeoutException(inner),
989 crate::operation::cancel_data_quality_rule_recommendation_run::CancelDataQualityRuleRecommendationRunError::Unhandled(inner) => {
990 Error::Unhandled(inner)
991 }
992 }
993 }
994}
995impl<R>
996 From<
997 ::aws_smithy_runtime_api::client::result::SdkError<
998 crate::operation::cancel_data_quality_ruleset_evaluation_run::CancelDataQualityRulesetEvaluationRunError,
999 R,
1000 >,
1001 > for Error
1002where
1003 R: Send + Sync + std::fmt::Debug + 'static,
1004{
1005 fn from(
1006 err: ::aws_smithy_runtime_api::client::result::SdkError<
1007 crate::operation::cancel_data_quality_ruleset_evaluation_run::CancelDataQualityRulesetEvaluationRunError,
1008 R,
1009 >,
1010 ) -> Self {
1011 match err {
1012 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1013 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1014 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1015 source: err.into(),
1016 }),
1017 }
1018 }
1019}
1020impl From<crate::operation::cancel_data_quality_ruleset_evaluation_run::CancelDataQualityRulesetEvaluationRunError> for Error {
1021 fn from(err: crate::operation::cancel_data_quality_ruleset_evaluation_run::CancelDataQualityRulesetEvaluationRunError) -> Self {
1022 match err {
1023 crate::operation::cancel_data_quality_ruleset_evaluation_run::CancelDataQualityRulesetEvaluationRunError::EntityNotFoundException(
1024 inner,
1025 ) => Error::EntityNotFoundException(inner),
1026 crate::operation::cancel_data_quality_ruleset_evaluation_run::CancelDataQualityRulesetEvaluationRunError::InternalServiceException(
1027 inner,
1028 ) => Error::InternalServiceException(inner),
1029 crate::operation::cancel_data_quality_ruleset_evaluation_run::CancelDataQualityRulesetEvaluationRunError::InvalidInputException(
1030 inner,
1031 ) => Error::InvalidInputException(inner),
1032 crate::operation::cancel_data_quality_ruleset_evaluation_run::CancelDataQualityRulesetEvaluationRunError::OperationTimeoutException(
1033 inner,
1034 ) => Error::OperationTimeoutException(inner),
1035 crate::operation::cancel_data_quality_ruleset_evaluation_run::CancelDataQualityRulesetEvaluationRunError::Unhandled(inner) => {
1036 Error::Unhandled(inner)
1037 }
1038 }
1039 }
1040}
1041impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_ml_task_run::CancelMLTaskRunError, R>> for Error
1042where
1043 R: Send + Sync + std::fmt::Debug + 'static,
1044{
1045 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_ml_task_run::CancelMLTaskRunError, R>) -> Self {
1046 match err {
1047 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1048 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1049 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1050 source: err.into(),
1051 }),
1052 }
1053 }
1054}
1055impl From<crate::operation::cancel_ml_task_run::CancelMLTaskRunError> for Error {
1056 fn from(err: crate::operation::cancel_ml_task_run::CancelMLTaskRunError) -> Self {
1057 match err {
1058 crate::operation::cancel_ml_task_run::CancelMLTaskRunError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
1059 crate::operation::cancel_ml_task_run::CancelMLTaskRunError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1060 crate::operation::cancel_ml_task_run::CancelMLTaskRunError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1061 crate::operation::cancel_ml_task_run::CancelMLTaskRunError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
1062 crate::operation::cancel_ml_task_run::CancelMLTaskRunError::Unhandled(inner) => Error::Unhandled(inner),
1063 }
1064 }
1065}
1066impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_statement::CancelStatementError, R>> for Error
1067where
1068 R: Send + Sync + std::fmt::Debug + 'static,
1069{
1070 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_statement::CancelStatementError, R>) -> Self {
1071 match err {
1072 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1073 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1074 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1075 source: err.into(),
1076 }),
1077 }
1078 }
1079}
1080impl From<crate::operation::cancel_statement::CancelStatementError> for Error {
1081 fn from(err: crate::operation::cancel_statement::CancelStatementError) -> Self {
1082 match err {
1083 crate::operation::cancel_statement::CancelStatementError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1084 crate::operation::cancel_statement::CancelStatementError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
1085 crate::operation::cancel_statement::CancelStatementError::IllegalSessionStateException(inner) => {
1086 Error::IllegalSessionStateException(inner)
1087 }
1088 crate::operation::cancel_statement::CancelStatementError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1089 crate::operation::cancel_statement::CancelStatementError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1090 crate::operation::cancel_statement::CancelStatementError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
1091 crate::operation::cancel_statement::CancelStatementError::Unhandled(inner) => Error::Unhandled(inner),
1092 }
1093 }
1094}
1095impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::check_schema_version_validity::CheckSchemaVersionValidityError, R>>
1096 for Error
1097where
1098 R: Send + Sync + std::fmt::Debug + 'static,
1099{
1100 fn from(
1101 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::check_schema_version_validity::CheckSchemaVersionValidityError, R>,
1102 ) -> Self {
1103 match err {
1104 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1105 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1106 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1107 source: err.into(),
1108 }),
1109 }
1110 }
1111}
1112impl From<crate::operation::check_schema_version_validity::CheckSchemaVersionValidityError> for Error {
1113 fn from(err: crate::operation::check_schema_version_validity::CheckSchemaVersionValidityError) -> Self {
1114 match err {
1115 crate::operation::check_schema_version_validity::CheckSchemaVersionValidityError::AccessDeniedException(inner) => {
1116 Error::AccessDeniedException(inner)
1117 }
1118 crate::operation::check_schema_version_validity::CheckSchemaVersionValidityError::InternalServiceException(inner) => {
1119 Error::InternalServiceException(inner)
1120 }
1121 crate::operation::check_schema_version_validity::CheckSchemaVersionValidityError::InvalidInputException(inner) => {
1122 Error::InvalidInputException(inner)
1123 }
1124 crate::operation::check_schema_version_validity::CheckSchemaVersionValidityError::Unhandled(inner) => Error::Unhandled(inner),
1125 }
1126 }
1127}
1128impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_blueprint::CreateBlueprintError, R>> for Error
1129where
1130 R: Send + Sync + std::fmt::Debug + 'static,
1131{
1132 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_blueprint::CreateBlueprintError, R>) -> Self {
1133 match err {
1134 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1135 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1136 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1137 source: err.into(),
1138 }),
1139 }
1140 }
1141}
1142impl From<crate::operation::create_blueprint::CreateBlueprintError> for Error {
1143 fn from(err: crate::operation::create_blueprint::CreateBlueprintError) -> Self {
1144 match err {
1145 crate::operation::create_blueprint::CreateBlueprintError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1146 crate::operation::create_blueprint::CreateBlueprintError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1147 crate::operation::create_blueprint::CreateBlueprintError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1148 crate::operation::create_blueprint::CreateBlueprintError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
1149 crate::operation::create_blueprint::CreateBlueprintError::ResourceNumberLimitExceededException(inner) => {
1150 Error::ResourceNumberLimitExceededException(inner)
1151 }
1152 crate::operation::create_blueprint::CreateBlueprintError::Unhandled(inner) => Error::Unhandled(inner),
1153 }
1154 }
1155}
1156impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_catalog::CreateCatalogError, R>> for Error
1157where
1158 R: Send + Sync + std::fmt::Debug + 'static,
1159{
1160 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_catalog::CreateCatalogError, R>) -> Self {
1161 match err {
1162 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1163 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1164 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1165 source: err.into(),
1166 }),
1167 }
1168 }
1169}
1170impl From<crate::operation::create_catalog::CreateCatalogError> for Error {
1171 fn from(err: crate::operation::create_catalog::CreateCatalogError) -> Self {
1172 match err {
1173 crate::operation::create_catalog::CreateCatalogError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1174 crate::operation::create_catalog::CreateCatalogError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1175 crate::operation::create_catalog::CreateCatalogError::ConcurrentModificationException(inner) => {
1176 Error::ConcurrentModificationException(inner)
1177 }
1178 crate::operation::create_catalog::CreateCatalogError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
1179 crate::operation::create_catalog::CreateCatalogError::FederatedResourceAlreadyExistsException(inner) => {
1180 Error::FederatedResourceAlreadyExistsException(inner)
1181 }
1182 crate::operation::create_catalog::CreateCatalogError::FederationSourceException(inner) => Error::FederationSourceException(inner),
1183 crate::operation::create_catalog::CreateCatalogError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
1184 crate::operation::create_catalog::CreateCatalogError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1185 crate::operation::create_catalog::CreateCatalogError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1186 crate::operation::create_catalog::CreateCatalogError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
1187 crate::operation::create_catalog::CreateCatalogError::ResourceNumberLimitExceededException(inner) => {
1188 Error::ResourceNumberLimitExceededException(inner)
1189 }
1190 crate::operation::create_catalog::CreateCatalogError::Unhandled(inner) => Error::Unhandled(inner),
1191 }
1192 }
1193}
1194impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_classifier::CreateClassifierError, R>> for Error
1195where
1196 R: Send + Sync + std::fmt::Debug + 'static,
1197{
1198 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_classifier::CreateClassifierError, R>) -> Self {
1199 match err {
1200 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1201 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1202 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1203 source: err.into(),
1204 }),
1205 }
1206 }
1207}
1208impl From<crate::operation::create_classifier::CreateClassifierError> for Error {
1209 fn from(err: crate::operation::create_classifier::CreateClassifierError) -> Self {
1210 match err {
1211 crate::operation::create_classifier::CreateClassifierError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1212 crate::operation::create_classifier::CreateClassifierError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1213 crate::operation::create_classifier::CreateClassifierError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
1214 crate::operation::create_classifier::CreateClassifierError::Unhandled(inner) => Error::Unhandled(inner),
1215 }
1216 }
1217}
1218impl<R>
1219 From<
1220 ::aws_smithy_runtime_api::client::result::SdkError<
1221 crate::operation::create_column_statistics_task_settings::CreateColumnStatisticsTaskSettingsError,
1222 R,
1223 >,
1224 > for Error
1225where
1226 R: Send + Sync + std::fmt::Debug + 'static,
1227{
1228 fn from(
1229 err: ::aws_smithy_runtime_api::client::result::SdkError<
1230 crate::operation::create_column_statistics_task_settings::CreateColumnStatisticsTaskSettingsError,
1231 R,
1232 >,
1233 ) -> Self {
1234 match err {
1235 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1236 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1237 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1238 source: err.into(),
1239 }),
1240 }
1241 }
1242}
1243impl From<crate::operation::create_column_statistics_task_settings::CreateColumnStatisticsTaskSettingsError> for Error {
1244 fn from(err: crate::operation::create_column_statistics_task_settings::CreateColumnStatisticsTaskSettingsError) -> Self {
1245 match err {
1246 crate::operation::create_column_statistics_task_settings::CreateColumnStatisticsTaskSettingsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1247 crate::operation::create_column_statistics_task_settings::CreateColumnStatisticsTaskSettingsError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1248 crate::operation::create_column_statistics_task_settings::CreateColumnStatisticsTaskSettingsError::ColumnStatisticsTaskRunningException(inner) => Error::ColumnStatisticsTaskRunningException(inner),
1249 crate::operation::create_column_statistics_task_settings::CreateColumnStatisticsTaskSettingsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
1250 crate::operation::create_column_statistics_task_settings::CreateColumnStatisticsTaskSettingsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1251 crate::operation::create_column_statistics_task_settings::CreateColumnStatisticsTaskSettingsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
1252 crate::operation::create_column_statistics_task_settings::CreateColumnStatisticsTaskSettingsError::ResourceNumberLimitExceededException(inner) => Error::ResourceNumberLimitExceededException(inner),
1253 crate::operation::create_column_statistics_task_settings::CreateColumnStatisticsTaskSettingsError::Unhandled(inner) => Error::Unhandled(inner),
1254 }
1255 }
1256}
1257impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_connection::CreateConnectionError, 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::create_connection::CreateConnectionError, 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::create_connection::CreateConnectionError> for Error {
1272 fn from(err: crate::operation::create_connection::CreateConnectionError) -> Self {
1273 match err {
1274 crate::operation::create_connection::CreateConnectionError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1275 crate::operation::create_connection::CreateConnectionError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
1276 crate::operation::create_connection::CreateConnectionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1277 crate::operation::create_connection::CreateConnectionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
1278 crate::operation::create_connection::CreateConnectionError::ResourceNumberLimitExceededException(inner) => {
1279 Error::ResourceNumberLimitExceededException(inner)
1280 }
1281 crate::operation::create_connection::CreateConnectionError::Unhandled(inner) => Error::Unhandled(inner),
1282 }
1283 }
1284}
1285impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_crawler::CreateCrawlerError, R>> for Error
1286where
1287 R: Send + Sync + std::fmt::Debug + 'static,
1288{
1289 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_crawler::CreateCrawlerError, R>) -> Self {
1290 match err {
1291 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1292 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1293 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1294 source: err.into(),
1295 }),
1296 }
1297 }
1298}
1299impl From<crate::operation::create_crawler::CreateCrawlerError> for Error {
1300 fn from(err: crate::operation::create_crawler::CreateCrawlerError) -> Self {
1301 match err {
1302 crate::operation::create_crawler::CreateCrawlerError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1303 crate::operation::create_crawler::CreateCrawlerError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1304 crate::operation::create_crawler::CreateCrawlerError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
1305 crate::operation::create_crawler::CreateCrawlerError::ResourceNumberLimitExceededException(inner) => {
1306 Error::ResourceNumberLimitExceededException(inner)
1307 }
1308 crate::operation::create_crawler::CreateCrawlerError::Unhandled(inner) => Error::Unhandled(inner),
1309 }
1310 }
1311}
1312impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_custom_entity_type::CreateCustomEntityTypeError, R>>
1313 for Error
1314where
1315 R: Send + Sync + std::fmt::Debug + 'static,
1316{
1317 fn from(
1318 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_custom_entity_type::CreateCustomEntityTypeError, R>,
1319 ) -> Self {
1320 match err {
1321 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1322 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1323 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1324 source: err.into(),
1325 }),
1326 }
1327 }
1328}
1329impl From<crate::operation::create_custom_entity_type::CreateCustomEntityTypeError> for Error {
1330 fn from(err: crate::operation::create_custom_entity_type::CreateCustomEntityTypeError) -> Self {
1331 match err {
1332 crate::operation::create_custom_entity_type::CreateCustomEntityTypeError::AccessDeniedException(inner) => {
1333 Error::AccessDeniedException(inner)
1334 }
1335 crate::operation::create_custom_entity_type::CreateCustomEntityTypeError::AlreadyExistsException(inner) => {
1336 Error::AlreadyExistsException(inner)
1337 }
1338 crate::operation::create_custom_entity_type::CreateCustomEntityTypeError::IdempotentParameterMismatchException(inner) => {
1339 Error::IdempotentParameterMismatchException(inner)
1340 }
1341 crate::operation::create_custom_entity_type::CreateCustomEntityTypeError::InternalServiceException(inner) => {
1342 Error::InternalServiceException(inner)
1343 }
1344 crate::operation::create_custom_entity_type::CreateCustomEntityTypeError::InvalidInputException(inner) => {
1345 Error::InvalidInputException(inner)
1346 }
1347 crate::operation::create_custom_entity_type::CreateCustomEntityTypeError::OperationTimeoutException(inner) => {
1348 Error::OperationTimeoutException(inner)
1349 }
1350 crate::operation::create_custom_entity_type::CreateCustomEntityTypeError::ResourceNumberLimitExceededException(inner) => {
1351 Error::ResourceNumberLimitExceededException(inner)
1352 }
1353 crate::operation::create_custom_entity_type::CreateCustomEntityTypeError::Unhandled(inner) => Error::Unhandled(inner),
1354 }
1355 }
1356}
1357impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_database::CreateDatabaseError, R>> for Error
1358where
1359 R: Send + Sync + std::fmt::Debug + 'static,
1360{
1361 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_database::CreateDatabaseError, R>) -> Self {
1362 match err {
1363 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1364 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1365 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1366 source: err.into(),
1367 }),
1368 }
1369 }
1370}
1371impl From<crate::operation::create_database::CreateDatabaseError> for Error {
1372 fn from(err: crate::operation::create_database::CreateDatabaseError) -> Self {
1373 match err {
1374 crate::operation::create_database::CreateDatabaseError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1375 crate::operation::create_database::CreateDatabaseError::ConcurrentModificationException(inner) => {
1376 Error::ConcurrentModificationException(inner)
1377 }
1378 crate::operation::create_database::CreateDatabaseError::FederatedResourceAlreadyExistsException(inner) => {
1379 Error::FederatedResourceAlreadyExistsException(inner)
1380 }
1381 crate::operation::create_database::CreateDatabaseError::FederationSourceException(inner) => Error::FederationSourceException(inner),
1382 crate::operation::create_database::CreateDatabaseError::FederationSourceRetryableException(inner) => {
1383 Error::FederationSourceRetryableException(inner)
1384 }
1385 crate::operation::create_database::CreateDatabaseError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
1386 crate::operation::create_database::CreateDatabaseError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1387 crate::operation::create_database::CreateDatabaseError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1388 crate::operation::create_database::CreateDatabaseError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
1389 crate::operation::create_database::CreateDatabaseError::ResourceNumberLimitExceededException(inner) => {
1390 Error::ResourceNumberLimitExceededException(inner)
1391 }
1392 crate::operation::create_database::CreateDatabaseError::Unhandled(inner) => Error::Unhandled(inner),
1393 }
1394 }
1395}
1396impl<R>
1397 From<
1398 ::aws_smithy_runtime_api::client::result::SdkError<
1399 crate::operation::create_data_quality_evaluation_config::CreateDataQualityEvaluationConfigError,
1400 R,
1401 >,
1402 > for Error
1403where
1404 R: Send + Sync + std::fmt::Debug + 'static,
1405{
1406 fn from(
1407 err: ::aws_smithy_runtime_api::client::result::SdkError<
1408 crate::operation::create_data_quality_evaluation_config::CreateDataQualityEvaluationConfigError,
1409 R,
1410 >,
1411 ) -> Self {
1412 match err {
1413 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1414 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1415 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1416 source: err.into(),
1417 }),
1418 }
1419 }
1420}
1421impl From<crate::operation::create_data_quality_evaluation_config::CreateDataQualityEvaluationConfigError> for Error {
1422 fn from(err: crate::operation::create_data_quality_evaluation_config::CreateDataQualityEvaluationConfigError) -> Self {
1423 match err {
1424 crate::operation::create_data_quality_evaluation_config::CreateDataQualityEvaluationConfigError::AccessDeniedException(inner) => {
1425 Error::AccessDeniedException(inner)
1426 }
1427 crate::operation::create_data_quality_evaluation_config::CreateDataQualityEvaluationConfigError::AlreadyExistsException(inner) => {
1428 Error::AlreadyExistsException(inner)
1429 }
1430 crate::operation::create_data_quality_evaluation_config::CreateDataQualityEvaluationConfigError::EntityNotFoundException(inner) => {
1431 Error::EntityNotFoundException(inner)
1432 }
1433 crate::operation::create_data_quality_evaluation_config::CreateDataQualityEvaluationConfigError::IdempotentParameterMismatchException(
1434 inner,
1435 ) => Error::IdempotentParameterMismatchException(inner),
1436 crate::operation::create_data_quality_evaluation_config::CreateDataQualityEvaluationConfigError::InternalServiceException(inner) => {
1437 Error::InternalServiceException(inner)
1438 }
1439 crate::operation::create_data_quality_evaluation_config::CreateDataQualityEvaluationConfigError::InvalidInputException(inner) => {
1440 Error::InvalidInputException(inner)
1441 }
1442 crate::operation::create_data_quality_evaluation_config::CreateDataQualityEvaluationConfigError::OperationTimeoutException(inner) => {
1443 Error::OperationTimeoutException(inner)
1444 }
1445 crate::operation::create_data_quality_evaluation_config::CreateDataQualityEvaluationConfigError::ResourceNumberLimitExceededException(
1446 inner,
1447 ) => Error::ResourceNumberLimitExceededException(inner),
1448 crate::operation::create_data_quality_evaluation_config::CreateDataQualityEvaluationConfigError::Unhandled(inner) => {
1449 Error::Unhandled(inner)
1450 }
1451 }
1452 }
1453}
1454impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_data_quality_ruleset::CreateDataQualityRulesetError, R>>
1455 for Error
1456where
1457 R: Send + Sync + std::fmt::Debug + 'static,
1458{
1459 fn from(
1460 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_data_quality_ruleset::CreateDataQualityRulesetError, R>,
1461 ) -> Self {
1462 match err {
1463 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1464 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1465 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1466 source: err.into(),
1467 }),
1468 }
1469 }
1470}
1471impl From<crate::operation::create_data_quality_ruleset::CreateDataQualityRulesetError> for Error {
1472 fn from(err: crate::operation::create_data_quality_ruleset::CreateDataQualityRulesetError) -> Self {
1473 match err {
1474 crate::operation::create_data_quality_ruleset::CreateDataQualityRulesetError::AlreadyExistsException(inner) => {
1475 Error::AlreadyExistsException(inner)
1476 }
1477 crate::operation::create_data_quality_ruleset::CreateDataQualityRulesetError::InternalServiceException(inner) => {
1478 Error::InternalServiceException(inner)
1479 }
1480 crate::operation::create_data_quality_ruleset::CreateDataQualityRulesetError::InvalidInputException(inner) => {
1481 Error::InvalidInputException(inner)
1482 }
1483 crate::operation::create_data_quality_ruleset::CreateDataQualityRulesetError::OperationTimeoutException(inner) => {
1484 Error::OperationTimeoutException(inner)
1485 }
1486 crate::operation::create_data_quality_ruleset::CreateDataQualityRulesetError::ResourceNumberLimitExceededException(inner) => {
1487 Error::ResourceNumberLimitExceededException(inner)
1488 }
1489 crate::operation::create_data_quality_ruleset::CreateDataQualityRulesetError::Unhandled(inner) => Error::Unhandled(inner),
1490 }
1491 }
1492}
1493impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_dev_endpoint::CreateDevEndpointError, R>> for Error
1494where
1495 R: Send + Sync + std::fmt::Debug + 'static,
1496{
1497 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_dev_endpoint::CreateDevEndpointError, R>) -> Self {
1498 match err {
1499 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1500 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1501 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1502 source: err.into(),
1503 }),
1504 }
1505 }
1506}
1507impl From<crate::operation::create_dev_endpoint::CreateDevEndpointError> for Error {
1508 fn from(err: crate::operation::create_dev_endpoint::CreateDevEndpointError) -> Self {
1509 match err {
1510 crate::operation::create_dev_endpoint::CreateDevEndpointError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1511 crate::operation::create_dev_endpoint::CreateDevEndpointError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1512 crate::operation::create_dev_endpoint::CreateDevEndpointError::IdempotentParameterMismatchException(inner) => {
1513 Error::IdempotentParameterMismatchException(inner)
1514 }
1515 crate::operation::create_dev_endpoint::CreateDevEndpointError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1516 crate::operation::create_dev_endpoint::CreateDevEndpointError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1517 crate::operation::create_dev_endpoint::CreateDevEndpointError::OperationTimeoutException(inner) => {
1518 Error::OperationTimeoutException(inner)
1519 }
1520 crate::operation::create_dev_endpoint::CreateDevEndpointError::ResourceNumberLimitExceededException(inner) => {
1521 Error::ResourceNumberLimitExceededException(inner)
1522 }
1523 crate::operation::create_dev_endpoint::CreateDevEndpointError::ValidationException(inner) => Error::ValidationException(inner),
1524 crate::operation::create_dev_endpoint::CreateDevEndpointError::Unhandled(inner) => Error::Unhandled(inner),
1525 }
1526 }
1527}
1528impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_glossary::CreateGlossaryError, R>> for Error
1529where
1530 R: Send + Sync + std::fmt::Debug + 'static,
1531{
1532 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_glossary::CreateGlossaryError, R>) -> Self {
1533 match err {
1534 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1535 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1536 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1537 source: err.into(),
1538 }),
1539 }
1540 }
1541}
1542impl From<crate::operation::create_glossary::CreateGlossaryError> for Error {
1543 fn from(err: crate::operation::create_glossary::CreateGlossaryError) -> Self {
1544 match err {
1545 crate::operation::create_glossary::CreateGlossaryError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1546 crate::operation::create_glossary::CreateGlossaryError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1547 crate::operation::create_glossary::CreateGlossaryError::ConcurrentModificationException(inner) => {
1548 Error::ConcurrentModificationException(inner)
1549 }
1550 crate::operation::create_glossary::CreateGlossaryError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1551 crate::operation::create_glossary::CreateGlossaryError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1552 crate::operation::create_glossary::CreateGlossaryError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1553 crate::operation::create_glossary::CreateGlossaryError::Unhandled(inner) => Error::Unhandled(inner),
1554 }
1555 }
1556}
1557impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_glossary_term::CreateGlossaryTermError, R>> for Error
1558where
1559 R: Send + Sync + std::fmt::Debug + 'static,
1560{
1561 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_glossary_term::CreateGlossaryTermError, R>) -> Self {
1562 match err {
1563 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1564 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1565 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1566 source: err.into(),
1567 }),
1568 }
1569 }
1570}
1571impl From<crate::operation::create_glossary_term::CreateGlossaryTermError> for Error {
1572 fn from(err: crate::operation::create_glossary_term::CreateGlossaryTermError) -> Self {
1573 match err {
1574 crate::operation::create_glossary_term::CreateGlossaryTermError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1575 crate::operation::create_glossary_term::CreateGlossaryTermError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1576 crate::operation::create_glossary_term::CreateGlossaryTermError::ConcurrentModificationException(inner) => {
1577 Error::ConcurrentModificationException(inner)
1578 }
1579 crate::operation::create_glossary_term::CreateGlossaryTermError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
1580 crate::operation::create_glossary_term::CreateGlossaryTermError::InternalServiceException(inner) => {
1581 Error::InternalServiceException(inner)
1582 }
1583 crate::operation::create_glossary_term::CreateGlossaryTermError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1584 crate::operation::create_glossary_term::CreateGlossaryTermError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1585 crate::operation::create_glossary_term::CreateGlossaryTermError::Unhandled(inner) => Error::Unhandled(inner),
1586 }
1587 }
1588}
1589impl<R>
1590 From<
1591 ::aws_smithy_runtime_api::client::result::SdkError<
1592 crate::operation::create_glue_identity_center_configuration::CreateGlueIdentityCenterConfigurationError,
1593 R,
1594 >,
1595 > for Error
1596where
1597 R: Send + Sync + std::fmt::Debug + 'static,
1598{
1599 fn from(
1600 err: ::aws_smithy_runtime_api::client::result::SdkError<
1601 crate::operation::create_glue_identity_center_configuration::CreateGlueIdentityCenterConfigurationError,
1602 R,
1603 >,
1604 ) -> Self {
1605 match err {
1606 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1607 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1608 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1609 source: err.into(),
1610 }),
1611 }
1612 }
1613}
1614impl From<crate::operation::create_glue_identity_center_configuration::CreateGlueIdentityCenterConfigurationError> for Error {
1615 fn from(err: crate::operation::create_glue_identity_center_configuration::CreateGlueIdentityCenterConfigurationError) -> Self {
1616 match err {
1617 crate::operation::create_glue_identity_center_configuration::CreateGlueIdentityCenterConfigurationError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1618 crate::operation::create_glue_identity_center_configuration::CreateGlueIdentityCenterConfigurationError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1619 crate::operation::create_glue_identity_center_configuration::CreateGlueIdentityCenterConfigurationError::ConcurrentModificationException(inner) => Error::ConcurrentModificationException(inner),
1620 crate::operation::create_glue_identity_center_configuration::CreateGlueIdentityCenterConfigurationError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1621 crate::operation::create_glue_identity_center_configuration::CreateGlueIdentityCenterConfigurationError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1622 crate::operation::create_glue_identity_center_configuration::CreateGlueIdentityCenterConfigurationError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
1623 crate::operation::create_glue_identity_center_configuration::CreateGlueIdentityCenterConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
1624 }
1625 }
1626}
1627impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_integration::CreateIntegrationError, R>> for Error
1628where
1629 R: Send + Sync + std::fmt::Debug + 'static,
1630{
1631 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_integration::CreateIntegrationError, R>) -> Self {
1632 match err {
1633 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1634 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1635 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1636 source: err.into(),
1637 }),
1638 }
1639 }
1640}
1641impl From<crate::operation::create_integration::CreateIntegrationError> for Error {
1642 fn from(err: crate::operation::create_integration::CreateIntegrationError) -> Self {
1643 match err {
1644 crate::operation::create_integration::CreateIntegrationError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1645 crate::operation::create_integration::CreateIntegrationError::ConflictException(inner) => Error::ConflictException(inner),
1646 crate::operation::create_integration::CreateIntegrationError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
1647 crate::operation::create_integration::CreateIntegrationError::IntegrationConflictOperationFault(inner) => {
1648 Error::IntegrationConflictOperationFault(inner)
1649 }
1650 crate::operation::create_integration::CreateIntegrationError::IntegrationQuotaExceededFault(inner) => {
1651 Error::IntegrationQuotaExceededFault(inner)
1652 }
1653 crate::operation::create_integration::CreateIntegrationError::InternalServerException(inner) => Error::InternalServerException(inner),
1654 crate::operation::create_integration::CreateIntegrationError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1655 crate::operation::create_integration::CreateIntegrationError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1656 crate::operation::create_integration::CreateIntegrationError::KmsKeyNotAccessibleFault(inner) => Error::KmsKeyNotAccessibleFault(inner),
1657 crate::operation::create_integration::CreateIntegrationError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1658 crate::operation::create_integration::CreateIntegrationError::ResourceNumberLimitExceededException(inner) => {
1659 Error::ResourceNumberLimitExceededException(inner)
1660 }
1661 crate::operation::create_integration::CreateIntegrationError::ValidationException(inner) => Error::ValidationException(inner),
1662 crate::operation::create_integration::CreateIntegrationError::Unhandled(inner) => Error::Unhandled(inner),
1663 }
1664 }
1665}
1666impl<R>
1667 From<
1668 ::aws_smithy_runtime_api::client::result::SdkError<
1669 crate::operation::create_integration_resource_property::CreateIntegrationResourcePropertyError,
1670 R,
1671 >,
1672 > for Error
1673where
1674 R: Send + Sync + std::fmt::Debug + 'static,
1675{
1676 fn from(
1677 err: ::aws_smithy_runtime_api::client::result::SdkError<
1678 crate::operation::create_integration_resource_property::CreateIntegrationResourcePropertyError,
1679 R,
1680 >,
1681 ) -> Self {
1682 match err {
1683 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1684 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1685 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1686 source: err.into(),
1687 }),
1688 }
1689 }
1690}
1691impl From<crate::operation::create_integration_resource_property::CreateIntegrationResourcePropertyError> for Error {
1692 fn from(err: crate::operation::create_integration_resource_property::CreateIntegrationResourcePropertyError) -> Self {
1693 match err {
1694 crate::operation::create_integration_resource_property::CreateIntegrationResourcePropertyError::AccessDeniedException(inner) => {
1695 Error::AccessDeniedException(inner)
1696 }
1697 crate::operation::create_integration_resource_property::CreateIntegrationResourcePropertyError::ConflictException(inner) => {
1698 Error::ConflictException(inner)
1699 }
1700 crate::operation::create_integration_resource_property::CreateIntegrationResourcePropertyError::EntityNotFoundException(inner) => {
1701 Error::EntityNotFoundException(inner)
1702 }
1703 crate::operation::create_integration_resource_property::CreateIntegrationResourcePropertyError::InternalServerException(inner) => {
1704 Error::InternalServerException(inner)
1705 }
1706 crate::operation::create_integration_resource_property::CreateIntegrationResourcePropertyError::InternalServiceException(inner) => {
1707 Error::InternalServiceException(inner)
1708 }
1709 crate::operation::create_integration_resource_property::CreateIntegrationResourcePropertyError::InvalidInputException(inner) => {
1710 Error::InvalidInputException(inner)
1711 }
1712 crate::operation::create_integration_resource_property::CreateIntegrationResourcePropertyError::ResourceNotFoundException(inner) => {
1713 Error::ResourceNotFoundException(inner)
1714 }
1715 crate::operation::create_integration_resource_property::CreateIntegrationResourcePropertyError::ValidationException(inner) => {
1716 Error::ValidationException(inner)
1717 }
1718 crate::operation::create_integration_resource_property::CreateIntegrationResourcePropertyError::Unhandled(inner) => {
1719 Error::Unhandled(inner)
1720 }
1721 }
1722 }
1723}
1724impl<R>
1725 From<
1726 ::aws_smithy_runtime_api::client::result::SdkError<
1727 crate::operation::create_integration_table_properties::CreateIntegrationTablePropertiesError,
1728 R,
1729 >,
1730 > for Error
1731where
1732 R: Send + Sync + std::fmt::Debug + 'static,
1733{
1734 fn from(
1735 err: ::aws_smithy_runtime_api::client::result::SdkError<
1736 crate::operation::create_integration_table_properties::CreateIntegrationTablePropertiesError,
1737 R,
1738 >,
1739 ) -> Self {
1740 match err {
1741 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1742 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1743 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1744 source: err.into(),
1745 }),
1746 }
1747 }
1748}
1749impl From<crate::operation::create_integration_table_properties::CreateIntegrationTablePropertiesError> for Error {
1750 fn from(err: crate::operation::create_integration_table_properties::CreateIntegrationTablePropertiesError) -> Self {
1751 match err {
1752 crate::operation::create_integration_table_properties::CreateIntegrationTablePropertiesError::AccessDeniedException(inner) => {
1753 Error::AccessDeniedException(inner)
1754 }
1755 crate::operation::create_integration_table_properties::CreateIntegrationTablePropertiesError::EntityNotFoundException(inner) => {
1756 Error::EntityNotFoundException(inner)
1757 }
1758 crate::operation::create_integration_table_properties::CreateIntegrationTablePropertiesError::InternalServerException(inner) => {
1759 Error::InternalServerException(inner)
1760 }
1761 crate::operation::create_integration_table_properties::CreateIntegrationTablePropertiesError::InternalServiceException(inner) => {
1762 Error::InternalServiceException(inner)
1763 }
1764 crate::operation::create_integration_table_properties::CreateIntegrationTablePropertiesError::InvalidInputException(inner) => {
1765 Error::InvalidInputException(inner)
1766 }
1767 crate::operation::create_integration_table_properties::CreateIntegrationTablePropertiesError::ResourceNotFoundException(inner) => {
1768 Error::ResourceNotFoundException(inner)
1769 }
1770 crate::operation::create_integration_table_properties::CreateIntegrationTablePropertiesError::ValidationException(inner) => {
1771 Error::ValidationException(inner)
1772 }
1773 crate::operation::create_integration_table_properties::CreateIntegrationTablePropertiesError::Unhandled(inner) => Error::Unhandled(inner),
1774 }
1775 }
1776}
1777impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_job::CreateJobError, R>> for Error
1778where
1779 R: Send + Sync + std::fmt::Debug + 'static,
1780{
1781 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_job::CreateJobError, R>) -> Self {
1782 match err {
1783 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1784 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1785 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1786 source: err.into(),
1787 }),
1788 }
1789 }
1790}
1791impl From<crate::operation::create_job::CreateJobError> for Error {
1792 fn from(err: crate::operation::create_job::CreateJobError) -> Self {
1793 match err {
1794 crate::operation::create_job::CreateJobError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1795 crate::operation::create_job::CreateJobError::ConcurrentModificationException(inner) => Error::ConcurrentModificationException(inner),
1796 crate::operation::create_job::CreateJobError::IdempotentParameterMismatchException(inner) => {
1797 Error::IdempotentParameterMismatchException(inner)
1798 }
1799 crate::operation::create_job::CreateJobError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1800 crate::operation::create_job::CreateJobError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1801 crate::operation::create_job::CreateJobError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
1802 crate::operation::create_job::CreateJobError::ResourceNumberLimitExceededException(inner) => {
1803 Error::ResourceNumberLimitExceededException(inner)
1804 }
1805 crate::operation::create_job::CreateJobError::Unhandled(inner) => Error::Unhandled(inner),
1806 }
1807 }
1808}
1809impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ml_transform::CreateMLTransformError, R>> for Error
1810where
1811 R: Send + Sync + std::fmt::Debug + 'static,
1812{
1813 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ml_transform::CreateMLTransformError, R>) -> Self {
1814 match err {
1815 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1816 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1817 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1818 source: err.into(),
1819 }),
1820 }
1821 }
1822}
1823impl From<crate::operation::create_ml_transform::CreateMLTransformError> for Error {
1824 fn from(err: crate::operation::create_ml_transform::CreateMLTransformError) -> Self {
1825 match err {
1826 crate::operation::create_ml_transform::CreateMLTransformError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1827 crate::operation::create_ml_transform::CreateMLTransformError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1828 crate::operation::create_ml_transform::CreateMLTransformError::IdempotentParameterMismatchException(inner) => {
1829 Error::IdempotentParameterMismatchException(inner)
1830 }
1831 crate::operation::create_ml_transform::CreateMLTransformError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1832 crate::operation::create_ml_transform::CreateMLTransformError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1833 crate::operation::create_ml_transform::CreateMLTransformError::OperationTimeoutException(inner) => {
1834 Error::OperationTimeoutException(inner)
1835 }
1836 crate::operation::create_ml_transform::CreateMLTransformError::ResourceNumberLimitExceededException(inner) => {
1837 Error::ResourceNumberLimitExceededException(inner)
1838 }
1839 crate::operation::create_ml_transform::CreateMLTransformError::Unhandled(inner) => Error::Unhandled(inner),
1840 }
1841 }
1842}
1843impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_partition::CreatePartitionError, R>> for Error
1844where
1845 R: Send + Sync + std::fmt::Debug + 'static,
1846{
1847 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_partition::CreatePartitionError, R>) -> Self {
1848 match err {
1849 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1850 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1851 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1852 source: err.into(),
1853 }),
1854 }
1855 }
1856}
1857impl From<crate::operation::create_partition::CreatePartitionError> for Error {
1858 fn from(err: crate::operation::create_partition::CreatePartitionError) -> Self {
1859 match err {
1860 crate::operation::create_partition::CreatePartitionError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1861 crate::operation::create_partition::CreatePartitionError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
1862 crate::operation::create_partition::CreatePartitionError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
1863 crate::operation::create_partition::CreatePartitionError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1864 crate::operation::create_partition::CreatePartitionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1865 crate::operation::create_partition::CreatePartitionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
1866 crate::operation::create_partition::CreatePartitionError::ResourceNumberLimitExceededException(inner) => {
1867 Error::ResourceNumberLimitExceededException(inner)
1868 }
1869 crate::operation::create_partition::CreatePartitionError::Unhandled(inner) => Error::Unhandled(inner),
1870 }
1871 }
1872}
1873impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_partition_index::CreatePartitionIndexError, R>> for Error
1874where
1875 R: Send + Sync + std::fmt::Debug + 'static,
1876{
1877 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_partition_index::CreatePartitionIndexError, R>) -> Self {
1878 match err {
1879 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1880 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1881 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1882 source: err.into(),
1883 }),
1884 }
1885 }
1886}
1887impl From<crate::operation::create_partition_index::CreatePartitionIndexError> for Error {
1888 fn from(err: crate::operation::create_partition_index::CreatePartitionIndexError) -> Self {
1889 match err {
1890 crate::operation::create_partition_index::CreatePartitionIndexError::AlreadyExistsException(inner) => {
1891 Error::AlreadyExistsException(inner)
1892 }
1893 crate::operation::create_partition_index::CreatePartitionIndexError::EntityNotFoundException(inner) => {
1894 Error::EntityNotFoundException(inner)
1895 }
1896 crate::operation::create_partition_index::CreatePartitionIndexError::GlueEncryptionException(inner) => {
1897 Error::GlueEncryptionException(inner)
1898 }
1899 crate::operation::create_partition_index::CreatePartitionIndexError::InternalServiceException(inner) => {
1900 Error::InternalServiceException(inner)
1901 }
1902 crate::operation::create_partition_index::CreatePartitionIndexError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1903 crate::operation::create_partition_index::CreatePartitionIndexError::OperationTimeoutException(inner) => {
1904 Error::OperationTimeoutException(inner)
1905 }
1906 crate::operation::create_partition_index::CreatePartitionIndexError::ResourceNumberLimitExceededException(inner) => {
1907 Error::ResourceNumberLimitExceededException(inner)
1908 }
1909 crate::operation::create_partition_index::CreatePartitionIndexError::Unhandled(inner) => Error::Unhandled(inner),
1910 }
1911 }
1912}
1913impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_registry::CreateRegistryError, R>> for Error
1914where
1915 R: Send + Sync + std::fmt::Debug + 'static,
1916{
1917 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_registry::CreateRegistryError, R>) -> Self {
1918 match err {
1919 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1920 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1921 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1922 source: err.into(),
1923 }),
1924 }
1925 }
1926}
1927impl From<crate::operation::create_registry::CreateRegistryError> for Error {
1928 fn from(err: crate::operation::create_registry::CreateRegistryError) -> Self {
1929 match err {
1930 crate::operation::create_registry::CreateRegistryError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1931 crate::operation::create_registry::CreateRegistryError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1932 crate::operation::create_registry::CreateRegistryError::ConcurrentModificationException(inner) => {
1933 Error::ConcurrentModificationException(inner)
1934 }
1935 crate::operation::create_registry::CreateRegistryError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1936 crate::operation::create_registry::CreateRegistryError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1937 crate::operation::create_registry::CreateRegistryError::ResourceNumberLimitExceededException(inner) => {
1938 Error::ResourceNumberLimitExceededException(inner)
1939 }
1940 crate::operation::create_registry::CreateRegistryError::Unhandled(inner) => Error::Unhandled(inner),
1941 }
1942 }
1943}
1944impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_schema::CreateSchemaError, R>> for Error
1945where
1946 R: Send + Sync + std::fmt::Debug + 'static,
1947{
1948 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_schema::CreateSchemaError, R>) -> Self {
1949 match err {
1950 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1951 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1952 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1953 source: err.into(),
1954 }),
1955 }
1956 }
1957}
1958impl From<crate::operation::create_schema::CreateSchemaError> for Error {
1959 fn from(err: crate::operation::create_schema::CreateSchemaError) -> Self {
1960 match err {
1961 crate::operation::create_schema::CreateSchemaError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1962 crate::operation::create_schema::CreateSchemaError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1963 crate::operation::create_schema::CreateSchemaError::ConcurrentModificationException(inner) => {
1964 Error::ConcurrentModificationException(inner)
1965 }
1966 crate::operation::create_schema::CreateSchemaError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
1967 crate::operation::create_schema::CreateSchemaError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1968 crate::operation::create_schema::CreateSchemaError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1969 crate::operation::create_schema::CreateSchemaError::ResourceNumberLimitExceededException(inner) => {
1970 Error::ResourceNumberLimitExceededException(inner)
1971 }
1972 crate::operation::create_schema::CreateSchemaError::Unhandled(inner) => Error::Unhandled(inner),
1973 }
1974 }
1975}
1976impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_script::CreateScriptError, R>> for Error
1977where
1978 R: Send + Sync + std::fmt::Debug + 'static,
1979{
1980 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_script::CreateScriptError, R>) -> Self {
1981 match err {
1982 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1983 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1984 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1985 source: err.into(),
1986 }),
1987 }
1988 }
1989}
1990impl From<crate::operation::create_script::CreateScriptError> for Error {
1991 fn from(err: crate::operation::create_script::CreateScriptError) -> Self {
1992 match err {
1993 crate::operation::create_script::CreateScriptError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1994 crate::operation::create_script::CreateScriptError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1995 crate::operation::create_script::CreateScriptError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
1996 crate::operation::create_script::CreateScriptError::Unhandled(inner) => Error::Unhandled(inner),
1997 }
1998 }
1999}
2000impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_security_configuration::CreateSecurityConfigurationError, R>>
2001 for Error
2002where
2003 R: Send + Sync + std::fmt::Debug + 'static,
2004{
2005 fn from(
2006 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_security_configuration::CreateSecurityConfigurationError, R>,
2007 ) -> Self {
2008 match err {
2009 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2010 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2011 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2012 source: err.into(),
2013 }),
2014 }
2015 }
2016}
2017impl From<crate::operation::create_security_configuration::CreateSecurityConfigurationError> for Error {
2018 fn from(err: crate::operation::create_security_configuration::CreateSecurityConfigurationError) -> Self {
2019 match err {
2020 crate::operation::create_security_configuration::CreateSecurityConfigurationError::AlreadyExistsException(inner) => {
2021 Error::AlreadyExistsException(inner)
2022 }
2023 crate::operation::create_security_configuration::CreateSecurityConfigurationError::InternalServiceException(inner) => {
2024 Error::InternalServiceException(inner)
2025 }
2026 crate::operation::create_security_configuration::CreateSecurityConfigurationError::InvalidInputException(inner) => {
2027 Error::InvalidInputException(inner)
2028 }
2029 crate::operation::create_security_configuration::CreateSecurityConfigurationError::OperationTimeoutException(inner) => {
2030 Error::OperationTimeoutException(inner)
2031 }
2032 crate::operation::create_security_configuration::CreateSecurityConfigurationError::ResourceNumberLimitExceededException(inner) => {
2033 Error::ResourceNumberLimitExceededException(inner)
2034 }
2035 crate::operation::create_security_configuration::CreateSecurityConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
2036 }
2037 }
2038}
2039impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_session::CreateSessionError, R>> for Error
2040where
2041 R: Send + Sync + std::fmt::Debug + 'static,
2042{
2043 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_session::CreateSessionError, R>) -> Self {
2044 match err {
2045 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2046 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2047 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2048 source: err.into(),
2049 }),
2050 }
2051 }
2052}
2053impl From<crate::operation::create_session::CreateSessionError> for Error {
2054 fn from(err: crate::operation::create_session::CreateSessionError) -> Self {
2055 match err {
2056 crate::operation::create_session::CreateSessionError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2057 crate::operation::create_session::CreateSessionError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
2058 crate::operation::create_session::CreateSessionError::IdempotentParameterMismatchException(inner) => {
2059 Error::IdempotentParameterMismatchException(inner)
2060 }
2061 crate::operation::create_session::CreateSessionError::InternalServiceException(inner) => Error::InternalServiceException(inner),
2062 crate::operation::create_session::CreateSessionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2063 crate::operation::create_session::CreateSessionError::OperationNotSupportedException(inner) => {
2064 Error::OperationNotSupportedException(inner)
2065 }
2066 crate::operation::create_session::CreateSessionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
2067 crate::operation::create_session::CreateSessionError::ResourceNumberLimitExceededException(inner) => {
2068 Error::ResourceNumberLimitExceededException(inner)
2069 }
2070 crate::operation::create_session::CreateSessionError::ValidationException(inner) => Error::ValidationException(inner),
2071 crate::operation::create_session::CreateSessionError::Unhandled(inner) => Error::Unhandled(inner),
2072 }
2073 }
2074}
2075impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_table::CreateTableError, R>> for Error
2076where
2077 R: Send + Sync + std::fmt::Debug + 'static,
2078{
2079 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_table::CreateTableError, R>) -> Self {
2080 match err {
2081 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2082 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2083 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2084 source: err.into(),
2085 }),
2086 }
2087 }
2088}
2089impl From<crate::operation::create_table::CreateTableError> for Error {
2090 fn from(err: crate::operation::create_table::CreateTableError) -> Self {
2091 match err {
2092 crate::operation::create_table::CreateTableError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
2093 crate::operation::create_table::CreateTableError::ConcurrentModificationException(inner) => Error::ConcurrentModificationException(inner),
2094 crate::operation::create_table::CreateTableError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
2095 crate::operation::create_table::CreateTableError::FederationSourceException(inner) => Error::FederationSourceException(inner),
2096 crate::operation::create_table::CreateTableError::FederationSourceRetryableException(inner) => {
2097 Error::FederationSourceRetryableException(inner)
2098 }
2099 crate::operation::create_table::CreateTableError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
2100 crate::operation::create_table::CreateTableError::InternalServiceException(inner) => Error::InternalServiceException(inner),
2101 crate::operation::create_table::CreateTableError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2102 crate::operation::create_table::CreateTableError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
2103 crate::operation::create_table::CreateTableError::ResourceNotReadyException(inner) => Error::ResourceNotReadyException(inner),
2104 crate::operation::create_table::CreateTableError::ResourceNumberLimitExceededException(inner) => {
2105 Error::ResourceNumberLimitExceededException(inner)
2106 }
2107 crate::operation::create_table::CreateTableError::Unhandled(inner) => Error::Unhandled(inner),
2108 }
2109 }
2110}
2111impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_table_optimizer::CreateTableOptimizerError, R>> for Error
2112where
2113 R: Send + Sync + std::fmt::Debug + 'static,
2114{
2115 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_table_optimizer::CreateTableOptimizerError, R>) -> Self {
2116 match err {
2117 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2118 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2119 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2120 source: err.into(),
2121 }),
2122 }
2123 }
2124}
2125impl From<crate::operation::create_table_optimizer::CreateTableOptimizerError> for Error {
2126 fn from(err: crate::operation::create_table_optimizer::CreateTableOptimizerError) -> Self {
2127 match err {
2128 crate::operation::create_table_optimizer::CreateTableOptimizerError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2129 crate::operation::create_table_optimizer::CreateTableOptimizerError::AlreadyExistsException(inner) => {
2130 Error::AlreadyExistsException(inner)
2131 }
2132 crate::operation::create_table_optimizer::CreateTableOptimizerError::EntityNotFoundException(inner) => {
2133 Error::EntityNotFoundException(inner)
2134 }
2135 crate::operation::create_table_optimizer::CreateTableOptimizerError::InternalServiceException(inner) => {
2136 Error::InternalServiceException(inner)
2137 }
2138 crate::operation::create_table_optimizer::CreateTableOptimizerError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2139 crate::operation::create_table_optimizer::CreateTableOptimizerError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2140 crate::operation::create_table_optimizer::CreateTableOptimizerError::ValidationException(inner) => Error::ValidationException(inner),
2141 crate::operation::create_table_optimizer::CreateTableOptimizerError::Unhandled(inner) => Error::Unhandled(inner),
2142 }
2143 }
2144}
2145impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_trigger::CreateTriggerError, R>> for Error
2146where
2147 R: Send + Sync + std::fmt::Debug + 'static,
2148{
2149 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_trigger::CreateTriggerError, R>) -> Self {
2150 match err {
2151 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2152 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2153 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2154 source: err.into(),
2155 }),
2156 }
2157 }
2158}
2159impl From<crate::operation::create_trigger::CreateTriggerError> for Error {
2160 fn from(err: crate::operation::create_trigger::CreateTriggerError) -> Self {
2161 match err {
2162 crate::operation::create_trigger::CreateTriggerError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
2163 crate::operation::create_trigger::CreateTriggerError::ConcurrentModificationException(inner) => {
2164 Error::ConcurrentModificationException(inner)
2165 }
2166 crate::operation::create_trigger::CreateTriggerError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
2167 crate::operation::create_trigger::CreateTriggerError::IdempotentParameterMismatchException(inner) => {
2168 Error::IdempotentParameterMismatchException(inner)
2169 }
2170 crate::operation::create_trigger::CreateTriggerError::InternalServiceException(inner) => Error::InternalServiceException(inner),
2171 crate::operation::create_trigger::CreateTriggerError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2172 crate::operation::create_trigger::CreateTriggerError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
2173 crate::operation::create_trigger::CreateTriggerError::ResourceNumberLimitExceededException(inner) => {
2174 Error::ResourceNumberLimitExceededException(inner)
2175 }
2176 crate::operation::create_trigger::CreateTriggerError::Unhandled(inner) => Error::Unhandled(inner),
2177 }
2178 }
2179}
2180impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_usage_profile::CreateUsageProfileError, R>> for Error
2181where
2182 R: Send + Sync + std::fmt::Debug + 'static,
2183{
2184 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_usage_profile::CreateUsageProfileError, R>) -> Self {
2185 match err {
2186 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2187 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2188 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2189 source: err.into(),
2190 }),
2191 }
2192 }
2193}
2194impl From<crate::operation::create_usage_profile::CreateUsageProfileError> for Error {
2195 fn from(err: crate::operation::create_usage_profile::CreateUsageProfileError) -> Self {
2196 match err {
2197 crate::operation::create_usage_profile::CreateUsageProfileError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
2198 crate::operation::create_usage_profile::CreateUsageProfileError::InternalServiceException(inner) => {
2199 Error::InternalServiceException(inner)
2200 }
2201 crate::operation::create_usage_profile::CreateUsageProfileError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2202 crate::operation::create_usage_profile::CreateUsageProfileError::OperationNotSupportedException(inner) => {
2203 Error::OperationNotSupportedException(inner)
2204 }
2205 crate::operation::create_usage_profile::CreateUsageProfileError::OperationTimeoutException(inner) => {
2206 Error::OperationTimeoutException(inner)
2207 }
2208 crate::operation::create_usage_profile::CreateUsageProfileError::ResourceNumberLimitExceededException(inner) => {
2209 Error::ResourceNumberLimitExceededException(inner)
2210 }
2211 crate::operation::create_usage_profile::CreateUsageProfileError::Unhandled(inner) => Error::Unhandled(inner),
2212 }
2213 }
2214}
2215impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_user_defined_function::CreateUserDefinedFunctionError, R>>
2216 for Error
2217where
2218 R: Send + Sync + std::fmt::Debug + 'static,
2219{
2220 fn from(
2221 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_user_defined_function::CreateUserDefinedFunctionError, R>,
2222 ) -> Self {
2223 match err {
2224 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2225 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2226 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2227 source: err.into(),
2228 }),
2229 }
2230 }
2231}
2232impl From<crate::operation::create_user_defined_function::CreateUserDefinedFunctionError> for Error {
2233 fn from(err: crate::operation::create_user_defined_function::CreateUserDefinedFunctionError) -> Self {
2234 match err {
2235 crate::operation::create_user_defined_function::CreateUserDefinedFunctionError::AlreadyExistsException(inner) => {
2236 Error::AlreadyExistsException(inner)
2237 }
2238 crate::operation::create_user_defined_function::CreateUserDefinedFunctionError::EntityNotFoundException(inner) => {
2239 Error::EntityNotFoundException(inner)
2240 }
2241 crate::operation::create_user_defined_function::CreateUserDefinedFunctionError::GlueEncryptionException(inner) => {
2242 Error::GlueEncryptionException(inner)
2243 }
2244 crate::operation::create_user_defined_function::CreateUserDefinedFunctionError::InternalServiceException(inner) => {
2245 Error::InternalServiceException(inner)
2246 }
2247 crate::operation::create_user_defined_function::CreateUserDefinedFunctionError::InvalidInputException(inner) => {
2248 Error::InvalidInputException(inner)
2249 }
2250 crate::operation::create_user_defined_function::CreateUserDefinedFunctionError::OperationTimeoutException(inner) => {
2251 Error::OperationTimeoutException(inner)
2252 }
2253 crate::operation::create_user_defined_function::CreateUserDefinedFunctionError::ResourceNumberLimitExceededException(inner) => {
2254 Error::ResourceNumberLimitExceededException(inner)
2255 }
2256 crate::operation::create_user_defined_function::CreateUserDefinedFunctionError::Unhandled(inner) => Error::Unhandled(inner),
2257 }
2258 }
2259}
2260impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_workflow::CreateWorkflowError, R>> for Error
2261where
2262 R: Send + Sync + std::fmt::Debug + 'static,
2263{
2264 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_workflow::CreateWorkflowError, R>) -> Self {
2265 match err {
2266 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2267 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2268 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2269 source: err.into(),
2270 }),
2271 }
2272 }
2273}
2274impl From<crate::operation::create_workflow::CreateWorkflowError> for Error {
2275 fn from(err: crate::operation::create_workflow::CreateWorkflowError) -> Self {
2276 match err {
2277 crate::operation::create_workflow::CreateWorkflowError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
2278 crate::operation::create_workflow::CreateWorkflowError::ConcurrentModificationException(inner) => {
2279 Error::ConcurrentModificationException(inner)
2280 }
2281 crate::operation::create_workflow::CreateWorkflowError::InternalServiceException(inner) => Error::InternalServiceException(inner),
2282 crate::operation::create_workflow::CreateWorkflowError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2283 crate::operation::create_workflow::CreateWorkflowError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
2284 crate::operation::create_workflow::CreateWorkflowError::ResourceNumberLimitExceededException(inner) => {
2285 Error::ResourceNumberLimitExceededException(inner)
2286 }
2287 crate::operation::create_workflow::CreateWorkflowError::Unhandled(inner) => Error::Unhandled(inner),
2288 }
2289 }
2290}
2291impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_asset::DeleteAssetError, R>> for Error
2292where
2293 R: Send + Sync + std::fmt::Debug + 'static,
2294{
2295 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_asset::DeleteAssetError, R>) -> Self {
2296 match err {
2297 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2298 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2299 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2300 source: err.into(),
2301 }),
2302 }
2303 }
2304}
2305impl From<crate::operation::delete_asset::DeleteAssetError> for Error {
2306 fn from(err: crate::operation::delete_asset::DeleteAssetError) -> Self {
2307 match err {
2308 crate::operation::delete_asset::DeleteAssetError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2309 crate::operation::delete_asset::DeleteAssetError::ConcurrentModificationException(inner) => Error::ConcurrentModificationException(inner),
2310 crate::operation::delete_asset::DeleteAssetError::InternalServiceException(inner) => Error::InternalServiceException(inner),
2311 crate::operation::delete_asset::DeleteAssetError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2312 crate::operation::delete_asset::DeleteAssetError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2313 crate::operation::delete_asset::DeleteAssetError::Unhandled(inner) => Error::Unhandled(inner),
2314 }
2315 }
2316}
2317impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_attachment::DeleteAttachmentError, R>> for Error
2318where
2319 R: Send + Sync + std::fmt::Debug + 'static,
2320{
2321 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_attachment::DeleteAttachmentError, R>) -> Self {
2322 match err {
2323 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2324 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2325 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2326 source: err.into(),
2327 }),
2328 }
2329 }
2330}
2331impl From<crate::operation::delete_attachment::DeleteAttachmentError> for Error {
2332 fn from(err: crate::operation::delete_attachment::DeleteAttachmentError) -> Self {
2333 match err {
2334 crate::operation::delete_attachment::DeleteAttachmentError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2335 crate::operation::delete_attachment::DeleteAttachmentError::ConcurrentModificationException(inner) => {
2336 Error::ConcurrentModificationException(inner)
2337 }
2338 crate::operation::delete_attachment::DeleteAttachmentError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
2339 crate::operation::delete_attachment::DeleteAttachmentError::InternalServiceException(inner) => Error::InternalServiceException(inner),
2340 crate::operation::delete_attachment::DeleteAttachmentError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2341 crate::operation::delete_attachment::DeleteAttachmentError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2342 crate::operation::delete_attachment::DeleteAttachmentError::Unhandled(inner) => Error::Unhandled(inner),
2343 }
2344 }
2345}
2346impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_blueprint::DeleteBlueprintError, R>> for Error
2347where
2348 R: Send + Sync + std::fmt::Debug + 'static,
2349{
2350 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_blueprint::DeleteBlueprintError, R>) -> Self {
2351 match err {
2352 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2353 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2354 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2355 source: err.into(),
2356 }),
2357 }
2358 }
2359}
2360impl From<crate::operation::delete_blueprint::DeleteBlueprintError> for Error {
2361 fn from(err: crate::operation::delete_blueprint::DeleteBlueprintError) -> Self {
2362 match err {
2363 crate::operation::delete_blueprint::DeleteBlueprintError::InternalServiceException(inner) => Error::InternalServiceException(inner),
2364 crate::operation::delete_blueprint::DeleteBlueprintError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2365 crate::operation::delete_blueprint::DeleteBlueprintError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
2366 crate::operation::delete_blueprint::DeleteBlueprintError::Unhandled(inner) => Error::Unhandled(inner),
2367 }
2368 }
2369}
2370impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_catalog::DeleteCatalogError, R>> for Error
2371where
2372 R: Send + Sync + std::fmt::Debug + 'static,
2373{
2374 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_catalog::DeleteCatalogError, R>) -> Self {
2375 match err {
2376 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2377 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2378 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2379 source: err.into(),
2380 }),
2381 }
2382 }
2383}
2384impl From<crate::operation::delete_catalog::DeleteCatalogError> for Error {
2385 fn from(err: crate::operation::delete_catalog::DeleteCatalogError) -> Self {
2386 match err {
2387 crate::operation::delete_catalog::DeleteCatalogError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2388 crate::operation::delete_catalog::DeleteCatalogError::ConcurrentModificationException(inner) => {
2389 Error::ConcurrentModificationException(inner)
2390 }
2391 crate::operation::delete_catalog::DeleteCatalogError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
2392 crate::operation::delete_catalog::DeleteCatalogError::FederationSourceException(inner) => Error::FederationSourceException(inner),
2393 crate::operation::delete_catalog::DeleteCatalogError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
2394 crate::operation::delete_catalog::DeleteCatalogError::InternalServiceException(inner) => Error::InternalServiceException(inner),
2395 crate::operation::delete_catalog::DeleteCatalogError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2396 crate::operation::delete_catalog::DeleteCatalogError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
2397 crate::operation::delete_catalog::DeleteCatalogError::Unhandled(inner) => Error::Unhandled(inner),
2398 }
2399 }
2400}
2401impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_classifier::DeleteClassifierError, R>> for Error
2402where
2403 R: Send + Sync + std::fmt::Debug + 'static,
2404{
2405 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_classifier::DeleteClassifierError, R>) -> Self {
2406 match err {
2407 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2408 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2409 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2410 source: err.into(),
2411 }),
2412 }
2413 }
2414}
2415impl From<crate::operation::delete_classifier::DeleteClassifierError> for Error {
2416 fn from(err: crate::operation::delete_classifier::DeleteClassifierError) -> Self {
2417 match err {
2418 crate::operation::delete_classifier::DeleteClassifierError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
2419 crate::operation::delete_classifier::DeleteClassifierError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
2420 crate::operation::delete_classifier::DeleteClassifierError::Unhandled(inner) => Error::Unhandled(inner),
2421 }
2422 }
2423}
2424impl<R>
2425 From<
2426 ::aws_smithy_runtime_api::client::result::SdkError<
2427 crate::operation::delete_column_statistics_for_partition::DeleteColumnStatisticsForPartitionError,
2428 R,
2429 >,
2430 > for Error
2431where
2432 R: Send + Sync + std::fmt::Debug + 'static,
2433{
2434 fn from(
2435 err: ::aws_smithy_runtime_api::client::result::SdkError<
2436 crate::operation::delete_column_statistics_for_partition::DeleteColumnStatisticsForPartitionError,
2437 R,
2438 >,
2439 ) -> Self {
2440 match err {
2441 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2442 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2443 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2444 source: err.into(),
2445 }),
2446 }
2447 }
2448}
2449impl From<crate::operation::delete_column_statistics_for_partition::DeleteColumnStatisticsForPartitionError> for Error {
2450 fn from(err: crate::operation::delete_column_statistics_for_partition::DeleteColumnStatisticsForPartitionError) -> Self {
2451 match err {
2452 crate::operation::delete_column_statistics_for_partition::DeleteColumnStatisticsForPartitionError::EntityNotFoundException(inner) => {
2453 Error::EntityNotFoundException(inner)
2454 }
2455 crate::operation::delete_column_statistics_for_partition::DeleteColumnStatisticsForPartitionError::GlueEncryptionException(inner) => {
2456 Error::GlueEncryptionException(inner)
2457 }
2458 crate::operation::delete_column_statistics_for_partition::DeleteColumnStatisticsForPartitionError::InternalServiceException(inner) => {
2459 Error::InternalServiceException(inner)
2460 }
2461 crate::operation::delete_column_statistics_for_partition::DeleteColumnStatisticsForPartitionError::InvalidInputException(inner) => {
2462 Error::InvalidInputException(inner)
2463 }
2464 crate::operation::delete_column_statistics_for_partition::DeleteColumnStatisticsForPartitionError::OperationTimeoutException(inner) => {
2465 Error::OperationTimeoutException(inner)
2466 }
2467 crate::operation::delete_column_statistics_for_partition::DeleteColumnStatisticsForPartitionError::Unhandled(inner) => {
2468 Error::Unhandled(inner)
2469 }
2470 }
2471 }
2472}
2473impl<R>
2474 From<
2475 ::aws_smithy_runtime_api::client::result::SdkError<
2476 crate::operation::delete_column_statistics_for_table::DeleteColumnStatisticsForTableError,
2477 R,
2478 >,
2479 > for Error
2480where
2481 R: Send + Sync + std::fmt::Debug + 'static,
2482{
2483 fn from(
2484 err: ::aws_smithy_runtime_api::client::result::SdkError<
2485 crate::operation::delete_column_statistics_for_table::DeleteColumnStatisticsForTableError,
2486 R,
2487 >,
2488 ) -> Self {
2489 match err {
2490 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2491 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2492 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2493 source: err.into(),
2494 }),
2495 }
2496 }
2497}
2498impl From<crate::operation::delete_column_statistics_for_table::DeleteColumnStatisticsForTableError> for Error {
2499 fn from(err: crate::operation::delete_column_statistics_for_table::DeleteColumnStatisticsForTableError) -> Self {
2500 match err {
2501 crate::operation::delete_column_statistics_for_table::DeleteColumnStatisticsForTableError::EntityNotFoundException(inner) => {
2502 Error::EntityNotFoundException(inner)
2503 }
2504 crate::operation::delete_column_statistics_for_table::DeleteColumnStatisticsForTableError::GlueEncryptionException(inner) => {
2505 Error::GlueEncryptionException(inner)
2506 }
2507 crate::operation::delete_column_statistics_for_table::DeleteColumnStatisticsForTableError::InternalServiceException(inner) => {
2508 Error::InternalServiceException(inner)
2509 }
2510 crate::operation::delete_column_statistics_for_table::DeleteColumnStatisticsForTableError::InvalidInputException(inner) => {
2511 Error::InvalidInputException(inner)
2512 }
2513 crate::operation::delete_column_statistics_for_table::DeleteColumnStatisticsForTableError::OperationTimeoutException(inner) => {
2514 Error::OperationTimeoutException(inner)
2515 }
2516 crate::operation::delete_column_statistics_for_table::DeleteColumnStatisticsForTableError::Unhandled(inner) => Error::Unhandled(inner),
2517 }
2518 }
2519}
2520impl<R>
2521 From<
2522 ::aws_smithy_runtime_api::client::result::SdkError<
2523 crate::operation::delete_column_statistics_task_settings::DeleteColumnStatisticsTaskSettingsError,
2524 R,
2525 >,
2526 > for Error
2527where
2528 R: Send + Sync + std::fmt::Debug + 'static,
2529{
2530 fn from(
2531 err: ::aws_smithy_runtime_api::client::result::SdkError<
2532 crate::operation::delete_column_statistics_task_settings::DeleteColumnStatisticsTaskSettingsError,
2533 R,
2534 >,
2535 ) -> Self {
2536 match err {
2537 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2538 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2539 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2540 source: err.into(),
2541 }),
2542 }
2543 }
2544}
2545impl From<crate::operation::delete_column_statistics_task_settings::DeleteColumnStatisticsTaskSettingsError> for Error {
2546 fn from(err: crate::operation::delete_column_statistics_task_settings::DeleteColumnStatisticsTaskSettingsError) -> Self {
2547 match err {
2548 crate::operation::delete_column_statistics_task_settings::DeleteColumnStatisticsTaskSettingsError::EntityNotFoundException(inner) => {
2549 Error::EntityNotFoundException(inner)
2550 }
2551 crate::operation::delete_column_statistics_task_settings::DeleteColumnStatisticsTaskSettingsError::InvalidInputException(inner) => {
2552 Error::InvalidInputException(inner)
2553 }
2554 crate::operation::delete_column_statistics_task_settings::DeleteColumnStatisticsTaskSettingsError::OperationTimeoutException(inner) => {
2555 Error::OperationTimeoutException(inner)
2556 }
2557 crate::operation::delete_column_statistics_task_settings::DeleteColumnStatisticsTaskSettingsError::Unhandled(inner) => {
2558 Error::Unhandled(inner)
2559 }
2560 }
2561 }
2562}
2563impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_connection::DeleteConnectionError, R>> for Error
2564where
2565 R: Send + Sync + std::fmt::Debug + 'static,
2566{
2567 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_connection::DeleteConnectionError, R>) -> Self {
2568 match err {
2569 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2570 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2571 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2572 source: err.into(),
2573 }),
2574 }
2575 }
2576}
2577impl From<crate::operation::delete_connection::DeleteConnectionError> for Error {
2578 fn from(err: crate::operation::delete_connection::DeleteConnectionError) -> Self {
2579 match err {
2580 crate::operation::delete_connection::DeleteConnectionError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
2581 crate::operation::delete_connection::DeleteConnectionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
2582 crate::operation::delete_connection::DeleteConnectionError::Unhandled(inner) => Error::Unhandled(inner),
2583 }
2584 }
2585}
2586impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_connection_type::DeleteConnectionTypeError, R>> for Error
2587where
2588 R: Send + Sync + std::fmt::Debug + 'static,
2589{
2590 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_connection_type::DeleteConnectionTypeError, R>) -> Self {
2591 match err {
2592 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2593 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2594 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2595 source: err.into(),
2596 }),
2597 }
2598 }
2599}
2600impl From<crate::operation::delete_connection_type::DeleteConnectionTypeError> for Error {
2601 fn from(err: crate::operation::delete_connection_type::DeleteConnectionTypeError) -> Self {
2602 match err {
2603 crate::operation::delete_connection_type::DeleteConnectionTypeError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2604 crate::operation::delete_connection_type::DeleteConnectionTypeError::EntityNotFoundException(inner) => {
2605 Error::EntityNotFoundException(inner)
2606 }
2607 crate::operation::delete_connection_type::DeleteConnectionTypeError::InternalServiceException(inner) => {
2608 Error::InternalServiceException(inner)
2609 }
2610 crate::operation::delete_connection_type::DeleteConnectionTypeError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2611 crate::operation::delete_connection_type::DeleteConnectionTypeError::OperationTimeoutException(inner) => {
2612 Error::OperationTimeoutException(inner)
2613 }
2614 crate::operation::delete_connection_type::DeleteConnectionTypeError::ValidationException(inner) => Error::ValidationException(inner),
2615 crate::operation::delete_connection_type::DeleteConnectionTypeError::Unhandled(inner) => Error::Unhandled(inner),
2616 }
2617 }
2618}
2619impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_crawler::DeleteCrawlerError, R>> for Error
2620where
2621 R: Send + Sync + std::fmt::Debug + 'static,
2622{
2623 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_crawler::DeleteCrawlerError, R>) -> Self {
2624 match err {
2625 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2626 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2627 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2628 source: err.into(),
2629 }),
2630 }
2631 }
2632}
2633impl From<crate::operation::delete_crawler::DeleteCrawlerError> for Error {
2634 fn from(err: crate::operation::delete_crawler::DeleteCrawlerError) -> Self {
2635 match err {
2636 crate::operation::delete_crawler::DeleteCrawlerError::CrawlerRunningException(inner) => Error::CrawlerRunningException(inner),
2637 crate::operation::delete_crawler::DeleteCrawlerError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
2638 crate::operation::delete_crawler::DeleteCrawlerError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
2639 crate::operation::delete_crawler::DeleteCrawlerError::SchedulerTransitioningException(inner) => {
2640 Error::SchedulerTransitioningException(inner)
2641 }
2642 crate::operation::delete_crawler::DeleteCrawlerError::Unhandled(inner) => Error::Unhandled(inner),
2643 }
2644 }
2645}
2646impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_custom_entity_type::DeleteCustomEntityTypeError, R>>
2647 for Error
2648where
2649 R: Send + Sync + std::fmt::Debug + 'static,
2650{
2651 fn from(
2652 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_custom_entity_type::DeleteCustomEntityTypeError, R>,
2653 ) -> Self {
2654 match err {
2655 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2656 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2657 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2658 source: err.into(),
2659 }),
2660 }
2661 }
2662}
2663impl From<crate::operation::delete_custom_entity_type::DeleteCustomEntityTypeError> for Error {
2664 fn from(err: crate::operation::delete_custom_entity_type::DeleteCustomEntityTypeError) -> Self {
2665 match err {
2666 crate::operation::delete_custom_entity_type::DeleteCustomEntityTypeError::AccessDeniedException(inner) => {
2667 Error::AccessDeniedException(inner)
2668 }
2669 crate::operation::delete_custom_entity_type::DeleteCustomEntityTypeError::EntityNotFoundException(inner) => {
2670 Error::EntityNotFoundException(inner)
2671 }
2672 crate::operation::delete_custom_entity_type::DeleteCustomEntityTypeError::InternalServiceException(inner) => {
2673 Error::InternalServiceException(inner)
2674 }
2675 crate::operation::delete_custom_entity_type::DeleteCustomEntityTypeError::InvalidInputException(inner) => {
2676 Error::InvalidInputException(inner)
2677 }
2678 crate::operation::delete_custom_entity_type::DeleteCustomEntityTypeError::OperationTimeoutException(inner) => {
2679 Error::OperationTimeoutException(inner)
2680 }
2681 crate::operation::delete_custom_entity_type::DeleteCustomEntityTypeError::Unhandled(inner) => Error::Unhandled(inner),
2682 }
2683 }
2684}
2685impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_database::DeleteDatabaseError, R>> for Error
2686where
2687 R: Send + Sync + std::fmt::Debug + 'static,
2688{
2689 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_database::DeleteDatabaseError, R>) -> Self {
2690 match err {
2691 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2692 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2693 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2694 source: err.into(),
2695 }),
2696 }
2697 }
2698}
2699impl From<crate::operation::delete_database::DeleteDatabaseError> for Error {
2700 fn from(err: crate::operation::delete_database::DeleteDatabaseError) -> Self {
2701 match err {
2702 crate::operation::delete_database::DeleteDatabaseError::ConcurrentModificationException(inner) => {
2703 Error::ConcurrentModificationException(inner)
2704 }
2705 crate::operation::delete_database::DeleteDatabaseError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
2706 crate::operation::delete_database::DeleteDatabaseError::FederationSourceException(inner) => Error::FederationSourceException(inner),
2707 crate::operation::delete_database::DeleteDatabaseError::FederationSourceRetryableException(inner) => {
2708 Error::FederationSourceRetryableException(inner)
2709 }
2710 crate::operation::delete_database::DeleteDatabaseError::InternalServiceException(inner) => Error::InternalServiceException(inner),
2711 crate::operation::delete_database::DeleteDatabaseError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2712 crate::operation::delete_database::DeleteDatabaseError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
2713 crate::operation::delete_database::DeleteDatabaseError::Unhandled(inner) => Error::Unhandled(inner),
2714 }
2715 }
2716}
2717impl<R>
2718 From<
2719 ::aws_smithy_runtime_api::client::result::SdkError<
2720 crate::operation::delete_data_quality_evaluation_config::DeleteDataQualityEvaluationConfigError,
2721 R,
2722 >,
2723 > for Error
2724where
2725 R: Send + Sync + std::fmt::Debug + 'static,
2726{
2727 fn from(
2728 err: ::aws_smithy_runtime_api::client::result::SdkError<
2729 crate::operation::delete_data_quality_evaluation_config::DeleteDataQualityEvaluationConfigError,
2730 R,
2731 >,
2732 ) -> Self {
2733 match err {
2734 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2735 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2736 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2737 source: err.into(),
2738 }),
2739 }
2740 }
2741}
2742impl From<crate::operation::delete_data_quality_evaluation_config::DeleteDataQualityEvaluationConfigError> for Error {
2743 fn from(err: crate::operation::delete_data_quality_evaluation_config::DeleteDataQualityEvaluationConfigError) -> Self {
2744 match err {
2745 crate::operation::delete_data_quality_evaluation_config::DeleteDataQualityEvaluationConfigError::AccessDeniedException(inner) => {
2746 Error::AccessDeniedException(inner)
2747 }
2748 crate::operation::delete_data_quality_evaluation_config::DeleteDataQualityEvaluationConfigError::EntityNotFoundException(inner) => {
2749 Error::EntityNotFoundException(inner)
2750 }
2751 crate::operation::delete_data_quality_evaluation_config::DeleteDataQualityEvaluationConfigError::InternalServiceException(inner) => {
2752 Error::InternalServiceException(inner)
2753 }
2754 crate::operation::delete_data_quality_evaluation_config::DeleteDataQualityEvaluationConfigError::InvalidInputException(inner) => {
2755 Error::InvalidInputException(inner)
2756 }
2757 crate::operation::delete_data_quality_evaluation_config::DeleteDataQualityEvaluationConfigError::OperationTimeoutException(inner) => {
2758 Error::OperationTimeoutException(inner)
2759 }
2760 crate::operation::delete_data_quality_evaluation_config::DeleteDataQualityEvaluationConfigError::Unhandled(inner) => {
2761 Error::Unhandled(inner)
2762 }
2763 }
2764 }
2765}
2766impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_data_quality_ruleset::DeleteDataQualityRulesetError, R>>
2767 for Error
2768where
2769 R: Send + Sync + std::fmt::Debug + 'static,
2770{
2771 fn from(
2772 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_data_quality_ruleset::DeleteDataQualityRulesetError, R>,
2773 ) -> Self {
2774 match err {
2775 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2776 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2777 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2778 source: err.into(),
2779 }),
2780 }
2781 }
2782}
2783impl From<crate::operation::delete_data_quality_ruleset::DeleteDataQualityRulesetError> for Error {
2784 fn from(err: crate::operation::delete_data_quality_ruleset::DeleteDataQualityRulesetError) -> Self {
2785 match err {
2786 crate::operation::delete_data_quality_ruleset::DeleteDataQualityRulesetError::EntityNotFoundException(inner) => {
2787 Error::EntityNotFoundException(inner)
2788 }
2789 crate::operation::delete_data_quality_ruleset::DeleteDataQualityRulesetError::InternalServiceException(inner) => {
2790 Error::InternalServiceException(inner)
2791 }
2792 crate::operation::delete_data_quality_ruleset::DeleteDataQualityRulesetError::InvalidInputException(inner) => {
2793 Error::InvalidInputException(inner)
2794 }
2795 crate::operation::delete_data_quality_ruleset::DeleteDataQualityRulesetError::OperationTimeoutException(inner) => {
2796 Error::OperationTimeoutException(inner)
2797 }
2798 crate::operation::delete_data_quality_ruleset::DeleteDataQualityRulesetError::Unhandled(inner) => Error::Unhandled(inner),
2799 }
2800 }
2801}
2802impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_dev_endpoint::DeleteDevEndpointError, R>> for Error
2803where
2804 R: Send + Sync + std::fmt::Debug + 'static,
2805{
2806 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_dev_endpoint::DeleteDevEndpointError, R>) -> Self {
2807 match err {
2808 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2809 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2810 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2811 source: err.into(),
2812 }),
2813 }
2814 }
2815}
2816impl From<crate::operation::delete_dev_endpoint::DeleteDevEndpointError> for Error {
2817 fn from(err: crate::operation::delete_dev_endpoint::DeleteDevEndpointError) -> Self {
2818 match err {
2819 crate::operation::delete_dev_endpoint::DeleteDevEndpointError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
2820 crate::operation::delete_dev_endpoint::DeleteDevEndpointError::InternalServiceException(inner) => Error::InternalServiceException(inner),
2821 crate::operation::delete_dev_endpoint::DeleteDevEndpointError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2822 crate::operation::delete_dev_endpoint::DeleteDevEndpointError::OperationTimeoutException(inner) => {
2823 Error::OperationTimeoutException(inner)
2824 }
2825 crate::operation::delete_dev_endpoint::DeleteDevEndpointError::Unhandled(inner) => Error::Unhandled(inner),
2826 }
2827 }
2828}
2829impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_form_type::DeleteFormTypeError, R>> for Error
2830where
2831 R: Send + Sync + std::fmt::Debug + 'static,
2832{
2833 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_form_type::DeleteFormTypeError, R>) -> Self {
2834 match err {
2835 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2836 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2837 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2838 source: err.into(),
2839 }),
2840 }
2841 }
2842}
2843impl From<crate::operation::delete_form_type::DeleteFormTypeError> for Error {
2844 fn from(err: crate::operation::delete_form_type::DeleteFormTypeError) -> Self {
2845 match err {
2846 crate::operation::delete_form_type::DeleteFormTypeError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2847 crate::operation::delete_form_type::DeleteFormTypeError::ConcurrentModificationException(inner) => {
2848 Error::ConcurrentModificationException(inner)
2849 }
2850 crate::operation::delete_form_type::DeleteFormTypeError::ConflictException(inner) => Error::ConflictException(inner),
2851 crate::operation::delete_form_type::DeleteFormTypeError::InternalServiceException(inner) => Error::InternalServiceException(inner),
2852 crate::operation::delete_form_type::DeleteFormTypeError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2853 crate::operation::delete_form_type::DeleteFormTypeError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2854 crate::operation::delete_form_type::DeleteFormTypeError::Unhandled(inner) => Error::Unhandled(inner),
2855 }
2856 }
2857}
2858impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_glossary::DeleteGlossaryError, R>> for Error
2859where
2860 R: Send + Sync + std::fmt::Debug + 'static,
2861{
2862 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_glossary::DeleteGlossaryError, R>) -> Self {
2863 match err {
2864 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2865 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2866 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2867 source: err.into(),
2868 }),
2869 }
2870 }
2871}
2872impl From<crate::operation::delete_glossary::DeleteGlossaryError> for Error {
2873 fn from(err: crate::operation::delete_glossary::DeleteGlossaryError) -> Self {
2874 match err {
2875 crate::operation::delete_glossary::DeleteGlossaryError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2876 crate::operation::delete_glossary::DeleteGlossaryError::ConcurrentModificationException(inner) => {
2877 Error::ConcurrentModificationException(inner)
2878 }
2879 crate::operation::delete_glossary::DeleteGlossaryError::ConflictException(inner) => Error::ConflictException(inner),
2880 crate::operation::delete_glossary::DeleteGlossaryError::InternalServiceException(inner) => Error::InternalServiceException(inner),
2881 crate::operation::delete_glossary::DeleteGlossaryError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2882 crate::operation::delete_glossary::DeleteGlossaryError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2883 crate::operation::delete_glossary::DeleteGlossaryError::Unhandled(inner) => Error::Unhandled(inner),
2884 }
2885 }
2886}
2887impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_glossary_term::DeleteGlossaryTermError, R>> for Error
2888where
2889 R: Send + Sync + std::fmt::Debug + 'static,
2890{
2891 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_glossary_term::DeleteGlossaryTermError, R>) -> Self {
2892 match err {
2893 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2894 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2895 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2896 source: err.into(),
2897 }),
2898 }
2899 }
2900}
2901impl From<crate::operation::delete_glossary_term::DeleteGlossaryTermError> for Error {
2902 fn from(err: crate::operation::delete_glossary_term::DeleteGlossaryTermError) -> Self {
2903 match err {
2904 crate::operation::delete_glossary_term::DeleteGlossaryTermError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2905 crate::operation::delete_glossary_term::DeleteGlossaryTermError::ConcurrentModificationException(inner) => {
2906 Error::ConcurrentModificationException(inner)
2907 }
2908 crate::operation::delete_glossary_term::DeleteGlossaryTermError::InternalServiceException(inner) => {
2909 Error::InternalServiceException(inner)
2910 }
2911 crate::operation::delete_glossary_term::DeleteGlossaryTermError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2912 crate::operation::delete_glossary_term::DeleteGlossaryTermError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2913 crate::operation::delete_glossary_term::DeleteGlossaryTermError::Unhandled(inner) => Error::Unhandled(inner),
2914 }
2915 }
2916}
2917impl<R>
2918 From<
2919 ::aws_smithy_runtime_api::client::result::SdkError<
2920 crate::operation::delete_glue_identity_center_configuration::DeleteGlueIdentityCenterConfigurationError,
2921 R,
2922 >,
2923 > for Error
2924where
2925 R: Send + Sync + std::fmt::Debug + 'static,
2926{
2927 fn from(
2928 err: ::aws_smithy_runtime_api::client::result::SdkError<
2929 crate::operation::delete_glue_identity_center_configuration::DeleteGlueIdentityCenterConfigurationError,
2930 R,
2931 >,
2932 ) -> Self {
2933 match err {
2934 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2935 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2936 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2937 source: err.into(),
2938 }),
2939 }
2940 }
2941}
2942impl From<crate::operation::delete_glue_identity_center_configuration::DeleteGlueIdentityCenterConfigurationError> for Error {
2943 fn from(err: crate::operation::delete_glue_identity_center_configuration::DeleteGlueIdentityCenterConfigurationError) -> Self {
2944 match err {
2945 crate::operation::delete_glue_identity_center_configuration::DeleteGlueIdentityCenterConfigurationError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2946 crate::operation::delete_glue_identity_center_configuration::DeleteGlueIdentityCenterConfigurationError::ConcurrentModificationException(inner) => Error::ConcurrentModificationException(inner),
2947 crate::operation::delete_glue_identity_center_configuration::DeleteGlueIdentityCenterConfigurationError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
2948 crate::operation::delete_glue_identity_center_configuration::DeleteGlueIdentityCenterConfigurationError::InternalServiceException(inner) => Error::InternalServiceException(inner),
2949 crate::operation::delete_glue_identity_center_configuration::DeleteGlueIdentityCenterConfigurationError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2950 crate::operation::delete_glue_identity_center_configuration::DeleteGlueIdentityCenterConfigurationError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
2951 crate::operation::delete_glue_identity_center_configuration::DeleteGlueIdentityCenterConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
2952 }
2953 }
2954}
2955impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_integration::DeleteIntegrationError, R>> for Error
2956where
2957 R: Send + Sync + std::fmt::Debug + 'static,
2958{
2959 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_integration::DeleteIntegrationError, R>) -> Self {
2960 match err {
2961 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2962 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2963 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2964 source: err.into(),
2965 }),
2966 }
2967 }
2968}
2969impl From<crate::operation::delete_integration::DeleteIntegrationError> for Error {
2970 fn from(err: crate::operation::delete_integration::DeleteIntegrationError) -> Self {
2971 match err {
2972 crate::operation::delete_integration::DeleteIntegrationError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2973 crate::operation::delete_integration::DeleteIntegrationError::ConflictException(inner) => Error::ConflictException(inner),
2974 crate::operation::delete_integration::DeleteIntegrationError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
2975 crate::operation::delete_integration::DeleteIntegrationError::IntegrationConflictOperationFault(inner) => {
2976 Error::IntegrationConflictOperationFault(inner)
2977 }
2978 crate::operation::delete_integration::DeleteIntegrationError::IntegrationNotFoundFault(inner) => Error::IntegrationNotFoundFault(inner),
2979 crate::operation::delete_integration::DeleteIntegrationError::InternalServerException(inner) => Error::InternalServerException(inner),
2980 crate::operation::delete_integration::DeleteIntegrationError::InternalServiceException(inner) => Error::InternalServiceException(inner),
2981 crate::operation::delete_integration::DeleteIntegrationError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2982 crate::operation::delete_integration::DeleteIntegrationError::InvalidIntegrationStateFault(inner) => {
2983 Error::InvalidIntegrationStateFault(inner)
2984 }
2985 crate::operation::delete_integration::DeleteIntegrationError::InvalidStateException(inner) => Error::InvalidStateException(inner),
2986 crate::operation::delete_integration::DeleteIntegrationError::ValidationException(inner) => Error::ValidationException(inner),
2987 crate::operation::delete_integration::DeleteIntegrationError::Unhandled(inner) => Error::Unhandled(inner),
2988 }
2989 }
2990}
2991impl<R>
2992 From<
2993 ::aws_smithy_runtime_api::client::result::SdkError<
2994 crate::operation::delete_integration_resource_property::DeleteIntegrationResourcePropertyError,
2995 R,
2996 >,
2997 > for Error
2998where
2999 R: Send + Sync + std::fmt::Debug + 'static,
3000{
3001 fn from(
3002 err: ::aws_smithy_runtime_api::client::result::SdkError<
3003 crate::operation::delete_integration_resource_property::DeleteIntegrationResourcePropertyError,
3004 R,
3005 >,
3006 ) -> Self {
3007 match err {
3008 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3009 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3010 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3011 source: err.into(),
3012 }),
3013 }
3014 }
3015}
3016impl From<crate::operation::delete_integration_resource_property::DeleteIntegrationResourcePropertyError> for Error {
3017 fn from(err: crate::operation::delete_integration_resource_property::DeleteIntegrationResourcePropertyError) -> Self {
3018 match err {
3019 crate::operation::delete_integration_resource_property::DeleteIntegrationResourcePropertyError::AccessDeniedException(inner) => {
3020 Error::AccessDeniedException(inner)
3021 }
3022 crate::operation::delete_integration_resource_property::DeleteIntegrationResourcePropertyError::EntityNotFoundException(inner) => {
3023 Error::EntityNotFoundException(inner)
3024 }
3025 crate::operation::delete_integration_resource_property::DeleteIntegrationResourcePropertyError::InternalServerException(inner) => {
3026 Error::InternalServerException(inner)
3027 }
3028 crate::operation::delete_integration_resource_property::DeleteIntegrationResourcePropertyError::InternalServiceException(inner) => {
3029 Error::InternalServiceException(inner)
3030 }
3031 crate::operation::delete_integration_resource_property::DeleteIntegrationResourcePropertyError::InvalidInputException(inner) => {
3032 Error::InvalidInputException(inner)
3033 }
3034 crate::operation::delete_integration_resource_property::DeleteIntegrationResourcePropertyError::ResourceNotFoundException(inner) => {
3035 Error::ResourceNotFoundException(inner)
3036 }
3037 crate::operation::delete_integration_resource_property::DeleteIntegrationResourcePropertyError::ValidationException(inner) => {
3038 Error::ValidationException(inner)
3039 }
3040 crate::operation::delete_integration_resource_property::DeleteIntegrationResourcePropertyError::Unhandled(inner) => {
3041 Error::Unhandled(inner)
3042 }
3043 }
3044 }
3045}
3046impl<R>
3047 From<
3048 ::aws_smithy_runtime_api::client::result::SdkError<
3049 crate::operation::delete_integration_table_properties::DeleteIntegrationTablePropertiesError,
3050 R,
3051 >,
3052 > for Error
3053where
3054 R: Send + Sync + std::fmt::Debug + 'static,
3055{
3056 fn from(
3057 err: ::aws_smithy_runtime_api::client::result::SdkError<
3058 crate::operation::delete_integration_table_properties::DeleteIntegrationTablePropertiesError,
3059 R,
3060 >,
3061 ) -> Self {
3062 match err {
3063 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3064 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3065 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3066 source: err.into(),
3067 }),
3068 }
3069 }
3070}
3071impl From<crate::operation::delete_integration_table_properties::DeleteIntegrationTablePropertiesError> for Error {
3072 fn from(err: crate::operation::delete_integration_table_properties::DeleteIntegrationTablePropertiesError) -> Self {
3073 match err {
3074 crate::operation::delete_integration_table_properties::DeleteIntegrationTablePropertiesError::AccessDeniedException(inner) => {
3075 Error::AccessDeniedException(inner)
3076 }
3077 crate::operation::delete_integration_table_properties::DeleteIntegrationTablePropertiesError::EntityNotFoundException(inner) => {
3078 Error::EntityNotFoundException(inner)
3079 }
3080 crate::operation::delete_integration_table_properties::DeleteIntegrationTablePropertiesError::InternalServerException(inner) => {
3081 Error::InternalServerException(inner)
3082 }
3083 crate::operation::delete_integration_table_properties::DeleteIntegrationTablePropertiesError::InternalServiceException(inner) => {
3084 Error::InternalServiceException(inner)
3085 }
3086 crate::operation::delete_integration_table_properties::DeleteIntegrationTablePropertiesError::InvalidInputException(inner) => {
3087 Error::InvalidInputException(inner)
3088 }
3089 crate::operation::delete_integration_table_properties::DeleteIntegrationTablePropertiesError::ResourceNotFoundException(inner) => {
3090 Error::ResourceNotFoundException(inner)
3091 }
3092 crate::operation::delete_integration_table_properties::DeleteIntegrationTablePropertiesError::ValidationException(inner) => {
3093 Error::ValidationException(inner)
3094 }
3095 crate::operation::delete_integration_table_properties::DeleteIntegrationTablePropertiesError::Unhandled(inner) => Error::Unhandled(inner),
3096 }
3097 }
3098}
3099impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_job::DeleteJobError, R>> for Error
3100where
3101 R: Send + Sync + std::fmt::Debug + 'static,
3102{
3103 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_job::DeleteJobError, R>) -> Self {
3104 match err {
3105 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3106 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3107 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3108 source: err.into(),
3109 }),
3110 }
3111 }
3112}
3113impl From<crate::operation::delete_job::DeleteJobError> for Error {
3114 fn from(err: crate::operation::delete_job::DeleteJobError) -> Self {
3115 match err {
3116 crate::operation::delete_job::DeleteJobError::InternalServiceException(inner) => Error::InternalServiceException(inner),
3117 crate::operation::delete_job::DeleteJobError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3118 crate::operation::delete_job::DeleteJobError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3119 crate::operation::delete_job::DeleteJobError::Unhandled(inner) => Error::Unhandled(inner),
3120 }
3121 }
3122}
3123impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ml_transform::DeleteMLTransformError, R>> for Error
3124where
3125 R: Send + Sync + std::fmt::Debug + 'static,
3126{
3127 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ml_transform::DeleteMLTransformError, R>) -> Self {
3128 match err {
3129 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3130 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3131 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3132 source: err.into(),
3133 }),
3134 }
3135 }
3136}
3137impl From<crate::operation::delete_ml_transform::DeleteMLTransformError> for Error {
3138 fn from(err: crate::operation::delete_ml_transform::DeleteMLTransformError) -> Self {
3139 match err {
3140 crate::operation::delete_ml_transform::DeleteMLTransformError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
3141 crate::operation::delete_ml_transform::DeleteMLTransformError::InternalServiceException(inner) => Error::InternalServiceException(inner),
3142 crate::operation::delete_ml_transform::DeleteMLTransformError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3143 crate::operation::delete_ml_transform::DeleteMLTransformError::OperationTimeoutException(inner) => {
3144 Error::OperationTimeoutException(inner)
3145 }
3146 crate::operation::delete_ml_transform::DeleteMLTransformError::Unhandled(inner) => Error::Unhandled(inner),
3147 }
3148 }
3149}
3150impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_partition::DeletePartitionError, R>> for Error
3151where
3152 R: Send + Sync + std::fmt::Debug + 'static,
3153{
3154 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_partition::DeletePartitionError, R>) -> Self {
3155 match err {
3156 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3157 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3158 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3159 source: err.into(),
3160 }),
3161 }
3162 }
3163}
3164impl From<crate::operation::delete_partition::DeletePartitionError> for Error {
3165 fn from(err: crate::operation::delete_partition::DeletePartitionError) -> Self {
3166 match err {
3167 crate::operation::delete_partition::DeletePartitionError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
3168 crate::operation::delete_partition::DeletePartitionError::InternalServiceException(inner) => Error::InternalServiceException(inner),
3169 crate::operation::delete_partition::DeletePartitionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3170 crate::operation::delete_partition::DeletePartitionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3171 crate::operation::delete_partition::DeletePartitionError::Unhandled(inner) => Error::Unhandled(inner),
3172 }
3173 }
3174}
3175impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_partition_index::DeletePartitionIndexError, R>> for Error
3176where
3177 R: Send + Sync + std::fmt::Debug + 'static,
3178{
3179 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_partition_index::DeletePartitionIndexError, R>) -> Self {
3180 match err {
3181 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3182 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3183 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3184 source: err.into(),
3185 }),
3186 }
3187 }
3188}
3189impl From<crate::operation::delete_partition_index::DeletePartitionIndexError> for Error {
3190 fn from(err: crate::operation::delete_partition_index::DeletePartitionIndexError) -> Self {
3191 match err {
3192 crate::operation::delete_partition_index::DeletePartitionIndexError::ConflictException(inner) => Error::ConflictException(inner),
3193 crate::operation::delete_partition_index::DeletePartitionIndexError::EntityNotFoundException(inner) => {
3194 Error::EntityNotFoundException(inner)
3195 }
3196 crate::operation::delete_partition_index::DeletePartitionIndexError::GlueEncryptionException(inner) => {
3197 Error::GlueEncryptionException(inner)
3198 }
3199 crate::operation::delete_partition_index::DeletePartitionIndexError::InternalServiceException(inner) => {
3200 Error::InternalServiceException(inner)
3201 }
3202 crate::operation::delete_partition_index::DeletePartitionIndexError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3203 crate::operation::delete_partition_index::DeletePartitionIndexError::OperationTimeoutException(inner) => {
3204 Error::OperationTimeoutException(inner)
3205 }
3206 crate::operation::delete_partition_index::DeletePartitionIndexError::Unhandled(inner) => Error::Unhandled(inner),
3207 }
3208 }
3209}
3210impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_registry::DeleteRegistryError, R>> for Error
3211where
3212 R: Send + Sync + std::fmt::Debug + 'static,
3213{
3214 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_registry::DeleteRegistryError, R>) -> Self {
3215 match err {
3216 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3217 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3218 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3219 source: err.into(),
3220 }),
3221 }
3222 }
3223}
3224impl From<crate::operation::delete_registry::DeleteRegistryError> for Error {
3225 fn from(err: crate::operation::delete_registry::DeleteRegistryError) -> Self {
3226 match err {
3227 crate::operation::delete_registry::DeleteRegistryError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3228 crate::operation::delete_registry::DeleteRegistryError::ConcurrentModificationException(inner) => {
3229 Error::ConcurrentModificationException(inner)
3230 }
3231 crate::operation::delete_registry::DeleteRegistryError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
3232 crate::operation::delete_registry::DeleteRegistryError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3233 crate::operation::delete_registry::DeleteRegistryError::Unhandled(inner) => Error::Unhandled(inner),
3234 }
3235 }
3236}
3237impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_resource_policy::DeleteResourcePolicyError, R>> for Error
3238where
3239 R: Send + Sync + std::fmt::Debug + 'static,
3240{
3241 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_resource_policy::DeleteResourcePolicyError, R>) -> Self {
3242 match err {
3243 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3244 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3245 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3246 source: err.into(),
3247 }),
3248 }
3249 }
3250}
3251impl From<crate::operation::delete_resource_policy::DeleteResourcePolicyError> for Error {
3252 fn from(err: crate::operation::delete_resource_policy::DeleteResourcePolicyError) -> Self {
3253 match err {
3254 crate::operation::delete_resource_policy::DeleteResourcePolicyError::ConditionCheckFailureException(inner) => {
3255 Error::ConditionCheckFailureException(inner)
3256 }
3257 crate::operation::delete_resource_policy::DeleteResourcePolicyError::EntityNotFoundException(inner) => {
3258 Error::EntityNotFoundException(inner)
3259 }
3260 crate::operation::delete_resource_policy::DeleteResourcePolicyError::InternalServiceException(inner) => {
3261 Error::InternalServiceException(inner)
3262 }
3263 crate::operation::delete_resource_policy::DeleteResourcePolicyError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3264 crate::operation::delete_resource_policy::DeleteResourcePolicyError::OperationTimeoutException(inner) => {
3265 Error::OperationTimeoutException(inner)
3266 }
3267 crate::operation::delete_resource_policy::DeleteResourcePolicyError::Unhandled(inner) => Error::Unhandled(inner),
3268 }
3269 }
3270}
3271impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_schema::DeleteSchemaError, R>> for Error
3272where
3273 R: Send + Sync + std::fmt::Debug + 'static,
3274{
3275 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_schema::DeleteSchemaError, R>) -> Self {
3276 match err {
3277 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3278 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3279 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3280 source: err.into(),
3281 }),
3282 }
3283 }
3284}
3285impl From<crate::operation::delete_schema::DeleteSchemaError> for Error {
3286 fn from(err: crate::operation::delete_schema::DeleteSchemaError) -> Self {
3287 match err {
3288 crate::operation::delete_schema::DeleteSchemaError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3289 crate::operation::delete_schema::DeleteSchemaError::ConcurrentModificationException(inner) => {
3290 Error::ConcurrentModificationException(inner)
3291 }
3292 crate::operation::delete_schema::DeleteSchemaError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
3293 crate::operation::delete_schema::DeleteSchemaError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3294 crate::operation::delete_schema::DeleteSchemaError::Unhandled(inner) => Error::Unhandled(inner),
3295 }
3296 }
3297}
3298impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_schema_versions::DeleteSchemaVersionsError, R>> for Error
3299where
3300 R: Send + Sync + std::fmt::Debug + 'static,
3301{
3302 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_schema_versions::DeleteSchemaVersionsError, R>) -> Self {
3303 match err {
3304 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3305 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3306 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3307 source: err.into(),
3308 }),
3309 }
3310 }
3311}
3312impl From<crate::operation::delete_schema_versions::DeleteSchemaVersionsError> for Error {
3313 fn from(err: crate::operation::delete_schema_versions::DeleteSchemaVersionsError) -> Self {
3314 match err {
3315 crate::operation::delete_schema_versions::DeleteSchemaVersionsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3316 crate::operation::delete_schema_versions::DeleteSchemaVersionsError::ConcurrentModificationException(inner) => {
3317 Error::ConcurrentModificationException(inner)
3318 }
3319 crate::operation::delete_schema_versions::DeleteSchemaVersionsError::EntityNotFoundException(inner) => {
3320 Error::EntityNotFoundException(inner)
3321 }
3322 crate::operation::delete_schema_versions::DeleteSchemaVersionsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3323 crate::operation::delete_schema_versions::DeleteSchemaVersionsError::Unhandled(inner) => Error::Unhandled(inner),
3324 }
3325 }
3326}
3327impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_security_configuration::DeleteSecurityConfigurationError, R>>
3328 for Error
3329where
3330 R: Send + Sync + std::fmt::Debug + 'static,
3331{
3332 fn from(
3333 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_security_configuration::DeleteSecurityConfigurationError, R>,
3334 ) -> Self {
3335 match err {
3336 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3337 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3338 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3339 source: err.into(),
3340 }),
3341 }
3342 }
3343}
3344impl From<crate::operation::delete_security_configuration::DeleteSecurityConfigurationError> for Error {
3345 fn from(err: crate::operation::delete_security_configuration::DeleteSecurityConfigurationError) -> Self {
3346 match err {
3347 crate::operation::delete_security_configuration::DeleteSecurityConfigurationError::EntityNotFoundException(inner) => {
3348 Error::EntityNotFoundException(inner)
3349 }
3350 crate::operation::delete_security_configuration::DeleteSecurityConfigurationError::InternalServiceException(inner) => {
3351 Error::InternalServiceException(inner)
3352 }
3353 crate::operation::delete_security_configuration::DeleteSecurityConfigurationError::InvalidInputException(inner) => {
3354 Error::InvalidInputException(inner)
3355 }
3356 crate::operation::delete_security_configuration::DeleteSecurityConfigurationError::OperationTimeoutException(inner) => {
3357 Error::OperationTimeoutException(inner)
3358 }
3359 crate::operation::delete_security_configuration::DeleteSecurityConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
3360 }
3361 }
3362}
3363impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_session::DeleteSessionError, R>> for Error
3364where
3365 R: Send + Sync + std::fmt::Debug + 'static,
3366{
3367 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_session::DeleteSessionError, R>) -> Self {
3368 match err {
3369 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3370 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3371 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3372 source: err.into(),
3373 }),
3374 }
3375 }
3376}
3377impl From<crate::operation::delete_session::DeleteSessionError> for Error {
3378 fn from(err: crate::operation::delete_session::DeleteSessionError) -> Self {
3379 match err {
3380 crate::operation::delete_session::DeleteSessionError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3381 crate::operation::delete_session::DeleteSessionError::ConcurrentModificationException(inner) => {
3382 Error::ConcurrentModificationException(inner)
3383 }
3384 crate::operation::delete_session::DeleteSessionError::IllegalSessionStateException(inner) => Error::IllegalSessionStateException(inner),
3385 crate::operation::delete_session::DeleteSessionError::InternalServiceException(inner) => Error::InternalServiceException(inner),
3386 crate::operation::delete_session::DeleteSessionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3387 crate::operation::delete_session::DeleteSessionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3388 crate::operation::delete_session::DeleteSessionError::Unhandled(inner) => Error::Unhandled(inner),
3389 }
3390 }
3391}
3392impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_table::DeleteTableError, R>> for Error
3393where
3394 R: Send + Sync + std::fmt::Debug + 'static,
3395{
3396 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_table::DeleteTableError, R>) -> Self {
3397 match err {
3398 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3399 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3400 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3401 source: err.into(),
3402 }),
3403 }
3404 }
3405}
3406impl From<crate::operation::delete_table::DeleteTableError> for Error {
3407 fn from(err: crate::operation::delete_table::DeleteTableError) -> Self {
3408 match err {
3409 crate::operation::delete_table::DeleteTableError::ConcurrentModificationException(inner) => Error::ConcurrentModificationException(inner),
3410 crate::operation::delete_table::DeleteTableError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
3411 crate::operation::delete_table::DeleteTableError::FederationSourceException(inner) => Error::FederationSourceException(inner),
3412 crate::operation::delete_table::DeleteTableError::FederationSourceRetryableException(inner) => {
3413 Error::FederationSourceRetryableException(inner)
3414 }
3415 crate::operation::delete_table::DeleteTableError::InternalServiceException(inner) => Error::InternalServiceException(inner),
3416 crate::operation::delete_table::DeleteTableError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3417 crate::operation::delete_table::DeleteTableError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3418 crate::operation::delete_table::DeleteTableError::ResourceNotReadyException(inner) => Error::ResourceNotReadyException(inner),
3419 crate::operation::delete_table::DeleteTableError::Unhandled(inner) => Error::Unhandled(inner),
3420 }
3421 }
3422}
3423impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_table_optimizer::DeleteTableOptimizerError, R>> for Error
3424where
3425 R: Send + Sync + std::fmt::Debug + 'static,
3426{
3427 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_table_optimizer::DeleteTableOptimizerError, R>) -> Self {
3428 match err {
3429 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3430 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3431 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3432 source: err.into(),
3433 }),
3434 }
3435 }
3436}
3437impl From<crate::operation::delete_table_optimizer::DeleteTableOptimizerError> for Error {
3438 fn from(err: crate::operation::delete_table_optimizer::DeleteTableOptimizerError) -> Self {
3439 match err {
3440 crate::operation::delete_table_optimizer::DeleteTableOptimizerError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3441 crate::operation::delete_table_optimizer::DeleteTableOptimizerError::EntityNotFoundException(inner) => {
3442 Error::EntityNotFoundException(inner)
3443 }
3444 crate::operation::delete_table_optimizer::DeleteTableOptimizerError::InternalServiceException(inner) => {
3445 Error::InternalServiceException(inner)
3446 }
3447 crate::operation::delete_table_optimizer::DeleteTableOptimizerError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3448 crate::operation::delete_table_optimizer::DeleteTableOptimizerError::ThrottlingException(inner) => Error::ThrottlingException(inner),
3449 crate::operation::delete_table_optimizer::DeleteTableOptimizerError::Unhandled(inner) => Error::Unhandled(inner),
3450 }
3451 }
3452}
3453impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_table_version::DeleteTableVersionError, R>> for Error
3454where
3455 R: Send + Sync + std::fmt::Debug + 'static,
3456{
3457 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_table_version::DeleteTableVersionError, R>) -> Self {
3458 match err {
3459 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3460 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3461 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3462 source: err.into(),
3463 }),
3464 }
3465 }
3466}
3467impl From<crate::operation::delete_table_version::DeleteTableVersionError> for Error {
3468 fn from(err: crate::operation::delete_table_version::DeleteTableVersionError) -> Self {
3469 match err {
3470 crate::operation::delete_table_version::DeleteTableVersionError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
3471 crate::operation::delete_table_version::DeleteTableVersionError::InternalServiceException(inner) => {
3472 Error::InternalServiceException(inner)
3473 }
3474 crate::operation::delete_table_version::DeleteTableVersionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3475 crate::operation::delete_table_version::DeleteTableVersionError::OperationTimeoutException(inner) => {
3476 Error::OperationTimeoutException(inner)
3477 }
3478 crate::operation::delete_table_version::DeleteTableVersionError::Unhandled(inner) => Error::Unhandled(inner),
3479 }
3480 }
3481}
3482impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_trigger::DeleteTriggerError, R>> for Error
3483where
3484 R: Send + Sync + std::fmt::Debug + 'static,
3485{
3486 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_trigger::DeleteTriggerError, R>) -> Self {
3487 match err {
3488 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3489 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3490 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3491 source: err.into(),
3492 }),
3493 }
3494 }
3495}
3496impl From<crate::operation::delete_trigger::DeleteTriggerError> for Error {
3497 fn from(err: crate::operation::delete_trigger::DeleteTriggerError) -> Self {
3498 match err {
3499 crate::operation::delete_trigger::DeleteTriggerError::ConcurrentModificationException(inner) => {
3500 Error::ConcurrentModificationException(inner)
3501 }
3502 crate::operation::delete_trigger::DeleteTriggerError::InternalServiceException(inner) => Error::InternalServiceException(inner),
3503 crate::operation::delete_trigger::DeleteTriggerError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3504 crate::operation::delete_trigger::DeleteTriggerError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3505 crate::operation::delete_trigger::DeleteTriggerError::Unhandled(inner) => Error::Unhandled(inner),
3506 }
3507 }
3508}
3509impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_usage_profile::DeleteUsageProfileError, R>> for Error
3510where
3511 R: Send + Sync + std::fmt::Debug + 'static,
3512{
3513 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_usage_profile::DeleteUsageProfileError, R>) -> Self {
3514 match err {
3515 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3516 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3517 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3518 source: err.into(),
3519 }),
3520 }
3521 }
3522}
3523impl From<crate::operation::delete_usage_profile::DeleteUsageProfileError> for Error {
3524 fn from(err: crate::operation::delete_usage_profile::DeleteUsageProfileError) -> Self {
3525 match err {
3526 crate::operation::delete_usage_profile::DeleteUsageProfileError::InternalServiceException(inner) => {
3527 Error::InternalServiceException(inner)
3528 }
3529 crate::operation::delete_usage_profile::DeleteUsageProfileError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3530 crate::operation::delete_usage_profile::DeleteUsageProfileError::OperationNotSupportedException(inner) => {
3531 Error::OperationNotSupportedException(inner)
3532 }
3533 crate::operation::delete_usage_profile::DeleteUsageProfileError::OperationTimeoutException(inner) => {
3534 Error::OperationTimeoutException(inner)
3535 }
3536 crate::operation::delete_usage_profile::DeleteUsageProfileError::Unhandled(inner) => Error::Unhandled(inner),
3537 }
3538 }
3539}
3540impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_user_defined_function::DeleteUserDefinedFunctionError, R>>
3541 for Error
3542where
3543 R: Send + Sync + std::fmt::Debug + 'static,
3544{
3545 fn from(
3546 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_user_defined_function::DeleteUserDefinedFunctionError, R>,
3547 ) -> Self {
3548 match err {
3549 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3550 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3551 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3552 source: err.into(),
3553 }),
3554 }
3555 }
3556}
3557impl From<crate::operation::delete_user_defined_function::DeleteUserDefinedFunctionError> for Error {
3558 fn from(err: crate::operation::delete_user_defined_function::DeleteUserDefinedFunctionError) -> Self {
3559 match err {
3560 crate::operation::delete_user_defined_function::DeleteUserDefinedFunctionError::EntityNotFoundException(inner) => {
3561 Error::EntityNotFoundException(inner)
3562 }
3563 crate::operation::delete_user_defined_function::DeleteUserDefinedFunctionError::InternalServiceException(inner) => {
3564 Error::InternalServiceException(inner)
3565 }
3566 crate::operation::delete_user_defined_function::DeleteUserDefinedFunctionError::InvalidInputException(inner) => {
3567 Error::InvalidInputException(inner)
3568 }
3569 crate::operation::delete_user_defined_function::DeleteUserDefinedFunctionError::OperationTimeoutException(inner) => {
3570 Error::OperationTimeoutException(inner)
3571 }
3572 crate::operation::delete_user_defined_function::DeleteUserDefinedFunctionError::Unhandled(inner) => Error::Unhandled(inner),
3573 }
3574 }
3575}
3576impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_workflow::DeleteWorkflowError, R>> for Error
3577where
3578 R: Send + Sync + std::fmt::Debug + 'static,
3579{
3580 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_workflow::DeleteWorkflowError, R>) -> Self {
3581 match err {
3582 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3583 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3584 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3585 source: err.into(),
3586 }),
3587 }
3588 }
3589}
3590impl From<crate::operation::delete_workflow::DeleteWorkflowError> for Error {
3591 fn from(err: crate::operation::delete_workflow::DeleteWorkflowError) -> Self {
3592 match err {
3593 crate::operation::delete_workflow::DeleteWorkflowError::ConcurrentModificationException(inner) => {
3594 Error::ConcurrentModificationException(inner)
3595 }
3596 crate::operation::delete_workflow::DeleteWorkflowError::InternalServiceException(inner) => Error::InternalServiceException(inner),
3597 crate::operation::delete_workflow::DeleteWorkflowError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3598 crate::operation::delete_workflow::DeleteWorkflowError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3599 crate::operation::delete_workflow::DeleteWorkflowError::Unhandled(inner) => Error::Unhandled(inner),
3600 }
3601 }
3602}
3603impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_connection_type::DescribeConnectionTypeError, R>> for Error
3604where
3605 R: Send + Sync + std::fmt::Debug + 'static,
3606{
3607 fn from(
3608 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_connection_type::DescribeConnectionTypeError, R>,
3609 ) -> Self {
3610 match err {
3611 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3612 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3613 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3614 source: err.into(),
3615 }),
3616 }
3617 }
3618}
3619impl From<crate::operation::describe_connection_type::DescribeConnectionTypeError> for Error {
3620 fn from(err: crate::operation::describe_connection_type::DescribeConnectionTypeError) -> Self {
3621 match err {
3622 crate::operation::describe_connection_type::DescribeConnectionTypeError::AccessDeniedException(inner) => {
3623 Error::AccessDeniedException(inner)
3624 }
3625 crate::operation::describe_connection_type::DescribeConnectionTypeError::InternalServiceException(inner) => {
3626 Error::InternalServiceException(inner)
3627 }
3628 crate::operation::describe_connection_type::DescribeConnectionTypeError::InvalidInputException(inner) => {
3629 Error::InvalidInputException(inner)
3630 }
3631 crate::operation::describe_connection_type::DescribeConnectionTypeError::ValidationException(inner) => Error::ValidationException(inner),
3632 crate::operation::describe_connection_type::DescribeConnectionTypeError::Unhandled(inner) => Error::Unhandled(inner),
3633 }
3634 }
3635}
3636impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_entity::DescribeEntityError, R>> for Error
3637where
3638 R: Send + Sync + std::fmt::Debug + 'static,
3639{
3640 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_entity::DescribeEntityError, R>) -> Self {
3641 match err {
3642 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3643 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3644 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3645 source: err.into(),
3646 }),
3647 }
3648 }
3649}
3650impl From<crate::operation::describe_entity::DescribeEntityError> for Error {
3651 fn from(err: crate::operation::describe_entity::DescribeEntityError) -> Self {
3652 match err {
3653 crate::operation::describe_entity::DescribeEntityError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3654 crate::operation::describe_entity::DescribeEntityError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
3655 crate::operation::describe_entity::DescribeEntityError::FederationSourceException(inner) => Error::FederationSourceException(inner),
3656 crate::operation::describe_entity::DescribeEntityError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
3657 crate::operation::describe_entity::DescribeEntityError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3658 crate::operation::describe_entity::DescribeEntityError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3659 crate::operation::describe_entity::DescribeEntityError::ValidationException(inner) => Error::ValidationException(inner),
3660 crate::operation::describe_entity::DescribeEntityError::Unhandled(inner) => Error::Unhandled(inner),
3661 }
3662 }
3663}
3664impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError, R>>
3665 for Error
3666where
3667 R: Send + Sync + std::fmt::Debug + 'static,
3668{
3669 fn from(
3670 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError, R>,
3671 ) -> Self {
3672 match err {
3673 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3674 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3675 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3676 source: err.into(),
3677 }),
3678 }
3679 }
3680}
3681impl From<crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError> for Error {
3682 fn from(err: crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError) -> Self {
3683 match err {
3684 crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError::AccessDeniedException(inner) => {
3685 Error::AccessDeniedException(inner)
3686 }
3687 crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError::EntityNotFoundException(inner) => {
3688 Error::EntityNotFoundException(inner)
3689 }
3690 crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError::IntegrationNotFoundFault(inner) => {
3691 Error::IntegrationNotFoundFault(inner)
3692 }
3693 crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError::InternalServerException(inner) => {
3694 Error::InternalServerException(inner)
3695 }
3696 crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError::InternalServiceException(inner) => {
3697 Error::InternalServiceException(inner)
3698 }
3699 crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError::InvalidInputException(inner) => {
3700 Error::InvalidInputException(inner)
3701 }
3702 crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError::OperationNotSupportedException(inner) => {
3703 Error::OperationNotSupportedException(inner)
3704 }
3705 crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError::TargetResourceNotFound(inner) => {
3706 Error::TargetResourceNotFound(inner)
3707 }
3708 crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError::ValidationException(inner) => {
3709 Error::ValidationException(inner)
3710 }
3711 crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError::Unhandled(inner) => Error::Unhandled(inner),
3712 }
3713 }
3714}
3715impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_integrations::DescribeIntegrationsError, R>> for Error
3716where
3717 R: Send + Sync + std::fmt::Debug + 'static,
3718{
3719 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_integrations::DescribeIntegrationsError, R>) -> Self {
3720 match err {
3721 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3722 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3723 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3724 source: err.into(),
3725 }),
3726 }
3727 }
3728}
3729impl From<crate::operation::describe_integrations::DescribeIntegrationsError> for Error {
3730 fn from(err: crate::operation::describe_integrations::DescribeIntegrationsError) -> Self {
3731 match err {
3732 crate::operation::describe_integrations::DescribeIntegrationsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3733 crate::operation::describe_integrations::DescribeIntegrationsError::EntityNotFoundException(inner) => {
3734 Error::EntityNotFoundException(inner)
3735 }
3736 crate::operation::describe_integrations::DescribeIntegrationsError::IntegrationNotFoundFault(inner) => {
3737 Error::IntegrationNotFoundFault(inner)
3738 }
3739 crate::operation::describe_integrations::DescribeIntegrationsError::InternalServerException(inner) => {
3740 Error::InternalServerException(inner)
3741 }
3742 crate::operation::describe_integrations::DescribeIntegrationsError::InternalServiceException(inner) => {
3743 Error::InternalServiceException(inner)
3744 }
3745 crate::operation::describe_integrations::DescribeIntegrationsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3746 crate::operation::describe_integrations::DescribeIntegrationsError::ValidationException(inner) => Error::ValidationException(inner),
3747 crate::operation::describe_integrations::DescribeIntegrationsError::Unhandled(inner) => Error::Unhandled(inner),
3748 }
3749 }
3750}
3751impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_glossary_terms::DisassociateGlossaryTermsError, R>>
3752 for Error
3753where
3754 R: Send + Sync + std::fmt::Debug + 'static,
3755{
3756 fn from(
3757 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_glossary_terms::DisassociateGlossaryTermsError, R>,
3758 ) -> Self {
3759 match err {
3760 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3761 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3762 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3763 source: err.into(),
3764 }),
3765 }
3766 }
3767}
3768impl From<crate::operation::disassociate_glossary_terms::DisassociateGlossaryTermsError> for Error {
3769 fn from(err: crate::operation::disassociate_glossary_terms::DisassociateGlossaryTermsError) -> Self {
3770 match err {
3771 crate::operation::disassociate_glossary_terms::DisassociateGlossaryTermsError::AccessDeniedException(inner) => {
3772 Error::AccessDeniedException(inner)
3773 }
3774 crate::operation::disassociate_glossary_terms::DisassociateGlossaryTermsError::ConcurrentModificationException(inner) => {
3775 Error::ConcurrentModificationException(inner)
3776 }
3777 crate::operation::disassociate_glossary_terms::DisassociateGlossaryTermsError::EntityNotFoundException(inner) => {
3778 Error::EntityNotFoundException(inner)
3779 }
3780 crate::operation::disassociate_glossary_terms::DisassociateGlossaryTermsError::InternalServiceException(inner) => {
3781 Error::InternalServiceException(inner)
3782 }
3783 crate::operation::disassociate_glossary_terms::DisassociateGlossaryTermsError::InvalidInputException(inner) => {
3784 Error::InvalidInputException(inner)
3785 }
3786 crate::operation::disassociate_glossary_terms::DisassociateGlossaryTermsError::ThrottlingException(inner) => {
3787 Error::ThrottlingException(inner)
3788 }
3789 crate::operation::disassociate_glossary_terms::DisassociateGlossaryTermsError::Unhandled(inner) => Error::Unhandled(inner),
3790 }
3791 }
3792}
3793impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_asset::GetAssetError, R>> for Error
3794where
3795 R: Send + Sync + std::fmt::Debug + 'static,
3796{
3797 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_asset::GetAssetError, R>) -> Self {
3798 match err {
3799 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3800 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3801 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3802 source: err.into(),
3803 }),
3804 }
3805 }
3806}
3807impl From<crate::operation::get_asset::GetAssetError> for Error {
3808 fn from(err: crate::operation::get_asset::GetAssetError) -> Self {
3809 match err {
3810 crate::operation::get_asset::GetAssetError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3811 crate::operation::get_asset::GetAssetError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
3812 crate::operation::get_asset::GetAssetError::InternalServiceException(inner) => Error::InternalServiceException(inner),
3813 crate::operation::get_asset::GetAssetError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3814 crate::operation::get_asset::GetAssetError::ThrottlingException(inner) => Error::ThrottlingException(inner),
3815 crate::operation::get_asset::GetAssetError::Unhandled(inner) => Error::Unhandled(inner),
3816 }
3817 }
3818}
3819impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_asset_type::GetAssetTypeError, R>> for Error
3820where
3821 R: Send + Sync + std::fmt::Debug + 'static,
3822{
3823 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_asset_type::GetAssetTypeError, R>) -> Self {
3824 match err {
3825 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3826 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3827 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3828 source: err.into(),
3829 }),
3830 }
3831 }
3832}
3833impl From<crate::operation::get_asset_type::GetAssetTypeError> for Error {
3834 fn from(err: crate::operation::get_asset_type::GetAssetTypeError) -> Self {
3835 match err {
3836 crate::operation::get_asset_type::GetAssetTypeError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3837 crate::operation::get_asset_type::GetAssetTypeError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
3838 crate::operation::get_asset_type::GetAssetTypeError::InternalServiceException(inner) => Error::InternalServiceException(inner),
3839 crate::operation::get_asset_type::GetAssetTypeError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3840 crate::operation::get_asset_type::GetAssetTypeError::ThrottlingException(inner) => Error::ThrottlingException(inner),
3841 crate::operation::get_asset_type::GetAssetTypeError::Unhandled(inner) => Error::Unhandled(inner),
3842 }
3843 }
3844}
3845impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_blueprint::GetBlueprintError, R>> for Error
3846where
3847 R: Send + Sync + std::fmt::Debug + 'static,
3848{
3849 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_blueprint::GetBlueprintError, R>) -> Self {
3850 match err {
3851 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3852 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3853 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3854 source: err.into(),
3855 }),
3856 }
3857 }
3858}
3859impl From<crate::operation::get_blueprint::GetBlueprintError> for Error {
3860 fn from(err: crate::operation::get_blueprint::GetBlueprintError) -> Self {
3861 match err {
3862 crate::operation::get_blueprint::GetBlueprintError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
3863 crate::operation::get_blueprint::GetBlueprintError::InternalServiceException(inner) => Error::InternalServiceException(inner),
3864 crate::operation::get_blueprint::GetBlueprintError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3865 crate::operation::get_blueprint::GetBlueprintError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3866 crate::operation::get_blueprint::GetBlueprintError::Unhandled(inner) => Error::Unhandled(inner),
3867 }
3868 }
3869}
3870impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_blueprint_run::GetBlueprintRunError, R>> for Error
3871where
3872 R: Send + Sync + std::fmt::Debug + 'static,
3873{
3874 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_blueprint_run::GetBlueprintRunError, R>) -> Self {
3875 match err {
3876 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3877 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3878 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3879 source: err.into(),
3880 }),
3881 }
3882 }
3883}
3884impl From<crate::operation::get_blueprint_run::GetBlueprintRunError> for Error {
3885 fn from(err: crate::operation::get_blueprint_run::GetBlueprintRunError) -> Self {
3886 match err {
3887 crate::operation::get_blueprint_run::GetBlueprintRunError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
3888 crate::operation::get_blueprint_run::GetBlueprintRunError::InternalServiceException(inner) => Error::InternalServiceException(inner),
3889 crate::operation::get_blueprint_run::GetBlueprintRunError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3890 crate::operation::get_blueprint_run::GetBlueprintRunError::Unhandled(inner) => Error::Unhandled(inner),
3891 }
3892 }
3893}
3894impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_blueprint_runs::GetBlueprintRunsError, R>> for Error
3895where
3896 R: Send + Sync + std::fmt::Debug + 'static,
3897{
3898 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_blueprint_runs::GetBlueprintRunsError, R>) -> Self {
3899 match err {
3900 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3901 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3902 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3903 source: err.into(),
3904 }),
3905 }
3906 }
3907}
3908impl From<crate::operation::get_blueprint_runs::GetBlueprintRunsError> for Error {
3909 fn from(err: crate::operation::get_blueprint_runs::GetBlueprintRunsError) -> Self {
3910 match err {
3911 crate::operation::get_blueprint_runs::GetBlueprintRunsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
3912 crate::operation::get_blueprint_runs::GetBlueprintRunsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
3913 crate::operation::get_blueprint_runs::GetBlueprintRunsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3914 crate::operation::get_blueprint_runs::GetBlueprintRunsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3915 crate::operation::get_blueprint_runs::GetBlueprintRunsError::Unhandled(inner) => Error::Unhandled(inner),
3916 }
3917 }
3918}
3919impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_catalog::GetCatalogError, R>> for Error
3920where
3921 R: Send + Sync + std::fmt::Debug + 'static,
3922{
3923 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_catalog::GetCatalogError, R>) -> Self {
3924 match err {
3925 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3926 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3927 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3928 source: err.into(),
3929 }),
3930 }
3931 }
3932}
3933impl From<crate::operation::get_catalog::GetCatalogError> for Error {
3934 fn from(err: crate::operation::get_catalog::GetCatalogError) -> Self {
3935 match err {
3936 crate::operation::get_catalog::GetCatalogError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3937 crate::operation::get_catalog::GetCatalogError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
3938 crate::operation::get_catalog::GetCatalogError::FederationSourceException(inner) => Error::FederationSourceException(inner),
3939 crate::operation::get_catalog::GetCatalogError::FederationSourceRetryableException(inner) => {
3940 Error::FederationSourceRetryableException(inner)
3941 }
3942 crate::operation::get_catalog::GetCatalogError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
3943 crate::operation::get_catalog::GetCatalogError::InternalServiceException(inner) => Error::InternalServiceException(inner),
3944 crate::operation::get_catalog::GetCatalogError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3945 crate::operation::get_catalog::GetCatalogError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3946 crate::operation::get_catalog::GetCatalogError::Unhandled(inner) => Error::Unhandled(inner),
3947 }
3948 }
3949}
3950impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_catalog_import_status::GetCatalogImportStatusError, R>>
3951 for Error
3952where
3953 R: Send + Sync + std::fmt::Debug + 'static,
3954{
3955 fn from(
3956 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_catalog_import_status::GetCatalogImportStatusError, R>,
3957 ) -> Self {
3958 match err {
3959 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3960 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3961 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3962 source: err.into(),
3963 }),
3964 }
3965 }
3966}
3967impl From<crate::operation::get_catalog_import_status::GetCatalogImportStatusError> for Error {
3968 fn from(err: crate::operation::get_catalog_import_status::GetCatalogImportStatusError) -> Self {
3969 match err {
3970 crate::operation::get_catalog_import_status::GetCatalogImportStatusError::InternalServiceException(inner) => {
3971 Error::InternalServiceException(inner)
3972 }
3973 crate::operation::get_catalog_import_status::GetCatalogImportStatusError::OperationTimeoutException(inner) => {
3974 Error::OperationTimeoutException(inner)
3975 }
3976 crate::operation::get_catalog_import_status::GetCatalogImportStatusError::Unhandled(inner) => Error::Unhandled(inner),
3977 }
3978 }
3979}
3980impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_catalogs::GetCatalogsError, R>> for Error
3981where
3982 R: Send + Sync + std::fmt::Debug + 'static,
3983{
3984 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_catalogs::GetCatalogsError, R>) -> Self {
3985 match err {
3986 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3987 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3988 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3989 source: err.into(),
3990 }),
3991 }
3992 }
3993}
3994impl From<crate::operation::get_catalogs::GetCatalogsError> for Error {
3995 fn from(err: crate::operation::get_catalogs::GetCatalogsError) -> Self {
3996 match err {
3997 crate::operation::get_catalogs::GetCatalogsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3998 crate::operation::get_catalogs::GetCatalogsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
3999 crate::operation::get_catalogs::GetCatalogsError::FederationSourceException(inner) => Error::FederationSourceException(inner),
4000 crate::operation::get_catalogs::GetCatalogsError::FederationSourceRetryableException(inner) => {
4001 Error::FederationSourceRetryableException(inner)
4002 }
4003 crate::operation::get_catalogs::GetCatalogsError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
4004 crate::operation::get_catalogs::GetCatalogsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4005 crate::operation::get_catalogs::GetCatalogsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4006 crate::operation::get_catalogs::GetCatalogsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4007 crate::operation::get_catalogs::GetCatalogsError::Unhandled(inner) => Error::Unhandled(inner),
4008 }
4009 }
4010}
4011impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_classifier::GetClassifierError, R>> for Error
4012where
4013 R: Send + Sync + std::fmt::Debug + 'static,
4014{
4015 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_classifier::GetClassifierError, R>) -> Self {
4016 match err {
4017 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4018 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4019 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4020 source: err.into(),
4021 }),
4022 }
4023 }
4024}
4025impl From<crate::operation::get_classifier::GetClassifierError> for Error {
4026 fn from(err: crate::operation::get_classifier::GetClassifierError) -> Self {
4027 match err {
4028 crate::operation::get_classifier::GetClassifierError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4029 crate::operation::get_classifier::GetClassifierError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4030 crate::operation::get_classifier::GetClassifierError::Unhandled(inner) => Error::Unhandled(inner),
4031 }
4032 }
4033}
4034impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_classifiers::GetClassifiersError, R>> for Error
4035where
4036 R: Send + Sync + std::fmt::Debug + 'static,
4037{
4038 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_classifiers::GetClassifiersError, R>) -> Self {
4039 match err {
4040 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4041 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4042 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4043 source: err.into(),
4044 }),
4045 }
4046 }
4047}
4048impl From<crate::operation::get_classifiers::GetClassifiersError> for Error {
4049 fn from(err: crate::operation::get_classifiers::GetClassifiersError) -> Self {
4050 match err {
4051 crate::operation::get_classifiers::GetClassifiersError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4052 crate::operation::get_classifiers::GetClassifiersError::Unhandled(inner) => Error::Unhandled(inner),
4053 }
4054 }
4055}
4056impl<R>
4057 From<
4058 ::aws_smithy_runtime_api::client::result::SdkError<
4059 crate::operation::get_column_statistics_for_partition::GetColumnStatisticsForPartitionError,
4060 R,
4061 >,
4062 > for Error
4063where
4064 R: Send + Sync + std::fmt::Debug + 'static,
4065{
4066 fn from(
4067 err: ::aws_smithy_runtime_api::client::result::SdkError<
4068 crate::operation::get_column_statistics_for_partition::GetColumnStatisticsForPartitionError,
4069 R,
4070 >,
4071 ) -> Self {
4072 match err {
4073 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4074 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4075 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4076 source: err.into(),
4077 }),
4078 }
4079 }
4080}
4081impl From<crate::operation::get_column_statistics_for_partition::GetColumnStatisticsForPartitionError> for Error {
4082 fn from(err: crate::operation::get_column_statistics_for_partition::GetColumnStatisticsForPartitionError) -> Self {
4083 match err {
4084 crate::operation::get_column_statistics_for_partition::GetColumnStatisticsForPartitionError::EntityNotFoundException(inner) => {
4085 Error::EntityNotFoundException(inner)
4086 }
4087 crate::operation::get_column_statistics_for_partition::GetColumnStatisticsForPartitionError::GlueEncryptionException(inner) => {
4088 Error::GlueEncryptionException(inner)
4089 }
4090 crate::operation::get_column_statistics_for_partition::GetColumnStatisticsForPartitionError::InternalServiceException(inner) => {
4091 Error::InternalServiceException(inner)
4092 }
4093 crate::operation::get_column_statistics_for_partition::GetColumnStatisticsForPartitionError::InvalidInputException(inner) => {
4094 Error::InvalidInputException(inner)
4095 }
4096 crate::operation::get_column_statistics_for_partition::GetColumnStatisticsForPartitionError::OperationTimeoutException(inner) => {
4097 Error::OperationTimeoutException(inner)
4098 }
4099 crate::operation::get_column_statistics_for_partition::GetColumnStatisticsForPartitionError::Unhandled(inner) => Error::Unhandled(inner),
4100 }
4101 }
4102}
4103impl<R>
4104 From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_column_statistics_for_table::GetColumnStatisticsForTableError, R>>
4105 for Error
4106where
4107 R: Send + Sync + std::fmt::Debug + 'static,
4108{
4109 fn from(
4110 err: ::aws_smithy_runtime_api::client::result::SdkError<
4111 crate::operation::get_column_statistics_for_table::GetColumnStatisticsForTableError,
4112 R,
4113 >,
4114 ) -> Self {
4115 match err {
4116 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4117 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4118 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4119 source: err.into(),
4120 }),
4121 }
4122 }
4123}
4124impl From<crate::operation::get_column_statistics_for_table::GetColumnStatisticsForTableError> for Error {
4125 fn from(err: crate::operation::get_column_statistics_for_table::GetColumnStatisticsForTableError) -> Self {
4126 match err {
4127 crate::operation::get_column_statistics_for_table::GetColumnStatisticsForTableError::EntityNotFoundException(inner) => {
4128 Error::EntityNotFoundException(inner)
4129 }
4130 crate::operation::get_column_statistics_for_table::GetColumnStatisticsForTableError::GlueEncryptionException(inner) => {
4131 Error::GlueEncryptionException(inner)
4132 }
4133 crate::operation::get_column_statistics_for_table::GetColumnStatisticsForTableError::InternalServiceException(inner) => {
4134 Error::InternalServiceException(inner)
4135 }
4136 crate::operation::get_column_statistics_for_table::GetColumnStatisticsForTableError::InvalidInputException(inner) => {
4137 Error::InvalidInputException(inner)
4138 }
4139 crate::operation::get_column_statistics_for_table::GetColumnStatisticsForTableError::OperationTimeoutException(inner) => {
4140 Error::OperationTimeoutException(inner)
4141 }
4142 crate::operation::get_column_statistics_for_table::GetColumnStatisticsForTableError::Unhandled(inner) => Error::Unhandled(inner),
4143 }
4144 }
4145}
4146impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_column_statistics_task_run::GetColumnStatisticsTaskRunError, R>>
4147 for Error
4148where
4149 R: Send + Sync + std::fmt::Debug + 'static,
4150{
4151 fn from(
4152 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_column_statistics_task_run::GetColumnStatisticsTaskRunError, R>,
4153 ) -> Self {
4154 match err {
4155 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4156 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4157 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4158 source: err.into(),
4159 }),
4160 }
4161 }
4162}
4163impl From<crate::operation::get_column_statistics_task_run::GetColumnStatisticsTaskRunError> for Error {
4164 fn from(err: crate::operation::get_column_statistics_task_run::GetColumnStatisticsTaskRunError) -> Self {
4165 match err {
4166 crate::operation::get_column_statistics_task_run::GetColumnStatisticsTaskRunError::EntityNotFoundException(inner) => {
4167 Error::EntityNotFoundException(inner)
4168 }
4169 crate::operation::get_column_statistics_task_run::GetColumnStatisticsTaskRunError::InvalidInputException(inner) => {
4170 Error::InvalidInputException(inner)
4171 }
4172 crate::operation::get_column_statistics_task_run::GetColumnStatisticsTaskRunError::OperationTimeoutException(inner) => {
4173 Error::OperationTimeoutException(inner)
4174 }
4175 crate::operation::get_column_statistics_task_run::GetColumnStatisticsTaskRunError::Unhandled(inner) => Error::Unhandled(inner),
4176 }
4177 }
4178}
4179impl<R>
4180 From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_column_statistics_task_runs::GetColumnStatisticsTaskRunsError, R>>
4181 for Error
4182where
4183 R: Send + Sync + std::fmt::Debug + 'static,
4184{
4185 fn from(
4186 err: ::aws_smithy_runtime_api::client::result::SdkError<
4187 crate::operation::get_column_statistics_task_runs::GetColumnStatisticsTaskRunsError,
4188 R,
4189 >,
4190 ) -> Self {
4191 match err {
4192 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4193 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4194 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4195 source: err.into(),
4196 }),
4197 }
4198 }
4199}
4200impl From<crate::operation::get_column_statistics_task_runs::GetColumnStatisticsTaskRunsError> for Error {
4201 fn from(err: crate::operation::get_column_statistics_task_runs::GetColumnStatisticsTaskRunsError) -> Self {
4202 match err {
4203 crate::operation::get_column_statistics_task_runs::GetColumnStatisticsTaskRunsError::OperationTimeoutException(inner) => {
4204 Error::OperationTimeoutException(inner)
4205 }
4206 crate::operation::get_column_statistics_task_runs::GetColumnStatisticsTaskRunsError::Unhandled(inner) => Error::Unhandled(inner),
4207 }
4208 }
4209}
4210impl<R>
4211 From<
4212 ::aws_smithy_runtime_api::client::result::SdkError<
4213 crate::operation::get_column_statistics_task_settings::GetColumnStatisticsTaskSettingsError,
4214 R,
4215 >,
4216 > for Error
4217where
4218 R: Send + Sync + std::fmt::Debug + 'static,
4219{
4220 fn from(
4221 err: ::aws_smithy_runtime_api::client::result::SdkError<
4222 crate::operation::get_column_statistics_task_settings::GetColumnStatisticsTaskSettingsError,
4223 R,
4224 >,
4225 ) -> Self {
4226 match err {
4227 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4228 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4229 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4230 source: err.into(),
4231 }),
4232 }
4233 }
4234}
4235impl From<crate::operation::get_column_statistics_task_settings::GetColumnStatisticsTaskSettingsError> for Error {
4236 fn from(err: crate::operation::get_column_statistics_task_settings::GetColumnStatisticsTaskSettingsError) -> Self {
4237 match err {
4238 crate::operation::get_column_statistics_task_settings::GetColumnStatisticsTaskSettingsError::EntityNotFoundException(inner) => {
4239 Error::EntityNotFoundException(inner)
4240 }
4241 crate::operation::get_column_statistics_task_settings::GetColumnStatisticsTaskSettingsError::InvalidInputException(inner) => {
4242 Error::InvalidInputException(inner)
4243 }
4244 crate::operation::get_column_statistics_task_settings::GetColumnStatisticsTaskSettingsError::OperationTimeoutException(inner) => {
4245 Error::OperationTimeoutException(inner)
4246 }
4247 crate::operation::get_column_statistics_task_settings::GetColumnStatisticsTaskSettingsError::Unhandled(inner) => Error::Unhandled(inner),
4248 }
4249 }
4250}
4251impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_connection::GetConnectionError, R>> for Error
4252where
4253 R: Send + Sync + std::fmt::Debug + 'static,
4254{
4255 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_connection::GetConnectionError, R>) -> Self {
4256 match err {
4257 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4258 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4259 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4260 source: err.into(),
4261 }),
4262 }
4263 }
4264}
4265impl From<crate::operation::get_connection::GetConnectionError> for Error {
4266 fn from(err: crate::operation::get_connection::GetConnectionError) -> Self {
4267 match err {
4268 crate::operation::get_connection::GetConnectionError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4269 crate::operation::get_connection::GetConnectionError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
4270 crate::operation::get_connection::GetConnectionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4271 crate::operation::get_connection::GetConnectionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4272 crate::operation::get_connection::GetConnectionError::Unhandled(inner) => Error::Unhandled(inner),
4273 }
4274 }
4275}
4276impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_connections::GetConnectionsError, R>> for Error
4277where
4278 R: Send + Sync + std::fmt::Debug + 'static,
4279{
4280 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_connections::GetConnectionsError, R>) -> Self {
4281 match err {
4282 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4283 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4284 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4285 source: err.into(),
4286 }),
4287 }
4288 }
4289}
4290impl From<crate::operation::get_connections::GetConnectionsError> for Error {
4291 fn from(err: crate::operation::get_connections::GetConnectionsError) -> Self {
4292 match err {
4293 crate::operation::get_connections::GetConnectionsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4294 crate::operation::get_connections::GetConnectionsError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
4295 crate::operation::get_connections::GetConnectionsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4296 crate::operation::get_connections::GetConnectionsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4297 crate::operation::get_connections::GetConnectionsError::Unhandled(inner) => Error::Unhandled(inner),
4298 }
4299 }
4300}
4301impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_crawler::GetCrawlerError, R>> for Error
4302where
4303 R: Send + Sync + std::fmt::Debug + 'static,
4304{
4305 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_crawler::GetCrawlerError, R>) -> Self {
4306 match err {
4307 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4308 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4309 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4310 source: err.into(),
4311 }),
4312 }
4313 }
4314}
4315impl From<crate::operation::get_crawler::GetCrawlerError> for Error {
4316 fn from(err: crate::operation::get_crawler::GetCrawlerError) -> Self {
4317 match err {
4318 crate::operation::get_crawler::GetCrawlerError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4319 crate::operation::get_crawler::GetCrawlerError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4320 crate::operation::get_crawler::GetCrawlerError::Unhandled(inner) => Error::Unhandled(inner),
4321 }
4322 }
4323}
4324impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_crawler_metrics::GetCrawlerMetricsError, R>> for Error
4325where
4326 R: Send + Sync + std::fmt::Debug + 'static,
4327{
4328 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_crawler_metrics::GetCrawlerMetricsError, R>) -> Self {
4329 match err {
4330 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4331 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4332 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4333 source: err.into(),
4334 }),
4335 }
4336 }
4337}
4338impl From<crate::operation::get_crawler_metrics::GetCrawlerMetricsError> for Error {
4339 fn from(err: crate::operation::get_crawler_metrics::GetCrawlerMetricsError) -> Self {
4340 match err {
4341 crate::operation::get_crawler_metrics::GetCrawlerMetricsError::OperationTimeoutException(inner) => {
4342 Error::OperationTimeoutException(inner)
4343 }
4344 crate::operation::get_crawler_metrics::GetCrawlerMetricsError::Unhandled(inner) => Error::Unhandled(inner),
4345 }
4346 }
4347}
4348impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_crawlers::GetCrawlersError, R>> for Error
4349where
4350 R: Send + Sync + std::fmt::Debug + 'static,
4351{
4352 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_crawlers::GetCrawlersError, R>) -> Self {
4353 match err {
4354 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4355 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4356 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4357 source: err.into(),
4358 }),
4359 }
4360 }
4361}
4362impl From<crate::operation::get_crawlers::GetCrawlersError> for Error {
4363 fn from(err: crate::operation::get_crawlers::GetCrawlersError) -> Self {
4364 match err {
4365 crate::operation::get_crawlers::GetCrawlersError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4366 crate::operation::get_crawlers::GetCrawlersError::Unhandled(inner) => Error::Unhandled(inner),
4367 }
4368 }
4369}
4370impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_custom_entity_type::GetCustomEntityTypeError, R>> for Error
4371where
4372 R: Send + Sync + std::fmt::Debug + 'static,
4373{
4374 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_custom_entity_type::GetCustomEntityTypeError, R>) -> Self {
4375 match err {
4376 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4377 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4378 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4379 source: err.into(),
4380 }),
4381 }
4382 }
4383}
4384impl From<crate::operation::get_custom_entity_type::GetCustomEntityTypeError> for Error {
4385 fn from(err: crate::operation::get_custom_entity_type::GetCustomEntityTypeError) -> Self {
4386 match err {
4387 crate::operation::get_custom_entity_type::GetCustomEntityTypeError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
4388 crate::operation::get_custom_entity_type::GetCustomEntityTypeError::EntityNotFoundException(inner) => {
4389 Error::EntityNotFoundException(inner)
4390 }
4391 crate::operation::get_custom_entity_type::GetCustomEntityTypeError::InternalServiceException(inner) => {
4392 Error::InternalServiceException(inner)
4393 }
4394 crate::operation::get_custom_entity_type::GetCustomEntityTypeError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4395 crate::operation::get_custom_entity_type::GetCustomEntityTypeError::OperationTimeoutException(inner) => {
4396 Error::OperationTimeoutException(inner)
4397 }
4398 crate::operation::get_custom_entity_type::GetCustomEntityTypeError::Unhandled(inner) => Error::Unhandled(inner),
4399 }
4400 }
4401}
4402impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_dashboard_url::GetDashboardUrlError, R>> for Error
4403where
4404 R: Send + Sync + std::fmt::Debug + 'static,
4405{
4406 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_dashboard_url::GetDashboardUrlError, R>) -> Self {
4407 match err {
4408 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4409 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4410 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4411 source: err.into(),
4412 }),
4413 }
4414 }
4415}
4416impl From<crate::operation::get_dashboard_url::GetDashboardUrlError> for Error {
4417 fn from(err: crate::operation::get_dashboard_url::GetDashboardUrlError) -> Self {
4418 match err {
4419 crate::operation::get_dashboard_url::GetDashboardUrlError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
4420 crate::operation::get_dashboard_url::GetDashboardUrlError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4421 crate::operation::get_dashboard_url::GetDashboardUrlError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4422 crate::operation::get_dashboard_url::GetDashboardUrlError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4423 crate::operation::get_dashboard_url::GetDashboardUrlError::OperationNotSupportedException(inner) => {
4424 Error::OperationNotSupportedException(inner)
4425 }
4426 crate::operation::get_dashboard_url::GetDashboardUrlError::Unhandled(inner) => Error::Unhandled(inner),
4427 }
4428 }
4429}
4430impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_database::GetDatabaseError, R>> for Error
4431where
4432 R: Send + Sync + std::fmt::Debug + 'static,
4433{
4434 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_database::GetDatabaseError, R>) -> Self {
4435 match err {
4436 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4437 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4438 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4439 source: err.into(),
4440 }),
4441 }
4442 }
4443}
4444impl From<crate::operation::get_database::GetDatabaseError> for Error {
4445 fn from(err: crate::operation::get_database::GetDatabaseError) -> Self {
4446 match err {
4447 crate::operation::get_database::GetDatabaseError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4448 crate::operation::get_database::GetDatabaseError::FederationSourceException(inner) => Error::FederationSourceException(inner),
4449 crate::operation::get_database::GetDatabaseError::FederationSourceRetryableException(inner) => {
4450 Error::FederationSourceRetryableException(inner)
4451 }
4452 crate::operation::get_database::GetDatabaseError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
4453 crate::operation::get_database::GetDatabaseError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4454 crate::operation::get_database::GetDatabaseError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4455 crate::operation::get_database::GetDatabaseError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4456 crate::operation::get_database::GetDatabaseError::Unhandled(inner) => Error::Unhandled(inner),
4457 }
4458 }
4459}
4460impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_databases::GetDatabasesError, R>> for Error
4461where
4462 R: Send + Sync + std::fmt::Debug + 'static,
4463{
4464 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_databases::GetDatabasesError, R>) -> Self {
4465 match err {
4466 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4467 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4468 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4469 source: err.into(),
4470 }),
4471 }
4472 }
4473}
4474impl From<crate::operation::get_databases::GetDatabasesError> for Error {
4475 fn from(err: crate::operation::get_databases::GetDatabasesError) -> Self {
4476 match err {
4477 crate::operation::get_databases::GetDatabasesError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4478 crate::operation::get_databases::GetDatabasesError::FederationSourceException(inner) => Error::FederationSourceException(inner),
4479 crate::operation::get_databases::GetDatabasesError::FederationSourceRetryableException(inner) => {
4480 Error::FederationSourceRetryableException(inner)
4481 }
4482 crate::operation::get_databases::GetDatabasesError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
4483 crate::operation::get_databases::GetDatabasesError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4484 crate::operation::get_databases::GetDatabasesError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4485 crate::operation::get_databases::GetDatabasesError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4486 crate::operation::get_databases::GetDatabasesError::Unhandled(inner) => Error::Unhandled(inner),
4487 }
4488 }
4489}
4490impl<R>
4491 From<
4492 ::aws_smithy_runtime_api::client::result::SdkError<
4493 crate::operation::get_data_catalog_encryption_settings::GetDataCatalogEncryptionSettingsError,
4494 R,
4495 >,
4496 > for Error
4497where
4498 R: Send + Sync + std::fmt::Debug + 'static,
4499{
4500 fn from(
4501 err: ::aws_smithy_runtime_api::client::result::SdkError<
4502 crate::operation::get_data_catalog_encryption_settings::GetDataCatalogEncryptionSettingsError,
4503 R,
4504 >,
4505 ) -> Self {
4506 match err {
4507 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4508 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4509 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4510 source: err.into(),
4511 }),
4512 }
4513 }
4514}
4515impl From<crate::operation::get_data_catalog_encryption_settings::GetDataCatalogEncryptionSettingsError> for Error {
4516 fn from(err: crate::operation::get_data_catalog_encryption_settings::GetDataCatalogEncryptionSettingsError) -> Self {
4517 match err {
4518 crate::operation::get_data_catalog_encryption_settings::GetDataCatalogEncryptionSettingsError::InternalServiceException(inner) => {
4519 Error::InternalServiceException(inner)
4520 }
4521 crate::operation::get_data_catalog_encryption_settings::GetDataCatalogEncryptionSettingsError::InvalidInputException(inner) => {
4522 Error::InvalidInputException(inner)
4523 }
4524 crate::operation::get_data_catalog_encryption_settings::GetDataCatalogEncryptionSettingsError::OperationTimeoutException(inner) => {
4525 Error::OperationTimeoutException(inner)
4526 }
4527 crate::operation::get_data_catalog_encryption_settings::GetDataCatalogEncryptionSettingsError::Unhandled(inner) => {
4528 Error::Unhandled(inner)
4529 }
4530 }
4531 }
4532}
4533impl<R>
4534 From<
4535 ::aws_smithy_runtime_api::client::result::SdkError<
4536 crate::operation::get_data_catalog_export_configuration::GetDataCatalogExportConfigurationError,
4537 R,
4538 >,
4539 > for Error
4540where
4541 R: Send + Sync + std::fmt::Debug + 'static,
4542{
4543 fn from(
4544 err: ::aws_smithy_runtime_api::client::result::SdkError<
4545 crate::operation::get_data_catalog_export_configuration::GetDataCatalogExportConfigurationError,
4546 R,
4547 >,
4548 ) -> Self {
4549 match err {
4550 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4551 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4552 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4553 source: err.into(),
4554 }),
4555 }
4556 }
4557}
4558impl From<crate::operation::get_data_catalog_export_configuration::GetDataCatalogExportConfigurationError> for Error {
4559 fn from(err: crate::operation::get_data_catalog_export_configuration::GetDataCatalogExportConfigurationError) -> Self {
4560 match err {
4561 crate::operation::get_data_catalog_export_configuration::GetDataCatalogExportConfigurationError::AccessDeniedException(inner) => {
4562 Error::AccessDeniedException(inner)
4563 }
4564 crate::operation::get_data_catalog_export_configuration::GetDataCatalogExportConfigurationError::EntityNotFoundException(inner) => {
4565 Error::EntityNotFoundException(inner)
4566 }
4567 crate::operation::get_data_catalog_export_configuration::GetDataCatalogExportConfigurationError::InternalServiceException(inner) => {
4568 Error::InternalServiceException(inner)
4569 }
4570 crate::operation::get_data_catalog_export_configuration::GetDataCatalogExportConfigurationError::InvalidInputException(inner) => {
4571 Error::InvalidInputException(inner)
4572 }
4573 crate::operation::get_data_catalog_export_configuration::GetDataCatalogExportConfigurationError::ThrottlingException(inner) => {
4574 Error::ThrottlingException(inner)
4575 }
4576 crate::operation::get_data_catalog_export_configuration::GetDataCatalogExportConfigurationError::Unhandled(inner) => {
4577 Error::Unhandled(inner)
4578 }
4579 }
4580 }
4581}
4582impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_dataflow_graph::GetDataflowGraphError, R>> for Error
4583where
4584 R: Send + Sync + std::fmt::Debug + 'static,
4585{
4586 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_dataflow_graph::GetDataflowGraphError, R>) -> Self {
4587 match err {
4588 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4589 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4590 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4591 source: err.into(),
4592 }),
4593 }
4594 }
4595}
4596impl From<crate::operation::get_dataflow_graph::GetDataflowGraphError> for Error {
4597 fn from(err: crate::operation::get_dataflow_graph::GetDataflowGraphError) -> Self {
4598 match err {
4599 crate::operation::get_dataflow_graph::GetDataflowGraphError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4600 crate::operation::get_dataflow_graph::GetDataflowGraphError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4601 crate::operation::get_dataflow_graph::GetDataflowGraphError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4602 crate::operation::get_dataflow_graph::GetDataflowGraphError::Unhandled(inner) => Error::Unhandled(inner),
4603 }
4604 }
4605}
4606impl<R>
4607 From<
4608 ::aws_smithy_runtime_api::client::result::SdkError<
4609 crate::operation::get_data_quality_evaluation_config::GetDataQualityEvaluationConfigError,
4610 R,
4611 >,
4612 > for Error
4613where
4614 R: Send + Sync + std::fmt::Debug + 'static,
4615{
4616 fn from(
4617 err: ::aws_smithy_runtime_api::client::result::SdkError<
4618 crate::operation::get_data_quality_evaluation_config::GetDataQualityEvaluationConfigError,
4619 R,
4620 >,
4621 ) -> Self {
4622 match err {
4623 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4624 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4625 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4626 source: err.into(),
4627 }),
4628 }
4629 }
4630}
4631impl From<crate::operation::get_data_quality_evaluation_config::GetDataQualityEvaluationConfigError> for Error {
4632 fn from(err: crate::operation::get_data_quality_evaluation_config::GetDataQualityEvaluationConfigError) -> Self {
4633 match err {
4634 crate::operation::get_data_quality_evaluation_config::GetDataQualityEvaluationConfigError::AccessDeniedException(inner) => {
4635 Error::AccessDeniedException(inner)
4636 }
4637 crate::operation::get_data_quality_evaluation_config::GetDataQualityEvaluationConfigError::EntityNotFoundException(inner) => {
4638 Error::EntityNotFoundException(inner)
4639 }
4640 crate::operation::get_data_quality_evaluation_config::GetDataQualityEvaluationConfigError::InternalServiceException(inner) => {
4641 Error::InternalServiceException(inner)
4642 }
4643 crate::operation::get_data_quality_evaluation_config::GetDataQualityEvaluationConfigError::InvalidInputException(inner) => {
4644 Error::InvalidInputException(inner)
4645 }
4646 crate::operation::get_data_quality_evaluation_config::GetDataQualityEvaluationConfigError::OperationTimeoutException(inner) => {
4647 Error::OperationTimeoutException(inner)
4648 }
4649 crate::operation::get_data_quality_evaluation_config::GetDataQualityEvaluationConfigError::Unhandled(inner) => Error::Unhandled(inner),
4650 }
4651 }
4652}
4653impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_data_quality_model::GetDataQualityModelError, R>> for Error
4654where
4655 R: Send + Sync + std::fmt::Debug + 'static,
4656{
4657 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_data_quality_model::GetDataQualityModelError, R>) -> Self {
4658 match err {
4659 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4660 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4661 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4662 source: err.into(),
4663 }),
4664 }
4665 }
4666}
4667impl From<crate::operation::get_data_quality_model::GetDataQualityModelError> for Error {
4668 fn from(err: crate::operation::get_data_quality_model::GetDataQualityModelError) -> Self {
4669 match err {
4670 crate::operation::get_data_quality_model::GetDataQualityModelError::EntityNotFoundException(inner) => {
4671 Error::EntityNotFoundException(inner)
4672 }
4673 crate::operation::get_data_quality_model::GetDataQualityModelError::InternalServiceException(inner) => {
4674 Error::InternalServiceException(inner)
4675 }
4676 crate::operation::get_data_quality_model::GetDataQualityModelError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4677 crate::operation::get_data_quality_model::GetDataQualityModelError::OperationTimeoutException(inner) => {
4678 Error::OperationTimeoutException(inner)
4679 }
4680 crate::operation::get_data_quality_model::GetDataQualityModelError::Unhandled(inner) => Error::Unhandled(inner),
4681 }
4682 }
4683}
4684impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_data_quality_model_result::GetDataQualityModelResultError, R>>
4685 for Error
4686where
4687 R: Send + Sync + std::fmt::Debug + 'static,
4688{
4689 fn from(
4690 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_data_quality_model_result::GetDataQualityModelResultError, R>,
4691 ) -> Self {
4692 match err {
4693 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4694 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4695 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4696 source: err.into(),
4697 }),
4698 }
4699 }
4700}
4701impl From<crate::operation::get_data_quality_model_result::GetDataQualityModelResultError> for Error {
4702 fn from(err: crate::operation::get_data_quality_model_result::GetDataQualityModelResultError) -> Self {
4703 match err {
4704 crate::operation::get_data_quality_model_result::GetDataQualityModelResultError::EntityNotFoundException(inner) => {
4705 Error::EntityNotFoundException(inner)
4706 }
4707 crate::operation::get_data_quality_model_result::GetDataQualityModelResultError::InternalServiceException(inner) => {
4708 Error::InternalServiceException(inner)
4709 }
4710 crate::operation::get_data_quality_model_result::GetDataQualityModelResultError::InvalidInputException(inner) => {
4711 Error::InvalidInputException(inner)
4712 }
4713 crate::operation::get_data_quality_model_result::GetDataQualityModelResultError::OperationTimeoutException(inner) => {
4714 Error::OperationTimeoutException(inner)
4715 }
4716 crate::operation::get_data_quality_model_result::GetDataQualityModelResultError::Unhandled(inner) => Error::Unhandled(inner),
4717 }
4718 }
4719}
4720impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_data_quality_result::GetDataQualityResultError, R>> for Error
4721where
4722 R: Send + Sync + std::fmt::Debug + 'static,
4723{
4724 fn from(
4725 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_data_quality_result::GetDataQualityResultError, R>,
4726 ) -> Self {
4727 match err {
4728 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4729 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4730 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4731 source: err.into(),
4732 }),
4733 }
4734 }
4735}
4736impl From<crate::operation::get_data_quality_result::GetDataQualityResultError> for Error {
4737 fn from(err: crate::operation::get_data_quality_result::GetDataQualityResultError) -> Self {
4738 match err {
4739 crate::operation::get_data_quality_result::GetDataQualityResultError::EntityNotFoundException(inner) => {
4740 Error::EntityNotFoundException(inner)
4741 }
4742 crate::operation::get_data_quality_result::GetDataQualityResultError::InternalServiceException(inner) => {
4743 Error::InternalServiceException(inner)
4744 }
4745 crate::operation::get_data_quality_result::GetDataQualityResultError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4746 crate::operation::get_data_quality_result::GetDataQualityResultError::OperationTimeoutException(inner) => {
4747 Error::OperationTimeoutException(inner)
4748 }
4749 crate::operation::get_data_quality_result::GetDataQualityResultError::Unhandled(inner) => Error::Unhandled(inner),
4750 }
4751 }
4752}
4753impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_data_quality_result_v2::GetDataQualityResultV2Error, R>>
4754 for Error
4755where
4756 R: Send + Sync + std::fmt::Debug + 'static,
4757{
4758 fn from(
4759 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_data_quality_result_v2::GetDataQualityResultV2Error, R>,
4760 ) -> Self {
4761 match err {
4762 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4763 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4764 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4765 source: err.into(),
4766 }),
4767 }
4768 }
4769}
4770impl From<crate::operation::get_data_quality_result_v2::GetDataQualityResultV2Error> for Error {
4771 fn from(err: crate::operation::get_data_quality_result_v2::GetDataQualityResultV2Error) -> Self {
4772 match err {
4773 crate::operation::get_data_quality_result_v2::GetDataQualityResultV2Error::EntityNotFoundException(inner) => {
4774 Error::EntityNotFoundException(inner)
4775 }
4776 crate::operation::get_data_quality_result_v2::GetDataQualityResultV2Error::InternalServiceException(inner) => {
4777 Error::InternalServiceException(inner)
4778 }
4779 crate::operation::get_data_quality_result_v2::GetDataQualityResultV2Error::InvalidInputException(inner) => {
4780 Error::InvalidInputException(inner)
4781 }
4782 crate::operation::get_data_quality_result_v2::GetDataQualityResultV2Error::OperationTimeoutException(inner) => {
4783 Error::OperationTimeoutException(inner)
4784 }
4785 crate::operation::get_data_quality_result_v2::GetDataQualityResultV2Error::Unhandled(inner) => Error::Unhandled(inner),
4786 }
4787 }
4788}
4789impl<R>
4790 From<
4791 ::aws_smithy_runtime_api::client::result::SdkError<
4792 crate::operation::get_data_quality_rule_recommendation_run::GetDataQualityRuleRecommendationRunError,
4793 R,
4794 >,
4795 > for Error
4796where
4797 R: Send + Sync + std::fmt::Debug + 'static,
4798{
4799 fn from(
4800 err: ::aws_smithy_runtime_api::client::result::SdkError<
4801 crate::operation::get_data_quality_rule_recommendation_run::GetDataQualityRuleRecommendationRunError,
4802 R,
4803 >,
4804 ) -> Self {
4805 match err {
4806 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4807 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4808 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4809 source: err.into(),
4810 }),
4811 }
4812 }
4813}
4814impl From<crate::operation::get_data_quality_rule_recommendation_run::GetDataQualityRuleRecommendationRunError> for Error {
4815 fn from(err: crate::operation::get_data_quality_rule_recommendation_run::GetDataQualityRuleRecommendationRunError) -> Self {
4816 match err {
4817 crate::operation::get_data_quality_rule_recommendation_run::GetDataQualityRuleRecommendationRunError::EntityNotFoundException(inner) => {
4818 Error::EntityNotFoundException(inner)
4819 }
4820 crate::operation::get_data_quality_rule_recommendation_run::GetDataQualityRuleRecommendationRunError::InternalServiceException(inner) => {
4821 Error::InternalServiceException(inner)
4822 }
4823 crate::operation::get_data_quality_rule_recommendation_run::GetDataQualityRuleRecommendationRunError::InvalidInputException(inner) => {
4824 Error::InvalidInputException(inner)
4825 }
4826 crate::operation::get_data_quality_rule_recommendation_run::GetDataQualityRuleRecommendationRunError::OperationTimeoutException(
4827 inner,
4828 ) => Error::OperationTimeoutException(inner),
4829 crate::operation::get_data_quality_rule_recommendation_run::GetDataQualityRuleRecommendationRunError::Unhandled(inner) => {
4830 Error::Unhandled(inner)
4831 }
4832 }
4833 }
4834}
4835impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_data_quality_ruleset::GetDataQualityRulesetError, R>> for Error
4836where
4837 R: Send + Sync + std::fmt::Debug + 'static,
4838{
4839 fn from(
4840 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_data_quality_ruleset::GetDataQualityRulesetError, R>,
4841 ) -> Self {
4842 match err {
4843 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4844 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4845 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4846 source: err.into(),
4847 }),
4848 }
4849 }
4850}
4851impl From<crate::operation::get_data_quality_ruleset::GetDataQualityRulesetError> for Error {
4852 fn from(err: crate::operation::get_data_quality_ruleset::GetDataQualityRulesetError) -> Self {
4853 match err {
4854 crate::operation::get_data_quality_ruleset::GetDataQualityRulesetError::EntityNotFoundException(inner) => {
4855 Error::EntityNotFoundException(inner)
4856 }
4857 crate::operation::get_data_quality_ruleset::GetDataQualityRulesetError::InternalServiceException(inner) => {
4858 Error::InternalServiceException(inner)
4859 }
4860 crate::operation::get_data_quality_ruleset::GetDataQualityRulesetError::InvalidInputException(inner) => {
4861 Error::InvalidInputException(inner)
4862 }
4863 crate::operation::get_data_quality_ruleset::GetDataQualityRulesetError::OperationTimeoutException(inner) => {
4864 Error::OperationTimeoutException(inner)
4865 }
4866 crate::operation::get_data_quality_ruleset::GetDataQualityRulesetError::Unhandled(inner) => Error::Unhandled(inner),
4867 }
4868 }
4869}
4870impl<R>
4871 From<
4872 ::aws_smithy_runtime_api::client::result::SdkError<
4873 crate::operation::get_data_quality_ruleset_evaluation_run::GetDataQualityRulesetEvaluationRunError,
4874 R,
4875 >,
4876 > for Error
4877where
4878 R: Send + Sync + std::fmt::Debug + 'static,
4879{
4880 fn from(
4881 err: ::aws_smithy_runtime_api::client::result::SdkError<
4882 crate::operation::get_data_quality_ruleset_evaluation_run::GetDataQualityRulesetEvaluationRunError,
4883 R,
4884 >,
4885 ) -> Self {
4886 match err {
4887 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4888 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4889 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4890 source: err.into(),
4891 }),
4892 }
4893 }
4894}
4895impl From<crate::operation::get_data_quality_ruleset_evaluation_run::GetDataQualityRulesetEvaluationRunError> for Error {
4896 fn from(err: crate::operation::get_data_quality_ruleset_evaluation_run::GetDataQualityRulesetEvaluationRunError) -> Self {
4897 match err {
4898 crate::operation::get_data_quality_ruleset_evaluation_run::GetDataQualityRulesetEvaluationRunError::EntityNotFoundException(inner) => {
4899 Error::EntityNotFoundException(inner)
4900 }
4901 crate::operation::get_data_quality_ruleset_evaluation_run::GetDataQualityRulesetEvaluationRunError::InternalServiceException(inner) => {
4902 Error::InternalServiceException(inner)
4903 }
4904 crate::operation::get_data_quality_ruleset_evaluation_run::GetDataQualityRulesetEvaluationRunError::InvalidInputException(inner) => {
4905 Error::InvalidInputException(inner)
4906 }
4907 crate::operation::get_data_quality_ruleset_evaluation_run::GetDataQualityRulesetEvaluationRunError::OperationTimeoutException(inner) => {
4908 Error::OperationTimeoutException(inner)
4909 }
4910 crate::operation::get_data_quality_ruleset_evaluation_run::GetDataQualityRulesetEvaluationRunError::Unhandled(inner) => {
4911 Error::Unhandled(inner)
4912 }
4913 }
4914 }
4915}
4916impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_dev_endpoint::GetDevEndpointError, R>> for Error
4917where
4918 R: Send + Sync + std::fmt::Debug + 'static,
4919{
4920 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_dev_endpoint::GetDevEndpointError, R>) -> Self {
4921 match err {
4922 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4923 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4924 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4925 source: err.into(),
4926 }),
4927 }
4928 }
4929}
4930impl From<crate::operation::get_dev_endpoint::GetDevEndpointError> for Error {
4931 fn from(err: crate::operation::get_dev_endpoint::GetDevEndpointError) -> Self {
4932 match err {
4933 crate::operation::get_dev_endpoint::GetDevEndpointError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4934 crate::operation::get_dev_endpoint::GetDevEndpointError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4935 crate::operation::get_dev_endpoint::GetDevEndpointError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4936 crate::operation::get_dev_endpoint::GetDevEndpointError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4937 crate::operation::get_dev_endpoint::GetDevEndpointError::Unhandled(inner) => Error::Unhandled(inner),
4938 }
4939 }
4940}
4941impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_dev_endpoints::GetDevEndpointsError, R>> for Error
4942where
4943 R: Send + Sync + std::fmt::Debug + 'static,
4944{
4945 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_dev_endpoints::GetDevEndpointsError, R>) -> Self {
4946 match err {
4947 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4948 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4949 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4950 source: err.into(),
4951 }),
4952 }
4953 }
4954}
4955impl From<crate::operation::get_dev_endpoints::GetDevEndpointsError> for Error {
4956 fn from(err: crate::operation::get_dev_endpoints::GetDevEndpointsError) -> Self {
4957 match err {
4958 crate::operation::get_dev_endpoints::GetDevEndpointsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4959 crate::operation::get_dev_endpoints::GetDevEndpointsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4960 crate::operation::get_dev_endpoints::GetDevEndpointsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4961 crate::operation::get_dev_endpoints::GetDevEndpointsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4962 crate::operation::get_dev_endpoints::GetDevEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
4963 }
4964 }
4965}
4966impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_entity_records::GetEntityRecordsError, R>> for Error
4967where
4968 R: Send + Sync + std::fmt::Debug + 'static,
4969{
4970 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_entity_records::GetEntityRecordsError, R>) -> Self {
4971 match err {
4972 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4973 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4974 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4975 source: err.into(),
4976 }),
4977 }
4978 }
4979}
4980impl From<crate::operation::get_entity_records::GetEntityRecordsError> for Error {
4981 fn from(err: crate::operation::get_entity_records::GetEntityRecordsError) -> Self {
4982 match err {
4983 crate::operation::get_entity_records::GetEntityRecordsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
4984 crate::operation::get_entity_records::GetEntityRecordsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4985 crate::operation::get_entity_records::GetEntityRecordsError::FederationSourceException(inner) => Error::FederationSourceException(inner),
4986 crate::operation::get_entity_records::GetEntityRecordsError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
4987 crate::operation::get_entity_records::GetEntityRecordsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4988 crate::operation::get_entity_records::GetEntityRecordsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4989 crate::operation::get_entity_records::GetEntityRecordsError::ValidationException(inner) => Error::ValidationException(inner),
4990 crate::operation::get_entity_records::GetEntityRecordsError::Unhandled(inner) => Error::Unhandled(inner),
4991 }
4992 }
4993}
4994impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_form_type::GetFormTypeError, R>> for Error
4995where
4996 R: Send + Sync + std::fmt::Debug + 'static,
4997{
4998 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_form_type::GetFormTypeError, R>) -> Self {
4999 match err {
5000 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5001 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5002 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5003 source: err.into(),
5004 }),
5005 }
5006 }
5007}
5008impl From<crate::operation::get_form_type::GetFormTypeError> for Error {
5009 fn from(err: crate::operation::get_form_type::GetFormTypeError) -> Self {
5010 match err {
5011 crate::operation::get_form_type::GetFormTypeError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
5012 crate::operation::get_form_type::GetFormTypeError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5013 crate::operation::get_form_type::GetFormTypeError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5014 crate::operation::get_form_type::GetFormTypeError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5015 crate::operation::get_form_type::GetFormTypeError::ThrottlingException(inner) => Error::ThrottlingException(inner),
5016 crate::operation::get_form_type::GetFormTypeError::Unhandled(inner) => Error::Unhandled(inner),
5017 }
5018 }
5019}
5020impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_glossary::GetGlossaryError, R>> for Error
5021where
5022 R: Send + Sync + std::fmt::Debug + 'static,
5023{
5024 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_glossary::GetGlossaryError, R>) -> Self {
5025 match err {
5026 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5027 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5028 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5029 source: err.into(),
5030 }),
5031 }
5032 }
5033}
5034impl From<crate::operation::get_glossary::GetGlossaryError> for Error {
5035 fn from(err: crate::operation::get_glossary::GetGlossaryError) -> Self {
5036 match err {
5037 crate::operation::get_glossary::GetGlossaryError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
5038 crate::operation::get_glossary::GetGlossaryError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5039 crate::operation::get_glossary::GetGlossaryError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5040 crate::operation::get_glossary::GetGlossaryError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5041 crate::operation::get_glossary::GetGlossaryError::ThrottlingException(inner) => Error::ThrottlingException(inner),
5042 crate::operation::get_glossary::GetGlossaryError::Unhandled(inner) => Error::Unhandled(inner),
5043 }
5044 }
5045}
5046impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_glossary_term::GetGlossaryTermError, R>> for Error
5047where
5048 R: Send + Sync + std::fmt::Debug + 'static,
5049{
5050 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_glossary_term::GetGlossaryTermError, R>) -> Self {
5051 match err {
5052 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5053 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5054 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5055 source: err.into(),
5056 }),
5057 }
5058 }
5059}
5060impl From<crate::operation::get_glossary_term::GetGlossaryTermError> for Error {
5061 fn from(err: crate::operation::get_glossary_term::GetGlossaryTermError) -> Self {
5062 match err {
5063 crate::operation::get_glossary_term::GetGlossaryTermError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
5064 crate::operation::get_glossary_term::GetGlossaryTermError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5065 crate::operation::get_glossary_term::GetGlossaryTermError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5066 crate::operation::get_glossary_term::GetGlossaryTermError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5067 crate::operation::get_glossary_term::GetGlossaryTermError::ThrottlingException(inner) => Error::ThrottlingException(inner),
5068 crate::operation::get_glossary_term::GetGlossaryTermError::Unhandled(inner) => Error::Unhandled(inner),
5069 }
5070 }
5071}
5072impl<R>
5073 From<
5074 ::aws_smithy_runtime_api::client::result::SdkError<
5075 crate::operation::get_glue_identity_center_configuration::GetGlueIdentityCenterConfigurationError,
5076 R,
5077 >,
5078 > for Error
5079where
5080 R: Send + Sync + std::fmt::Debug + 'static,
5081{
5082 fn from(
5083 err: ::aws_smithy_runtime_api::client::result::SdkError<
5084 crate::operation::get_glue_identity_center_configuration::GetGlueIdentityCenterConfigurationError,
5085 R,
5086 >,
5087 ) -> Self {
5088 match err {
5089 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5090 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5091 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5092 source: err.into(),
5093 }),
5094 }
5095 }
5096}
5097impl From<crate::operation::get_glue_identity_center_configuration::GetGlueIdentityCenterConfigurationError> for Error {
5098 fn from(err: crate::operation::get_glue_identity_center_configuration::GetGlueIdentityCenterConfigurationError) -> Self {
5099 match err {
5100 crate::operation::get_glue_identity_center_configuration::GetGlueIdentityCenterConfigurationError::AccessDeniedException(inner) => {
5101 Error::AccessDeniedException(inner)
5102 }
5103 crate::operation::get_glue_identity_center_configuration::GetGlueIdentityCenterConfigurationError::ConcurrentModificationException(
5104 inner,
5105 ) => Error::ConcurrentModificationException(inner),
5106 crate::operation::get_glue_identity_center_configuration::GetGlueIdentityCenterConfigurationError::EntityNotFoundException(inner) => {
5107 Error::EntityNotFoundException(inner)
5108 }
5109 crate::operation::get_glue_identity_center_configuration::GetGlueIdentityCenterConfigurationError::InternalServiceException(inner) => {
5110 Error::InternalServiceException(inner)
5111 }
5112 crate::operation::get_glue_identity_center_configuration::GetGlueIdentityCenterConfigurationError::InvalidInputException(inner) => {
5113 Error::InvalidInputException(inner)
5114 }
5115 crate::operation::get_glue_identity_center_configuration::GetGlueIdentityCenterConfigurationError::OperationTimeoutException(inner) => {
5116 Error::OperationTimeoutException(inner)
5117 }
5118 crate::operation::get_glue_identity_center_configuration::GetGlueIdentityCenterConfigurationError::Unhandled(inner) => {
5119 Error::Unhandled(inner)
5120 }
5121 }
5122 }
5123}
5124impl<R>
5125 From<
5126 ::aws_smithy_runtime_api::client::result::SdkError<
5127 crate::operation::get_integration_resource_property::GetIntegrationResourcePropertyError,
5128 R,
5129 >,
5130 > for Error
5131where
5132 R: Send + Sync + std::fmt::Debug + 'static,
5133{
5134 fn from(
5135 err: ::aws_smithy_runtime_api::client::result::SdkError<
5136 crate::operation::get_integration_resource_property::GetIntegrationResourcePropertyError,
5137 R,
5138 >,
5139 ) -> Self {
5140 match err {
5141 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5142 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5143 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5144 source: err.into(),
5145 }),
5146 }
5147 }
5148}
5149impl From<crate::operation::get_integration_resource_property::GetIntegrationResourcePropertyError> for Error {
5150 fn from(err: crate::operation::get_integration_resource_property::GetIntegrationResourcePropertyError) -> Self {
5151 match err {
5152 crate::operation::get_integration_resource_property::GetIntegrationResourcePropertyError::AccessDeniedException(inner) => {
5153 Error::AccessDeniedException(inner)
5154 }
5155 crate::operation::get_integration_resource_property::GetIntegrationResourcePropertyError::EntityNotFoundException(inner) => {
5156 Error::EntityNotFoundException(inner)
5157 }
5158 crate::operation::get_integration_resource_property::GetIntegrationResourcePropertyError::InternalServerException(inner) => {
5159 Error::InternalServerException(inner)
5160 }
5161 crate::operation::get_integration_resource_property::GetIntegrationResourcePropertyError::InternalServiceException(inner) => {
5162 Error::InternalServiceException(inner)
5163 }
5164 crate::operation::get_integration_resource_property::GetIntegrationResourcePropertyError::InvalidInputException(inner) => {
5165 Error::InvalidInputException(inner)
5166 }
5167 crate::operation::get_integration_resource_property::GetIntegrationResourcePropertyError::ResourceNotFoundException(inner) => {
5168 Error::ResourceNotFoundException(inner)
5169 }
5170 crate::operation::get_integration_resource_property::GetIntegrationResourcePropertyError::ValidationException(inner) => {
5171 Error::ValidationException(inner)
5172 }
5173 crate::operation::get_integration_resource_property::GetIntegrationResourcePropertyError::Unhandled(inner) => Error::Unhandled(inner),
5174 }
5175 }
5176}
5177impl<R>
5178 From<
5179 ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_integration_table_properties::GetIntegrationTablePropertiesError, R>,
5180 > for Error
5181where
5182 R: Send + Sync + std::fmt::Debug + 'static,
5183{
5184 fn from(
5185 err: ::aws_smithy_runtime_api::client::result::SdkError<
5186 crate::operation::get_integration_table_properties::GetIntegrationTablePropertiesError,
5187 R,
5188 >,
5189 ) -> Self {
5190 match err {
5191 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5192 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5193 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5194 source: err.into(),
5195 }),
5196 }
5197 }
5198}
5199impl From<crate::operation::get_integration_table_properties::GetIntegrationTablePropertiesError> for Error {
5200 fn from(err: crate::operation::get_integration_table_properties::GetIntegrationTablePropertiesError) -> Self {
5201 match err {
5202 crate::operation::get_integration_table_properties::GetIntegrationTablePropertiesError::AccessDeniedException(inner) => {
5203 Error::AccessDeniedException(inner)
5204 }
5205 crate::operation::get_integration_table_properties::GetIntegrationTablePropertiesError::EntityNotFoundException(inner) => {
5206 Error::EntityNotFoundException(inner)
5207 }
5208 crate::operation::get_integration_table_properties::GetIntegrationTablePropertiesError::InternalServerException(inner) => {
5209 Error::InternalServerException(inner)
5210 }
5211 crate::operation::get_integration_table_properties::GetIntegrationTablePropertiesError::InternalServiceException(inner) => {
5212 Error::InternalServiceException(inner)
5213 }
5214 crate::operation::get_integration_table_properties::GetIntegrationTablePropertiesError::InvalidInputException(inner) => {
5215 Error::InvalidInputException(inner)
5216 }
5217 crate::operation::get_integration_table_properties::GetIntegrationTablePropertiesError::ResourceNotFoundException(inner) => {
5218 Error::ResourceNotFoundException(inner)
5219 }
5220 crate::operation::get_integration_table_properties::GetIntegrationTablePropertiesError::ValidationException(inner) => {
5221 Error::ValidationException(inner)
5222 }
5223 crate::operation::get_integration_table_properties::GetIntegrationTablePropertiesError::Unhandled(inner) => Error::Unhandled(inner),
5224 }
5225 }
5226}
5227impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_job::GetJobError, R>> for Error
5228where
5229 R: Send + Sync + std::fmt::Debug + 'static,
5230{
5231 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_job::GetJobError, R>) -> Self {
5232 match err {
5233 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5234 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5235 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5236 source: err.into(),
5237 }),
5238 }
5239 }
5240}
5241impl From<crate::operation::get_job::GetJobError> for Error {
5242 fn from(err: crate::operation::get_job::GetJobError) -> Self {
5243 match err {
5244 crate::operation::get_job::GetJobError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5245 crate::operation::get_job::GetJobError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5246 crate::operation::get_job::GetJobError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5247 crate::operation::get_job::GetJobError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5248 crate::operation::get_job::GetJobError::Unhandled(inner) => Error::Unhandled(inner),
5249 }
5250 }
5251}
5252impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_job_bookmark::GetJobBookmarkError, R>> for Error
5253where
5254 R: Send + Sync + std::fmt::Debug + 'static,
5255{
5256 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_job_bookmark::GetJobBookmarkError, R>) -> Self {
5257 match err {
5258 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5259 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5260 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5261 source: err.into(),
5262 }),
5263 }
5264 }
5265}
5266impl From<crate::operation::get_job_bookmark::GetJobBookmarkError> for Error {
5267 fn from(err: crate::operation::get_job_bookmark::GetJobBookmarkError) -> Self {
5268 match err {
5269 crate::operation::get_job_bookmark::GetJobBookmarkError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5270 crate::operation::get_job_bookmark::GetJobBookmarkError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5271 crate::operation::get_job_bookmark::GetJobBookmarkError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5272 crate::operation::get_job_bookmark::GetJobBookmarkError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5273 crate::operation::get_job_bookmark::GetJobBookmarkError::ValidationException(inner) => Error::ValidationException(inner),
5274 crate::operation::get_job_bookmark::GetJobBookmarkError::Unhandled(inner) => Error::Unhandled(inner),
5275 }
5276 }
5277}
5278impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_job_run::GetJobRunError, R>> for Error
5279where
5280 R: Send + Sync + std::fmt::Debug + 'static,
5281{
5282 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_job_run::GetJobRunError, R>) -> Self {
5283 match err {
5284 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5285 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5286 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5287 source: err.into(),
5288 }),
5289 }
5290 }
5291}
5292impl From<crate::operation::get_job_run::GetJobRunError> for Error {
5293 fn from(err: crate::operation::get_job_run::GetJobRunError) -> Self {
5294 match err {
5295 crate::operation::get_job_run::GetJobRunError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5296 crate::operation::get_job_run::GetJobRunError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5297 crate::operation::get_job_run::GetJobRunError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5298 crate::operation::get_job_run::GetJobRunError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5299 crate::operation::get_job_run::GetJobRunError::Unhandled(inner) => Error::Unhandled(inner),
5300 }
5301 }
5302}
5303impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_job_runs::GetJobRunsError, R>> for Error
5304where
5305 R: Send + Sync + std::fmt::Debug + 'static,
5306{
5307 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_job_runs::GetJobRunsError, R>) -> Self {
5308 match err {
5309 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5310 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5311 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5312 source: err.into(),
5313 }),
5314 }
5315 }
5316}
5317impl From<crate::operation::get_job_runs::GetJobRunsError> for Error {
5318 fn from(err: crate::operation::get_job_runs::GetJobRunsError) -> Self {
5319 match err {
5320 crate::operation::get_job_runs::GetJobRunsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5321 crate::operation::get_job_runs::GetJobRunsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5322 crate::operation::get_job_runs::GetJobRunsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5323 crate::operation::get_job_runs::GetJobRunsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5324 crate::operation::get_job_runs::GetJobRunsError::Unhandled(inner) => Error::Unhandled(inner),
5325 }
5326 }
5327}
5328impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_jobs::GetJobsError, R>> for Error
5329where
5330 R: Send + Sync + std::fmt::Debug + 'static,
5331{
5332 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_jobs::GetJobsError, R>) -> Self {
5333 match err {
5334 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5335 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5336 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5337 source: err.into(),
5338 }),
5339 }
5340 }
5341}
5342impl From<crate::operation::get_jobs::GetJobsError> for Error {
5343 fn from(err: crate::operation::get_jobs::GetJobsError) -> Self {
5344 match err {
5345 crate::operation::get_jobs::GetJobsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5346 crate::operation::get_jobs::GetJobsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5347 crate::operation::get_jobs::GetJobsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5348 crate::operation::get_jobs::GetJobsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5349 crate::operation::get_jobs::GetJobsError::Unhandled(inner) => Error::Unhandled(inner),
5350 }
5351 }
5352}
5353impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_job_upgrade_analysis::GetJobUpgradeAnalysisError, R>> for Error
5354where
5355 R: Send + Sync + std::fmt::Debug + 'static,
5356{
5357 fn from(
5358 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_job_upgrade_analysis::GetJobUpgradeAnalysisError, R>,
5359 ) -> Self {
5360 match err {
5361 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5362 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5363 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5364 source: err.into(),
5365 }),
5366 }
5367 }
5368}
5369impl From<crate::operation::get_job_upgrade_analysis::GetJobUpgradeAnalysisError> for Error {
5370 fn from(err: crate::operation::get_job_upgrade_analysis::GetJobUpgradeAnalysisError) -> Self {
5371 match err {
5372 crate::operation::get_job_upgrade_analysis::GetJobUpgradeAnalysisError::AccessDeniedException(inner) => {
5373 Error::AccessDeniedException(inner)
5374 }
5375 crate::operation::get_job_upgrade_analysis::GetJobUpgradeAnalysisError::EntityNotFoundException(inner) => {
5376 Error::EntityNotFoundException(inner)
5377 }
5378 crate::operation::get_job_upgrade_analysis::GetJobUpgradeAnalysisError::InternalServiceException(inner) => {
5379 Error::InternalServiceException(inner)
5380 }
5381 crate::operation::get_job_upgrade_analysis::GetJobUpgradeAnalysisError::InvalidInputException(inner) => {
5382 Error::InvalidInputException(inner)
5383 }
5384 crate::operation::get_job_upgrade_analysis::GetJobUpgradeAnalysisError::OperationNotSupportedException(inner) => {
5385 Error::OperationNotSupportedException(inner)
5386 }
5387 crate::operation::get_job_upgrade_analysis::GetJobUpgradeAnalysisError::Unhandled(inner) => Error::Unhandled(inner),
5388 }
5389 }
5390}
5391impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_mapping::GetMappingError, R>> for Error
5392where
5393 R: Send + Sync + std::fmt::Debug + 'static,
5394{
5395 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_mapping::GetMappingError, R>) -> Self {
5396 match err {
5397 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5398 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5399 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5400 source: err.into(),
5401 }),
5402 }
5403 }
5404}
5405impl From<crate::operation::get_mapping::GetMappingError> for Error {
5406 fn from(err: crate::operation::get_mapping::GetMappingError) -> Self {
5407 match err {
5408 crate::operation::get_mapping::GetMappingError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5409 crate::operation::get_mapping::GetMappingError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5410 crate::operation::get_mapping::GetMappingError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5411 crate::operation::get_mapping::GetMappingError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5412 crate::operation::get_mapping::GetMappingError::Unhandled(inner) => Error::Unhandled(inner),
5413 }
5414 }
5415}
5416impl<R>
5417 From<
5418 ::aws_smithy_runtime_api::client::result::SdkError<
5419 crate::operation::get_materialized_view_refresh_task_run::GetMaterializedViewRefreshTaskRunError,
5420 R,
5421 >,
5422 > for Error
5423where
5424 R: Send + Sync + std::fmt::Debug + 'static,
5425{
5426 fn from(
5427 err: ::aws_smithy_runtime_api::client::result::SdkError<
5428 crate::operation::get_materialized_view_refresh_task_run::GetMaterializedViewRefreshTaskRunError,
5429 R,
5430 >,
5431 ) -> Self {
5432 match err {
5433 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5434 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5435 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5436 source: err.into(),
5437 }),
5438 }
5439 }
5440}
5441impl From<crate::operation::get_materialized_view_refresh_task_run::GetMaterializedViewRefreshTaskRunError> for Error {
5442 fn from(err: crate::operation::get_materialized_view_refresh_task_run::GetMaterializedViewRefreshTaskRunError) -> Self {
5443 match err {
5444 crate::operation::get_materialized_view_refresh_task_run::GetMaterializedViewRefreshTaskRunError::AccessDeniedException(inner) => {
5445 Error::AccessDeniedException(inner)
5446 }
5447 crate::operation::get_materialized_view_refresh_task_run::GetMaterializedViewRefreshTaskRunError::EntityNotFoundException(inner) => {
5448 Error::EntityNotFoundException(inner)
5449 }
5450 crate::operation::get_materialized_view_refresh_task_run::GetMaterializedViewRefreshTaskRunError::InvalidInputException(inner) => {
5451 Error::InvalidInputException(inner)
5452 }
5453 crate::operation::get_materialized_view_refresh_task_run::GetMaterializedViewRefreshTaskRunError::OperationTimeoutException(inner) => {
5454 Error::OperationTimeoutException(inner)
5455 }
5456 crate::operation::get_materialized_view_refresh_task_run::GetMaterializedViewRefreshTaskRunError::Unhandled(inner) => {
5457 Error::Unhandled(inner)
5458 }
5459 }
5460 }
5461}
5462impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ml_task_run::GetMLTaskRunError, R>> for Error
5463where
5464 R: Send + Sync + std::fmt::Debug + 'static,
5465{
5466 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ml_task_run::GetMLTaskRunError, R>) -> Self {
5467 match err {
5468 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5469 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5470 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5471 source: err.into(),
5472 }),
5473 }
5474 }
5475}
5476impl From<crate::operation::get_ml_task_run::GetMLTaskRunError> for Error {
5477 fn from(err: crate::operation::get_ml_task_run::GetMLTaskRunError) -> Self {
5478 match err {
5479 crate::operation::get_ml_task_run::GetMLTaskRunError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5480 crate::operation::get_ml_task_run::GetMLTaskRunError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5481 crate::operation::get_ml_task_run::GetMLTaskRunError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5482 crate::operation::get_ml_task_run::GetMLTaskRunError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5483 crate::operation::get_ml_task_run::GetMLTaskRunError::Unhandled(inner) => Error::Unhandled(inner),
5484 }
5485 }
5486}
5487impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ml_task_runs::GetMLTaskRunsError, R>> for Error
5488where
5489 R: Send + Sync + std::fmt::Debug + 'static,
5490{
5491 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ml_task_runs::GetMLTaskRunsError, R>) -> Self {
5492 match err {
5493 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5494 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5495 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5496 source: err.into(),
5497 }),
5498 }
5499 }
5500}
5501impl From<crate::operation::get_ml_task_runs::GetMLTaskRunsError> for Error {
5502 fn from(err: crate::operation::get_ml_task_runs::GetMLTaskRunsError) -> Self {
5503 match err {
5504 crate::operation::get_ml_task_runs::GetMLTaskRunsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5505 crate::operation::get_ml_task_runs::GetMLTaskRunsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5506 crate::operation::get_ml_task_runs::GetMLTaskRunsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5507 crate::operation::get_ml_task_runs::GetMLTaskRunsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5508 crate::operation::get_ml_task_runs::GetMLTaskRunsError::Unhandled(inner) => Error::Unhandled(inner),
5509 }
5510 }
5511}
5512impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ml_transform::GetMLTransformError, R>> for Error
5513where
5514 R: Send + Sync + std::fmt::Debug + 'static,
5515{
5516 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ml_transform::GetMLTransformError, R>) -> Self {
5517 match err {
5518 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5519 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5520 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5521 source: err.into(),
5522 }),
5523 }
5524 }
5525}
5526impl From<crate::operation::get_ml_transform::GetMLTransformError> for Error {
5527 fn from(err: crate::operation::get_ml_transform::GetMLTransformError) -> Self {
5528 match err {
5529 crate::operation::get_ml_transform::GetMLTransformError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5530 crate::operation::get_ml_transform::GetMLTransformError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5531 crate::operation::get_ml_transform::GetMLTransformError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5532 crate::operation::get_ml_transform::GetMLTransformError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5533 crate::operation::get_ml_transform::GetMLTransformError::Unhandled(inner) => Error::Unhandled(inner),
5534 }
5535 }
5536}
5537impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ml_transforms::GetMLTransformsError, R>> for Error
5538where
5539 R: Send + Sync + std::fmt::Debug + 'static,
5540{
5541 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ml_transforms::GetMLTransformsError, R>) -> Self {
5542 match err {
5543 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5544 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5545 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5546 source: err.into(),
5547 }),
5548 }
5549 }
5550}
5551impl From<crate::operation::get_ml_transforms::GetMLTransformsError> for Error {
5552 fn from(err: crate::operation::get_ml_transforms::GetMLTransformsError) -> Self {
5553 match err {
5554 crate::operation::get_ml_transforms::GetMLTransformsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5555 crate::operation::get_ml_transforms::GetMLTransformsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5556 crate::operation::get_ml_transforms::GetMLTransformsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5557 crate::operation::get_ml_transforms::GetMLTransformsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5558 crate::operation::get_ml_transforms::GetMLTransformsError::Unhandled(inner) => Error::Unhandled(inner),
5559 }
5560 }
5561}
5562impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_partition::GetPartitionError, R>> for Error
5563where
5564 R: Send + Sync + std::fmt::Debug + 'static,
5565{
5566 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_partition::GetPartitionError, R>) -> Self {
5567 match err {
5568 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5569 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5570 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5571 source: err.into(),
5572 }),
5573 }
5574 }
5575}
5576impl From<crate::operation::get_partition::GetPartitionError> for Error {
5577 fn from(err: crate::operation::get_partition::GetPartitionError) -> Self {
5578 match err {
5579 crate::operation::get_partition::GetPartitionError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5580 crate::operation::get_partition::GetPartitionError::FederationSourceException(inner) => Error::FederationSourceException(inner),
5581 crate::operation::get_partition::GetPartitionError::FederationSourceRetryableException(inner) => {
5582 Error::FederationSourceRetryableException(inner)
5583 }
5584 crate::operation::get_partition::GetPartitionError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
5585 crate::operation::get_partition::GetPartitionError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5586 crate::operation::get_partition::GetPartitionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5587 crate::operation::get_partition::GetPartitionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5588 crate::operation::get_partition::GetPartitionError::Unhandled(inner) => Error::Unhandled(inner),
5589 }
5590 }
5591}
5592impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_partition_indexes::GetPartitionIndexesError, R>> for Error
5593where
5594 R: Send + Sync + std::fmt::Debug + 'static,
5595{
5596 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_partition_indexes::GetPartitionIndexesError, R>) -> Self {
5597 match err {
5598 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5599 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5600 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5601 source: err.into(),
5602 }),
5603 }
5604 }
5605}
5606impl From<crate::operation::get_partition_indexes::GetPartitionIndexesError> for Error {
5607 fn from(err: crate::operation::get_partition_indexes::GetPartitionIndexesError) -> Self {
5608 match err {
5609 crate::operation::get_partition_indexes::GetPartitionIndexesError::ConflictException(inner) => Error::ConflictException(inner),
5610 crate::operation::get_partition_indexes::GetPartitionIndexesError::EntityNotFoundException(inner) => {
5611 Error::EntityNotFoundException(inner)
5612 }
5613 crate::operation::get_partition_indexes::GetPartitionIndexesError::InternalServiceException(inner) => {
5614 Error::InternalServiceException(inner)
5615 }
5616 crate::operation::get_partition_indexes::GetPartitionIndexesError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5617 crate::operation::get_partition_indexes::GetPartitionIndexesError::OperationTimeoutException(inner) => {
5618 Error::OperationTimeoutException(inner)
5619 }
5620 crate::operation::get_partition_indexes::GetPartitionIndexesError::Unhandled(inner) => Error::Unhandled(inner),
5621 }
5622 }
5623}
5624impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_partitions::GetPartitionsError, R>> for Error
5625where
5626 R: Send + Sync + std::fmt::Debug + 'static,
5627{
5628 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_partitions::GetPartitionsError, R>) -> Self {
5629 match err {
5630 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5631 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5632 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5633 source: err.into(),
5634 }),
5635 }
5636 }
5637}
5638impl From<crate::operation::get_partitions::GetPartitionsError> for Error {
5639 fn from(err: crate::operation::get_partitions::GetPartitionsError) -> Self {
5640 match err {
5641 crate::operation::get_partitions::GetPartitionsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5642 crate::operation::get_partitions::GetPartitionsError::FederationSourceException(inner) => Error::FederationSourceException(inner),
5643 crate::operation::get_partitions::GetPartitionsError::FederationSourceRetryableException(inner) => {
5644 Error::FederationSourceRetryableException(inner)
5645 }
5646 crate::operation::get_partitions::GetPartitionsError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
5647 crate::operation::get_partitions::GetPartitionsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5648 crate::operation::get_partitions::GetPartitionsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5649 crate::operation::get_partitions::GetPartitionsError::InvalidStateException(inner) => Error::InvalidStateException(inner),
5650 crate::operation::get_partitions::GetPartitionsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5651 crate::operation::get_partitions::GetPartitionsError::ResourceNotReadyException(inner) => Error::ResourceNotReadyException(inner),
5652 crate::operation::get_partitions::GetPartitionsError::Unhandled(inner) => Error::Unhandled(inner),
5653 }
5654 }
5655}
5656impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_plan::GetPlanError, R>> for Error
5657where
5658 R: Send + Sync + std::fmt::Debug + 'static,
5659{
5660 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_plan::GetPlanError, R>) -> Self {
5661 match err {
5662 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5663 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5664 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5665 source: err.into(),
5666 }),
5667 }
5668 }
5669}
5670impl From<crate::operation::get_plan::GetPlanError> for Error {
5671 fn from(err: crate::operation::get_plan::GetPlanError) -> Self {
5672 match err {
5673 crate::operation::get_plan::GetPlanError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5674 crate::operation::get_plan::GetPlanError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5675 crate::operation::get_plan::GetPlanError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5676 crate::operation::get_plan::GetPlanError::Unhandled(inner) => Error::Unhandled(inner),
5677 }
5678 }
5679}
5680impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_registry::GetRegistryError, R>> for Error
5681where
5682 R: Send + Sync + std::fmt::Debug + 'static,
5683{
5684 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_registry::GetRegistryError, R>) -> Self {
5685 match err {
5686 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5687 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5688 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5689 source: err.into(),
5690 }),
5691 }
5692 }
5693}
5694impl From<crate::operation::get_registry::GetRegistryError> for Error {
5695 fn from(err: crate::operation::get_registry::GetRegistryError) -> Self {
5696 match err {
5697 crate::operation::get_registry::GetRegistryError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
5698 crate::operation::get_registry::GetRegistryError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5699 crate::operation::get_registry::GetRegistryError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5700 crate::operation::get_registry::GetRegistryError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5701 crate::operation::get_registry::GetRegistryError::Unhandled(inner) => Error::Unhandled(inner),
5702 }
5703 }
5704}
5705impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_resource_policies::GetResourcePoliciesError, R>> for Error
5706where
5707 R: Send + Sync + std::fmt::Debug + 'static,
5708{
5709 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_resource_policies::GetResourcePoliciesError, R>) -> Self {
5710 match err {
5711 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5712 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5713 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5714 source: err.into(),
5715 }),
5716 }
5717 }
5718}
5719impl From<crate::operation::get_resource_policies::GetResourcePoliciesError> for Error {
5720 fn from(err: crate::operation::get_resource_policies::GetResourcePoliciesError) -> Self {
5721 match err {
5722 crate::operation::get_resource_policies::GetResourcePoliciesError::GlueEncryptionException(inner) => {
5723 Error::GlueEncryptionException(inner)
5724 }
5725 crate::operation::get_resource_policies::GetResourcePoliciesError::InternalServiceException(inner) => {
5726 Error::InternalServiceException(inner)
5727 }
5728 crate::operation::get_resource_policies::GetResourcePoliciesError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5729 crate::operation::get_resource_policies::GetResourcePoliciesError::OperationTimeoutException(inner) => {
5730 Error::OperationTimeoutException(inner)
5731 }
5732 crate::operation::get_resource_policies::GetResourcePoliciesError::Unhandled(inner) => Error::Unhandled(inner),
5733 }
5734 }
5735}
5736impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_resource_policy::GetResourcePolicyError, R>> for Error
5737where
5738 R: Send + Sync + std::fmt::Debug + 'static,
5739{
5740 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_resource_policy::GetResourcePolicyError, R>) -> Self {
5741 match err {
5742 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5743 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5744 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5745 source: err.into(),
5746 }),
5747 }
5748 }
5749}
5750impl From<crate::operation::get_resource_policy::GetResourcePolicyError> for Error {
5751 fn from(err: crate::operation::get_resource_policy::GetResourcePolicyError) -> Self {
5752 match err {
5753 crate::operation::get_resource_policy::GetResourcePolicyError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5754 crate::operation::get_resource_policy::GetResourcePolicyError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5755 crate::operation::get_resource_policy::GetResourcePolicyError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5756 crate::operation::get_resource_policy::GetResourcePolicyError::OperationTimeoutException(inner) => {
5757 Error::OperationTimeoutException(inner)
5758 }
5759 crate::operation::get_resource_policy::GetResourcePolicyError::Unhandled(inner) => Error::Unhandled(inner),
5760 }
5761 }
5762}
5763impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_schema::GetSchemaError, R>> for Error
5764where
5765 R: Send + Sync + std::fmt::Debug + 'static,
5766{
5767 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_schema::GetSchemaError, R>) -> Self {
5768 match err {
5769 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5770 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5771 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5772 source: err.into(),
5773 }),
5774 }
5775 }
5776}
5777impl From<crate::operation::get_schema::GetSchemaError> for Error {
5778 fn from(err: crate::operation::get_schema::GetSchemaError) -> Self {
5779 match err {
5780 crate::operation::get_schema::GetSchemaError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
5781 crate::operation::get_schema::GetSchemaError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5782 crate::operation::get_schema::GetSchemaError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5783 crate::operation::get_schema::GetSchemaError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5784 crate::operation::get_schema::GetSchemaError::Unhandled(inner) => Error::Unhandled(inner),
5785 }
5786 }
5787}
5788impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_schema_by_definition::GetSchemaByDefinitionError, R>> for Error
5789where
5790 R: Send + Sync + std::fmt::Debug + 'static,
5791{
5792 fn from(
5793 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_schema_by_definition::GetSchemaByDefinitionError, R>,
5794 ) -> Self {
5795 match err {
5796 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5797 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5798 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5799 source: err.into(),
5800 }),
5801 }
5802 }
5803}
5804impl From<crate::operation::get_schema_by_definition::GetSchemaByDefinitionError> for Error {
5805 fn from(err: crate::operation::get_schema_by_definition::GetSchemaByDefinitionError) -> Self {
5806 match err {
5807 crate::operation::get_schema_by_definition::GetSchemaByDefinitionError::AccessDeniedException(inner) => {
5808 Error::AccessDeniedException(inner)
5809 }
5810 crate::operation::get_schema_by_definition::GetSchemaByDefinitionError::EntityNotFoundException(inner) => {
5811 Error::EntityNotFoundException(inner)
5812 }
5813 crate::operation::get_schema_by_definition::GetSchemaByDefinitionError::InternalServiceException(inner) => {
5814 Error::InternalServiceException(inner)
5815 }
5816 crate::operation::get_schema_by_definition::GetSchemaByDefinitionError::InvalidInputException(inner) => {
5817 Error::InvalidInputException(inner)
5818 }
5819 crate::operation::get_schema_by_definition::GetSchemaByDefinitionError::Unhandled(inner) => Error::Unhandled(inner),
5820 }
5821 }
5822}
5823impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_schema_version::GetSchemaVersionError, R>> for Error
5824where
5825 R: Send + Sync + std::fmt::Debug + 'static,
5826{
5827 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_schema_version::GetSchemaVersionError, R>) -> Self {
5828 match err {
5829 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5830 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5831 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5832 source: err.into(),
5833 }),
5834 }
5835 }
5836}
5837impl From<crate::operation::get_schema_version::GetSchemaVersionError> for Error {
5838 fn from(err: crate::operation::get_schema_version::GetSchemaVersionError) -> Self {
5839 match err {
5840 crate::operation::get_schema_version::GetSchemaVersionError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
5841 crate::operation::get_schema_version::GetSchemaVersionError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5842 crate::operation::get_schema_version::GetSchemaVersionError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5843 crate::operation::get_schema_version::GetSchemaVersionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5844 crate::operation::get_schema_version::GetSchemaVersionError::Unhandled(inner) => Error::Unhandled(inner),
5845 }
5846 }
5847}
5848impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_schema_versions_diff::GetSchemaVersionsDiffError, R>> for Error
5849where
5850 R: Send + Sync + std::fmt::Debug + 'static,
5851{
5852 fn from(
5853 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_schema_versions_diff::GetSchemaVersionsDiffError, R>,
5854 ) -> Self {
5855 match err {
5856 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5857 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5858 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5859 source: err.into(),
5860 }),
5861 }
5862 }
5863}
5864impl From<crate::operation::get_schema_versions_diff::GetSchemaVersionsDiffError> for Error {
5865 fn from(err: crate::operation::get_schema_versions_diff::GetSchemaVersionsDiffError) -> Self {
5866 match err {
5867 crate::operation::get_schema_versions_diff::GetSchemaVersionsDiffError::AccessDeniedException(inner) => {
5868 Error::AccessDeniedException(inner)
5869 }
5870 crate::operation::get_schema_versions_diff::GetSchemaVersionsDiffError::EntityNotFoundException(inner) => {
5871 Error::EntityNotFoundException(inner)
5872 }
5873 crate::operation::get_schema_versions_diff::GetSchemaVersionsDiffError::InternalServiceException(inner) => {
5874 Error::InternalServiceException(inner)
5875 }
5876 crate::operation::get_schema_versions_diff::GetSchemaVersionsDiffError::InvalidInputException(inner) => {
5877 Error::InvalidInputException(inner)
5878 }
5879 crate::operation::get_schema_versions_diff::GetSchemaVersionsDiffError::Unhandled(inner) => Error::Unhandled(inner),
5880 }
5881 }
5882}
5883impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_security_configuration::GetSecurityConfigurationError, R>>
5884 for Error
5885where
5886 R: Send + Sync + std::fmt::Debug + 'static,
5887{
5888 fn from(
5889 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_security_configuration::GetSecurityConfigurationError, R>,
5890 ) -> Self {
5891 match err {
5892 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5893 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5894 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5895 source: err.into(),
5896 }),
5897 }
5898 }
5899}
5900impl From<crate::operation::get_security_configuration::GetSecurityConfigurationError> for Error {
5901 fn from(err: crate::operation::get_security_configuration::GetSecurityConfigurationError) -> Self {
5902 match err {
5903 crate::operation::get_security_configuration::GetSecurityConfigurationError::EntityNotFoundException(inner) => {
5904 Error::EntityNotFoundException(inner)
5905 }
5906 crate::operation::get_security_configuration::GetSecurityConfigurationError::InternalServiceException(inner) => {
5907 Error::InternalServiceException(inner)
5908 }
5909 crate::operation::get_security_configuration::GetSecurityConfigurationError::InvalidInputException(inner) => {
5910 Error::InvalidInputException(inner)
5911 }
5912 crate::operation::get_security_configuration::GetSecurityConfigurationError::OperationTimeoutException(inner) => {
5913 Error::OperationTimeoutException(inner)
5914 }
5915 crate::operation::get_security_configuration::GetSecurityConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
5916 }
5917 }
5918}
5919impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_security_configurations::GetSecurityConfigurationsError, R>>
5920 for Error
5921where
5922 R: Send + Sync + std::fmt::Debug + 'static,
5923{
5924 fn from(
5925 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_security_configurations::GetSecurityConfigurationsError, R>,
5926 ) -> Self {
5927 match err {
5928 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5929 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5930 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5931 source: err.into(),
5932 }),
5933 }
5934 }
5935}
5936impl From<crate::operation::get_security_configurations::GetSecurityConfigurationsError> for Error {
5937 fn from(err: crate::operation::get_security_configurations::GetSecurityConfigurationsError) -> Self {
5938 match err {
5939 crate::operation::get_security_configurations::GetSecurityConfigurationsError::EntityNotFoundException(inner) => {
5940 Error::EntityNotFoundException(inner)
5941 }
5942 crate::operation::get_security_configurations::GetSecurityConfigurationsError::InternalServiceException(inner) => {
5943 Error::InternalServiceException(inner)
5944 }
5945 crate::operation::get_security_configurations::GetSecurityConfigurationsError::InvalidInputException(inner) => {
5946 Error::InvalidInputException(inner)
5947 }
5948 crate::operation::get_security_configurations::GetSecurityConfigurationsError::OperationTimeoutException(inner) => {
5949 Error::OperationTimeoutException(inner)
5950 }
5951 crate::operation::get_security_configurations::GetSecurityConfigurationsError::Unhandled(inner) => Error::Unhandled(inner),
5952 }
5953 }
5954}
5955impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_session::GetSessionError, R>> for Error
5956where
5957 R: Send + Sync + std::fmt::Debug + 'static,
5958{
5959 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_session::GetSessionError, R>) -> Self {
5960 match err {
5961 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5962 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5963 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5964 source: err.into(),
5965 }),
5966 }
5967 }
5968}
5969impl From<crate::operation::get_session::GetSessionError> for Error {
5970 fn from(err: crate::operation::get_session::GetSessionError) -> Self {
5971 match err {
5972 crate::operation::get_session::GetSessionError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
5973 crate::operation::get_session::GetSessionError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5974 crate::operation::get_session::GetSessionError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5975 crate::operation::get_session::GetSessionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5976 crate::operation::get_session::GetSessionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5977 crate::operation::get_session::GetSessionError::Unhandled(inner) => Error::Unhandled(inner),
5978 }
5979 }
5980}
5981impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_session_endpoint::GetSessionEndpointError, R>> for Error
5982where
5983 R: Send + Sync + std::fmt::Debug + 'static,
5984{
5985 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_session_endpoint::GetSessionEndpointError, R>) -> Self {
5986 match err {
5987 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5988 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5989 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5990 source: err.into(),
5991 }),
5992 }
5993 }
5994}
5995impl From<crate::operation::get_session_endpoint::GetSessionEndpointError> for Error {
5996 fn from(err: crate::operation::get_session_endpoint::GetSessionEndpointError) -> Self {
5997 match err {
5998 crate::operation::get_session_endpoint::GetSessionEndpointError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
5999 crate::operation::get_session_endpoint::GetSessionEndpointError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
6000 crate::operation::get_session_endpoint::GetSessionEndpointError::IllegalSessionStateException(inner) => {
6001 Error::IllegalSessionStateException(inner)
6002 }
6003 crate::operation::get_session_endpoint::GetSessionEndpointError::InternalServiceException(inner) => {
6004 Error::InternalServiceException(inner)
6005 }
6006 crate::operation::get_session_endpoint::GetSessionEndpointError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6007 crate::operation::get_session_endpoint::GetSessionEndpointError::OperationNotSupportedException(inner) => {
6008 Error::OperationNotSupportedException(inner)
6009 }
6010 crate::operation::get_session_endpoint::GetSessionEndpointError::OperationTimeoutException(inner) => {
6011 Error::OperationTimeoutException(inner)
6012 }
6013 crate::operation::get_session_endpoint::GetSessionEndpointError::Unhandled(inner) => Error::Unhandled(inner),
6014 }
6015 }
6016}
6017impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_statement::GetStatementError, R>> for Error
6018where
6019 R: Send + Sync + std::fmt::Debug + 'static,
6020{
6021 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_statement::GetStatementError, R>) -> Self {
6022 match err {
6023 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6024 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6025 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6026 source: err.into(),
6027 }),
6028 }
6029 }
6030}
6031impl From<crate::operation::get_statement::GetStatementError> for Error {
6032 fn from(err: crate::operation::get_statement::GetStatementError) -> Self {
6033 match err {
6034 crate::operation::get_statement::GetStatementError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
6035 crate::operation::get_statement::GetStatementError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
6036 crate::operation::get_statement::GetStatementError::IllegalSessionStateException(inner) => Error::IllegalSessionStateException(inner),
6037 crate::operation::get_statement::GetStatementError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6038 crate::operation::get_statement::GetStatementError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6039 crate::operation::get_statement::GetStatementError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
6040 crate::operation::get_statement::GetStatementError::Unhandled(inner) => Error::Unhandled(inner),
6041 }
6042 }
6043}
6044impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_system_logs_for_job_run::GetSystemLogsForJobRunError, R>>
6045 for Error
6046where
6047 R: Send + Sync + std::fmt::Debug + 'static,
6048{
6049 fn from(
6050 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_system_logs_for_job_run::GetSystemLogsForJobRunError, R>,
6051 ) -> Self {
6052 match err {
6053 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6054 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6055 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6056 source: err.into(),
6057 }),
6058 }
6059 }
6060}
6061impl From<crate::operation::get_system_logs_for_job_run::GetSystemLogsForJobRunError> for Error {
6062 fn from(err: crate::operation::get_system_logs_for_job_run::GetSystemLogsForJobRunError) -> Self {
6063 match err {
6064 crate::operation::get_system_logs_for_job_run::GetSystemLogsForJobRunError::AccessDeniedException(inner) => {
6065 Error::AccessDeniedException(inner)
6066 }
6067 crate::operation::get_system_logs_for_job_run::GetSystemLogsForJobRunError::EntityNotFoundException(inner) => {
6068 Error::EntityNotFoundException(inner)
6069 }
6070 crate::operation::get_system_logs_for_job_run::GetSystemLogsForJobRunError::InternalServiceException(inner) => {
6071 Error::InternalServiceException(inner)
6072 }
6073 crate::operation::get_system_logs_for_job_run::GetSystemLogsForJobRunError::InvalidInputException(inner) => {
6074 Error::InvalidInputException(inner)
6075 }
6076 crate::operation::get_system_logs_for_job_run::GetSystemLogsForJobRunError::OperationTimeoutException(inner) => {
6077 Error::OperationTimeoutException(inner)
6078 }
6079 crate::operation::get_system_logs_for_job_run::GetSystemLogsForJobRunError::Unhandled(inner) => Error::Unhandled(inner),
6080 }
6081 }
6082}
6083impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_system_logs_for_session::GetSystemLogsForSessionError, R>>
6084 for Error
6085where
6086 R: Send + Sync + std::fmt::Debug + 'static,
6087{
6088 fn from(
6089 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_system_logs_for_session::GetSystemLogsForSessionError, R>,
6090 ) -> Self {
6091 match err {
6092 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6093 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6094 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6095 source: err.into(),
6096 }),
6097 }
6098 }
6099}
6100impl From<crate::operation::get_system_logs_for_session::GetSystemLogsForSessionError> for Error {
6101 fn from(err: crate::operation::get_system_logs_for_session::GetSystemLogsForSessionError) -> Self {
6102 match err {
6103 crate::operation::get_system_logs_for_session::GetSystemLogsForSessionError::AccessDeniedException(inner) => {
6104 Error::AccessDeniedException(inner)
6105 }
6106 crate::operation::get_system_logs_for_session::GetSystemLogsForSessionError::EntityNotFoundException(inner) => {
6107 Error::EntityNotFoundException(inner)
6108 }
6109 crate::operation::get_system_logs_for_session::GetSystemLogsForSessionError::InternalServiceException(inner) => {
6110 Error::InternalServiceException(inner)
6111 }
6112 crate::operation::get_system_logs_for_session::GetSystemLogsForSessionError::InvalidInputException(inner) => {
6113 Error::InvalidInputException(inner)
6114 }
6115 crate::operation::get_system_logs_for_session::GetSystemLogsForSessionError::Unhandled(inner) => Error::Unhandled(inner),
6116 }
6117 }
6118}
6119impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_table::GetTableError, R>> for Error
6120where
6121 R: Send + Sync + std::fmt::Debug + 'static,
6122{
6123 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_table::GetTableError, R>) -> Self {
6124 match err {
6125 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6126 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6127 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6128 source: err.into(),
6129 }),
6130 }
6131 }
6132}
6133impl From<crate::operation::get_table::GetTableError> for Error {
6134 fn from(err: crate::operation::get_table::GetTableError) -> Self {
6135 match err {
6136 crate::operation::get_table::GetTableError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
6137 crate::operation::get_table::GetTableError::FederationSourceException(inner) => Error::FederationSourceException(inner),
6138 crate::operation::get_table::GetTableError::FederationSourceRetryableException(inner) => Error::FederationSourceRetryableException(inner),
6139 crate::operation::get_table::GetTableError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
6140 crate::operation::get_table::GetTableError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6141 crate::operation::get_table::GetTableError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6142 crate::operation::get_table::GetTableError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
6143 crate::operation::get_table::GetTableError::ResourceNotReadyException(inner) => Error::ResourceNotReadyException(inner),
6144 crate::operation::get_table::GetTableError::Unhandled(inner) => Error::Unhandled(inner),
6145 }
6146 }
6147}
6148impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_table_optimizer::GetTableOptimizerError, R>> for Error
6149where
6150 R: Send + Sync + std::fmt::Debug + 'static,
6151{
6152 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_table_optimizer::GetTableOptimizerError, R>) -> Self {
6153 match err {
6154 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6155 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6156 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6157 source: err.into(),
6158 }),
6159 }
6160 }
6161}
6162impl From<crate::operation::get_table_optimizer::GetTableOptimizerError> for Error {
6163 fn from(err: crate::operation::get_table_optimizer::GetTableOptimizerError) -> Self {
6164 match err {
6165 crate::operation::get_table_optimizer::GetTableOptimizerError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
6166 crate::operation::get_table_optimizer::GetTableOptimizerError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
6167 crate::operation::get_table_optimizer::GetTableOptimizerError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6168 crate::operation::get_table_optimizer::GetTableOptimizerError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6169 crate::operation::get_table_optimizer::GetTableOptimizerError::ThrottlingException(inner) => Error::ThrottlingException(inner),
6170 crate::operation::get_table_optimizer::GetTableOptimizerError::Unhandled(inner) => Error::Unhandled(inner),
6171 }
6172 }
6173}
6174impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_tables::GetTablesError, R>> for Error
6175where
6176 R: Send + Sync + std::fmt::Debug + 'static,
6177{
6178 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_tables::GetTablesError, R>) -> Self {
6179 match err {
6180 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6181 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6182 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6183 source: err.into(),
6184 }),
6185 }
6186 }
6187}
6188impl From<crate::operation::get_tables::GetTablesError> for Error {
6189 fn from(err: crate::operation::get_tables::GetTablesError) -> Self {
6190 match err {
6191 crate::operation::get_tables::GetTablesError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
6192 crate::operation::get_tables::GetTablesError::FederationSourceException(inner) => Error::FederationSourceException(inner),
6193 crate::operation::get_tables::GetTablesError::FederationSourceRetryableException(inner) => {
6194 Error::FederationSourceRetryableException(inner)
6195 }
6196 crate::operation::get_tables::GetTablesError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
6197 crate::operation::get_tables::GetTablesError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6198 crate::operation::get_tables::GetTablesError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6199 crate::operation::get_tables::GetTablesError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
6200 crate::operation::get_tables::GetTablesError::Unhandled(inner) => Error::Unhandled(inner),
6201 }
6202 }
6203}
6204impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_table_version::GetTableVersionError, R>> for Error
6205where
6206 R: Send + Sync + std::fmt::Debug + 'static,
6207{
6208 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_table_version::GetTableVersionError, R>) -> Self {
6209 match err {
6210 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6211 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6212 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6213 source: err.into(),
6214 }),
6215 }
6216 }
6217}
6218impl From<crate::operation::get_table_version::GetTableVersionError> for Error {
6219 fn from(err: crate::operation::get_table_version::GetTableVersionError) -> Self {
6220 match err {
6221 crate::operation::get_table_version::GetTableVersionError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
6222 crate::operation::get_table_version::GetTableVersionError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
6223 crate::operation::get_table_version::GetTableVersionError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6224 crate::operation::get_table_version::GetTableVersionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6225 crate::operation::get_table_version::GetTableVersionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
6226 crate::operation::get_table_version::GetTableVersionError::Unhandled(inner) => Error::Unhandled(inner),
6227 }
6228 }
6229}
6230impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_table_versions::GetTableVersionsError, R>> for Error
6231where
6232 R: Send + Sync + std::fmt::Debug + 'static,
6233{
6234 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_table_versions::GetTableVersionsError, R>) -> Self {
6235 match err {
6236 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6237 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6238 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6239 source: err.into(),
6240 }),
6241 }
6242 }
6243}
6244impl From<crate::operation::get_table_versions::GetTableVersionsError> for Error {
6245 fn from(err: crate::operation::get_table_versions::GetTableVersionsError) -> Self {
6246 match err {
6247 crate::operation::get_table_versions::GetTableVersionsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
6248 crate::operation::get_table_versions::GetTableVersionsError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
6249 crate::operation::get_table_versions::GetTableVersionsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6250 crate::operation::get_table_versions::GetTableVersionsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6251 crate::operation::get_table_versions::GetTableVersionsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
6252 crate::operation::get_table_versions::GetTableVersionsError::Unhandled(inner) => Error::Unhandled(inner),
6253 }
6254 }
6255}
6256impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_tags::GetTagsError, R>> for Error
6257where
6258 R: Send + Sync + std::fmt::Debug + 'static,
6259{
6260 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_tags::GetTagsError, R>) -> Self {
6261 match err {
6262 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6263 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6264 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6265 source: err.into(),
6266 }),
6267 }
6268 }
6269}
6270impl From<crate::operation::get_tags::GetTagsError> for Error {
6271 fn from(err: crate::operation::get_tags::GetTagsError) -> Self {
6272 match err {
6273 crate::operation::get_tags::GetTagsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
6274 crate::operation::get_tags::GetTagsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6275 crate::operation::get_tags::GetTagsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6276 crate::operation::get_tags::GetTagsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
6277 crate::operation::get_tags::GetTagsError::Unhandled(inner) => Error::Unhandled(inner),
6278 }
6279 }
6280}
6281impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_trigger::GetTriggerError, R>> for Error
6282where
6283 R: Send + Sync + std::fmt::Debug + 'static,
6284{
6285 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_trigger::GetTriggerError, R>) -> Self {
6286 match err {
6287 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6288 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6289 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6290 source: err.into(),
6291 }),
6292 }
6293 }
6294}
6295impl From<crate::operation::get_trigger::GetTriggerError> for Error {
6296 fn from(err: crate::operation::get_trigger::GetTriggerError) -> Self {
6297 match err {
6298 crate::operation::get_trigger::GetTriggerError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
6299 crate::operation::get_trigger::GetTriggerError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6300 crate::operation::get_trigger::GetTriggerError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6301 crate::operation::get_trigger::GetTriggerError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
6302 crate::operation::get_trigger::GetTriggerError::Unhandled(inner) => Error::Unhandled(inner),
6303 }
6304 }
6305}
6306impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_triggers::GetTriggersError, R>> for Error
6307where
6308 R: Send + Sync + std::fmt::Debug + 'static,
6309{
6310 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_triggers::GetTriggersError, R>) -> Self {
6311 match err {
6312 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6313 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6314 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6315 source: err.into(),
6316 }),
6317 }
6318 }
6319}
6320impl From<crate::operation::get_triggers::GetTriggersError> for Error {
6321 fn from(err: crate::operation::get_triggers::GetTriggersError) -> Self {
6322 match err {
6323 crate::operation::get_triggers::GetTriggersError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
6324 crate::operation::get_triggers::GetTriggersError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6325 crate::operation::get_triggers::GetTriggersError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6326 crate::operation::get_triggers::GetTriggersError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
6327 crate::operation::get_triggers::GetTriggersError::Unhandled(inner) => Error::Unhandled(inner),
6328 }
6329 }
6330}
6331impl<R>
6332 From<
6333 ::aws_smithy_runtime_api::client::result::SdkError<
6334 crate::operation::get_unfiltered_partition_metadata::GetUnfilteredPartitionMetadataError,
6335 R,
6336 >,
6337 > for Error
6338where
6339 R: Send + Sync + std::fmt::Debug + 'static,
6340{
6341 fn from(
6342 err: ::aws_smithy_runtime_api::client::result::SdkError<
6343 crate::operation::get_unfiltered_partition_metadata::GetUnfilteredPartitionMetadataError,
6344 R,
6345 >,
6346 ) -> Self {
6347 match err {
6348 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6349 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6350 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6351 source: err.into(),
6352 }),
6353 }
6354 }
6355}
6356impl From<crate::operation::get_unfiltered_partition_metadata::GetUnfilteredPartitionMetadataError> for Error {
6357 fn from(err: crate::operation::get_unfiltered_partition_metadata::GetUnfilteredPartitionMetadataError) -> Self {
6358 match err {
6359 crate::operation::get_unfiltered_partition_metadata::GetUnfilteredPartitionMetadataError::EntityNotFoundException(inner) => {
6360 Error::EntityNotFoundException(inner)
6361 }
6362 crate::operation::get_unfiltered_partition_metadata::GetUnfilteredPartitionMetadataError::FederationSourceException(inner) => {
6363 Error::FederationSourceException(inner)
6364 }
6365 crate::operation::get_unfiltered_partition_metadata::GetUnfilteredPartitionMetadataError::FederationSourceRetryableException(inner) => {
6366 Error::FederationSourceRetryableException(inner)
6367 }
6368 crate::operation::get_unfiltered_partition_metadata::GetUnfilteredPartitionMetadataError::GlueEncryptionException(inner) => {
6369 Error::GlueEncryptionException(inner)
6370 }
6371 crate::operation::get_unfiltered_partition_metadata::GetUnfilteredPartitionMetadataError::InternalServiceException(inner) => {
6372 Error::InternalServiceException(inner)
6373 }
6374 crate::operation::get_unfiltered_partition_metadata::GetUnfilteredPartitionMetadataError::InvalidInputException(inner) => {
6375 Error::InvalidInputException(inner)
6376 }
6377 crate::operation::get_unfiltered_partition_metadata::GetUnfilteredPartitionMetadataError::OperationTimeoutException(inner) => {
6378 Error::OperationTimeoutException(inner)
6379 }
6380 crate::operation::get_unfiltered_partition_metadata::GetUnfilteredPartitionMetadataError::PermissionTypeMismatchException(inner) => {
6381 Error::PermissionTypeMismatchException(inner)
6382 }
6383 crate::operation::get_unfiltered_partition_metadata::GetUnfilteredPartitionMetadataError::Unhandled(inner) => Error::Unhandled(inner),
6384 }
6385 }
6386}
6387impl<R>
6388 From<
6389 ::aws_smithy_runtime_api::client::result::SdkError<
6390 crate::operation::get_unfiltered_partitions_metadata::GetUnfilteredPartitionsMetadataError,
6391 R,
6392 >,
6393 > for Error
6394where
6395 R: Send + Sync + std::fmt::Debug + 'static,
6396{
6397 fn from(
6398 err: ::aws_smithy_runtime_api::client::result::SdkError<
6399 crate::operation::get_unfiltered_partitions_metadata::GetUnfilteredPartitionsMetadataError,
6400 R,
6401 >,
6402 ) -> Self {
6403 match err {
6404 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6405 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6406 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6407 source: err.into(),
6408 }),
6409 }
6410 }
6411}
6412impl From<crate::operation::get_unfiltered_partitions_metadata::GetUnfilteredPartitionsMetadataError> for Error {
6413 fn from(err: crate::operation::get_unfiltered_partitions_metadata::GetUnfilteredPartitionsMetadataError) -> Self {
6414 match err {
6415 crate::operation::get_unfiltered_partitions_metadata::GetUnfilteredPartitionsMetadataError::EntityNotFoundException(inner) => {
6416 Error::EntityNotFoundException(inner)
6417 }
6418 crate::operation::get_unfiltered_partitions_metadata::GetUnfilteredPartitionsMetadataError::FederationSourceException(inner) => {
6419 Error::FederationSourceException(inner)
6420 }
6421 crate::operation::get_unfiltered_partitions_metadata::GetUnfilteredPartitionsMetadataError::FederationSourceRetryableException(inner) => {
6422 Error::FederationSourceRetryableException(inner)
6423 }
6424 crate::operation::get_unfiltered_partitions_metadata::GetUnfilteredPartitionsMetadataError::GlueEncryptionException(inner) => {
6425 Error::GlueEncryptionException(inner)
6426 }
6427 crate::operation::get_unfiltered_partitions_metadata::GetUnfilteredPartitionsMetadataError::InternalServiceException(inner) => {
6428 Error::InternalServiceException(inner)
6429 }
6430 crate::operation::get_unfiltered_partitions_metadata::GetUnfilteredPartitionsMetadataError::InvalidInputException(inner) => {
6431 Error::InvalidInputException(inner)
6432 }
6433 crate::operation::get_unfiltered_partitions_metadata::GetUnfilteredPartitionsMetadataError::OperationTimeoutException(inner) => {
6434 Error::OperationTimeoutException(inner)
6435 }
6436 crate::operation::get_unfiltered_partitions_metadata::GetUnfilteredPartitionsMetadataError::PermissionTypeMismatchException(inner) => {
6437 Error::PermissionTypeMismatchException(inner)
6438 }
6439 crate::operation::get_unfiltered_partitions_metadata::GetUnfilteredPartitionsMetadataError::Unhandled(inner) => Error::Unhandled(inner),
6440 }
6441 }
6442}
6443impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_unfiltered_table_metadata::GetUnfilteredTableMetadataError, R>>
6444 for Error
6445where
6446 R: Send + Sync + std::fmt::Debug + 'static,
6447{
6448 fn from(
6449 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_unfiltered_table_metadata::GetUnfilteredTableMetadataError, R>,
6450 ) -> Self {
6451 match err {
6452 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6453 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6454 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6455 source: err.into(),
6456 }),
6457 }
6458 }
6459}
6460impl From<crate::operation::get_unfiltered_table_metadata::GetUnfilteredTableMetadataError> for Error {
6461 fn from(err: crate::operation::get_unfiltered_table_metadata::GetUnfilteredTableMetadataError) -> Self {
6462 match err {
6463 crate::operation::get_unfiltered_table_metadata::GetUnfilteredTableMetadataError::EntityNotFoundException(inner) => {
6464 Error::EntityNotFoundException(inner)
6465 }
6466 crate::operation::get_unfiltered_table_metadata::GetUnfilteredTableMetadataError::FederationSourceException(inner) => {
6467 Error::FederationSourceException(inner)
6468 }
6469 crate::operation::get_unfiltered_table_metadata::GetUnfilteredTableMetadataError::FederationSourceRetryableException(inner) => {
6470 Error::FederationSourceRetryableException(inner)
6471 }
6472 crate::operation::get_unfiltered_table_metadata::GetUnfilteredTableMetadataError::GlueEncryptionException(inner) => {
6473 Error::GlueEncryptionException(inner)
6474 }
6475 crate::operation::get_unfiltered_table_metadata::GetUnfilteredTableMetadataError::InternalServiceException(inner) => {
6476 Error::InternalServiceException(inner)
6477 }
6478 crate::operation::get_unfiltered_table_metadata::GetUnfilteredTableMetadataError::InvalidInputException(inner) => {
6479 Error::InvalidInputException(inner)
6480 }
6481 crate::operation::get_unfiltered_table_metadata::GetUnfilteredTableMetadataError::OperationTimeoutException(inner) => {
6482 Error::OperationTimeoutException(inner)
6483 }
6484 crate::operation::get_unfiltered_table_metadata::GetUnfilteredTableMetadataError::PermissionTypeMismatchException(inner) => {
6485 Error::PermissionTypeMismatchException(inner)
6486 }
6487 crate::operation::get_unfiltered_table_metadata::GetUnfilteredTableMetadataError::Unhandled(inner) => Error::Unhandled(inner),
6488 }
6489 }
6490}
6491impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_usage_profile::GetUsageProfileError, R>> for Error
6492where
6493 R: Send + Sync + std::fmt::Debug + 'static,
6494{
6495 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_usage_profile::GetUsageProfileError, R>) -> Self {
6496 match err {
6497 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6498 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6499 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6500 source: err.into(),
6501 }),
6502 }
6503 }
6504}
6505impl From<crate::operation::get_usage_profile::GetUsageProfileError> for Error {
6506 fn from(err: crate::operation::get_usage_profile::GetUsageProfileError) -> Self {
6507 match err {
6508 crate::operation::get_usage_profile::GetUsageProfileError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
6509 crate::operation::get_usage_profile::GetUsageProfileError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6510 crate::operation::get_usage_profile::GetUsageProfileError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6511 crate::operation::get_usage_profile::GetUsageProfileError::OperationNotSupportedException(inner) => {
6512 Error::OperationNotSupportedException(inner)
6513 }
6514 crate::operation::get_usage_profile::GetUsageProfileError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
6515 crate::operation::get_usage_profile::GetUsageProfileError::Unhandled(inner) => Error::Unhandled(inner),
6516 }
6517 }
6518}
6519impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_user_defined_function::GetUserDefinedFunctionError, R>>
6520 for Error
6521where
6522 R: Send + Sync + std::fmt::Debug + 'static,
6523{
6524 fn from(
6525 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_user_defined_function::GetUserDefinedFunctionError, R>,
6526 ) -> Self {
6527 match err {
6528 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6529 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6530 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6531 source: err.into(),
6532 }),
6533 }
6534 }
6535}
6536impl From<crate::operation::get_user_defined_function::GetUserDefinedFunctionError> for Error {
6537 fn from(err: crate::operation::get_user_defined_function::GetUserDefinedFunctionError) -> Self {
6538 match err {
6539 crate::operation::get_user_defined_function::GetUserDefinedFunctionError::EntityNotFoundException(inner) => {
6540 Error::EntityNotFoundException(inner)
6541 }
6542 crate::operation::get_user_defined_function::GetUserDefinedFunctionError::GlueEncryptionException(inner) => {
6543 Error::GlueEncryptionException(inner)
6544 }
6545 crate::operation::get_user_defined_function::GetUserDefinedFunctionError::InternalServiceException(inner) => {
6546 Error::InternalServiceException(inner)
6547 }
6548 crate::operation::get_user_defined_function::GetUserDefinedFunctionError::InvalidInputException(inner) => {
6549 Error::InvalidInputException(inner)
6550 }
6551 crate::operation::get_user_defined_function::GetUserDefinedFunctionError::OperationTimeoutException(inner) => {
6552 Error::OperationTimeoutException(inner)
6553 }
6554 crate::operation::get_user_defined_function::GetUserDefinedFunctionError::Unhandled(inner) => Error::Unhandled(inner),
6555 }
6556 }
6557}
6558impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_user_defined_functions::GetUserDefinedFunctionsError, R>>
6559 for Error
6560where
6561 R: Send + Sync + std::fmt::Debug + 'static,
6562{
6563 fn from(
6564 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_user_defined_functions::GetUserDefinedFunctionsError, R>,
6565 ) -> Self {
6566 match err {
6567 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6568 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6569 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6570 source: err.into(),
6571 }),
6572 }
6573 }
6574}
6575impl From<crate::operation::get_user_defined_functions::GetUserDefinedFunctionsError> for Error {
6576 fn from(err: crate::operation::get_user_defined_functions::GetUserDefinedFunctionsError) -> Self {
6577 match err {
6578 crate::operation::get_user_defined_functions::GetUserDefinedFunctionsError::EntityNotFoundException(inner) => {
6579 Error::EntityNotFoundException(inner)
6580 }
6581 crate::operation::get_user_defined_functions::GetUserDefinedFunctionsError::GlueEncryptionException(inner) => {
6582 Error::GlueEncryptionException(inner)
6583 }
6584 crate::operation::get_user_defined_functions::GetUserDefinedFunctionsError::InternalServiceException(inner) => {
6585 Error::InternalServiceException(inner)
6586 }
6587 crate::operation::get_user_defined_functions::GetUserDefinedFunctionsError::InvalidInputException(inner) => {
6588 Error::InvalidInputException(inner)
6589 }
6590 crate::operation::get_user_defined_functions::GetUserDefinedFunctionsError::OperationTimeoutException(inner) => {
6591 Error::OperationTimeoutException(inner)
6592 }
6593 crate::operation::get_user_defined_functions::GetUserDefinedFunctionsError::Unhandled(inner) => Error::Unhandled(inner),
6594 }
6595 }
6596}
6597impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_workflow::GetWorkflowError, R>> for Error
6598where
6599 R: Send + Sync + std::fmt::Debug + 'static,
6600{
6601 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_workflow::GetWorkflowError, R>) -> Self {
6602 match err {
6603 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6604 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6605 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6606 source: err.into(),
6607 }),
6608 }
6609 }
6610}
6611impl From<crate::operation::get_workflow::GetWorkflowError> for Error {
6612 fn from(err: crate::operation::get_workflow::GetWorkflowError) -> Self {
6613 match err {
6614 crate::operation::get_workflow::GetWorkflowError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
6615 crate::operation::get_workflow::GetWorkflowError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6616 crate::operation::get_workflow::GetWorkflowError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6617 crate::operation::get_workflow::GetWorkflowError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
6618 crate::operation::get_workflow::GetWorkflowError::Unhandled(inner) => Error::Unhandled(inner),
6619 }
6620 }
6621}
6622impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_workflow_run::GetWorkflowRunError, R>> for Error
6623where
6624 R: Send + Sync + std::fmt::Debug + 'static,
6625{
6626 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_workflow_run::GetWorkflowRunError, R>) -> Self {
6627 match err {
6628 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6629 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6630 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6631 source: err.into(),
6632 }),
6633 }
6634 }
6635}
6636impl From<crate::operation::get_workflow_run::GetWorkflowRunError> for Error {
6637 fn from(err: crate::operation::get_workflow_run::GetWorkflowRunError) -> Self {
6638 match err {
6639 crate::operation::get_workflow_run::GetWorkflowRunError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
6640 crate::operation::get_workflow_run::GetWorkflowRunError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6641 crate::operation::get_workflow_run::GetWorkflowRunError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6642 crate::operation::get_workflow_run::GetWorkflowRunError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
6643 crate::operation::get_workflow_run::GetWorkflowRunError::Unhandled(inner) => Error::Unhandled(inner),
6644 }
6645 }
6646}
6647impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_workflow_run_properties::GetWorkflowRunPropertiesError, R>>
6648 for Error
6649where
6650 R: Send + Sync + std::fmt::Debug + 'static,
6651{
6652 fn from(
6653 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_workflow_run_properties::GetWorkflowRunPropertiesError, R>,
6654 ) -> Self {
6655 match err {
6656 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6657 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6658 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6659 source: err.into(),
6660 }),
6661 }
6662 }
6663}
6664impl From<crate::operation::get_workflow_run_properties::GetWorkflowRunPropertiesError> for Error {
6665 fn from(err: crate::operation::get_workflow_run_properties::GetWorkflowRunPropertiesError) -> Self {
6666 match err {
6667 crate::operation::get_workflow_run_properties::GetWorkflowRunPropertiesError::EntityNotFoundException(inner) => {
6668 Error::EntityNotFoundException(inner)
6669 }
6670 crate::operation::get_workflow_run_properties::GetWorkflowRunPropertiesError::InternalServiceException(inner) => {
6671 Error::InternalServiceException(inner)
6672 }
6673 crate::operation::get_workflow_run_properties::GetWorkflowRunPropertiesError::InvalidInputException(inner) => {
6674 Error::InvalidInputException(inner)
6675 }
6676 crate::operation::get_workflow_run_properties::GetWorkflowRunPropertiesError::OperationTimeoutException(inner) => {
6677 Error::OperationTimeoutException(inner)
6678 }
6679 crate::operation::get_workflow_run_properties::GetWorkflowRunPropertiesError::Unhandled(inner) => Error::Unhandled(inner),
6680 }
6681 }
6682}
6683impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_workflow_runs::GetWorkflowRunsError, R>> for Error
6684where
6685 R: Send + Sync + std::fmt::Debug + 'static,
6686{
6687 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_workflow_runs::GetWorkflowRunsError, R>) -> Self {
6688 match err {
6689 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6690 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6691 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6692 source: err.into(),
6693 }),
6694 }
6695 }
6696}
6697impl From<crate::operation::get_workflow_runs::GetWorkflowRunsError> for Error {
6698 fn from(err: crate::operation::get_workflow_runs::GetWorkflowRunsError) -> Self {
6699 match err {
6700 crate::operation::get_workflow_runs::GetWorkflowRunsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
6701 crate::operation::get_workflow_runs::GetWorkflowRunsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6702 crate::operation::get_workflow_runs::GetWorkflowRunsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6703 crate::operation::get_workflow_runs::GetWorkflowRunsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
6704 crate::operation::get_workflow_runs::GetWorkflowRunsError::Unhandled(inner) => Error::Unhandled(inner),
6705 }
6706 }
6707}
6708impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_catalog_to_glue::ImportCatalogToGlueError, R>> for Error
6709where
6710 R: Send + Sync + std::fmt::Debug + 'static,
6711{
6712 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_catalog_to_glue::ImportCatalogToGlueError, R>) -> Self {
6713 match err {
6714 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6715 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6716 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6717 source: err.into(),
6718 }),
6719 }
6720 }
6721}
6722impl From<crate::operation::import_catalog_to_glue::ImportCatalogToGlueError> for Error {
6723 fn from(err: crate::operation::import_catalog_to_glue::ImportCatalogToGlueError) -> Self {
6724 match err {
6725 crate::operation::import_catalog_to_glue::ImportCatalogToGlueError::InternalServiceException(inner) => {
6726 Error::InternalServiceException(inner)
6727 }
6728 crate::operation::import_catalog_to_glue::ImportCatalogToGlueError::OperationTimeoutException(inner) => {
6729 Error::OperationTimeoutException(inner)
6730 }
6731 crate::operation::import_catalog_to_glue::ImportCatalogToGlueError::Unhandled(inner) => Error::Unhandled(inner),
6732 }
6733 }
6734}
6735impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_asset_types::ListAssetTypesError, R>> for Error
6736where
6737 R: Send + Sync + std::fmt::Debug + 'static,
6738{
6739 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_asset_types::ListAssetTypesError, R>) -> Self {
6740 match err {
6741 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6742 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6743 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6744 source: err.into(),
6745 }),
6746 }
6747 }
6748}
6749impl From<crate::operation::list_asset_types::ListAssetTypesError> for Error {
6750 fn from(err: crate::operation::list_asset_types::ListAssetTypesError) -> Self {
6751 match err {
6752 crate::operation::list_asset_types::ListAssetTypesError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
6753 crate::operation::list_asset_types::ListAssetTypesError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6754 crate::operation::list_asset_types::ListAssetTypesError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6755 crate::operation::list_asset_types::ListAssetTypesError::ThrottlingException(inner) => Error::ThrottlingException(inner),
6756 crate::operation::list_asset_types::ListAssetTypesError::Unhandled(inner) => Error::Unhandled(inner),
6757 }
6758 }
6759}
6760impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_blueprints::ListBlueprintsError, R>> for Error
6761where
6762 R: Send + Sync + std::fmt::Debug + 'static,
6763{
6764 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_blueprints::ListBlueprintsError, R>) -> Self {
6765 match err {
6766 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6767 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6768 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6769 source: err.into(),
6770 }),
6771 }
6772 }
6773}
6774impl From<crate::operation::list_blueprints::ListBlueprintsError> for Error {
6775 fn from(err: crate::operation::list_blueprints::ListBlueprintsError) -> Self {
6776 match err {
6777 crate::operation::list_blueprints::ListBlueprintsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6778 crate::operation::list_blueprints::ListBlueprintsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6779 crate::operation::list_blueprints::ListBlueprintsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
6780 crate::operation::list_blueprints::ListBlueprintsError::Unhandled(inner) => Error::Unhandled(inner),
6781 }
6782 }
6783}
6784impl<R>
6785 From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_column_statistics_task_runs::ListColumnStatisticsTaskRunsError, R>>
6786 for Error
6787where
6788 R: Send + Sync + std::fmt::Debug + 'static,
6789{
6790 fn from(
6791 err: ::aws_smithy_runtime_api::client::result::SdkError<
6792 crate::operation::list_column_statistics_task_runs::ListColumnStatisticsTaskRunsError,
6793 R,
6794 >,
6795 ) -> Self {
6796 match err {
6797 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6798 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6799 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6800 source: err.into(),
6801 }),
6802 }
6803 }
6804}
6805impl From<crate::operation::list_column_statistics_task_runs::ListColumnStatisticsTaskRunsError> for Error {
6806 fn from(err: crate::operation::list_column_statistics_task_runs::ListColumnStatisticsTaskRunsError) -> Self {
6807 match err {
6808 crate::operation::list_column_statistics_task_runs::ListColumnStatisticsTaskRunsError::OperationTimeoutException(inner) => {
6809 Error::OperationTimeoutException(inner)
6810 }
6811 crate::operation::list_column_statistics_task_runs::ListColumnStatisticsTaskRunsError::Unhandled(inner) => Error::Unhandled(inner),
6812 }
6813 }
6814}
6815impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_connection_types::ListConnectionTypesError, R>> for Error
6816where
6817 R: Send + Sync + std::fmt::Debug + 'static,
6818{
6819 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_connection_types::ListConnectionTypesError, R>) -> Self {
6820 match err {
6821 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6822 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6823 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6824 source: err.into(),
6825 }),
6826 }
6827 }
6828}
6829impl From<crate::operation::list_connection_types::ListConnectionTypesError> for Error {
6830 fn from(err: crate::operation::list_connection_types::ListConnectionTypesError) -> Self {
6831 match err {
6832 crate::operation::list_connection_types::ListConnectionTypesError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
6833 crate::operation::list_connection_types::ListConnectionTypesError::InternalServiceException(inner) => {
6834 Error::InternalServiceException(inner)
6835 }
6836 crate::operation::list_connection_types::ListConnectionTypesError::Unhandled(inner) => Error::Unhandled(inner),
6837 }
6838 }
6839}
6840impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_crawlers::ListCrawlersError, R>> for Error
6841where
6842 R: Send + Sync + std::fmt::Debug + 'static,
6843{
6844 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_crawlers::ListCrawlersError, R>) -> Self {
6845 match err {
6846 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6847 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6848 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6849 source: err.into(),
6850 }),
6851 }
6852 }
6853}
6854impl From<crate::operation::list_crawlers::ListCrawlersError> for Error {
6855 fn from(err: crate::operation::list_crawlers::ListCrawlersError) -> Self {
6856 match err {
6857 crate::operation::list_crawlers::ListCrawlersError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
6858 crate::operation::list_crawlers::ListCrawlersError::Unhandled(inner) => Error::Unhandled(inner),
6859 }
6860 }
6861}
6862impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_crawls::ListCrawlsError, R>> for Error
6863where
6864 R: Send + Sync + std::fmt::Debug + 'static,
6865{
6866 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_crawls::ListCrawlsError, R>) -> Self {
6867 match err {
6868 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6869 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6870 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6871 source: err.into(),
6872 }),
6873 }
6874 }
6875}
6876impl From<crate::operation::list_crawls::ListCrawlsError> for Error {
6877 fn from(err: crate::operation::list_crawls::ListCrawlsError) -> Self {
6878 match err {
6879 crate::operation::list_crawls::ListCrawlsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
6880 crate::operation::list_crawls::ListCrawlsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6881 crate::operation::list_crawls::ListCrawlsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
6882 crate::operation::list_crawls::ListCrawlsError::Unhandled(inner) => Error::Unhandled(inner),
6883 }
6884 }
6885}
6886impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_custom_entity_types::ListCustomEntityTypesError, R>> for Error
6887where
6888 R: Send + Sync + std::fmt::Debug + 'static,
6889{
6890 fn from(
6891 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_custom_entity_types::ListCustomEntityTypesError, R>,
6892 ) -> Self {
6893 match err {
6894 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6895 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6896 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6897 source: err.into(),
6898 }),
6899 }
6900 }
6901}
6902impl From<crate::operation::list_custom_entity_types::ListCustomEntityTypesError> for Error {
6903 fn from(err: crate::operation::list_custom_entity_types::ListCustomEntityTypesError) -> Self {
6904 match err {
6905 crate::operation::list_custom_entity_types::ListCustomEntityTypesError::InternalServiceException(inner) => {
6906 Error::InternalServiceException(inner)
6907 }
6908 crate::operation::list_custom_entity_types::ListCustomEntityTypesError::InvalidInputException(inner) => {
6909 Error::InvalidInputException(inner)
6910 }
6911 crate::operation::list_custom_entity_types::ListCustomEntityTypesError::OperationTimeoutException(inner) => {
6912 Error::OperationTimeoutException(inner)
6913 }
6914 crate::operation::list_custom_entity_types::ListCustomEntityTypesError::Unhandled(inner) => Error::Unhandled(inner),
6915 }
6916 }
6917}
6918impl<R>
6919 From<
6920 ::aws_smithy_runtime_api::client::result::SdkError<
6921 crate::operation::list_data_quality_evaluation_configs::ListDataQualityEvaluationConfigsError,
6922 R,
6923 >,
6924 > for Error
6925where
6926 R: Send + Sync + std::fmt::Debug + 'static,
6927{
6928 fn from(
6929 err: ::aws_smithy_runtime_api::client::result::SdkError<
6930 crate::operation::list_data_quality_evaluation_configs::ListDataQualityEvaluationConfigsError,
6931 R,
6932 >,
6933 ) -> Self {
6934 match err {
6935 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6936 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6937 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6938 source: err.into(),
6939 }),
6940 }
6941 }
6942}
6943impl From<crate::operation::list_data_quality_evaluation_configs::ListDataQualityEvaluationConfigsError> for Error {
6944 fn from(err: crate::operation::list_data_quality_evaluation_configs::ListDataQualityEvaluationConfigsError) -> Self {
6945 match err {
6946 crate::operation::list_data_quality_evaluation_configs::ListDataQualityEvaluationConfigsError::AccessDeniedException(inner) => {
6947 Error::AccessDeniedException(inner)
6948 }
6949 crate::operation::list_data_quality_evaluation_configs::ListDataQualityEvaluationConfigsError::InternalServiceException(inner) => {
6950 Error::InternalServiceException(inner)
6951 }
6952 crate::operation::list_data_quality_evaluation_configs::ListDataQualityEvaluationConfigsError::InvalidInputException(inner) => {
6953 Error::InvalidInputException(inner)
6954 }
6955 crate::operation::list_data_quality_evaluation_configs::ListDataQualityEvaluationConfigsError::OperationTimeoutException(inner) => {
6956 Error::OperationTimeoutException(inner)
6957 }
6958 crate::operation::list_data_quality_evaluation_configs::ListDataQualityEvaluationConfigsError::Unhandled(inner) => {
6959 Error::Unhandled(inner)
6960 }
6961 }
6962 }
6963}
6964impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_data_quality_results::ListDataQualityResultsError, R>>
6965 for Error
6966where
6967 R: Send + Sync + std::fmt::Debug + 'static,
6968{
6969 fn from(
6970 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_data_quality_results::ListDataQualityResultsError, R>,
6971 ) -> Self {
6972 match err {
6973 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6974 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6975 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6976 source: err.into(),
6977 }),
6978 }
6979 }
6980}
6981impl From<crate::operation::list_data_quality_results::ListDataQualityResultsError> for Error {
6982 fn from(err: crate::operation::list_data_quality_results::ListDataQualityResultsError) -> Self {
6983 match err {
6984 crate::operation::list_data_quality_results::ListDataQualityResultsError::InternalServiceException(inner) => {
6985 Error::InternalServiceException(inner)
6986 }
6987 crate::operation::list_data_quality_results::ListDataQualityResultsError::InvalidInputException(inner) => {
6988 Error::InvalidInputException(inner)
6989 }
6990 crate::operation::list_data_quality_results::ListDataQualityResultsError::OperationTimeoutException(inner) => {
6991 Error::OperationTimeoutException(inner)
6992 }
6993 crate::operation::list_data_quality_results::ListDataQualityResultsError::Unhandled(inner) => Error::Unhandled(inner),
6994 }
6995 }
6996}
6997impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_data_quality_results_v2::ListDataQualityResultsV2Error, R>>
6998 for Error
6999where
7000 R: Send + Sync + std::fmt::Debug + 'static,
7001{
7002 fn from(
7003 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_data_quality_results_v2::ListDataQualityResultsV2Error, R>,
7004 ) -> Self {
7005 match err {
7006 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7007 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7008 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7009 source: err.into(),
7010 }),
7011 }
7012 }
7013}
7014impl From<crate::operation::list_data_quality_results_v2::ListDataQualityResultsV2Error> for Error {
7015 fn from(err: crate::operation::list_data_quality_results_v2::ListDataQualityResultsV2Error) -> Self {
7016 match err {
7017 crate::operation::list_data_quality_results_v2::ListDataQualityResultsV2Error::InternalServiceException(inner) => {
7018 Error::InternalServiceException(inner)
7019 }
7020 crate::operation::list_data_quality_results_v2::ListDataQualityResultsV2Error::InvalidInputException(inner) => {
7021 Error::InvalidInputException(inner)
7022 }
7023 crate::operation::list_data_quality_results_v2::ListDataQualityResultsV2Error::OperationTimeoutException(inner) => {
7024 Error::OperationTimeoutException(inner)
7025 }
7026 crate::operation::list_data_quality_results_v2::ListDataQualityResultsV2Error::Unhandled(inner) => Error::Unhandled(inner),
7027 }
7028 }
7029}
7030impl<R>
7031 From<
7032 ::aws_smithy_runtime_api::client::result::SdkError<
7033 crate::operation::list_data_quality_rule_recommendation_runs::ListDataQualityRuleRecommendationRunsError,
7034 R,
7035 >,
7036 > for Error
7037where
7038 R: Send + Sync + std::fmt::Debug + 'static,
7039{
7040 fn from(
7041 err: ::aws_smithy_runtime_api::client::result::SdkError<
7042 crate::operation::list_data_quality_rule_recommendation_runs::ListDataQualityRuleRecommendationRunsError,
7043 R,
7044 >,
7045 ) -> Self {
7046 match err {
7047 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7048 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7049 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7050 source: err.into(),
7051 }),
7052 }
7053 }
7054}
7055impl From<crate::operation::list_data_quality_rule_recommendation_runs::ListDataQualityRuleRecommendationRunsError> for Error {
7056 fn from(err: crate::operation::list_data_quality_rule_recommendation_runs::ListDataQualityRuleRecommendationRunsError) -> Self {
7057 match err {
7058 crate::operation::list_data_quality_rule_recommendation_runs::ListDataQualityRuleRecommendationRunsError::InternalServiceException(
7059 inner,
7060 ) => Error::InternalServiceException(inner),
7061 crate::operation::list_data_quality_rule_recommendation_runs::ListDataQualityRuleRecommendationRunsError::InvalidInputException(
7062 inner,
7063 ) => Error::InvalidInputException(inner),
7064 crate::operation::list_data_quality_rule_recommendation_runs::ListDataQualityRuleRecommendationRunsError::OperationTimeoutException(
7065 inner,
7066 ) => Error::OperationTimeoutException(inner),
7067 crate::operation::list_data_quality_rule_recommendation_runs::ListDataQualityRuleRecommendationRunsError::Unhandled(inner) => {
7068 Error::Unhandled(inner)
7069 }
7070 }
7071 }
7072}
7073impl<R>
7074 From<
7075 ::aws_smithy_runtime_api::client::result::SdkError<
7076 crate::operation::list_data_quality_ruleset_evaluation_runs::ListDataQualityRulesetEvaluationRunsError,
7077 R,
7078 >,
7079 > for Error
7080where
7081 R: Send + Sync + std::fmt::Debug + 'static,
7082{
7083 fn from(
7084 err: ::aws_smithy_runtime_api::client::result::SdkError<
7085 crate::operation::list_data_quality_ruleset_evaluation_runs::ListDataQualityRulesetEvaluationRunsError,
7086 R,
7087 >,
7088 ) -> Self {
7089 match err {
7090 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7091 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7092 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7093 source: err.into(),
7094 }),
7095 }
7096 }
7097}
7098impl From<crate::operation::list_data_quality_ruleset_evaluation_runs::ListDataQualityRulesetEvaluationRunsError> for Error {
7099 fn from(err: crate::operation::list_data_quality_ruleset_evaluation_runs::ListDataQualityRulesetEvaluationRunsError) -> Self {
7100 match err {
7101 crate::operation::list_data_quality_ruleset_evaluation_runs::ListDataQualityRulesetEvaluationRunsError::InternalServiceException(
7102 inner,
7103 ) => Error::InternalServiceException(inner),
7104 crate::operation::list_data_quality_ruleset_evaluation_runs::ListDataQualityRulesetEvaluationRunsError::InvalidInputException(inner) => {
7105 Error::InvalidInputException(inner)
7106 }
7107 crate::operation::list_data_quality_ruleset_evaluation_runs::ListDataQualityRulesetEvaluationRunsError::OperationTimeoutException(
7108 inner,
7109 ) => Error::OperationTimeoutException(inner),
7110 crate::operation::list_data_quality_ruleset_evaluation_runs::ListDataQualityRulesetEvaluationRunsError::Unhandled(inner) => {
7111 Error::Unhandled(inner)
7112 }
7113 }
7114 }
7115}
7116impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_data_quality_rulesets::ListDataQualityRulesetsError, R>>
7117 for Error
7118where
7119 R: Send + Sync + std::fmt::Debug + 'static,
7120{
7121 fn from(
7122 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_data_quality_rulesets::ListDataQualityRulesetsError, R>,
7123 ) -> Self {
7124 match err {
7125 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7126 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7127 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7128 source: err.into(),
7129 }),
7130 }
7131 }
7132}
7133impl From<crate::operation::list_data_quality_rulesets::ListDataQualityRulesetsError> for Error {
7134 fn from(err: crate::operation::list_data_quality_rulesets::ListDataQualityRulesetsError) -> Self {
7135 match err {
7136 crate::operation::list_data_quality_rulesets::ListDataQualityRulesetsError::EntityNotFoundException(inner) => {
7137 Error::EntityNotFoundException(inner)
7138 }
7139 crate::operation::list_data_quality_rulesets::ListDataQualityRulesetsError::InternalServiceException(inner) => {
7140 Error::InternalServiceException(inner)
7141 }
7142 crate::operation::list_data_quality_rulesets::ListDataQualityRulesetsError::InvalidInputException(inner) => {
7143 Error::InvalidInputException(inner)
7144 }
7145 crate::operation::list_data_quality_rulesets::ListDataQualityRulesetsError::OperationTimeoutException(inner) => {
7146 Error::OperationTimeoutException(inner)
7147 }
7148 crate::operation::list_data_quality_rulesets::ListDataQualityRulesetsError::Unhandled(inner) => Error::Unhandled(inner),
7149 }
7150 }
7151}
7152impl<R>
7153 From<
7154 ::aws_smithy_runtime_api::client::result::SdkError<
7155 crate::operation::list_data_quality_statistic_annotations::ListDataQualityStatisticAnnotationsError,
7156 R,
7157 >,
7158 > for Error
7159where
7160 R: Send + Sync + std::fmt::Debug + 'static,
7161{
7162 fn from(
7163 err: ::aws_smithy_runtime_api::client::result::SdkError<
7164 crate::operation::list_data_quality_statistic_annotations::ListDataQualityStatisticAnnotationsError,
7165 R,
7166 >,
7167 ) -> Self {
7168 match err {
7169 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7170 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7171 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7172 source: err.into(),
7173 }),
7174 }
7175 }
7176}
7177impl From<crate::operation::list_data_quality_statistic_annotations::ListDataQualityStatisticAnnotationsError> for Error {
7178 fn from(err: crate::operation::list_data_quality_statistic_annotations::ListDataQualityStatisticAnnotationsError) -> Self {
7179 match err {
7180 crate::operation::list_data_quality_statistic_annotations::ListDataQualityStatisticAnnotationsError::InternalServiceException(inner) => {
7181 Error::InternalServiceException(inner)
7182 }
7183 crate::operation::list_data_quality_statistic_annotations::ListDataQualityStatisticAnnotationsError::InvalidInputException(inner) => {
7184 Error::InvalidInputException(inner)
7185 }
7186 crate::operation::list_data_quality_statistic_annotations::ListDataQualityStatisticAnnotationsError::Unhandled(inner) => {
7187 Error::Unhandled(inner)
7188 }
7189 }
7190 }
7191}
7192impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_data_quality_statistics::ListDataQualityStatisticsError, R>>
7193 for Error
7194where
7195 R: Send + Sync + std::fmt::Debug + 'static,
7196{
7197 fn from(
7198 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_data_quality_statistics::ListDataQualityStatisticsError, R>,
7199 ) -> Self {
7200 match err {
7201 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7202 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7203 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7204 source: err.into(),
7205 }),
7206 }
7207 }
7208}
7209impl From<crate::operation::list_data_quality_statistics::ListDataQualityStatisticsError> for Error {
7210 fn from(err: crate::operation::list_data_quality_statistics::ListDataQualityStatisticsError) -> Self {
7211 match err {
7212 crate::operation::list_data_quality_statistics::ListDataQualityStatisticsError::EntityNotFoundException(inner) => {
7213 Error::EntityNotFoundException(inner)
7214 }
7215 crate::operation::list_data_quality_statistics::ListDataQualityStatisticsError::InternalServiceException(inner) => {
7216 Error::InternalServiceException(inner)
7217 }
7218 crate::operation::list_data_quality_statistics::ListDataQualityStatisticsError::InvalidInputException(inner) => {
7219 Error::InvalidInputException(inner)
7220 }
7221 crate::operation::list_data_quality_statistics::ListDataQualityStatisticsError::Unhandled(inner) => Error::Unhandled(inner),
7222 }
7223 }
7224}
7225impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_dev_endpoints::ListDevEndpointsError, R>> for Error
7226where
7227 R: Send + Sync + std::fmt::Debug + 'static,
7228{
7229 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_dev_endpoints::ListDevEndpointsError, R>) -> Self {
7230 match err {
7231 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7232 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7233 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7234 source: err.into(),
7235 }),
7236 }
7237 }
7238}
7239impl From<crate::operation::list_dev_endpoints::ListDevEndpointsError> for Error {
7240 fn from(err: crate::operation::list_dev_endpoints::ListDevEndpointsError) -> Self {
7241 match err {
7242 crate::operation::list_dev_endpoints::ListDevEndpointsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7243 crate::operation::list_dev_endpoints::ListDevEndpointsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7244 crate::operation::list_dev_endpoints::ListDevEndpointsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7245 crate::operation::list_dev_endpoints::ListDevEndpointsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
7246 crate::operation::list_dev_endpoints::ListDevEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
7247 }
7248 }
7249}
7250impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_entities::ListEntitiesError, R>> for Error
7251where
7252 R: Send + Sync + std::fmt::Debug + 'static,
7253{
7254 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_entities::ListEntitiesError, R>) -> Self {
7255 match err {
7256 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7257 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7258 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7259 source: err.into(),
7260 }),
7261 }
7262 }
7263}
7264impl From<crate::operation::list_entities::ListEntitiesError> for Error {
7265 fn from(err: crate::operation::list_entities::ListEntitiesError) -> Self {
7266 match err {
7267 crate::operation::list_entities::ListEntitiesError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
7268 crate::operation::list_entities::ListEntitiesError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7269 crate::operation::list_entities::ListEntitiesError::FederationSourceException(inner) => Error::FederationSourceException(inner),
7270 crate::operation::list_entities::ListEntitiesError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
7271 crate::operation::list_entities::ListEntitiesError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7272 crate::operation::list_entities::ListEntitiesError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
7273 crate::operation::list_entities::ListEntitiesError::ValidationException(inner) => Error::ValidationException(inner),
7274 crate::operation::list_entities::ListEntitiesError::Unhandled(inner) => Error::Unhandled(inner),
7275 }
7276 }
7277}
7278impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_form_types::ListFormTypesError, R>> for Error
7279where
7280 R: Send + Sync + std::fmt::Debug + 'static,
7281{
7282 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_form_types::ListFormTypesError, R>) -> Self {
7283 match err {
7284 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7285 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7286 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7287 source: err.into(),
7288 }),
7289 }
7290 }
7291}
7292impl From<crate::operation::list_form_types::ListFormTypesError> for Error {
7293 fn from(err: crate::operation::list_form_types::ListFormTypesError) -> Self {
7294 match err {
7295 crate::operation::list_form_types::ListFormTypesError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
7296 crate::operation::list_form_types::ListFormTypesError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7297 crate::operation::list_form_types::ListFormTypesError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7298 crate::operation::list_form_types::ListFormTypesError::ThrottlingException(inner) => Error::ThrottlingException(inner),
7299 crate::operation::list_form_types::ListFormTypesError::Unhandled(inner) => Error::Unhandled(inner),
7300 }
7301 }
7302}
7303impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_glossaries::ListGlossariesError, R>> for Error
7304where
7305 R: Send + Sync + std::fmt::Debug + 'static,
7306{
7307 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_glossaries::ListGlossariesError, R>) -> Self {
7308 match err {
7309 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7310 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7311 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7312 source: err.into(),
7313 }),
7314 }
7315 }
7316}
7317impl From<crate::operation::list_glossaries::ListGlossariesError> for Error {
7318 fn from(err: crate::operation::list_glossaries::ListGlossariesError) -> Self {
7319 match err {
7320 crate::operation::list_glossaries::ListGlossariesError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
7321 crate::operation::list_glossaries::ListGlossariesError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7322 crate::operation::list_glossaries::ListGlossariesError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7323 crate::operation::list_glossaries::ListGlossariesError::ThrottlingException(inner) => Error::ThrottlingException(inner),
7324 crate::operation::list_glossaries::ListGlossariesError::Unhandled(inner) => Error::Unhandled(inner),
7325 }
7326 }
7327}
7328impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_glossary_terms::ListGlossaryTermsError, R>> for Error
7329where
7330 R: Send + Sync + std::fmt::Debug + 'static,
7331{
7332 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_glossary_terms::ListGlossaryTermsError, R>) -> Self {
7333 match err {
7334 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7335 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7336 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7337 source: err.into(),
7338 }),
7339 }
7340 }
7341}
7342impl From<crate::operation::list_glossary_terms::ListGlossaryTermsError> for Error {
7343 fn from(err: crate::operation::list_glossary_terms::ListGlossaryTermsError) -> Self {
7344 match err {
7345 crate::operation::list_glossary_terms::ListGlossaryTermsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
7346 crate::operation::list_glossary_terms::ListGlossaryTermsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7347 crate::operation::list_glossary_terms::ListGlossaryTermsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7348 crate::operation::list_glossary_terms::ListGlossaryTermsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
7349 crate::operation::list_glossary_terms::ListGlossaryTermsError::Unhandled(inner) => Error::Unhandled(inner),
7350 }
7351 }
7352}
7353impl<R>
7354 From<
7355 ::aws_smithy_runtime_api::client::result::SdkError<
7356 crate::operation::list_integration_resource_properties::ListIntegrationResourcePropertiesError,
7357 R,
7358 >,
7359 > for Error
7360where
7361 R: Send + Sync + std::fmt::Debug + 'static,
7362{
7363 fn from(
7364 err: ::aws_smithy_runtime_api::client::result::SdkError<
7365 crate::operation::list_integration_resource_properties::ListIntegrationResourcePropertiesError,
7366 R,
7367 >,
7368 ) -> Self {
7369 match err {
7370 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7371 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7372 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7373 source: err.into(),
7374 }),
7375 }
7376 }
7377}
7378impl From<crate::operation::list_integration_resource_properties::ListIntegrationResourcePropertiesError> for Error {
7379 fn from(err: crate::operation::list_integration_resource_properties::ListIntegrationResourcePropertiesError) -> Self {
7380 match err {
7381 crate::operation::list_integration_resource_properties::ListIntegrationResourcePropertiesError::AccessDeniedException(inner) => {
7382 Error::AccessDeniedException(inner)
7383 }
7384 crate::operation::list_integration_resource_properties::ListIntegrationResourcePropertiesError::EntityNotFoundException(inner) => {
7385 Error::EntityNotFoundException(inner)
7386 }
7387 crate::operation::list_integration_resource_properties::ListIntegrationResourcePropertiesError::InternalServerException(inner) => {
7388 Error::InternalServerException(inner)
7389 }
7390 crate::operation::list_integration_resource_properties::ListIntegrationResourcePropertiesError::InternalServiceException(inner) => {
7391 Error::InternalServiceException(inner)
7392 }
7393 crate::operation::list_integration_resource_properties::ListIntegrationResourcePropertiesError::InvalidInputException(inner) => {
7394 Error::InvalidInputException(inner)
7395 }
7396 crate::operation::list_integration_resource_properties::ListIntegrationResourcePropertiesError::ResourceNotFoundException(inner) => {
7397 Error::ResourceNotFoundException(inner)
7398 }
7399 crate::operation::list_integration_resource_properties::ListIntegrationResourcePropertiesError::ValidationException(inner) => {
7400 Error::ValidationException(inner)
7401 }
7402 crate::operation::list_integration_resource_properties::ListIntegrationResourcePropertiesError::Unhandled(inner) => {
7403 Error::Unhandled(inner)
7404 }
7405 }
7406 }
7407}
7408impl<R>
7409 From<
7410 ::aws_smithy_runtime_api::client::result::SdkError<
7411 crate::operation::list_integration_table_properties::ListIntegrationTablePropertiesError,
7412 R,
7413 >,
7414 > for Error
7415where
7416 R: Send + Sync + std::fmt::Debug + 'static,
7417{
7418 fn from(
7419 err: ::aws_smithy_runtime_api::client::result::SdkError<
7420 crate::operation::list_integration_table_properties::ListIntegrationTablePropertiesError,
7421 R,
7422 >,
7423 ) -> Self {
7424 match err {
7425 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7426 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7427 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7428 source: err.into(),
7429 }),
7430 }
7431 }
7432}
7433impl From<crate::operation::list_integration_table_properties::ListIntegrationTablePropertiesError> for Error {
7434 fn from(err: crate::operation::list_integration_table_properties::ListIntegrationTablePropertiesError) -> Self {
7435 match err {
7436 crate::operation::list_integration_table_properties::ListIntegrationTablePropertiesError::AccessDeniedException(inner) => {
7437 Error::AccessDeniedException(inner)
7438 }
7439 crate::operation::list_integration_table_properties::ListIntegrationTablePropertiesError::EntityNotFoundException(inner) => {
7440 Error::EntityNotFoundException(inner)
7441 }
7442 crate::operation::list_integration_table_properties::ListIntegrationTablePropertiesError::InternalServerException(inner) => {
7443 Error::InternalServerException(inner)
7444 }
7445 crate::operation::list_integration_table_properties::ListIntegrationTablePropertiesError::InternalServiceException(inner) => {
7446 Error::InternalServiceException(inner)
7447 }
7448 crate::operation::list_integration_table_properties::ListIntegrationTablePropertiesError::InvalidInputException(inner) => {
7449 Error::InvalidInputException(inner)
7450 }
7451 crate::operation::list_integration_table_properties::ListIntegrationTablePropertiesError::ResourceNotFoundException(inner) => {
7452 Error::ResourceNotFoundException(inner)
7453 }
7454 crate::operation::list_integration_table_properties::ListIntegrationTablePropertiesError::ValidationException(inner) => {
7455 Error::ValidationException(inner)
7456 }
7457 crate::operation::list_integration_table_properties::ListIntegrationTablePropertiesError::Unhandled(inner) => Error::Unhandled(inner),
7458 }
7459 }
7460}
7461impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_iterable_forms::ListIterableFormsError, R>> for Error
7462where
7463 R: Send + Sync + std::fmt::Debug + 'static,
7464{
7465 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_iterable_forms::ListIterableFormsError, R>) -> Self {
7466 match err {
7467 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7468 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7469 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7470 source: err.into(),
7471 }),
7472 }
7473 }
7474}
7475impl From<crate::operation::list_iterable_forms::ListIterableFormsError> for Error {
7476 fn from(err: crate::operation::list_iterable_forms::ListIterableFormsError) -> Self {
7477 match err {
7478 crate::operation::list_iterable_forms::ListIterableFormsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
7479 crate::operation::list_iterable_forms::ListIterableFormsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7480 crate::operation::list_iterable_forms::ListIterableFormsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7481 crate::operation::list_iterable_forms::ListIterableFormsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7482 crate::operation::list_iterable_forms::ListIterableFormsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
7483 crate::operation::list_iterable_forms::ListIterableFormsError::Unhandled(inner) => Error::Unhandled(inner),
7484 }
7485 }
7486}
7487impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_jobs::ListJobsError, R>> for Error
7488where
7489 R: Send + Sync + std::fmt::Debug + 'static,
7490{
7491 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_jobs::ListJobsError, R>) -> Self {
7492 match err {
7493 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7494 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7495 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7496 source: err.into(),
7497 }),
7498 }
7499 }
7500}
7501impl From<crate::operation::list_jobs::ListJobsError> for Error {
7502 fn from(err: crate::operation::list_jobs::ListJobsError) -> Self {
7503 match err {
7504 crate::operation::list_jobs::ListJobsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7505 crate::operation::list_jobs::ListJobsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7506 crate::operation::list_jobs::ListJobsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7507 crate::operation::list_jobs::ListJobsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
7508 crate::operation::list_jobs::ListJobsError::Unhandled(inner) => Error::Unhandled(inner),
7509 }
7510 }
7511}
7512impl<R>
7513 From<
7514 ::aws_smithy_runtime_api::client::result::SdkError<
7515 crate::operation::list_materialized_view_refresh_task_runs::ListMaterializedViewRefreshTaskRunsError,
7516 R,
7517 >,
7518 > for Error
7519where
7520 R: Send + Sync + std::fmt::Debug + 'static,
7521{
7522 fn from(
7523 err: ::aws_smithy_runtime_api::client::result::SdkError<
7524 crate::operation::list_materialized_view_refresh_task_runs::ListMaterializedViewRefreshTaskRunsError,
7525 R,
7526 >,
7527 ) -> Self {
7528 match err {
7529 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7530 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7531 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7532 source: err.into(),
7533 }),
7534 }
7535 }
7536}
7537impl From<crate::operation::list_materialized_view_refresh_task_runs::ListMaterializedViewRefreshTaskRunsError> for Error {
7538 fn from(err: crate::operation::list_materialized_view_refresh_task_runs::ListMaterializedViewRefreshTaskRunsError) -> Self {
7539 match err {
7540 crate::operation::list_materialized_view_refresh_task_runs::ListMaterializedViewRefreshTaskRunsError::AccessDeniedException(inner) => {
7541 Error::AccessDeniedException(inner)
7542 }
7543 crate::operation::list_materialized_view_refresh_task_runs::ListMaterializedViewRefreshTaskRunsError::InvalidInputException(inner) => {
7544 Error::InvalidInputException(inner)
7545 }
7546 crate::operation::list_materialized_view_refresh_task_runs::ListMaterializedViewRefreshTaskRunsError::OperationTimeoutException(
7547 inner,
7548 ) => Error::OperationTimeoutException(inner),
7549 crate::operation::list_materialized_view_refresh_task_runs::ListMaterializedViewRefreshTaskRunsError::Unhandled(inner) => {
7550 Error::Unhandled(inner)
7551 }
7552 }
7553 }
7554}
7555impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_ml_transforms::ListMLTransformsError, R>> for Error
7556where
7557 R: Send + Sync + std::fmt::Debug + 'static,
7558{
7559 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_ml_transforms::ListMLTransformsError, R>) -> Self {
7560 match err {
7561 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7562 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7563 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7564 source: err.into(),
7565 }),
7566 }
7567 }
7568}
7569impl From<crate::operation::list_ml_transforms::ListMLTransformsError> for Error {
7570 fn from(err: crate::operation::list_ml_transforms::ListMLTransformsError) -> Self {
7571 match err {
7572 crate::operation::list_ml_transforms::ListMLTransformsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7573 crate::operation::list_ml_transforms::ListMLTransformsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7574 crate::operation::list_ml_transforms::ListMLTransformsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7575 crate::operation::list_ml_transforms::ListMLTransformsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
7576 crate::operation::list_ml_transforms::ListMLTransformsError::Unhandled(inner) => Error::Unhandled(inner),
7577 }
7578 }
7579}
7580impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_registries::ListRegistriesError, R>> for Error
7581where
7582 R: Send + Sync + std::fmt::Debug + 'static,
7583{
7584 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_registries::ListRegistriesError, R>) -> Self {
7585 match err {
7586 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7587 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7588 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7589 source: err.into(),
7590 }),
7591 }
7592 }
7593}
7594impl From<crate::operation::list_registries::ListRegistriesError> for Error {
7595 fn from(err: crate::operation::list_registries::ListRegistriesError) -> Self {
7596 match err {
7597 crate::operation::list_registries::ListRegistriesError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
7598 crate::operation::list_registries::ListRegistriesError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7599 crate::operation::list_registries::ListRegistriesError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7600 crate::operation::list_registries::ListRegistriesError::Unhandled(inner) => Error::Unhandled(inner),
7601 }
7602 }
7603}
7604impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_schemas::ListSchemasError, R>> for Error
7605where
7606 R: Send + Sync + std::fmt::Debug + 'static,
7607{
7608 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_schemas::ListSchemasError, R>) -> Self {
7609 match err {
7610 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7611 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7612 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7613 source: err.into(),
7614 }),
7615 }
7616 }
7617}
7618impl From<crate::operation::list_schemas::ListSchemasError> for Error {
7619 fn from(err: crate::operation::list_schemas::ListSchemasError) -> Self {
7620 match err {
7621 crate::operation::list_schemas::ListSchemasError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
7622 crate::operation::list_schemas::ListSchemasError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7623 crate::operation::list_schemas::ListSchemasError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7624 crate::operation::list_schemas::ListSchemasError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7625 crate::operation::list_schemas::ListSchemasError::Unhandled(inner) => Error::Unhandled(inner),
7626 }
7627 }
7628}
7629impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_schema_versions::ListSchemaVersionsError, R>> for Error
7630where
7631 R: Send + Sync + std::fmt::Debug + 'static,
7632{
7633 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_schema_versions::ListSchemaVersionsError, R>) -> Self {
7634 match err {
7635 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7636 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7637 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7638 source: err.into(),
7639 }),
7640 }
7641 }
7642}
7643impl From<crate::operation::list_schema_versions::ListSchemaVersionsError> for Error {
7644 fn from(err: crate::operation::list_schema_versions::ListSchemaVersionsError) -> Self {
7645 match err {
7646 crate::operation::list_schema_versions::ListSchemaVersionsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
7647 crate::operation::list_schema_versions::ListSchemaVersionsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7648 crate::operation::list_schema_versions::ListSchemaVersionsError::InternalServiceException(inner) => {
7649 Error::InternalServiceException(inner)
7650 }
7651 crate::operation::list_schema_versions::ListSchemaVersionsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7652 crate::operation::list_schema_versions::ListSchemaVersionsError::Unhandled(inner) => Error::Unhandled(inner),
7653 }
7654 }
7655}
7656impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_sessions::ListSessionsError, R>> for Error
7657where
7658 R: Send + Sync + std::fmt::Debug + 'static,
7659{
7660 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_sessions::ListSessionsError, R>) -> Self {
7661 match err {
7662 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7663 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7664 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7665 source: err.into(),
7666 }),
7667 }
7668 }
7669}
7670impl From<crate::operation::list_sessions::ListSessionsError> for Error {
7671 fn from(err: crate::operation::list_sessions::ListSessionsError) -> Self {
7672 match err {
7673 crate::operation::list_sessions::ListSessionsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
7674 crate::operation::list_sessions::ListSessionsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7675 crate::operation::list_sessions::ListSessionsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7676 crate::operation::list_sessions::ListSessionsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
7677 crate::operation::list_sessions::ListSessionsError::Unhandled(inner) => Error::Unhandled(inner),
7678 }
7679 }
7680}
7681impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_statements::ListStatementsError, R>> for Error
7682where
7683 R: Send + Sync + std::fmt::Debug + 'static,
7684{
7685 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_statements::ListStatementsError, R>) -> Self {
7686 match err {
7687 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7688 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7689 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7690 source: err.into(),
7691 }),
7692 }
7693 }
7694}
7695impl From<crate::operation::list_statements::ListStatementsError> for Error {
7696 fn from(err: crate::operation::list_statements::ListStatementsError) -> Self {
7697 match err {
7698 crate::operation::list_statements::ListStatementsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
7699 crate::operation::list_statements::ListStatementsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7700 crate::operation::list_statements::ListStatementsError::IllegalSessionStateException(inner) => Error::IllegalSessionStateException(inner),
7701 crate::operation::list_statements::ListStatementsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7702 crate::operation::list_statements::ListStatementsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7703 crate::operation::list_statements::ListStatementsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
7704 crate::operation::list_statements::ListStatementsError::Unhandled(inner) => Error::Unhandled(inner),
7705 }
7706 }
7707}
7708impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_table_optimizer_runs::ListTableOptimizerRunsError, R>>
7709 for Error
7710where
7711 R: Send + Sync + std::fmt::Debug + 'static,
7712{
7713 fn from(
7714 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_table_optimizer_runs::ListTableOptimizerRunsError, R>,
7715 ) -> Self {
7716 match err {
7717 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7718 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7719 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7720 source: err.into(),
7721 }),
7722 }
7723 }
7724}
7725impl From<crate::operation::list_table_optimizer_runs::ListTableOptimizerRunsError> for Error {
7726 fn from(err: crate::operation::list_table_optimizer_runs::ListTableOptimizerRunsError) -> Self {
7727 match err {
7728 crate::operation::list_table_optimizer_runs::ListTableOptimizerRunsError::AccessDeniedException(inner) => {
7729 Error::AccessDeniedException(inner)
7730 }
7731 crate::operation::list_table_optimizer_runs::ListTableOptimizerRunsError::EntityNotFoundException(inner) => {
7732 Error::EntityNotFoundException(inner)
7733 }
7734 crate::operation::list_table_optimizer_runs::ListTableOptimizerRunsError::InternalServiceException(inner) => {
7735 Error::InternalServiceException(inner)
7736 }
7737 crate::operation::list_table_optimizer_runs::ListTableOptimizerRunsError::InvalidInputException(inner) => {
7738 Error::InvalidInputException(inner)
7739 }
7740 crate::operation::list_table_optimizer_runs::ListTableOptimizerRunsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
7741 crate::operation::list_table_optimizer_runs::ListTableOptimizerRunsError::ValidationException(inner) => Error::ValidationException(inner),
7742 crate::operation::list_table_optimizer_runs::ListTableOptimizerRunsError::Unhandled(inner) => Error::Unhandled(inner),
7743 }
7744 }
7745}
7746impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_triggers::ListTriggersError, R>> for Error
7747where
7748 R: Send + Sync + std::fmt::Debug + 'static,
7749{
7750 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_triggers::ListTriggersError, R>) -> Self {
7751 match err {
7752 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7753 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7754 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7755 source: err.into(),
7756 }),
7757 }
7758 }
7759}
7760impl From<crate::operation::list_triggers::ListTriggersError> for Error {
7761 fn from(err: crate::operation::list_triggers::ListTriggersError) -> Self {
7762 match err {
7763 crate::operation::list_triggers::ListTriggersError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7764 crate::operation::list_triggers::ListTriggersError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7765 crate::operation::list_triggers::ListTriggersError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7766 crate::operation::list_triggers::ListTriggersError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
7767 crate::operation::list_triggers::ListTriggersError::Unhandled(inner) => Error::Unhandled(inner),
7768 }
7769 }
7770}
7771impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_usage_profiles::ListUsageProfilesError, R>> for Error
7772where
7773 R: Send + Sync + std::fmt::Debug + 'static,
7774{
7775 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_usage_profiles::ListUsageProfilesError, R>) -> Self {
7776 match err {
7777 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7778 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7779 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7780 source: err.into(),
7781 }),
7782 }
7783 }
7784}
7785impl From<crate::operation::list_usage_profiles::ListUsageProfilesError> for Error {
7786 fn from(err: crate::operation::list_usage_profiles::ListUsageProfilesError) -> Self {
7787 match err {
7788 crate::operation::list_usage_profiles::ListUsageProfilesError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7789 crate::operation::list_usage_profiles::ListUsageProfilesError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7790 crate::operation::list_usage_profiles::ListUsageProfilesError::OperationNotSupportedException(inner) => {
7791 Error::OperationNotSupportedException(inner)
7792 }
7793 crate::operation::list_usage_profiles::ListUsageProfilesError::OperationTimeoutException(inner) => {
7794 Error::OperationTimeoutException(inner)
7795 }
7796 crate::operation::list_usage_profiles::ListUsageProfilesError::Unhandled(inner) => Error::Unhandled(inner),
7797 }
7798 }
7799}
7800impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_workflows::ListWorkflowsError, R>> for Error
7801where
7802 R: Send + Sync + std::fmt::Debug + 'static,
7803{
7804 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_workflows::ListWorkflowsError, R>) -> Self {
7805 match err {
7806 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7807 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7808 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7809 source: err.into(),
7810 }),
7811 }
7812 }
7813}
7814impl From<crate::operation::list_workflows::ListWorkflowsError> for Error {
7815 fn from(err: crate::operation::list_workflows::ListWorkflowsError) -> Self {
7816 match err {
7817 crate::operation::list_workflows::ListWorkflowsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7818 crate::operation::list_workflows::ListWorkflowsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7819 crate::operation::list_workflows::ListWorkflowsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
7820 crate::operation::list_workflows::ListWorkflowsError::Unhandled(inner) => Error::Unhandled(inner),
7821 }
7822 }
7823}
7824impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_integration::ModifyIntegrationError, R>> for Error
7825where
7826 R: Send + Sync + std::fmt::Debug + 'static,
7827{
7828 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_integration::ModifyIntegrationError, R>) -> Self {
7829 match err {
7830 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7831 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7832 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7833 source: err.into(),
7834 }),
7835 }
7836 }
7837}
7838impl From<crate::operation::modify_integration::ModifyIntegrationError> for Error {
7839 fn from(err: crate::operation::modify_integration::ModifyIntegrationError) -> Self {
7840 match err {
7841 crate::operation::modify_integration::ModifyIntegrationError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
7842 crate::operation::modify_integration::ModifyIntegrationError::ConflictException(inner) => Error::ConflictException(inner),
7843 crate::operation::modify_integration::ModifyIntegrationError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7844 crate::operation::modify_integration::ModifyIntegrationError::IntegrationConflictOperationFault(inner) => {
7845 Error::IntegrationConflictOperationFault(inner)
7846 }
7847 crate::operation::modify_integration::ModifyIntegrationError::IntegrationNotFoundFault(inner) => Error::IntegrationNotFoundFault(inner),
7848 crate::operation::modify_integration::ModifyIntegrationError::InternalServerException(inner) => Error::InternalServerException(inner),
7849 crate::operation::modify_integration::ModifyIntegrationError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7850 crate::operation::modify_integration::ModifyIntegrationError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7851 crate::operation::modify_integration::ModifyIntegrationError::InvalidIntegrationStateFault(inner) => {
7852 Error::InvalidIntegrationStateFault(inner)
7853 }
7854 crate::operation::modify_integration::ModifyIntegrationError::InvalidStateException(inner) => Error::InvalidStateException(inner),
7855 crate::operation::modify_integration::ModifyIntegrationError::ValidationException(inner) => Error::ValidationException(inner),
7856 crate::operation::modify_integration::ModifyIntegrationError::Unhandled(inner) => Error::Unhandled(inner),
7857 }
7858 }
7859}
7860impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::publish_data_quality_result_v2::PublishDataQualityResultV2Error, R>>
7861 for Error
7862where
7863 R: Send + Sync + std::fmt::Debug + 'static,
7864{
7865 fn from(
7866 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::publish_data_quality_result_v2::PublishDataQualityResultV2Error, R>,
7867 ) -> Self {
7868 match err {
7869 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7870 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7871 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7872 source: err.into(),
7873 }),
7874 }
7875 }
7876}
7877impl From<crate::operation::publish_data_quality_result_v2::PublishDataQualityResultV2Error> for Error {
7878 fn from(err: crate::operation::publish_data_quality_result_v2::PublishDataQualityResultV2Error) -> Self {
7879 match err {
7880 crate::operation::publish_data_quality_result_v2::PublishDataQualityResultV2Error::IdempotentParameterMismatchException(inner) => {
7881 Error::IdempotentParameterMismatchException(inner)
7882 }
7883 crate::operation::publish_data_quality_result_v2::PublishDataQualityResultV2Error::InternalServiceException(inner) => {
7884 Error::InternalServiceException(inner)
7885 }
7886 crate::operation::publish_data_quality_result_v2::PublishDataQualityResultV2Error::InvalidInputException(inner) => {
7887 Error::InvalidInputException(inner)
7888 }
7889 crate::operation::publish_data_quality_result_v2::PublishDataQualityResultV2Error::OperationTimeoutException(inner) => {
7890 Error::OperationTimeoutException(inner)
7891 }
7892 crate::operation::publish_data_quality_result_v2::PublishDataQualityResultV2Error::ResourceNumberLimitExceededException(inner) => {
7893 Error::ResourceNumberLimitExceededException(inner)
7894 }
7895 crate::operation::publish_data_quality_result_v2::PublishDataQualityResultV2Error::Unhandled(inner) => Error::Unhandled(inner),
7896 }
7897 }
7898}
7899impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_asset::PutAssetError, R>> for Error
7900where
7901 R: Send + Sync + std::fmt::Debug + 'static,
7902{
7903 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_asset::PutAssetError, R>) -> Self {
7904 match err {
7905 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7906 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7907 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7908 source: err.into(),
7909 }),
7910 }
7911 }
7912}
7913impl From<crate::operation::put_asset::PutAssetError> for Error {
7914 fn from(err: crate::operation::put_asset::PutAssetError) -> Self {
7915 match err {
7916 crate::operation::put_asset::PutAssetError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
7917 crate::operation::put_asset::PutAssetError::ConcurrentModificationException(inner) => Error::ConcurrentModificationException(inner),
7918 crate::operation::put_asset::PutAssetError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7919 crate::operation::put_asset::PutAssetError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7920 crate::operation::put_asset::PutAssetError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7921 crate::operation::put_asset::PutAssetError::ThrottlingException(inner) => Error::ThrottlingException(inner),
7922 crate::operation::put_asset::PutAssetError::Unhandled(inner) => Error::Unhandled(inner),
7923 }
7924 }
7925}
7926impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_attachment::PutAttachmentError, R>> for Error
7927where
7928 R: Send + Sync + std::fmt::Debug + 'static,
7929{
7930 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_attachment::PutAttachmentError, R>) -> Self {
7931 match err {
7932 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7933 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7934 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7935 source: err.into(),
7936 }),
7937 }
7938 }
7939}
7940impl From<crate::operation::put_attachment::PutAttachmentError> for Error {
7941 fn from(err: crate::operation::put_attachment::PutAttachmentError) -> Self {
7942 match err {
7943 crate::operation::put_attachment::PutAttachmentError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
7944 crate::operation::put_attachment::PutAttachmentError::ConcurrentModificationException(inner) => {
7945 Error::ConcurrentModificationException(inner)
7946 }
7947 crate::operation::put_attachment::PutAttachmentError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7948 crate::operation::put_attachment::PutAttachmentError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7949 crate::operation::put_attachment::PutAttachmentError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7950 crate::operation::put_attachment::PutAttachmentError::ThrottlingException(inner) => Error::ThrottlingException(inner),
7951 crate::operation::put_attachment::PutAttachmentError::Unhandled(inner) => Error::Unhandled(inner),
7952 }
7953 }
7954}
7955impl<R>
7956 From<
7957 ::aws_smithy_runtime_api::client::result::SdkError<
7958 crate::operation::put_data_catalog_encryption_settings::PutDataCatalogEncryptionSettingsError,
7959 R,
7960 >,
7961 > for Error
7962where
7963 R: Send + Sync + std::fmt::Debug + 'static,
7964{
7965 fn from(
7966 err: ::aws_smithy_runtime_api::client::result::SdkError<
7967 crate::operation::put_data_catalog_encryption_settings::PutDataCatalogEncryptionSettingsError,
7968 R,
7969 >,
7970 ) -> Self {
7971 match err {
7972 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7973 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7974 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7975 source: err.into(),
7976 }),
7977 }
7978 }
7979}
7980impl From<crate::operation::put_data_catalog_encryption_settings::PutDataCatalogEncryptionSettingsError> for Error {
7981 fn from(err: crate::operation::put_data_catalog_encryption_settings::PutDataCatalogEncryptionSettingsError) -> Self {
7982 match err {
7983 crate::operation::put_data_catalog_encryption_settings::PutDataCatalogEncryptionSettingsError::InternalServiceException(inner) => {
7984 Error::InternalServiceException(inner)
7985 }
7986 crate::operation::put_data_catalog_encryption_settings::PutDataCatalogEncryptionSettingsError::InvalidInputException(inner) => {
7987 Error::InvalidInputException(inner)
7988 }
7989 crate::operation::put_data_catalog_encryption_settings::PutDataCatalogEncryptionSettingsError::OperationTimeoutException(inner) => {
7990 Error::OperationTimeoutException(inner)
7991 }
7992 crate::operation::put_data_catalog_encryption_settings::PutDataCatalogEncryptionSettingsError::Unhandled(inner) => {
7993 Error::Unhandled(inner)
7994 }
7995 }
7996 }
7997}
7998impl<R>
7999 From<
8000 ::aws_smithy_runtime_api::client::result::SdkError<
8001 crate::operation::put_data_catalog_export_configuration::PutDataCatalogExportConfigurationError,
8002 R,
8003 >,
8004 > for Error
8005where
8006 R: Send + Sync + std::fmt::Debug + 'static,
8007{
8008 fn from(
8009 err: ::aws_smithy_runtime_api::client::result::SdkError<
8010 crate::operation::put_data_catalog_export_configuration::PutDataCatalogExportConfigurationError,
8011 R,
8012 >,
8013 ) -> Self {
8014 match err {
8015 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8016 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8017 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8018 source: err.into(),
8019 }),
8020 }
8021 }
8022}
8023impl From<crate::operation::put_data_catalog_export_configuration::PutDataCatalogExportConfigurationError> for Error {
8024 fn from(err: crate::operation::put_data_catalog_export_configuration::PutDataCatalogExportConfigurationError) -> Self {
8025 match err {
8026 crate::operation::put_data_catalog_export_configuration::PutDataCatalogExportConfigurationError::AccessDeniedException(inner) => {
8027 Error::AccessDeniedException(inner)
8028 }
8029 crate::operation::put_data_catalog_export_configuration::PutDataCatalogExportConfigurationError::ConflictException(inner) => {
8030 Error::ConflictException(inner)
8031 }
8032 crate::operation::put_data_catalog_export_configuration::PutDataCatalogExportConfigurationError::InternalServiceException(inner) => {
8033 Error::InternalServiceException(inner)
8034 }
8035 crate::operation::put_data_catalog_export_configuration::PutDataCatalogExportConfigurationError::InvalidInputException(inner) => {
8036 Error::InvalidInputException(inner)
8037 }
8038 crate::operation::put_data_catalog_export_configuration::PutDataCatalogExportConfigurationError::ThrottlingException(inner) => {
8039 Error::ThrottlingException(inner)
8040 }
8041 crate::operation::put_data_catalog_export_configuration::PutDataCatalogExportConfigurationError::Unhandled(inner) => {
8042 Error::Unhandled(inner)
8043 }
8044 }
8045 }
8046}
8047impl<R>
8048 From<
8049 ::aws_smithy_runtime_api::client::result::SdkError<
8050 crate::operation::put_data_quality_profile_annotation::PutDataQualityProfileAnnotationError,
8051 R,
8052 >,
8053 > for Error
8054where
8055 R: Send + Sync + std::fmt::Debug + 'static,
8056{
8057 fn from(
8058 err: ::aws_smithy_runtime_api::client::result::SdkError<
8059 crate::operation::put_data_quality_profile_annotation::PutDataQualityProfileAnnotationError,
8060 R,
8061 >,
8062 ) -> Self {
8063 match err {
8064 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8065 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8066 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8067 source: err.into(),
8068 }),
8069 }
8070 }
8071}
8072impl From<crate::operation::put_data_quality_profile_annotation::PutDataQualityProfileAnnotationError> for Error {
8073 fn from(err: crate::operation::put_data_quality_profile_annotation::PutDataQualityProfileAnnotationError) -> Self {
8074 match err {
8075 crate::operation::put_data_quality_profile_annotation::PutDataQualityProfileAnnotationError::EntityNotFoundException(inner) => {
8076 Error::EntityNotFoundException(inner)
8077 }
8078 crate::operation::put_data_quality_profile_annotation::PutDataQualityProfileAnnotationError::InternalServiceException(inner) => {
8079 Error::InternalServiceException(inner)
8080 }
8081 crate::operation::put_data_quality_profile_annotation::PutDataQualityProfileAnnotationError::InvalidInputException(inner) => {
8082 Error::InvalidInputException(inner)
8083 }
8084 crate::operation::put_data_quality_profile_annotation::PutDataQualityProfileAnnotationError::Unhandled(inner) => Error::Unhandled(inner),
8085 }
8086 }
8087}
8088impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_form_type::PutFormTypeError, R>> for Error
8089where
8090 R: Send + Sync + std::fmt::Debug + 'static,
8091{
8092 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_form_type::PutFormTypeError, R>) -> Self {
8093 match err {
8094 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8095 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8096 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8097 source: err.into(),
8098 }),
8099 }
8100 }
8101}
8102impl From<crate::operation::put_form_type::PutFormTypeError> for Error {
8103 fn from(err: crate::operation::put_form_type::PutFormTypeError) -> Self {
8104 match err {
8105 crate::operation::put_form_type::PutFormTypeError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
8106 crate::operation::put_form_type::PutFormTypeError::ConcurrentModificationException(inner) => {
8107 Error::ConcurrentModificationException(inner)
8108 }
8109 crate::operation::put_form_type::PutFormTypeError::InternalServiceException(inner) => Error::InternalServiceException(inner),
8110 crate::operation::put_form_type::PutFormTypeError::InvalidInputException(inner) => Error::InvalidInputException(inner),
8111 crate::operation::put_form_type::PutFormTypeError::ThrottlingException(inner) => Error::ThrottlingException(inner),
8112 crate::operation::put_form_type::PutFormTypeError::Unhandled(inner) => Error::Unhandled(inner),
8113 }
8114 }
8115}
8116impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_resource_policy::PutResourcePolicyError, R>> for Error
8117where
8118 R: Send + Sync + std::fmt::Debug + 'static,
8119{
8120 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_resource_policy::PutResourcePolicyError, R>) -> Self {
8121 match err {
8122 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8123 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8124 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8125 source: err.into(),
8126 }),
8127 }
8128 }
8129}
8130impl From<crate::operation::put_resource_policy::PutResourcePolicyError> for Error {
8131 fn from(err: crate::operation::put_resource_policy::PutResourcePolicyError) -> Self {
8132 match err {
8133 crate::operation::put_resource_policy::PutResourcePolicyError::ConditionCheckFailureException(inner) => {
8134 Error::ConditionCheckFailureException(inner)
8135 }
8136 crate::operation::put_resource_policy::PutResourcePolicyError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
8137 crate::operation::put_resource_policy::PutResourcePolicyError::InternalServiceException(inner) => Error::InternalServiceException(inner),
8138 crate::operation::put_resource_policy::PutResourcePolicyError::InvalidInputException(inner) => Error::InvalidInputException(inner),
8139 crate::operation::put_resource_policy::PutResourcePolicyError::OperationTimeoutException(inner) => {
8140 Error::OperationTimeoutException(inner)
8141 }
8142 crate::operation::put_resource_policy::PutResourcePolicyError::Unhandled(inner) => Error::Unhandled(inner),
8143 }
8144 }
8145}
8146impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_schema_version_metadata::PutSchemaVersionMetadataError, R>>
8147 for Error
8148where
8149 R: Send + Sync + std::fmt::Debug + 'static,
8150{
8151 fn from(
8152 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_schema_version_metadata::PutSchemaVersionMetadataError, R>,
8153 ) -> Self {
8154 match err {
8155 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8156 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8157 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8158 source: err.into(),
8159 }),
8160 }
8161 }
8162}
8163impl From<crate::operation::put_schema_version_metadata::PutSchemaVersionMetadataError> for Error {
8164 fn from(err: crate::operation::put_schema_version_metadata::PutSchemaVersionMetadataError) -> Self {
8165 match err {
8166 crate::operation::put_schema_version_metadata::PutSchemaVersionMetadataError::AccessDeniedException(inner) => {
8167 Error::AccessDeniedException(inner)
8168 }
8169 crate::operation::put_schema_version_metadata::PutSchemaVersionMetadataError::AlreadyExistsException(inner) => {
8170 Error::AlreadyExistsException(inner)
8171 }
8172 crate::operation::put_schema_version_metadata::PutSchemaVersionMetadataError::EntityNotFoundException(inner) => {
8173 Error::EntityNotFoundException(inner)
8174 }
8175 crate::operation::put_schema_version_metadata::PutSchemaVersionMetadataError::InvalidInputException(inner) => {
8176 Error::InvalidInputException(inner)
8177 }
8178 crate::operation::put_schema_version_metadata::PutSchemaVersionMetadataError::ResourceNumberLimitExceededException(inner) => {
8179 Error::ResourceNumberLimitExceededException(inner)
8180 }
8181 crate::operation::put_schema_version_metadata::PutSchemaVersionMetadataError::Unhandled(inner) => Error::Unhandled(inner),
8182 }
8183 }
8184}
8185impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_workflow_run_properties::PutWorkflowRunPropertiesError, R>>
8186 for Error
8187where
8188 R: Send + Sync + std::fmt::Debug + 'static,
8189{
8190 fn from(
8191 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_workflow_run_properties::PutWorkflowRunPropertiesError, R>,
8192 ) -> Self {
8193 match err {
8194 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8195 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8196 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8197 source: err.into(),
8198 }),
8199 }
8200 }
8201}
8202impl From<crate::operation::put_workflow_run_properties::PutWorkflowRunPropertiesError> for Error {
8203 fn from(err: crate::operation::put_workflow_run_properties::PutWorkflowRunPropertiesError) -> Self {
8204 match err {
8205 crate::operation::put_workflow_run_properties::PutWorkflowRunPropertiesError::AlreadyExistsException(inner) => {
8206 Error::AlreadyExistsException(inner)
8207 }
8208 crate::operation::put_workflow_run_properties::PutWorkflowRunPropertiesError::ConcurrentModificationException(inner) => {
8209 Error::ConcurrentModificationException(inner)
8210 }
8211 crate::operation::put_workflow_run_properties::PutWorkflowRunPropertiesError::EntityNotFoundException(inner) => {
8212 Error::EntityNotFoundException(inner)
8213 }
8214 crate::operation::put_workflow_run_properties::PutWorkflowRunPropertiesError::InternalServiceException(inner) => {
8215 Error::InternalServiceException(inner)
8216 }
8217 crate::operation::put_workflow_run_properties::PutWorkflowRunPropertiesError::InvalidInputException(inner) => {
8218 Error::InvalidInputException(inner)
8219 }
8220 crate::operation::put_workflow_run_properties::PutWorkflowRunPropertiesError::OperationTimeoutException(inner) => {
8221 Error::OperationTimeoutException(inner)
8222 }
8223 crate::operation::put_workflow_run_properties::PutWorkflowRunPropertiesError::ResourceNumberLimitExceededException(inner) => {
8224 Error::ResourceNumberLimitExceededException(inner)
8225 }
8226 crate::operation::put_workflow_run_properties::PutWorkflowRunPropertiesError::Unhandled(inner) => Error::Unhandled(inner),
8227 }
8228 }
8229}
8230impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::query_schema_version_metadata::QuerySchemaVersionMetadataError, R>>
8231 for Error
8232where
8233 R: Send + Sync + std::fmt::Debug + 'static,
8234{
8235 fn from(
8236 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::query_schema_version_metadata::QuerySchemaVersionMetadataError, R>,
8237 ) -> Self {
8238 match err {
8239 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8240 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8241 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8242 source: err.into(),
8243 }),
8244 }
8245 }
8246}
8247impl From<crate::operation::query_schema_version_metadata::QuerySchemaVersionMetadataError> for Error {
8248 fn from(err: crate::operation::query_schema_version_metadata::QuerySchemaVersionMetadataError) -> Self {
8249 match err {
8250 crate::operation::query_schema_version_metadata::QuerySchemaVersionMetadataError::AccessDeniedException(inner) => {
8251 Error::AccessDeniedException(inner)
8252 }
8253 crate::operation::query_schema_version_metadata::QuerySchemaVersionMetadataError::EntityNotFoundException(inner) => {
8254 Error::EntityNotFoundException(inner)
8255 }
8256 crate::operation::query_schema_version_metadata::QuerySchemaVersionMetadataError::InvalidInputException(inner) => {
8257 Error::InvalidInputException(inner)
8258 }
8259 crate::operation::query_schema_version_metadata::QuerySchemaVersionMetadataError::Unhandled(inner) => Error::Unhandled(inner),
8260 }
8261 }
8262}
8263impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::register_connection_type::RegisterConnectionTypeError, R>> for Error
8264where
8265 R: Send + Sync + std::fmt::Debug + 'static,
8266{
8267 fn from(
8268 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::register_connection_type::RegisterConnectionTypeError, R>,
8269 ) -> Self {
8270 match err {
8271 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8272 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8273 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8274 source: err.into(),
8275 }),
8276 }
8277 }
8278}
8279impl From<crate::operation::register_connection_type::RegisterConnectionTypeError> for Error {
8280 fn from(err: crate::operation::register_connection_type::RegisterConnectionTypeError) -> Self {
8281 match err {
8282 crate::operation::register_connection_type::RegisterConnectionTypeError::AccessDeniedException(inner) => {
8283 Error::AccessDeniedException(inner)
8284 }
8285 crate::operation::register_connection_type::RegisterConnectionTypeError::InternalServiceException(inner) => {
8286 Error::InternalServiceException(inner)
8287 }
8288 crate::operation::register_connection_type::RegisterConnectionTypeError::InvalidInputException(inner) => {
8289 Error::InvalidInputException(inner)
8290 }
8291 crate::operation::register_connection_type::RegisterConnectionTypeError::OperationTimeoutException(inner) => {
8292 Error::OperationTimeoutException(inner)
8293 }
8294 crate::operation::register_connection_type::RegisterConnectionTypeError::ResourceNumberLimitExceededException(inner) => {
8295 Error::ResourceNumberLimitExceededException(inner)
8296 }
8297 crate::operation::register_connection_type::RegisterConnectionTypeError::ValidationException(inner) => Error::ValidationException(inner),
8298 crate::operation::register_connection_type::RegisterConnectionTypeError::Unhandled(inner) => Error::Unhandled(inner),
8299 }
8300 }
8301}
8302impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::register_schema_version::RegisterSchemaVersionError, R>> for Error
8303where
8304 R: Send + Sync + std::fmt::Debug + 'static,
8305{
8306 fn from(
8307 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::register_schema_version::RegisterSchemaVersionError, R>,
8308 ) -> Self {
8309 match err {
8310 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8311 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8312 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8313 source: err.into(),
8314 }),
8315 }
8316 }
8317}
8318impl From<crate::operation::register_schema_version::RegisterSchemaVersionError> for Error {
8319 fn from(err: crate::operation::register_schema_version::RegisterSchemaVersionError) -> Self {
8320 match err {
8321 crate::operation::register_schema_version::RegisterSchemaVersionError::AccessDeniedException(inner) => {
8322 Error::AccessDeniedException(inner)
8323 }
8324 crate::operation::register_schema_version::RegisterSchemaVersionError::ConcurrentModificationException(inner) => {
8325 Error::ConcurrentModificationException(inner)
8326 }
8327 crate::operation::register_schema_version::RegisterSchemaVersionError::EntityNotFoundException(inner) => {
8328 Error::EntityNotFoundException(inner)
8329 }
8330 crate::operation::register_schema_version::RegisterSchemaVersionError::InternalServiceException(inner) => {
8331 Error::InternalServiceException(inner)
8332 }
8333 crate::operation::register_schema_version::RegisterSchemaVersionError::InvalidInputException(inner) => {
8334 Error::InvalidInputException(inner)
8335 }
8336 crate::operation::register_schema_version::RegisterSchemaVersionError::ResourceNumberLimitExceededException(inner) => {
8337 Error::ResourceNumberLimitExceededException(inner)
8338 }
8339 crate::operation::register_schema_version::RegisterSchemaVersionError::Unhandled(inner) => Error::Unhandled(inner),
8340 }
8341 }
8342}
8343impl<R>
8344 From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::remove_schema_version_metadata::RemoveSchemaVersionMetadataError, R>>
8345 for Error
8346where
8347 R: Send + Sync + std::fmt::Debug + 'static,
8348{
8349 fn from(
8350 err: ::aws_smithy_runtime_api::client::result::SdkError<
8351 crate::operation::remove_schema_version_metadata::RemoveSchemaVersionMetadataError,
8352 R,
8353 >,
8354 ) -> Self {
8355 match err {
8356 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8357 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8358 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8359 source: err.into(),
8360 }),
8361 }
8362 }
8363}
8364impl From<crate::operation::remove_schema_version_metadata::RemoveSchemaVersionMetadataError> for Error {
8365 fn from(err: crate::operation::remove_schema_version_metadata::RemoveSchemaVersionMetadataError) -> Self {
8366 match err {
8367 crate::operation::remove_schema_version_metadata::RemoveSchemaVersionMetadataError::AccessDeniedException(inner) => {
8368 Error::AccessDeniedException(inner)
8369 }
8370 crate::operation::remove_schema_version_metadata::RemoveSchemaVersionMetadataError::EntityNotFoundException(inner) => {
8371 Error::EntityNotFoundException(inner)
8372 }
8373 crate::operation::remove_schema_version_metadata::RemoveSchemaVersionMetadataError::InvalidInputException(inner) => {
8374 Error::InvalidInputException(inner)
8375 }
8376 crate::operation::remove_schema_version_metadata::RemoveSchemaVersionMetadataError::Unhandled(inner) => Error::Unhandled(inner),
8377 }
8378 }
8379}
8380impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_job_bookmark::ResetJobBookmarkError, R>> for Error
8381where
8382 R: Send + Sync + std::fmt::Debug + 'static,
8383{
8384 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_job_bookmark::ResetJobBookmarkError, R>) -> Self {
8385 match err {
8386 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8387 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8388 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8389 source: err.into(),
8390 }),
8391 }
8392 }
8393}
8394impl From<crate::operation::reset_job_bookmark::ResetJobBookmarkError> for Error {
8395 fn from(err: crate::operation::reset_job_bookmark::ResetJobBookmarkError) -> Self {
8396 match err {
8397 crate::operation::reset_job_bookmark::ResetJobBookmarkError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
8398 crate::operation::reset_job_bookmark::ResetJobBookmarkError::InternalServiceException(inner) => Error::InternalServiceException(inner),
8399 crate::operation::reset_job_bookmark::ResetJobBookmarkError::InvalidInputException(inner) => Error::InvalidInputException(inner),
8400 crate::operation::reset_job_bookmark::ResetJobBookmarkError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
8401 crate::operation::reset_job_bookmark::ResetJobBookmarkError::Unhandled(inner) => Error::Unhandled(inner),
8402 }
8403 }
8404}
8405impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::resume_workflow_run::ResumeWorkflowRunError, R>> for Error
8406where
8407 R: Send + Sync + std::fmt::Debug + 'static,
8408{
8409 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::resume_workflow_run::ResumeWorkflowRunError, R>) -> Self {
8410 match err {
8411 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8412 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8413 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8414 source: err.into(),
8415 }),
8416 }
8417 }
8418}
8419impl From<crate::operation::resume_workflow_run::ResumeWorkflowRunError> for Error {
8420 fn from(err: crate::operation::resume_workflow_run::ResumeWorkflowRunError) -> Self {
8421 match err {
8422 crate::operation::resume_workflow_run::ResumeWorkflowRunError::ConcurrentRunsExceededException(inner) => {
8423 Error::ConcurrentRunsExceededException(inner)
8424 }
8425 crate::operation::resume_workflow_run::ResumeWorkflowRunError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
8426 crate::operation::resume_workflow_run::ResumeWorkflowRunError::IllegalWorkflowStateException(inner) => {
8427 Error::IllegalWorkflowStateException(inner)
8428 }
8429 crate::operation::resume_workflow_run::ResumeWorkflowRunError::InternalServiceException(inner) => Error::InternalServiceException(inner),
8430 crate::operation::resume_workflow_run::ResumeWorkflowRunError::InvalidInputException(inner) => Error::InvalidInputException(inner),
8431 crate::operation::resume_workflow_run::ResumeWorkflowRunError::OperationTimeoutException(inner) => {
8432 Error::OperationTimeoutException(inner)
8433 }
8434 crate::operation::resume_workflow_run::ResumeWorkflowRunError::Unhandled(inner) => Error::Unhandled(inner),
8435 }
8436 }
8437}
8438impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::run_statement::RunStatementError, R>> for Error
8439where
8440 R: Send + Sync + std::fmt::Debug + 'static,
8441{
8442 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::run_statement::RunStatementError, R>) -> Self {
8443 match err {
8444 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8445 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8446 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8447 source: err.into(),
8448 }),
8449 }
8450 }
8451}
8452impl From<crate::operation::run_statement::RunStatementError> for Error {
8453 fn from(err: crate::operation::run_statement::RunStatementError) -> Self {
8454 match err {
8455 crate::operation::run_statement::RunStatementError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
8456 crate::operation::run_statement::RunStatementError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
8457 crate::operation::run_statement::RunStatementError::IllegalSessionStateException(inner) => Error::IllegalSessionStateException(inner),
8458 crate::operation::run_statement::RunStatementError::InternalServiceException(inner) => Error::InternalServiceException(inner),
8459 crate::operation::run_statement::RunStatementError::InvalidInputException(inner) => Error::InvalidInputException(inner),
8460 crate::operation::run_statement::RunStatementError::OperationNotSupportedException(inner) => Error::OperationNotSupportedException(inner),
8461 crate::operation::run_statement::RunStatementError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
8462 crate::operation::run_statement::RunStatementError::ResourceNumberLimitExceededException(inner) => {
8463 Error::ResourceNumberLimitExceededException(inner)
8464 }
8465 crate::operation::run_statement::RunStatementError::SessionBusyException(inner) => Error::SessionBusyException(inner),
8466 crate::operation::run_statement::RunStatementError::ValidationException(inner) => Error::ValidationException(inner),
8467 crate::operation::run_statement::RunStatementError::Unhandled(inner) => Error::Unhandled(inner),
8468 }
8469 }
8470}
8471impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::search_assets::SearchAssetsError, R>> for Error
8472where
8473 R: Send + Sync + std::fmt::Debug + 'static,
8474{
8475 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::search_assets::SearchAssetsError, R>) -> Self {
8476 match err {
8477 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8478 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8479 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8480 source: err.into(),
8481 }),
8482 }
8483 }
8484}
8485impl From<crate::operation::search_assets::SearchAssetsError> for Error {
8486 fn from(err: crate::operation::search_assets::SearchAssetsError) -> Self {
8487 match err {
8488 crate::operation::search_assets::SearchAssetsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
8489 crate::operation::search_assets::SearchAssetsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
8490 crate::operation::search_assets::SearchAssetsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
8491 crate::operation::search_assets::SearchAssetsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
8492 crate::operation::search_assets::SearchAssetsError::Unhandled(inner) => Error::Unhandled(inner),
8493 }
8494 }
8495}
8496impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::search_tables::SearchTablesError, R>> for Error
8497where
8498 R: Send + Sync + std::fmt::Debug + 'static,
8499{
8500 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::search_tables::SearchTablesError, R>) -> Self {
8501 match err {
8502 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8503 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8504 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8505 source: err.into(),
8506 }),
8507 }
8508 }
8509}
8510impl From<crate::operation::search_tables::SearchTablesError> for Error {
8511 fn from(err: crate::operation::search_tables::SearchTablesError) -> Self {
8512 match err {
8513 crate::operation::search_tables::SearchTablesError::InternalServiceException(inner) => Error::InternalServiceException(inner),
8514 crate::operation::search_tables::SearchTablesError::InvalidInputException(inner) => Error::InvalidInputException(inner),
8515 crate::operation::search_tables::SearchTablesError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
8516 crate::operation::search_tables::SearchTablesError::Unhandled(inner) => Error::Unhandled(inner),
8517 }
8518 }
8519}
8520impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_blueprint_run::StartBlueprintRunError, R>> for Error
8521where
8522 R: Send + Sync + std::fmt::Debug + 'static,
8523{
8524 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_blueprint_run::StartBlueprintRunError, R>) -> Self {
8525 match err {
8526 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8527 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8528 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8529 source: err.into(),
8530 }),
8531 }
8532 }
8533}
8534impl From<crate::operation::start_blueprint_run::StartBlueprintRunError> for Error {
8535 fn from(err: crate::operation::start_blueprint_run::StartBlueprintRunError) -> Self {
8536 match err {
8537 crate::operation::start_blueprint_run::StartBlueprintRunError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
8538 crate::operation::start_blueprint_run::StartBlueprintRunError::IllegalBlueprintStateException(inner) => {
8539 Error::IllegalBlueprintStateException(inner)
8540 }
8541 crate::operation::start_blueprint_run::StartBlueprintRunError::InternalServiceException(inner) => Error::InternalServiceException(inner),
8542 crate::operation::start_blueprint_run::StartBlueprintRunError::InvalidInputException(inner) => Error::InvalidInputException(inner),
8543 crate::operation::start_blueprint_run::StartBlueprintRunError::OperationTimeoutException(inner) => {
8544 Error::OperationTimeoutException(inner)
8545 }
8546 crate::operation::start_blueprint_run::StartBlueprintRunError::ResourceNumberLimitExceededException(inner) => {
8547 Error::ResourceNumberLimitExceededException(inner)
8548 }
8549 crate::operation::start_blueprint_run::StartBlueprintRunError::Unhandled(inner) => Error::Unhandled(inner),
8550 }
8551 }
8552}
8553impl<R>
8554 From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_column_statistics_task_run::StartColumnStatisticsTaskRunError, R>>
8555 for Error
8556where
8557 R: Send + Sync + std::fmt::Debug + 'static,
8558{
8559 fn from(
8560 err: ::aws_smithy_runtime_api::client::result::SdkError<
8561 crate::operation::start_column_statistics_task_run::StartColumnStatisticsTaskRunError,
8562 R,
8563 >,
8564 ) -> Self {
8565 match err {
8566 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8567 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8568 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8569 source: err.into(),
8570 }),
8571 }
8572 }
8573}
8574impl From<crate::operation::start_column_statistics_task_run::StartColumnStatisticsTaskRunError> for Error {
8575 fn from(err: crate::operation::start_column_statistics_task_run::StartColumnStatisticsTaskRunError) -> Self {
8576 match err {
8577 crate::operation::start_column_statistics_task_run::StartColumnStatisticsTaskRunError::AccessDeniedException(inner) => {
8578 Error::AccessDeniedException(inner)
8579 }
8580 crate::operation::start_column_statistics_task_run::StartColumnStatisticsTaskRunError::ColumnStatisticsTaskRunningException(inner) => {
8581 Error::ColumnStatisticsTaskRunningException(inner)
8582 }
8583 crate::operation::start_column_statistics_task_run::StartColumnStatisticsTaskRunError::EntityNotFoundException(inner) => {
8584 Error::EntityNotFoundException(inner)
8585 }
8586 crate::operation::start_column_statistics_task_run::StartColumnStatisticsTaskRunError::InvalidInputException(inner) => {
8587 Error::InvalidInputException(inner)
8588 }
8589 crate::operation::start_column_statistics_task_run::StartColumnStatisticsTaskRunError::OperationTimeoutException(inner) => {
8590 Error::OperationTimeoutException(inner)
8591 }
8592 crate::operation::start_column_statistics_task_run::StartColumnStatisticsTaskRunError::ResourceNumberLimitExceededException(inner) => {
8593 Error::ResourceNumberLimitExceededException(inner)
8594 }
8595 crate::operation::start_column_statistics_task_run::StartColumnStatisticsTaskRunError::Unhandled(inner) => Error::Unhandled(inner),
8596 }
8597 }
8598}
8599impl<R>
8600 From<
8601 ::aws_smithy_runtime_api::client::result::SdkError<
8602 crate::operation::start_column_statistics_task_run_schedule::StartColumnStatisticsTaskRunScheduleError,
8603 R,
8604 >,
8605 > for Error
8606where
8607 R: Send + Sync + std::fmt::Debug + 'static,
8608{
8609 fn from(
8610 err: ::aws_smithy_runtime_api::client::result::SdkError<
8611 crate::operation::start_column_statistics_task_run_schedule::StartColumnStatisticsTaskRunScheduleError,
8612 R,
8613 >,
8614 ) -> Self {
8615 match err {
8616 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8617 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8618 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8619 source: err.into(),
8620 }),
8621 }
8622 }
8623}
8624impl From<crate::operation::start_column_statistics_task_run_schedule::StartColumnStatisticsTaskRunScheduleError> for Error {
8625 fn from(err: crate::operation::start_column_statistics_task_run_schedule::StartColumnStatisticsTaskRunScheduleError) -> Self {
8626 match err {
8627 crate::operation::start_column_statistics_task_run_schedule::StartColumnStatisticsTaskRunScheduleError::AccessDeniedException(inner) => {
8628 Error::AccessDeniedException(inner)
8629 }
8630 crate::operation::start_column_statistics_task_run_schedule::StartColumnStatisticsTaskRunScheduleError::EntityNotFoundException(
8631 inner,
8632 ) => Error::EntityNotFoundException(inner),
8633 crate::operation::start_column_statistics_task_run_schedule::StartColumnStatisticsTaskRunScheduleError::InvalidInputException(inner) => {
8634 Error::InvalidInputException(inner)
8635 }
8636 crate::operation::start_column_statistics_task_run_schedule::StartColumnStatisticsTaskRunScheduleError::OperationTimeoutException(
8637 inner,
8638 ) => Error::OperationTimeoutException(inner),
8639 crate::operation::start_column_statistics_task_run_schedule::StartColumnStatisticsTaskRunScheduleError::Unhandled(inner) => {
8640 Error::Unhandled(inner)
8641 }
8642 }
8643 }
8644}
8645impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_crawler::StartCrawlerError, R>> for Error
8646where
8647 R: Send + Sync + std::fmt::Debug + 'static,
8648{
8649 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_crawler::StartCrawlerError, R>) -> Self {
8650 match err {
8651 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8652 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8653 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8654 source: err.into(),
8655 }),
8656 }
8657 }
8658}
8659impl From<crate::operation::start_crawler::StartCrawlerError> for Error {
8660 fn from(err: crate::operation::start_crawler::StartCrawlerError) -> Self {
8661 match err {
8662 crate::operation::start_crawler::StartCrawlerError::CrawlerRunningException(inner) => Error::CrawlerRunningException(inner),
8663 crate::operation::start_crawler::StartCrawlerError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
8664 crate::operation::start_crawler::StartCrawlerError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
8665 crate::operation::start_crawler::StartCrawlerError::Unhandled(inner) => Error::Unhandled(inner),
8666 }
8667 }
8668}
8669impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_crawler_schedule::StartCrawlerScheduleError, R>> for Error
8670where
8671 R: Send + Sync + std::fmt::Debug + 'static,
8672{
8673 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_crawler_schedule::StartCrawlerScheduleError, R>) -> Self {
8674 match err {
8675 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8676 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8677 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8678 source: err.into(),
8679 }),
8680 }
8681 }
8682}
8683impl From<crate::operation::start_crawler_schedule::StartCrawlerScheduleError> for Error {
8684 fn from(err: crate::operation::start_crawler_schedule::StartCrawlerScheduleError) -> Self {
8685 match err {
8686 crate::operation::start_crawler_schedule::StartCrawlerScheduleError::EntityNotFoundException(inner) => {
8687 Error::EntityNotFoundException(inner)
8688 }
8689 crate::operation::start_crawler_schedule::StartCrawlerScheduleError::NoScheduleException(inner) => Error::NoScheduleException(inner),
8690 crate::operation::start_crawler_schedule::StartCrawlerScheduleError::OperationTimeoutException(inner) => {
8691 Error::OperationTimeoutException(inner)
8692 }
8693 crate::operation::start_crawler_schedule::StartCrawlerScheduleError::SchedulerRunningException(inner) => {
8694 Error::SchedulerRunningException(inner)
8695 }
8696 crate::operation::start_crawler_schedule::StartCrawlerScheduleError::SchedulerTransitioningException(inner) => {
8697 Error::SchedulerTransitioningException(inner)
8698 }
8699 crate::operation::start_crawler_schedule::StartCrawlerScheduleError::Unhandled(inner) => Error::Unhandled(inner),
8700 }
8701 }
8702}
8703impl<R>
8704 From<
8705 ::aws_smithy_runtime_api::client::result::SdkError<
8706 crate::operation::start_data_quality_rule_recommendation_run::StartDataQualityRuleRecommendationRunError,
8707 R,
8708 >,
8709 > for Error
8710where
8711 R: Send + Sync + std::fmt::Debug + 'static,
8712{
8713 fn from(
8714 err: ::aws_smithy_runtime_api::client::result::SdkError<
8715 crate::operation::start_data_quality_rule_recommendation_run::StartDataQualityRuleRecommendationRunError,
8716 R,
8717 >,
8718 ) -> Self {
8719 match err {
8720 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8721 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8722 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8723 source: err.into(),
8724 }),
8725 }
8726 }
8727}
8728impl From<crate::operation::start_data_quality_rule_recommendation_run::StartDataQualityRuleRecommendationRunError> for Error {
8729 fn from(err: crate::operation::start_data_quality_rule_recommendation_run::StartDataQualityRuleRecommendationRunError) -> Self {
8730 match err {
8731 crate::operation::start_data_quality_rule_recommendation_run::StartDataQualityRuleRecommendationRunError::ConflictException(inner) => {
8732 Error::ConflictException(inner)
8733 }
8734 crate::operation::start_data_quality_rule_recommendation_run::StartDataQualityRuleRecommendationRunError::InternalServiceException(
8735 inner,
8736 ) => Error::InternalServiceException(inner),
8737 crate::operation::start_data_quality_rule_recommendation_run::StartDataQualityRuleRecommendationRunError::InvalidInputException(
8738 inner,
8739 ) => Error::InvalidInputException(inner),
8740 crate::operation::start_data_quality_rule_recommendation_run::StartDataQualityRuleRecommendationRunError::OperationTimeoutException(
8741 inner,
8742 ) => Error::OperationTimeoutException(inner),
8743 crate::operation::start_data_quality_rule_recommendation_run::StartDataQualityRuleRecommendationRunError::Unhandled(inner) => {
8744 Error::Unhandled(inner)
8745 }
8746 }
8747 }
8748}
8749impl<R>
8750 From<
8751 ::aws_smithy_runtime_api::client::result::SdkError<
8752 crate::operation::start_data_quality_ruleset_evaluation_run::StartDataQualityRulesetEvaluationRunError,
8753 R,
8754 >,
8755 > for Error
8756where
8757 R: Send + Sync + std::fmt::Debug + 'static,
8758{
8759 fn from(
8760 err: ::aws_smithy_runtime_api::client::result::SdkError<
8761 crate::operation::start_data_quality_ruleset_evaluation_run::StartDataQualityRulesetEvaluationRunError,
8762 R,
8763 >,
8764 ) -> Self {
8765 match err {
8766 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8767 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8768 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8769 source: err.into(),
8770 }),
8771 }
8772 }
8773}
8774impl From<crate::operation::start_data_quality_ruleset_evaluation_run::StartDataQualityRulesetEvaluationRunError> for Error {
8775 fn from(err: crate::operation::start_data_quality_ruleset_evaluation_run::StartDataQualityRulesetEvaluationRunError) -> Self {
8776 match err {
8777 crate::operation::start_data_quality_ruleset_evaluation_run::StartDataQualityRulesetEvaluationRunError::ConflictException(inner) => {
8778 Error::ConflictException(inner)
8779 }
8780 crate::operation::start_data_quality_ruleset_evaluation_run::StartDataQualityRulesetEvaluationRunError::EntityNotFoundException(
8781 inner,
8782 ) => Error::EntityNotFoundException(inner),
8783 crate::operation::start_data_quality_ruleset_evaluation_run::StartDataQualityRulesetEvaluationRunError::InternalServiceException(
8784 inner,
8785 ) => Error::InternalServiceException(inner),
8786 crate::operation::start_data_quality_ruleset_evaluation_run::StartDataQualityRulesetEvaluationRunError::InvalidInputException(inner) => {
8787 Error::InvalidInputException(inner)
8788 }
8789 crate::operation::start_data_quality_ruleset_evaluation_run::StartDataQualityRulesetEvaluationRunError::OperationTimeoutException(
8790 inner,
8791 ) => Error::OperationTimeoutException(inner),
8792 crate::operation::start_data_quality_ruleset_evaluation_run::StartDataQualityRulesetEvaluationRunError::Unhandled(inner) => {
8793 Error::Unhandled(inner)
8794 }
8795 }
8796 }
8797}
8798impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_export_labels_task_run::StartExportLabelsTaskRunError, R>>
8799 for Error
8800where
8801 R: Send + Sync + std::fmt::Debug + 'static,
8802{
8803 fn from(
8804 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_export_labels_task_run::StartExportLabelsTaskRunError, R>,
8805 ) -> Self {
8806 match err {
8807 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8808 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8809 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8810 source: err.into(),
8811 }),
8812 }
8813 }
8814}
8815impl From<crate::operation::start_export_labels_task_run::StartExportLabelsTaskRunError> for Error {
8816 fn from(err: crate::operation::start_export_labels_task_run::StartExportLabelsTaskRunError) -> Self {
8817 match err {
8818 crate::operation::start_export_labels_task_run::StartExportLabelsTaskRunError::EntityNotFoundException(inner) => {
8819 Error::EntityNotFoundException(inner)
8820 }
8821 crate::operation::start_export_labels_task_run::StartExportLabelsTaskRunError::InternalServiceException(inner) => {
8822 Error::InternalServiceException(inner)
8823 }
8824 crate::operation::start_export_labels_task_run::StartExportLabelsTaskRunError::InvalidInputException(inner) => {
8825 Error::InvalidInputException(inner)
8826 }
8827 crate::operation::start_export_labels_task_run::StartExportLabelsTaskRunError::OperationTimeoutException(inner) => {
8828 Error::OperationTimeoutException(inner)
8829 }
8830 crate::operation::start_export_labels_task_run::StartExportLabelsTaskRunError::Unhandled(inner) => Error::Unhandled(inner),
8831 }
8832 }
8833}
8834impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_import_labels_task_run::StartImportLabelsTaskRunError, R>>
8835 for Error
8836where
8837 R: Send + Sync + std::fmt::Debug + 'static,
8838{
8839 fn from(
8840 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_import_labels_task_run::StartImportLabelsTaskRunError, R>,
8841 ) -> Self {
8842 match err {
8843 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8844 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8845 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8846 source: err.into(),
8847 }),
8848 }
8849 }
8850}
8851impl From<crate::operation::start_import_labels_task_run::StartImportLabelsTaskRunError> for Error {
8852 fn from(err: crate::operation::start_import_labels_task_run::StartImportLabelsTaskRunError) -> Self {
8853 match err {
8854 crate::operation::start_import_labels_task_run::StartImportLabelsTaskRunError::EntityNotFoundException(inner) => {
8855 Error::EntityNotFoundException(inner)
8856 }
8857 crate::operation::start_import_labels_task_run::StartImportLabelsTaskRunError::InternalServiceException(inner) => {
8858 Error::InternalServiceException(inner)
8859 }
8860 crate::operation::start_import_labels_task_run::StartImportLabelsTaskRunError::InvalidInputException(inner) => {
8861 Error::InvalidInputException(inner)
8862 }
8863 crate::operation::start_import_labels_task_run::StartImportLabelsTaskRunError::OperationTimeoutException(inner) => {
8864 Error::OperationTimeoutException(inner)
8865 }
8866 crate::operation::start_import_labels_task_run::StartImportLabelsTaskRunError::ResourceNumberLimitExceededException(inner) => {
8867 Error::ResourceNumberLimitExceededException(inner)
8868 }
8869 crate::operation::start_import_labels_task_run::StartImportLabelsTaskRunError::Unhandled(inner) => Error::Unhandled(inner),
8870 }
8871 }
8872}
8873impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_job_run::StartJobRunError, R>> for Error
8874where
8875 R: Send + Sync + std::fmt::Debug + 'static,
8876{
8877 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_job_run::StartJobRunError, R>) -> Self {
8878 match err {
8879 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8880 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8881 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8882 source: err.into(),
8883 }),
8884 }
8885 }
8886}
8887impl From<crate::operation::start_job_run::StartJobRunError> for Error {
8888 fn from(err: crate::operation::start_job_run::StartJobRunError) -> Self {
8889 match err {
8890 crate::operation::start_job_run::StartJobRunError::ConcurrentRunsExceededException(inner) => {
8891 Error::ConcurrentRunsExceededException(inner)
8892 }
8893 crate::operation::start_job_run::StartJobRunError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
8894 crate::operation::start_job_run::StartJobRunError::InternalServiceException(inner) => Error::InternalServiceException(inner),
8895 crate::operation::start_job_run::StartJobRunError::InvalidInputException(inner) => Error::InvalidInputException(inner),
8896 crate::operation::start_job_run::StartJobRunError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
8897 crate::operation::start_job_run::StartJobRunError::ResourceNumberLimitExceededException(inner) => {
8898 Error::ResourceNumberLimitExceededException(inner)
8899 }
8900 crate::operation::start_job_run::StartJobRunError::Unhandled(inner) => Error::Unhandled(inner),
8901 }
8902 }
8903}
8904impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_job_upgrade_analysis::StartJobUpgradeAnalysisError, R>>
8905 for Error
8906where
8907 R: Send + Sync + std::fmt::Debug + 'static,
8908{
8909 fn from(
8910 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_job_upgrade_analysis::StartJobUpgradeAnalysisError, R>,
8911 ) -> Self {
8912 match err {
8913 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8914 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8915 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8916 source: err.into(),
8917 }),
8918 }
8919 }
8920}
8921impl From<crate::operation::start_job_upgrade_analysis::StartJobUpgradeAnalysisError> for Error {
8922 fn from(err: crate::operation::start_job_upgrade_analysis::StartJobUpgradeAnalysisError) -> Self {
8923 match err {
8924 crate::operation::start_job_upgrade_analysis::StartJobUpgradeAnalysisError::AccessDeniedException(inner) => {
8925 Error::AccessDeniedException(inner)
8926 }
8927 crate::operation::start_job_upgrade_analysis::StartJobUpgradeAnalysisError::EntityNotFoundException(inner) => {
8928 Error::EntityNotFoundException(inner)
8929 }
8930 crate::operation::start_job_upgrade_analysis::StartJobUpgradeAnalysisError::InternalServiceException(inner) => {
8931 Error::InternalServiceException(inner)
8932 }
8933 crate::operation::start_job_upgrade_analysis::StartJobUpgradeAnalysisError::InvalidInputException(inner) => {
8934 Error::InvalidInputException(inner)
8935 }
8936 crate::operation::start_job_upgrade_analysis::StartJobUpgradeAnalysisError::OperationNotSupportedException(inner) => {
8937 Error::OperationNotSupportedException(inner)
8938 }
8939 crate::operation::start_job_upgrade_analysis::StartJobUpgradeAnalysisError::ResourceNumberLimitExceededException(inner) => {
8940 Error::ResourceNumberLimitExceededException(inner)
8941 }
8942 crate::operation::start_job_upgrade_analysis::StartJobUpgradeAnalysisError::ValidationException(inner) => {
8943 Error::ValidationException(inner)
8944 }
8945 crate::operation::start_job_upgrade_analysis::StartJobUpgradeAnalysisError::Unhandled(inner) => Error::Unhandled(inner),
8946 }
8947 }
8948}
8949impl<R>
8950 From<
8951 ::aws_smithy_runtime_api::client::result::SdkError<
8952 crate::operation::start_materialized_view_refresh_task_run::StartMaterializedViewRefreshTaskRunError,
8953 R,
8954 >,
8955 > for Error
8956where
8957 R: Send + Sync + std::fmt::Debug + 'static,
8958{
8959 fn from(
8960 err: ::aws_smithy_runtime_api::client::result::SdkError<
8961 crate::operation::start_materialized_view_refresh_task_run::StartMaterializedViewRefreshTaskRunError,
8962 R,
8963 >,
8964 ) -> Self {
8965 match err {
8966 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8967 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8968 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8969 source: err.into(),
8970 }),
8971 }
8972 }
8973}
8974impl From<crate::operation::start_materialized_view_refresh_task_run::StartMaterializedViewRefreshTaskRunError> for Error {
8975 fn from(err: crate::operation::start_materialized_view_refresh_task_run::StartMaterializedViewRefreshTaskRunError) -> Self {
8976 match err {
8977 crate::operation::start_materialized_view_refresh_task_run::StartMaterializedViewRefreshTaskRunError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
8978 crate::operation::start_materialized_view_refresh_task_run::StartMaterializedViewRefreshTaskRunError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
8979 crate::operation::start_materialized_view_refresh_task_run::StartMaterializedViewRefreshTaskRunError::InvalidInputException(inner) => Error::InvalidInputException(inner),
8980 crate::operation::start_materialized_view_refresh_task_run::StartMaterializedViewRefreshTaskRunError::MaterializedViewRefreshTaskRunningException(inner) => Error::MaterializedViewRefreshTaskRunningException(inner),
8981 crate::operation::start_materialized_view_refresh_task_run::StartMaterializedViewRefreshTaskRunError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
8982 crate::operation::start_materialized_view_refresh_task_run::StartMaterializedViewRefreshTaskRunError::ResourceNumberLimitExceededException(inner) => Error::ResourceNumberLimitExceededException(inner),
8983 crate::operation::start_materialized_view_refresh_task_run::StartMaterializedViewRefreshTaskRunError::Unhandled(inner) => Error::Unhandled(inner),
8984 }
8985 }
8986}
8987impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_ml_evaluation_task_run::StartMLEvaluationTaskRunError, R>>
8988 for Error
8989where
8990 R: Send + Sync + std::fmt::Debug + 'static,
8991{
8992 fn from(
8993 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_ml_evaluation_task_run::StartMLEvaluationTaskRunError, R>,
8994 ) -> Self {
8995 match err {
8996 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8997 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8998 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8999 source: err.into(),
9000 }),
9001 }
9002 }
9003}
9004impl From<crate::operation::start_ml_evaluation_task_run::StartMLEvaluationTaskRunError> for Error {
9005 fn from(err: crate::operation::start_ml_evaluation_task_run::StartMLEvaluationTaskRunError) -> Self {
9006 match err {
9007 crate::operation::start_ml_evaluation_task_run::StartMLEvaluationTaskRunError::ConcurrentRunsExceededException(inner) => {
9008 Error::ConcurrentRunsExceededException(inner)
9009 }
9010 crate::operation::start_ml_evaluation_task_run::StartMLEvaluationTaskRunError::EntityNotFoundException(inner) => {
9011 Error::EntityNotFoundException(inner)
9012 }
9013 crate::operation::start_ml_evaluation_task_run::StartMLEvaluationTaskRunError::InternalServiceException(inner) => {
9014 Error::InternalServiceException(inner)
9015 }
9016 crate::operation::start_ml_evaluation_task_run::StartMLEvaluationTaskRunError::InvalidInputException(inner) => {
9017 Error::InvalidInputException(inner)
9018 }
9019 crate::operation::start_ml_evaluation_task_run::StartMLEvaluationTaskRunError::MlTransformNotReadyException(inner) => {
9020 Error::MlTransformNotReadyException(inner)
9021 }
9022 crate::operation::start_ml_evaluation_task_run::StartMLEvaluationTaskRunError::OperationTimeoutException(inner) => {
9023 Error::OperationTimeoutException(inner)
9024 }
9025 crate::operation::start_ml_evaluation_task_run::StartMLEvaluationTaskRunError::Unhandled(inner) => Error::Unhandled(inner),
9026 }
9027 }
9028}
9029impl<R>
9030 From<
9031 ::aws_smithy_runtime_api::client::result::SdkError<
9032 crate::operation::start_ml_labeling_set_generation_task_run::StartMLLabelingSetGenerationTaskRunError,
9033 R,
9034 >,
9035 > for Error
9036where
9037 R: Send + Sync + std::fmt::Debug + 'static,
9038{
9039 fn from(
9040 err: ::aws_smithy_runtime_api::client::result::SdkError<
9041 crate::operation::start_ml_labeling_set_generation_task_run::StartMLLabelingSetGenerationTaskRunError,
9042 R,
9043 >,
9044 ) -> Self {
9045 match err {
9046 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9047 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9048 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9049 source: err.into(),
9050 }),
9051 }
9052 }
9053}
9054impl From<crate::operation::start_ml_labeling_set_generation_task_run::StartMLLabelingSetGenerationTaskRunError> for Error {
9055 fn from(err: crate::operation::start_ml_labeling_set_generation_task_run::StartMLLabelingSetGenerationTaskRunError) -> Self {
9056 match err {
9057 crate::operation::start_ml_labeling_set_generation_task_run::StartMLLabelingSetGenerationTaskRunError::ConcurrentRunsExceededException(inner) => Error::ConcurrentRunsExceededException(inner),
9058 crate::operation::start_ml_labeling_set_generation_task_run::StartMLLabelingSetGenerationTaskRunError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
9059 crate::operation::start_ml_labeling_set_generation_task_run::StartMLLabelingSetGenerationTaskRunError::InternalServiceException(inner) => Error::InternalServiceException(inner),
9060 crate::operation::start_ml_labeling_set_generation_task_run::StartMLLabelingSetGenerationTaskRunError::InvalidInputException(inner) => Error::InvalidInputException(inner),
9061 crate::operation::start_ml_labeling_set_generation_task_run::StartMLLabelingSetGenerationTaskRunError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
9062 crate::operation::start_ml_labeling_set_generation_task_run::StartMLLabelingSetGenerationTaskRunError::Unhandled(inner) => Error::Unhandled(inner),
9063 }
9064 }
9065}
9066impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_trigger::StartTriggerError, R>> for Error
9067where
9068 R: Send + Sync + std::fmt::Debug + 'static,
9069{
9070 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_trigger::StartTriggerError, R>) -> Self {
9071 match err {
9072 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9073 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9074 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9075 source: err.into(),
9076 }),
9077 }
9078 }
9079}
9080impl From<crate::operation::start_trigger::StartTriggerError> for Error {
9081 fn from(err: crate::operation::start_trigger::StartTriggerError) -> Self {
9082 match err {
9083 crate::operation::start_trigger::StartTriggerError::ConcurrentRunsExceededException(inner) => {
9084 Error::ConcurrentRunsExceededException(inner)
9085 }
9086 crate::operation::start_trigger::StartTriggerError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
9087 crate::operation::start_trigger::StartTriggerError::InternalServiceException(inner) => Error::InternalServiceException(inner),
9088 crate::operation::start_trigger::StartTriggerError::InvalidInputException(inner) => Error::InvalidInputException(inner),
9089 crate::operation::start_trigger::StartTriggerError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
9090 crate::operation::start_trigger::StartTriggerError::ResourceNumberLimitExceededException(inner) => {
9091 Error::ResourceNumberLimitExceededException(inner)
9092 }
9093 crate::operation::start_trigger::StartTriggerError::Unhandled(inner) => Error::Unhandled(inner),
9094 }
9095 }
9096}
9097impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_workflow_run::StartWorkflowRunError, R>> for Error
9098where
9099 R: Send + Sync + std::fmt::Debug + 'static,
9100{
9101 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_workflow_run::StartWorkflowRunError, R>) -> Self {
9102 match err {
9103 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9104 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9105 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9106 source: err.into(),
9107 }),
9108 }
9109 }
9110}
9111impl From<crate::operation::start_workflow_run::StartWorkflowRunError> for Error {
9112 fn from(err: crate::operation::start_workflow_run::StartWorkflowRunError) -> Self {
9113 match err {
9114 crate::operation::start_workflow_run::StartWorkflowRunError::ConcurrentRunsExceededException(inner) => {
9115 Error::ConcurrentRunsExceededException(inner)
9116 }
9117 crate::operation::start_workflow_run::StartWorkflowRunError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
9118 crate::operation::start_workflow_run::StartWorkflowRunError::InternalServiceException(inner) => Error::InternalServiceException(inner),
9119 crate::operation::start_workflow_run::StartWorkflowRunError::InvalidInputException(inner) => Error::InvalidInputException(inner),
9120 crate::operation::start_workflow_run::StartWorkflowRunError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
9121 crate::operation::start_workflow_run::StartWorkflowRunError::ResourceNumberLimitExceededException(inner) => {
9122 Error::ResourceNumberLimitExceededException(inner)
9123 }
9124 crate::operation::start_workflow_run::StartWorkflowRunError::Unhandled(inner) => Error::Unhandled(inner),
9125 }
9126 }
9127}
9128impl<R>
9129 From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_column_statistics_task_run::StopColumnStatisticsTaskRunError, R>>
9130 for Error
9131where
9132 R: Send + Sync + std::fmt::Debug + 'static,
9133{
9134 fn from(
9135 err: ::aws_smithy_runtime_api::client::result::SdkError<
9136 crate::operation::stop_column_statistics_task_run::StopColumnStatisticsTaskRunError,
9137 R,
9138 >,
9139 ) -> Self {
9140 match err {
9141 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9142 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9143 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9144 source: err.into(),
9145 }),
9146 }
9147 }
9148}
9149impl From<crate::operation::stop_column_statistics_task_run::StopColumnStatisticsTaskRunError> for Error {
9150 fn from(err: crate::operation::stop_column_statistics_task_run::StopColumnStatisticsTaskRunError) -> Self {
9151 match err {
9152 crate::operation::stop_column_statistics_task_run::StopColumnStatisticsTaskRunError::ColumnStatisticsTaskNotRunningException(inner) => {
9153 Error::ColumnStatisticsTaskNotRunningException(inner)
9154 }
9155 crate::operation::stop_column_statistics_task_run::StopColumnStatisticsTaskRunError::ColumnStatisticsTaskStoppingException(inner) => {
9156 Error::ColumnStatisticsTaskStoppingException(inner)
9157 }
9158 crate::operation::stop_column_statistics_task_run::StopColumnStatisticsTaskRunError::EntityNotFoundException(inner) => {
9159 Error::EntityNotFoundException(inner)
9160 }
9161 crate::operation::stop_column_statistics_task_run::StopColumnStatisticsTaskRunError::OperationTimeoutException(inner) => {
9162 Error::OperationTimeoutException(inner)
9163 }
9164 crate::operation::stop_column_statistics_task_run::StopColumnStatisticsTaskRunError::Unhandled(inner) => Error::Unhandled(inner),
9165 }
9166 }
9167}
9168impl<R>
9169 From<
9170 ::aws_smithy_runtime_api::client::result::SdkError<
9171 crate::operation::stop_column_statistics_task_run_schedule::StopColumnStatisticsTaskRunScheduleError,
9172 R,
9173 >,
9174 > for Error
9175where
9176 R: Send + Sync + std::fmt::Debug + 'static,
9177{
9178 fn from(
9179 err: ::aws_smithy_runtime_api::client::result::SdkError<
9180 crate::operation::stop_column_statistics_task_run_schedule::StopColumnStatisticsTaskRunScheduleError,
9181 R,
9182 >,
9183 ) -> Self {
9184 match err {
9185 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9186 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9187 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9188 source: err.into(),
9189 }),
9190 }
9191 }
9192}
9193impl From<crate::operation::stop_column_statistics_task_run_schedule::StopColumnStatisticsTaskRunScheduleError> for Error {
9194 fn from(err: crate::operation::stop_column_statistics_task_run_schedule::StopColumnStatisticsTaskRunScheduleError) -> Self {
9195 match err {
9196 crate::operation::stop_column_statistics_task_run_schedule::StopColumnStatisticsTaskRunScheduleError::EntityNotFoundException(inner) => {
9197 Error::EntityNotFoundException(inner)
9198 }
9199 crate::operation::stop_column_statistics_task_run_schedule::StopColumnStatisticsTaskRunScheduleError::InvalidInputException(inner) => {
9200 Error::InvalidInputException(inner)
9201 }
9202 crate::operation::stop_column_statistics_task_run_schedule::StopColumnStatisticsTaskRunScheduleError::OperationTimeoutException(
9203 inner,
9204 ) => Error::OperationTimeoutException(inner),
9205 crate::operation::stop_column_statistics_task_run_schedule::StopColumnStatisticsTaskRunScheduleError::Unhandled(inner) => {
9206 Error::Unhandled(inner)
9207 }
9208 }
9209 }
9210}
9211impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_crawler::StopCrawlerError, R>> for Error
9212where
9213 R: Send + Sync + std::fmt::Debug + 'static,
9214{
9215 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_crawler::StopCrawlerError, R>) -> Self {
9216 match err {
9217 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9218 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9219 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9220 source: err.into(),
9221 }),
9222 }
9223 }
9224}
9225impl From<crate::operation::stop_crawler::StopCrawlerError> for Error {
9226 fn from(err: crate::operation::stop_crawler::StopCrawlerError) -> Self {
9227 match err {
9228 crate::operation::stop_crawler::StopCrawlerError::CrawlerNotRunningException(inner) => Error::CrawlerNotRunningException(inner),
9229 crate::operation::stop_crawler::StopCrawlerError::CrawlerStoppingException(inner) => Error::CrawlerStoppingException(inner),
9230 crate::operation::stop_crawler::StopCrawlerError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
9231 crate::operation::stop_crawler::StopCrawlerError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
9232 crate::operation::stop_crawler::StopCrawlerError::Unhandled(inner) => Error::Unhandled(inner),
9233 }
9234 }
9235}
9236impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_crawler_schedule::StopCrawlerScheduleError, R>> for Error
9237where
9238 R: Send + Sync + std::fmt::Debug + 'static,
9239{
9240 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_crawler_schedule::StopCrawlerScheduleError, R>) -> Self {
9241 match err {
9242 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9243 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9244 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9245 source: err.into(),
9246 }),
9247 }
9248 }
9249}
9250impl From<crate::operation::stop_crawler_schedule::StopCrawlerScheduleError> for Error {
9251 fn from(err: crate::operation::stop_crawler_schedule::StopCrawlerScheduleError) -> Self {
9252 match err {
9253 crate::operation::stop_crawler_schedule::StopCrawlerScheduleError::EntityNotFoundException(inner) => {
9254 Error::EntityNotFoundException(inner)
9255 }
9256 crate::operation::stop_crawler_schedule::StopCrawlerScheduleError::OperationTimeoutException(inner) => {
9257 Error::OperationTimeoutException(inner)
9258 }
9259 crate::operation::stop_crawler_schedule::StopCrawlerScheduleError::SchedulerNotRunningException(inner) => {
9260 Error::SchedulerNotRunningException(inner)
9261 }
9262 crate::operation::stop_crawler_schedule::StopCrawlerScheduleError::SchedulerTransitioningException(inner) => {
9263 Error::SchedulerTransitioningException(inner)
9264 }
9265 crate::operation::stop_crawler_schedule::StopCrawlerScheduleError::Unhandled(inner) => Error::Unhandled(inner),
9266 }
9267 }
9268}
9269impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_job_upgrade_analysis::StopJobUpgradeAnalysisError, R>>
9270 for Error
9271where
9272 R: Send + Sync + std::fmt::Debug + 'static,
9273{
9274 fn from(
9275 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_job_upgrade_analysis::StopJobUpgradeAnalysisError, R>,
9276 ) -> Self {
9277 match err {
9278 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9279 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9280 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9281 source: err.into(),
9282 }),
9283 }
9284 }
9285}
9286impl From<crate::operation::stop_job_upgrade_analysis::StopJobUpgradeAnalysisError> for Error {
9287 fn from(err: crate::operation::stop_job_upgrade_analysis::StopJobUpgradeAnalysisError) -> Self {
9288 match err {
9289 crate::operation::stop_job_upgrade_analysis::StopJobUpgradeAnalysisError::AccessDeniedException(inner) => {
9290 Error::AccessDeniedException(inner)
9291 }
9292 crate::operation::stop_job_upgrade_analysis::StopJobUpgradeAnalysisError::EntityNotFoundException(inner) => {
9293 Error::EntityNotFoundException(inner)
9294 }
9295 crate::operation::stop_job_upgrade_analysis::StopJobUpgradeAnalysisError::InternalServiceException(inner) => {
9296 Error::InternalServiceException(inner)
9297 }
9298 crate::operation::stop_job_upgrade_analysis::StopJobUpgradeAnalysisError::InvalidInputException(inner) => {
9299 Error::InvalidInputException(inner)
9300 }
9301 crate::operation::stop_job_upgrade_analysis::StopJobUpgradeAnalysisError::OperationNotSupportedException(inner) => {
9302 Error::OperationNotSupportedException(inner)
9303 }
9304 crate::operation::stop_job_upgrade_analysis::StopJobUpgradeAnalysisError::ThrottlingException(inner) => Error::ThrottlingException(inner),
9305 crate::operation::stop_job_upgrade_analysis::StopJobUpgradeAnalysisError::Unhandled(inner) => Error::Unhandled(inner),
9306 }
9307 }
9308}
9309impl<R>
9310 From<
9311 ::aws_smithy_runtime_api::client::result::SdkError<
9312 crate::operation::stop_materialized_view_refresh_task_run::StopMaterializedViewRefreshTaskRunError,
9313 R,
9314 >,
9315 > for Error
9316where
9317 R: Send + Sync + std::fmt::Debug + 'static,
9318{
9319 fn from(
9320 err: ::aws_smithy_runtime_api::client::result::SdkError<
9321 crate::operation::stop_materialized_view_refresh_task_run::StopMaterializedViewRefreshTaskRunError,
9322 R,
9323 >,
9324 ) -> Self {
9325 match err {
9326 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9327 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9328 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9329 source: err.into(),
9330 }),
9331 }
9332 }
9333}
9334impl From<crate::operation::stop_materialized_view_refresh_task_run::StopMaterializedViewRefreshTaskRunError> for Error {
9335 fn from(err: crate::operation::stop_materialized_view_refresh_task_run::StopMaterializedViewRefreshTaskRunError) -> Self {
9336 match err {
9337 crate::operation::stop_materialized_view_refresh_task_run::StopMaterializedViewRefreshTaskRunError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
9338 crate::operation::stop_materialized_view_refresh_task_run::StopMaterializedViewRefreshTaskRunError::InvalidInputException(inner) => Error::InvalidInputException(inner),
9339 crate::operation::stop_materialized_view_refresh_task_run::StopMaterializedViewRefreshTaskRunError::MaterializedViewRefreshTaskNotRunningException(inner) => Error::MaterializedViewRefreshTaskNotRunningException(inner),
9340 crate::operation::stop_materialized_view_refresh_task_run::StopMaterializedViewRefreshTaskRunError::MaterializedViewRefreshTaskStoppingException(inner) => Error::MaterializedViewRefreshTaskStoppingException(inner),
9341 crate::operation::stop_materialized_view_refresh_task_run::StopMaterializedViewRefreshTaskRunError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
9342 crate::operation::stop_materialized_view_refresh_task_run::StopMaterializedViewRefreshTaskRunError::Unhandled(inner) => Error::Unhandled(inner),
9343 }
9344 }
9345}
9346impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_session::StopSessionError, R>> for Error
9347where
9348 R: Send + Sync + std::fmt::Debug + 'static,
9349{
9350 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_session::StopSessionError, R>) -> Self {
9351 match err {
9352 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9353 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9354 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9355 source: err.into(),
9356 }),
9357 }
9358 }
9359}
9360impl From<crate::operation::stop_session::StopSessionError> for Error {
9361 fn from(err: crate::operation::stop_session::StopSessionError) -> Self {
9362 match err {
9363 crate::operation::stop_session::StopSessionError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
9364 crate::operation::stop_session::StopSessionError::ConcurrentModificationException(inner) => Error::ConcurrentModificationException(inner),
9365 crate::operation::stop_session::StopSessionError::IllegalSessionStateException(inner) => Error::IllegalSessionStateException(inner),
9366 crate::operation::stop_session::StopSessionError::InternalServiceException(inner) => Error::InternalServiceException(inner),
9367 crate::operation::stop_session::StopSessionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
9368 crate::operation::stop_session::StopSessionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
9369 crate::operation::stop_session::StopSessionError::Unhandled(inner) => Error::Unhandled(inner),
9370 }
9371 }
9372}
9373impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_trigger::StopTriggerError, R>> for Error
9374where
9375 R: Send + Sync + std::fmt::Debug + 'static,
9376{
9377 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_trigger::StopTriggerError, R>) -> Self {
9378 match err {
9379 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9380 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9381 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9382 source: err.into(),
9383 }),
9384 }
9385 }
9386}
9387impl From<crate::operation::stop_trigger::StopTriggerError> for Error {
9388 fn from(err: crate::operation::stop_trigger::StopTriggerError) -> Self {
9389 match err {
9390 crate::operation::stop_trigger::StopTriggerError::ConcurrentModificationException(inner) => Error::ConcurrentModificationException(inner),
9391 crate::operation::stop_trigger::StopTriggerError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
9392 crate::operation::stop_trigger::StopTriggerError::InternalServiceException(inner) => Error::InternalServiceException(inner),
9393 crate::operation::stop_trigger::StopTriggerError::InvalidInputException(inner) => Error::InvalidInputException(inner),
9394 crate::operation::stop_trigger::StopTriggerError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
9395 crate::operation::stop_trigger::StopTriggerError::Unhandled(inner) => Error::Unhandled(inner),
9396 }
9397 }
9398}
9399impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_workflow_run::StopWorkflowRunError, R>> for Error
9400where
9401 R: Send + Sync + std::fmt::Debug + 'static,
9402{
9403 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_workflow_run::StopWorkflowRunError, R>) -> Self {
9404 match err {
9405 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9406 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9407 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9408 source: err.into(),
9409 }),
9410 }
9411 }
9412}
9413impl From<crate::operation::stop_workflow_run::StopWorkflowRunError> for Error {
9414 fn from(err: crate::operation::stop_workflow_run::StopWorkflowRunError) -> Self {
9415 match err {
9416 crate::operation::stop_workflow_run::StopWorkflowRunError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
9417 crate::operation::stop_workflow_run::StopWorkflowRunError::IllegalWorkflowStateException(inner) => {
9418 Error::IllegalWorkflowStateException(inner)
9419 }
9420 crate::operation::stop_workflow_run::StopWorkflowRunError::InternalServiceException(inner) => Error::InternalServiceException(inner),
9421 crate::operation::stop_workflow_run::StopWorkflowRunError::InvalidInputException(inner) => Error::InvalidInputException(inner),
9422 crate::operation::stop_workflow_run::StopWorkflowRunError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
9423 crate::operation::stop_workflow_run::StopWorkflowRunError::Unhandled(inner) => Error::Unhandled(inner),
9424 }
9425 }
9426}
9427impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::tag_resource::TagResourceError, R>> for Error
9428where
9429 R: Send + Sync + std::fmt::Debug + 'static,
9430{
9431 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::tag_resource::TagResourceError, R>) -> Self {
9432 match err {
9433 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9434 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9435 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9436 source: err.into(),
9437 }),
9438 }
9439 }
9440}
9441impl From<crate::operation::tag_resource::TagResourceError> for Error {
9442 fn from(err: crate::operation::tag_resource::TagResourceError) -> Self {
9443 match err {
9444 crate::operation::tag_resource::TagResourceError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
9445 crate::operation::tag_resource::TagResourceError::InternalServiceException(inner) => Error::InternalServiceException(inner),
9446 crate::operation::tag_resource::TagResourceError::InvalidInputException(inner) => Error::InvalidInputException(inner),
9447 crate::operation::tag_resource::TagResourceError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
9448 crate::operation::tag_resource::TagResourceError::Unhandled(inner) => Error::Unhandled(inner),
9449 }
9450 }
9451}
9452impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::test_connection::TestConnectionError, R>> for Error
9453where
9454 R: Send + Sync + std::fmt::Debug + 'static,
9455{
9456 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::test_connection::TestConnectionError, R>) -> Self {
9457 match err {
9458 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9459 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9460 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9461 source: err.into(),
9462 }),
9463 }
9464 }
9465}
9466impl From<crate::operation::test_connection::TestConnectionError> for Error {
9467 fn from(err: crate::operation::test_connection::TestConnectionError) -> Self {
9468 match err {
9469 crate::operation::test_connection::TestConnectionError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
9470 crate::operation::test_connection::TestConnectionError::ConflictException(inner) => Error::ConflictException(inner),
9471 crate::operation::test_connection::TestConnectionError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
9472 crate::operation::test_connection::TestConnectionError::FederationSourceException(inner) => Error::FederationSourceException(inner),
9473 crate::operation::test_connection::TestConnectionError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
9474 crate::operation::test_connection::TestConnectionError::InternalServiceException(inner) => Error::InternalServiceException(inner),
9475 crate::operation::test_connection::TestConnectionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
9476 crate::operation::test_connection::TestConnectionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
9477 crate::operation::test_connection::TestConnectionError::ResourceNumberLimitExceededException(inner) => {
9478 Error::ResourceNumberLimitExceededException(inner)
9479 }
9480 crate::operation::test_connection::TestConnectionError::Unhandled(inner) => Error::Unhandled(inner),
9481 }
9482 }
9483}
9484impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::untag_resource::UntagResourceError, R>> for Error
9485where
9486 R: Send + Sync + std::fmt::Debug + 'static,
9487{
9488 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::untag_resource::UntagResourceError, R>) -> Self {
9489 match err {
9490 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9491 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9492 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9493 source: err.into(),
9494 }),
9495 }
9496 }
9497}
9498impl From<crate::operation::untag_resource::UntagResourceError> for Error {
9499 fn from(err: crate::operation::untag_resource::UntagResourceError) -> Self {
9500 match err {
9501 crate::operation::untag_resource::UntagResourceError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
9502 crate::operation::untag_resource::UntagResourceError::InternalServiceException(inner) => Error::InternalServiceException(inner),
9503 crate::operation::untag_resource::UntagResourceError::InvalidInputException(inner) => Error::InvalidInputException(inner),
9504 crate::operation::untag_resource::UntagResourceError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
9505 crate::operation::untag_resource::UntagResourceError::Unhandled(inner) => Error::Unhandled(inner),
9506 }
9507 }
9508}
9509impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_asset::UpdateAssetError, R>> for Error
9510where
9511 R: Send + Sync + std::fmt::Debug + 'static,
9512{
9513 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_asset::UpdateAssetError, R>) -> Self {
9514 match err {
9515 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9516 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9517 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9518 source: err.into(),
9519 }),
9520 }
9521 }
9522}
9523impl From<crate::operation::update_asset::UpdateAssetError> for Error {
9524 fn from(err: crate::operation::update_asset::UpdateAssetError) -> Self {
9525 match err {
9526 crate::operation::update_asset::UpdateAssetError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
9527 crate::operation::update_asset::UpdateAssetError::ConcurrentModificationException(inner) => Error::ConcurrentModificationException(inner),
9528 crate::operation::update_asset::UpdateAssetError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
9529 crate::operation::update_asset::UpdateAssetError::InternalServiceException(inner) => Error::InternalServiceException(inner),
9530 crate::operation::update_asset::UpdateAssetError::InvalidInputException(inner) => Error::InvalidInputException(inner),
9531 crate::operation::update_asset::UpdateAssetError::ThrottlingException(inner) => Error::ThrottlingException(inner),
9532 crate::operation::update_asset::UpdateAssetError::Unhandled(inner) => Error::Unhandled(inner),
9533 }
9534 }
9535}
9536impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_blueprint::UpdateBlueprintError, R>> for Error
9537where
9538 R: Send + Sync + std::fmt::Debug + 'static,
9539{
9540 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_blueprint::UpdateBlueprintError, R>) -> Self {
9541 match err {
9542 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9543 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9544 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9545 source: err.into(),
9546 }),
9547 }
9548 }
9549}
9550impl From<crate::operation::update_blueprint::UpdateBlueprintError> for Error {
9551 fn from(err: crate::operation::update_blueprint::UpdateBlueprintError) -> Self {
9552 match err {
9553 crate::operation::update_blueprint::UpdateBlueprintError::ConcurrentModificationException(inner) => {
9554 Error::ConcurrentModificationException(inner)
9555 }
9556 crate::operation::update_blueprint::UpdateBlueprintError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
9557 crate::operation::update_blueprint::UpdateBlueprintError::IllegalBlueprintStateException(inner) => {
9558 Error::IllegalBlueprintStateException(inner)
9559 }
9560 crate::operation::update_blueprint::UpdateBlueprintError::InternalServiceException(inner) => Error::InternalServiceException(inner),
9561 crate::operation::update_blueprint::UpdateBlueprintError::InvalidInputException(inner) => Error::InvalidInputException(inner),
9562 crate::operation::update_blueprint::UpdateBlueprintError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
9563 crate::operation::update_blueprint::UpdateBlueprintError::Unhandled(inner) => Error::Unhandled(inner),
9564 }
9565 }
9566}
9567impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_catalog::UpdateCatalogError, R>> for Error
9568where
9569 R: Send + Sync + std::fmt::Debug + 'static,
9570{
9571 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_catalog::UpdateCatalogError, R>) -> Self {
9572 match err {
9573 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9574 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9575 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9576 source: err.into(),
9577 }),
9578 }
9579 }
9580}
9581impl From<crate::operation::update_catalog::UpdateCatalogError> for Error {
9582 fn from(err: crate::operation::update_catalog::UpdateCatalogError) -> Self {
9583 match err {
9584 crate::operation::update_catalog::UpdateCatalogError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
9585 crate::operation::update_catalog::UpdateCatalogError::ConcurrentModificationException(inner) => {
9586 Error::ConcurrentModificationException(inner)
9587 }
9588 crate::operation::update_catalog::UpdateCatalogError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
9589 crate::operation::update_catalog::UpdateCatalogError::FederationSourceException(inner) => Error::FederationSourceException(inner),
9590 crate::operation::update_catalog::UpdateCatalogError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
9591 crate::operation::update_catalog::UpdateCatalogError::InternalServiceException(inner) => Error::InternalServiceException(inner),
9592 crate::operation::update_catalog::UpdateCatalogError::InvalidInputException(inner) => Error::InvalidInputException(inner),
9593 crate::operation::update_catalog::UpdateCatalogError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
9594 crate::operation::update_catalog::UpdateCatalogError::Unhandled(inner) => Error::Unhandled(inner),
9595 }
9596 }
9597}
9598impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_classifier::UpdateClassifierError, R>> for Error
9599where
9600 R: Send + Sync + std::fmt::Debug + 'static,
9601{
9602 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_classifier::UpdateClassifierError, R>) -> Self {
9603 match err {
9604 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9605 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9606 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9607 source: err.into(),
9608 }),
9609 }
9610 }
9611}
9612impl From<crate::operation::update_classifier::UpdateClassifierError> for Error {
9613 fn from(err: crate::operation::update_classifier::UpdateClassifierError) -> Self {
9614 match err {
9615 crate::operation::update_classifier::UpdateClassifierError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
9616 crate::operation::update_classifier::UpdateClassifierError::InvalidInputException(inner) => Error::InvalidInputException(inner),
9617 crate::operation::update_classifier::UpdateClassifierError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
9618 crate::operation::update_classifier::UpdateClassifierError::VersionMismatchException(inner) => Error::VersionMismatchException(inner),
9619 crate::operation::update_classifier::UpdateClassifierError::Unhandled(inner) => Error::Unhandled(inner),
9620 }
9621 }
9622}
9623impl<R>
9624 From<
9625 ::aws_smithy_runtime_api::client::result::SdkError<
9626 crate::operation::update_column_statistics_for_partition::UpdateColumnStatisticsForPartitionError,
9627 R,
9628 >,
9629 > for Error
9630where
9631 R: Send + Sync + std::fmt::Debug + 'static,
9632{
9633 fn from(
9634 err: ::aws_smithy_runtime_api::client::result::SdkError<
9635 crate::operation::update_column_statistics_for_partition::UpdateColumnStatisticsForPartitionError,
9636 R,
9637 >,
9638 ) -> Self {
9639 match err {
9640 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9641 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9642 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9643 source: err.into(),
9644 }),
9645 }
9646 }
9647}
9648impl From<crate::operation::update_column_statistics_for_partition::UpdateColumnStatisticsForPartitionError> for Error {
9649 fn from(err: crate::operation::update_column_statistics_for_partition::UpdateColumnStatisticsForPartitionError) -> Self {
9650 match err {
9651 crate::operation::update_column_statistics_for_partition::UpdateColumnStatisticsForPartitionError::EntityNotFoundException(inner) => {
9652 Error::EntityNotFoundException(inner)
9653 }
9654 crate::operation::update_column_statistics_for_partition::UpdateColumnStatisticsForPartitionError::GlueEncryptionException(inner) => {
9655 Error::GlueEncryptionException(inner)
9656 }
9657 crate::operation::update_column_statistics_for_partition::UpdateColumnStatisticsForPartitionError::InternalServiceException(inner) => {
9658 Error::InternalServiceException(inner)
9659 }
9660 crate::operation::update_column_statistics_for_partition::UpdateColumnStatisticsForPartitionError::InvalidInputException(inner) => {
9661 Error::InvalidInputException(inner)
9662 }
9663 crate::operation::update_column_statistics_for_partition::UpdateColumnStatisticsForPartitionError::OperationTimeoutException(inner) => {
9664 Error::OperationTimeoutException(inner)
9665 }
9666 crate::operation::update_column_statistics_for_partition::UpdateColumnStatisticsForPartitionError::Unhandled(inner) => {
9667 Error::Unhandled(inner)
9668 }
9669 }
9670 }
9671}
9672impl<R>
9673 From<
9674 ::aws_smithy_runtime_api::client::result::SdkError<
9675 crate::operation::update_column_statistics_for_table::UpdateColumnStatisticsForTableError,
9676 R,
9677 >,
9678 > for Error
9679where
9680 R: Send + Sync + std::fmt::Debug + 'static,
9681{
9682 fn from(
9683 err: ::aws_smithy_runtime_api::client::result::SdkError<
9684 crate::operation::update_column_statistics_for_table::UpdateColumnStatisticsForTableError,
9685 R,
9686 >,
9687 ) -> Self {
9688 match err {
9689 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9690 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9691 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9692 source: err.into(),
9693 }),
9694 }
9695 }
9696}
9697impl From<crate::operation::update_column_statistics_for_table::UpdateColumnStatisticsForTableError> for Error {
9698 fn from(err: crate::operation::update_column_statistics_for_table::UpdateColumnStatisticsForTableError) -> Self {
9699 match err {
9700 crate::operation::update_column_statistics_for_table::UpdateColumnStatisticsForTableError::EntityNotFoundException(inner) => {
9701 Error::EntityNotFoundException(inner)
9702 }
9703 crate::operation::update_column_statistics_for_table::UpdateColumnStatisticsForTableError::GlueEncryptionException(inner) => {
9704 Error::GlueEncryptionException(inner)
9705 }
9706 crate::operation::update_column_statistics_for_table::UpdateColumnStatisticsForTableError::InternalServiceException(inner) => {
9707 Error::InternalServiceException(inner)
9708 }
9709 crate::operation::update_column_statistics_for_table::UpdateColumnStatisticsForTableError::InvalidInputException(inner) => {
9710 Error::InvalidInputException(inner)
9711 }
9712 crate::operation::update_column_statistics_for_table::UpdateColumnStatisticsForTableError::OperationTimeoutException(inner) => {
9713 Error::OperationTimeoutException(inner)
9714 }
9715 crate::operation::update_column_statistics_for_table::UpdateColumnStatisticsForTableError::Unhandled(inner) => Error::Unhandled(inner),
9716 }
9717 }
9718}
9719impl<R>
9720 From<
9721 ::aws_smithy_runtime_api::client::result::SdkError<
9722 crate::operation::update_column_statistics_task_settings::UpdateColumnStatisticsTaskSettingsError,
9723 R,
9724 >,
9725 > for Error
9726where
9727 R: Send + Sync + std::fmt::Debug + 'static,
9728{
9729 fn from(
9730 err: ::aws_smithy_runtime_api::client::result::SdkError<
9731 crate::operation::update_column_statistics_task_settings::UpdateColumnStatisticsTaskSettingsError,
9732 R,
9733 >,
9734 ) -> Self {
9735 match err {
9736 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9737 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9738 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9739 source: err.into(),
9740 }),
9741 }
9742 }
9743}
9744impl From<crate::operation::update_column_statistics_task_settings::UpdateColumnStatisticsTaskSettingsError> for Error {
9745 fn from(err: crate::operation::update_column_statistics_task_settings::UpdateColumnStatisticsTaskSettingsError) -> Self {
9746 match err {
9747 crate::operation::update_column_statistics_task_settings::UpdateColumnStatisticsTaskSettingsError::AccessDeniedException(inner) => {
9748 Error::AccessDeniedException(inner)
9749 }
9750 crate::operation::update_column_statistics_task_settings::UpdateColumnStatisticsTaskSettingsError::EntityNotFoundException(inner) => {
9751 Error::EntityNotFoundException(inner)
9752 }
9753 crate::operation::update_column_statistics_task_settings::UpdateColumnStatisticsTaskSettingsError::InvalidInputException(inner) => {
9754 Error::InvalidInputException(inner)
9755 }
9756 crate::operation::update_column_statistics_task_settings::UpdateColumnStatisticsTaskSettingsError::OperationTimeoutException(inner) => {
9757 Error::OperationTimeoutException(inner)
9758 }
9759 crate::operation::update_column_statistics_task_settings::UpdateColumnStatisticsTaskSettingsError::VersionMismatchException(inner) => {
9760 Error::VersionMismatchException(inner)
9761 }
9762 crate::operation::update_column_statistics_task_settings::UpdateColumnStatisticsTaskSettingsError::Unhandled(inner) => {
9763 Error::Unhandled(inner)
9764 }
9765 }
9766 }
9767}
9768impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_connection::UpdateConnectionError, R>> for Error
9769where
9770 R: Send + Sync + std::fmt::Debug + 'static,
9771{
9772 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_connection::UpdateConnectionError, R>) -> Self {
9773 match err {
9774 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9775 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9776 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9777 source: err.into(),
9778 }),
9779 }
9780 }
9781}
9782impl From<crate::operation::update_connection::UpdateConnectionError> for Error {
9783 fn from(err: crate::operation::update_connection::UpdateConnectionError) -> Self {
9784 match err {
9785 crate::operation::update_connection::UpdateConnectionError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
9786 crate::operation::update_connection::UpdateConnectionError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
9787 crate::operation::update_connection::UpdateConnectionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
9788 crate::operation::update_connection::UpdateConnectionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
9789 crate::operation::update_connection::UpdateConnectionError::Unhandled(inner) => Error::Unhandled(inner),
9790 }
9791 }
9792}
9793impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_crawler::UpdateCrawlerError, R>> for Error
9794where
9795 R: Send + Sync + std::fmt::Debug + 'static,
9796{
9797 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_crawler::UpdateCrawlerError, R>) -> Self {
9798 match err {
9799 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9800 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9801 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9802 source: err.into(),
9803 }),
9804 }
9805 }
9806}
9807impl From<crate::operation::update_crawler::UpdateCrawlerError> for Error {
9808 fn from(err: crate::operation::update_crawler::UpdateCrawlerError) -> Self {
9809 match err {
9810 crate::operation::update_crawler::UpdateCrawlerError::CrawlerRunningException(inner) => Error::CrawlerRunningException(inner),
9811 crate::operation::update_crawler::UpdateCrawlerError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
9812 crate::operation::update_crawler::UpdateCrawlerError::InvalidInputException(inner) => Error::InvalidInputException(inner),
9813 crate::operation::update_crawler::UpdateCrawlerError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
9814 crate::operation::update_crawler::UpdateCrawlerError::VersionMismatchException(inner) => Error::VersionMismatchException(inner),
9815 crate::operation::update_crawler::UpdateCrawlerError::Unhandled(inner) => Error::Unhandled(inner),
9816 }
9817 }
9818}
9819impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_crawler_schedule::UpdateCrawlerScheduleError, R>> for Error
9820where
9821 R: Send + Sync + std::fmt::Debug + 'static,
9822{
9823 fn from(
9824 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_crawler_schedule::UpdateCrawlerScheduleError, R>,
9825 ) -> Self {
9826 match err {
9827 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9828 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9829 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9830 source: err.into(),
9831 }),
9832 }
9833 }
9834}
9835impl From<crate::operation::update_crawler_schedule::UpdateCrawlerScheduleError> for Error {
9836 fn from(err: crate::operation::update_crawler_schedule::UpdateCrawlerScheduleError) -> Self {
9837 match err {
9838 crate::operation::update_crawler_schedule::UpdateCrawlerScheduleError::EntityNotFoundException(inner) => {
9839 Error::EntityNotFoundException(inner)
9840 }
9841 crate::operation::update_crawler_schedule::UpdateCrawlerScheduleError::InvalidInputException(inner) => {
9842 Error::InvalidInputException(inner)
9843 }
9844 crate::operation::update_crawler_schedule::UpdateCrawlerScheduleError::OperationTimeoutException(inner) => {
9845 Error::OperationTimeoutException(inner)
9846 }
9847 crate::operation::update_crawler_schedule::UpdateCrawlerScheduleError::SchedulerTransitioningException(inner) => {
9848 Error::SchedulerTransitioningException(inner)
9849 }
9850 crate::operation::update_crawler_schedule::UpdateCrawlerScheduleError::VersionMismatchException(inner) => {
9851 Error::VersionMismatchException(inner)
9852 }
9853 crate::operation::update_crawler_schedule::UpdateCrawlerScheduleError::Unhandled(inner) => Error::Unhandled(inner),
9854 }
9855 }
9856}
9857impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_database::UpdateDatabaseError, R>> for Error
9858where
9859 R: Send + Sync + std::fmt::Debug + 'static,
9860{
9861 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_database::UpdateDatabaseError, R>) -> Self {
9862 match err {
9863 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9864 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9865 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9866 source: err.into(),
9867 }),
9868 }
9869 }
9870}
9871impl From<crate::operation::update_database::UpdateDatabaseError> for Error {
9872 fn from(err: crate::operation::update_database::UpdateDatabaseError) -> Self {
9873 match err {
9874 crate::operation::update_database::UpdateDatabaseError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
9875 crate::operation::update_database::UpdateDatabaseError::ConcurrentModificationException(inner) => {
9876 Error::ConcurrentModificationException(inner)
9877 }
9878 crate::operation::update_database::UpdateDatabaseError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
9879 crate::operation::update_database::UpdateDatabaseError::FederationSourceException(inner) => Error::FederationSourceException(inner),
9880 crate::operation::update_database::UpdateDatabaseError::FederationSourceRetryableException(inner) => {
9881 Error::FederationSourceRetryableException(inner)
9882 }
9883 crate::operation::update_database::UpdateDatabaseError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
9884 crate::operation::update_database::UpdateDatabaseError::InternalServiceException(inner) => Error::InternalServiceException(inner),
9885 crate::operation::update_database::UpdateDatabaseError::InvalidInputException(inner) => Error::InvalidInputException(inner),
9886 crate::operation::update_database::UpdateDatabaseError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
9887 crate::operation::update_database::UpdateDatabaseError::Unhandled(inner) => Error::Unhandled(inner),
9888 }
9889 }
9890}
9891impl<R>
9892 From<
9893 ::aws_smithy_runtime_api::client::result::SdkError<
9894 crate::operation::update_data_quality_evaluation_config::UpdateDataQualityEvaluationConfigError,
9895 R,
9896 >,
9897 > for Error
9898where
9899 R: Send + Sync + std::fmt::Debug + 'static,
9900{
9901 fn from(
9902 err: ::aws_smithy_runtime_api::client::result::SdkError<
9903 crate::operation::update_data_quality_evaluation_config::UpdateDataQualityEvaluationConfigError,
9904 R,
9905 >,
9906 ) -> Self {
9907 match err {
9908 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9909 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9910 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9911 source: err.into(),
9912 }),
9913 }
9914 }
9915}
9916impl From<crate::operation::update_data_quality_evaluation_config::UpdateDataQualityEvaluationConfigError> for Error {
9917 fn from(err: crate::operation::update_data_quality_evaluation_config::UpdateDataQualityEvaluationConfigError) -> Self {
9918 match err {
9919 crate::operation::update_data_quality_evaluation_config::UpdateDataQualityEvaluationConfigError::AccessDeniedException(inner) => {
9920 Error::AccessDeniedException(inner)
9921 }
9922 crate::operation::update_data_quality_evaluation_config::UpdateDataQualityEvaluationConfigError::ConcurrentModificationException(
9923 inner,
9924 ) => Error::ConcurrentModificationException(inner),
9925 crate::operation::update_data_quality_evaluation_config::UpdateDataQualityEvaluationConfigError::EntityNotFoundException(inner) => {
9926 Error::EntityNotFoundException(inner)
9927 }
9928 crate::operation::update_data_quality_evaluation_config::UpdateDataQualityEvaluationConfigError::InternalServiceException(inner) => {
9929 Error::InternalServiceException(inner)
9930 }
9931 crate::operation::update_data_quality_evaluation_config::UpdateDataQualityEvaluationConfigError::InvalidInputException(inner) => {
9932 Error::InvalidInputException(inner)
9933 }
9934 crate::operation::update_data_quality_evaluation_config::UpdateDataQualityEvaluationConfigError::OperationTimeoutException(inner) => {
9935 Error::OperationTimeoutException(inner)
9936 }
9937 crate::operation::update_data_quality_evaluation_config::UpdateDataQualityEvaluationConfigError::Unhandled(inner) => {
9938 Error::Unhandled(inner)
9939 }
9940 }
9941 }
9942}
9943impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_data_quality_ruleset::UpdateDataQualityRulesetError, R>>
9944 for Error
9945where
9946 R: Send + Sync + std::fmt::Debug + 'static,
9947{
9948 fn from(
9949 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_data_quality_ruleset::UpdateDataQualityRulesetError, R>,
9950 ) -> Self {
9951 match err {
9952 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9953 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9954 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9955 source: err.into(),
9956 }),
9957 }
9958 }
9959}
9960impl From<crate::operation::update_data_quality_ruleset::UpdateDataQualityRulesetError> for Error {
9961 fn from(err: crate::operation::update_data_quality_ruleset::UpdateDataQualityRulesetError) -> Self {
9962 match err {
9963 crate::operation::update_data_quality_ruleset::UpdateDataQualityRulesetError::AlreadyExistsException(inner) => {
9964 Error::AlreadyExistsException(inner)
9965 }
9966 crate::operation::update_data_quality_ruleset::UpdateDataQualityRulesetError::EntityNotFoundException(inner) => {
9967 Error::EntityNotFoundException(inner)
9968 }
9969 crate::operation::update_data_quality_ruleset::UpdateDataQualityRulesetError::IdempotentParameterMismatchException(inner) => {
9970 Error::IdempotentParameterMismatchException(inner)
9971 }
9972 crate::operation::update_data_quality_ruleset::UpdateDataQualityRulesetError::InternalServiceException(inner) => {
9973 Error::InternalServiceException(inner)
9974 }
9975 crate::operation::update_data_quality_ruleset::UpdateDataQualityRulesetError::InvalidInputException(inner) => {
9976 Error::InvalidInputException(inner)
9977 }
9978 crate::operation::update_data_quality_ruleset::UpdateDataQualityRulesetError::OperationTimeoutException(inner) => {
9979 Error::OperationTimeoutException(inner)
9980 }
9981 crate::operation::update_data_quality_ruleset::UpdateDataQualityRulesetError::ResourceNumberLimitExceededException(inner) => {
9982 Error::ResourceNumberLimitExceededException(inner)
9983 }
9984 crate::operation::update_data_quality_ruleset::UpdateDataQualityRulesetError::Unhandled(inner) => Error::Unhandled(inner),
9985 }
9986 }
9987}
9988impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_dev_endpoint::UpdateDevEndpointError, R>> for Error
9989where
9990 R: Send + Sync + std::fmt::Debug + 'static,
9991{
9992 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_dev_endpoint::UpdateDevEndpointError, R>) -> Self {
9993 match err {
9994 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9995 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9996 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9997 source: err.into(),
9998 }),
9999 }
10000 }
10001}
10002impl From<crate::operation::update_dev_endpoint::UpdateDevEndpointError> for Error {
10003 fn from(err: crate::operation::update_dev_endpoint::UpdateDevEndpointError) -> Self {
10004 match err {
10005 crate::operation::update_dev_endpoint::UpdateDevEndpointError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
10006 crate::operation::update_dev_endpoint::UpdateDevEndpointError::InternalServiceException(inner) => Error::InternalServiceException(inner),
10007 crate::operation::update_dev_endpoint::UpdateDevEndpointError::InvalidInputException(inner) => Error::InvalidInputException(inner),
10008 crate::operation::update_dev_endpoint::UpdateDevEndpointError::OperationTimeoutException(inner) => {
10009 Error::OperationTimeoutException(inner)
10010 }
10011 crate::operation::update_dev_endpoint::UpdateDevEndpointError::ValidationException(inner) => Error::ValidationException(inner),
10012 crate::operation::update_dev_endpoint::UpdateDevEndpointError::Unhandled(inner) => Error::Unhandled(inner),
10013 }
10014 }
10015}
10016impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_glossary::UpdateGlossaryError, R>> for Error
10017where
10018 R: Send + Sync + std::fmt::Debug + 'static,
10019{
10020 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_glossary::UpdateGlossaryError, R>) -> Self {
10021 match err {
10022 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10023 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10024 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10025 source: err.into(),
10026 }),
10027 }
10028 }
10029}
10030impl From<crate::operation::update_glossary::UpdateGlossaryError> for Error {
10031 fn from(err: crate::operation::update_glossary::UpdateGlossaryError) -> Self {
10032 match err {
10033 crate::operation::update_glossary::UpdateGlossaryError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
10034 crate::operation::update_glossary::UpdateGlossaryError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
10035 crate::operation::update_glossary::UpdateGlossaryError::ConcurrentModificationException(inner) => {
10036 Error::ConcurrentModificationException(inner)
10037 }
10038 crate::operation::update_glossary::UpdateGlossaryError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
10039 crate::operation::update_glossary::UpdateGlossaryError::InternalServiceException(inner) => Error::InternalServiceException(inner),
10040 crate::operation::update_glossary::UpdateGlossaryError::InvalidInputException(inner) => Error::InvalidInputException(inner),
10041 crate::operation::update_glossary::UpdateGlossaryError::ThrottlingException(inner) => Error::ThrottlingException(inner),
10042 crate::operation::update_glossary::UpdateGlossaryError::Unhandled(inner) => Error::Unhandled(inner),
10043 }
10044 }
10045}
10046impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_glossary_term::UpdateGlossaryTermError, R>> for Error
10047where
10048 R: Send + Sync + std::fmt::Debug + 'static,
10049{
10050 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_glossary_term::UpdateGlossaryTermError, R>) -> Self {
10051 match err {
10052 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10053 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10054 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10055 source: err.into(),
10056 }),
10057 }
10058 }
10059}
10060impl From<crate::operation::update_glossary_term::UpdateGlossaryTermError> for Error {
10061 fn from(err: crate::operation::update_glossary_term::UpdateGlossaryTermError) -> Self {
10062 match err {
10063 crate::operation::update_glossary_term::UpdateGlossaryTermError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
10064 crate::operation::update_glossary_term::UpdateGlossaryTermError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
10065 crate::operation::update_glossary_term::UpdateGlossaryTermError::ConcurrentModificationException(inner) => {
10066 Error::ConcurrentModificationException(inner)
10067 }
10068 crate::operation::update_glossary_term::UpdateGlossaryTermError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
10069 crate::operation::update_glossary_term::UpdateGlossaryTermError::InternalServiceException(inner) => {
10070 Error::InternalServiceException(inner)
10071 }
10072 crate::operation::update_glossary_term::UpdateGlossaryTermError::InvalidInputException(inner) => Error::InvalidInputException(inner),
10073 crate::operation::update_glossary_term::UpdateGlossaryTermError::ThrottlingException(inner) => Error::ThrottlingException(inner),
10074 crate::operation::update_glossary_term::UpdateGlossaryTermError::Unhandled(inner) => Error::Unhandled(inner),
10075 }
10076 }
10077}
10078impl<R>
10079 From<
10080 ::aws_smithy_runtime_api::client::result::SdkError<
10081 crate::operation::update_glue_identity_center_configuration::UpdateGlueIdentityCenterConfigurationError,
10082 R,
10083 >,
10084 > for Error
10085where
10086 R: Send + Sync + std::fmt::Debug + 'static,
10087{
10088 fn from(
10089 err: ::aws_smithy_runtime_api::client::result::SdkError<
10090 crate::operation::update_glue_identity_center_configuration::UpdateGlueIdentityCenterConfigurationError,
10091 R,
10092 >,
10093 ) -> Self {
10094 match err {
10095 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10096 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10097 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10098 source: err.into(),
10099 }),
10100 }
10101 }
10102}
10103impl From<crate::operation::update_glue_identity_center_configuration::UpdateGlueIdentityCenterConfigurationError> for Error {
10104 fn from(err: crate::operation::update_glue_identity_center_configuration::UpdateGlueIdentityCenterConfigurationError) -> Self {
10105 match err {
10106 crate::operation::update_glue_identity_center_configuration::UpdateGlueIdentityCenterConfigurationError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
10107 crate::operation::update_glue_identity_center_configuration::UpdateGlueIdentityCenterConfigurationError::ConcurrentModificationException(inner) => Error::ConcurrentModificationException(inner),
10108 crate::operation::update_glue_identity_center_configuration::UpdateGlueIdentityCenterConfigurationError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
10109 crate::operation::update_glue_identity_center_configuration::UpdateGlueIdentityCenterConfigurationError::InternalServiceException(inner) => Error::InternalServiceException(inner),
10110 crate::operation::update_glue_identity_center_configuration::UpdateGlueIdentityCenterConfigurationError::InvalidInputException(inner) => Error::InvalidInputException(inner),
10111 crate::operation::update_glue_identity_center_configuration::UpdateGlueIdentityCenterConfigurationError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
10112 crate::operation::update_glue_identity_center_configuration::UpdateGlueIdentityCenterConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
10113 }
10114 }
10115}
10116impl<R>
10117 From<
10118 ::aws_smithy_runtime_api::client::result::SdkError<
10119 crate::operation::update_integration_resource_property::UpdateIntegrationResourcePropertyError,
10120 R,
10121 >,
10122 > for Error
10123where
10124 R: Send + Sync + std::fmt::Debug + 'static,
10125{
10126 fn from(
10127 err: ::aws_smithy_runtime_api::client::result::SdkError<
10128 crate::operation::update_integration_resource_property::UpdateIntegrationResourcePropertyError,
10129 R,
10130 >,
10131 ) -> Self {
10132 match err {
10133 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10134 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10135 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10136 source: err.into(),
10137 }),
10138 }
10139 }
10140}
10141impl From<crate::operation::update_integration_resource_property::UpdateIntegrationResourcePropertyError> for Error {
10142 fn from(err: crate::operation::update_integration_resource_property::UpdateIntegrationResourcePropertyError) -> Self {
10143 match err {
10144 crate::operation::update_integration_resource_property::UpdateIntegrationResourcePropertyError::AccessDeniedException(inner) => {
10145 Error::AccessDeniedException(inner)
10146 }
10147 crate::operation::update_integration_resource_property::UpdateIntegrationResourcePropertyError::EntityNotFoundException(inner) => {
10148 Error::EntityNotFoundException(inner)
10149 }
10150 crate::operation::update_integration_resource_property::UpdateIntegrationResourcePropertyError::InternalServerException(inner) => {
10151 Error::InternalServerException(inner)
10152 }
10153 crate::operation::update_integration_resource_property::UpdateIntegrationResourcePropertyError::InternalServiceException(inner) => {
10154 Error::InternalServiceException(inner)
10155 }
10156 crate::operation::update_integration_resource_property::UpdateIntegrationResourcePropertyError::InvalidInputException(inner) => {
10157 Error::InvalidInputException(inner)
10158 }
10159 crate::operation::update_integration_resource_property::UpdateIntegrationResourcePropertyError::ResourceNotFoundException(inner) => {
10160 Error::ResourceNotFoundException(inner)
10161 }
10162 crate::operation::update_integration_resource_property::UpdateIntegrationResourcePropertyError::ValidationException(inner) => {
10163 Error::ValidationException(inner)
10164 }
10165 crate::operation::update_integration_resource_property::UpdateIntegrationResourcePropertyError::Unhandled(inner) => {
10166 Error::Unhandled(inner)
10167 }
10168 }
10169 }
10170}
10171impl<R>
10172 From<
10173 ::aws_smithy_runtime_api::client::result::SdkError<
10174 crate::operation::update_integration_table_properties::UpdateIntegrationTablePropertiesError,
10175 R,
10176 >,
10177 > for Error
10178where
10179 R: Send + Sync + std::fmt::Debug + 'static,
10180{
10181 fn from(
10182 err: ::aws_smithy_runtime_api::client::result::SdkError<
10183 crate::operation::update_integration_table_properties::UpdateIntegrationTablePropertiesError,
10184 R,
10185 >,
10186 ) -> Self {
10187 match err {
10188 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10189 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10190 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10191 source: err.into(),
10192 }),
10193 }
10194 }
10195}
10196impl From<crate::operation::update_integration_table_properties::UpdateIntegrationTablePropertiesError> for Error {
10197 fn from(err: crate::operation::update_integration_table_properties::UpdateIntegrationTablePropertiesError) -> Self {
10198 match err {
10199 crate::operation::update_integration_table_properties::UpdateIntegrationTablePropertiesError::AccessDeniedException(inner) => {
10200 Error::AccessDeniedException(inner)
10201 }
10202 crate::operation::update_integration_table_properties::UpdateIntegrationTablePropertiesError::EntityNotFoundException(inner) => {
10203 Error::EntityNotFoundException(inner)
10204 }
10205 crate::operation::update_integration_table_properties::UpdateIntegrationTablePropertiesError::InternalServerException(inner) => {
10206 Error::InternalServerException(inner)
10207 }
10208 crate::operation::update_integration_table_properties::UpdateIntegrationTablePropertiesError::InternalServiceException(inner) => {
10209 Error::InternalServiceException(inner)
10210 }
10211 crate::operation::update_integration_table_properties::UpdateIntegrationTablePropertiesError::InvalidInputException(inner) => {
10212 Error::InvalidInputException(inner)
10213 }
10214 crate::operation::update_integration_table_properties::UpdateIntegrationTablePropertiesError::ResourceNotFoundException(inner) => {
10215 Error::ResourceNotFoundException(inner)
10216 }
10217 crate::operation::update_integration_table_properties::UpdateIntegrationTablePropertiesError::ValidationException(inner) => {
10218 Error::ValidationException(inner)
10219 }
10220 crate::operation::update_integration_table_properties::UpdateIntegrationTablePropertiesError::Unhandled(inner) => Error::Unhandled(inner),
10221 }
10222 }
10223}
10224impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_job::UpdateJobError, R>> for Error
10225where
10226 R: Send + Sync + std::fmt::Debug + 'static,
10227{
10228 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_job::UpdateJobError, R>) -> Self {
10229 match err {
10230 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10231 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10232 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10233 source: err.into(),
10234 }),
10235 }
10236 }
10237}
10238impl From<crate::operation::update_job::UpdateJobError> for Error {
10239 fn from(err: crate::operation::update_job::UpdateJobError) -> Self {
10240 match err {
10241 crate::operation::update_job::UpdateJobError::ConcurrentModificationException(inner) => Error::ConcurrentModificationException(inner),
10242 crate::operation::update_job::UpdateJobError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
10243 crate::operation::update_job::UpdateJobError::InternalServiceException(inner) => Error::InternalServiceException(inner),
10244 crate::operation::update_job::UpdateJobError::InvalidInputException(inner) => Error::InvalidInputException(inner),
10245 crate::operation::update_job::UpdateJobError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
10246 crate::operation::update_job::UpdateJobError::Unhandled(inner) => Error::Unhandled(inner),
10247 }
10248 }
10249}
10250impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_job_from_source_control::UpdateJobFromSourceControlError, R>>
10251 for Error
10252where
10253 R: Send + Sync + std::fmt::Debug + 'static,
10254{
10255 fn from(
10256 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_job_from_source_control::UpdateJobFromSourceControlError, R>,
10257 ) -> Self {
10258 match err {
10259 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10260 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10261 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10262 source: err.into(),
10263 }),
10264 }
10265 }
10266}
10267impl From<crate::operation::update_job_from_source_control::UpdateJobFromSourceControlError> for Error {
10268 fn from(err: crate::operation::update_job_from_source_control::UpdateJobFromSourceControlError) -> Self {
10269 match err {
10270 crate::operation::update_job_from_source_control::UpdateJobFromSourceControlError::AccessDeniedException(inner) => {
10271 Error::AccessDeniedException(inner)
10272 }
10273 crate::operation::update_job_from_source_control::UpdateJobFromSourceControlError::AlreadyExistsException(inner) => {
10274 Error::AlreadyExistsException(inner)
10275 }
10276 crate::operation::update_job_from_source_control::UpdateJobFromSourceControlError::EntityNotFoundException(inner) => {
10277 Error::EntityNotFoundException(inner)
10278 }
10279 crate::operation::update_job_from_source_control::UpdateJobFromSourceControlError::InternalServiceException(inner) => {
10280 Error::InternalServiceException(inner)
10281 }
10282 crate::operation::update_job_from_source_control::UpdateJobFromSourceControlError::InvalidInputException(inner) => {
10283 Error::InvalidInputException(inner)
10284 }
10285 crate::operation::update_job_from_source_control::UpdateJobFromSourceControlError::OperationTimeoutException(inner) => {
10286 Error::OperationTimeoutException(inner)
10287 }
10288 crate::operation::update_job_from_source_control::UpdateJobFromSourceControlError::ValidationException(inner) => {
10289 Error::ValidationException(inner)
10290 }
10291 crate::operation::update_job_from_source_control::UpdateJobFromSourceControlError::Unhandled(inner) => Error::Unhandled(inner),
10292 }
10293 }
10294}
10295impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_ml_transform::UpdateMLTransformError, R>> for Error
10296where
10297 R: Send + Sync + std::fmt::Debug + 'static,
10298{
10299 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_ml_transform::UpdateMLTransformError, R>) -> Self {
10300 match err {
10301 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10302 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10303 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10304 source: err.into(),
10305 }),
10306 }
10307 }
10308}
10309impl From<crate::operation::update_ml_transform::UpdateMLTransformError> for Error {
10310 fn from(err: crate::operation::update_ml_transform::UpdateMLTransformError) -> Self {
10311 match err {
10312 crate::operation::update_ml_transform::UpdateMLTransformError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
10313 crate::operation::update_ml_transform::UpdateMLTransformError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
10314 crate::operation::update_ml_transform::UpdateMLTransformError::InternalServiceException(inner) => Error::InternalServiceException(inner),
10315 crate::operation::update_ml_transform::UpdateMLTransformError::InvalidInputException(inner) => Error::InvalidInputException(inner),
10316 crate::operation::update_ml_transform::UpdateMLTransformError::OperationTimeoutException(inner) => {
10317 Error::OperationTimeoutException(inner)
10318 }
10319 crate::operation::update_ml_transform::UpdateMLTransformError::Unhandled(inner) => Error::Unhandled(inner),
10320 }
10321 }
10322}
10323impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_partition::UpdatePartitionError, R>> for Error
10324where
10325 R: Send + Sync + std::fmt::Debug + 'static,
10326{
10327 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_partition::UpdatePartitionError, R>) -> Self {
10328 match err {
10329 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10330 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10331 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10332 source: err.into(),
10333 }),
10334 }
10335 }
10336}
10337impl From<crate::operation::update_partition::UpdatePartitionError> for Error {
10338 fn from(err: crate::operation::update_partition::UpdatePartitionError) -> Self {
10339 match err {
10340 crate::operation::update_partition::UpdatePartitionError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
10341 crate::operation::update_partition::UpdatePartitionError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
10342 crate::operation::update_partition::UpdatePartitionError::InternalServiceException(inner) => Error::InternalServiceException(inner),
10343 crate::operation::update_partition::UpdatePartitionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
10344 crate::operation::update_partition::UpdatePartitionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
10345 crate::operation::update_partition::UpdatePartitionError::Unhandled(inner) => Error::Unhandled(inner),
10346 }
10347 }
10348}
10349impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_registry::UpdateRegistryError, R>> for Error
10350where
10351 R: Send + Sync + std::fmt::Debug + 'static,
10352{
10353 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_registry::UpdateRegistryError, R>) -> Self {
10354 match err {
10355 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10356 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10357 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10358 source: err.into(),
10359 }),
10360 }
10361 }
10362}
10363impl From<crate::operation::update_registry::UpdateRegistryError> for Error {
10364 fn from(err: crate::operation::update_registry::UpdateRegistryError) -> Self {
10365 match err {
10366 crate::operation::update_registry::UpdateRegistryError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
10367 crate::operation::update_registry::UpdateRegistryError::ConcurrentModificationException(inner) => {
10368 Error::ConcurrentModificationException(inner)
10369 }
10370 crate::operation::update_registry::UpdateRegistryError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
10371 crate::operation::update_registry::UpdateRegistryError::InternalServiceException(inner) => Error::InternalServiceException(inner),
10372 crate::operation::update_registry::UpdateRegistryError::InvalidInputException(inner) => Error::InvalidInputException(inner),
10373 crate::operation::update_registry::UpdateRegistryError::Unhandled(inner) => Error::Unhandled(inner),
10374 }
10375 }
10376}
10377impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_schema::UpdateSchemaError, R>> for Error
10378where
10379 R: Send + Sync + std::fmt::Debug + 'static,
10380{
10381 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_schema::UpdateSchemaError, R>) -> Self {
10382 match err {
10383 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10384 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10385 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10386 source: err.into(),
10387 }),
10388 }
10389 }
10390}
10391impl From<crate::operation::update_schema::UpdateSchemaError> for Error {
10392 fn from(err: crate::operation::update_schema::UpdateSchemaError) -> Self {
10393 match err {
10394 crate::operation::update_schema::UpdateSchemaError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
10395 crate::operation::update_schema::UpdateSchemaError::ConcurrentModificationException(inner) => {
10396 Error::ConcurrentModificationException(inner)
10397 }
10398 crate::operation::update_schema::UpdateSchemaError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
10399 crate::operation::update_schema::UpdateSchemaError::InternalServiceException(inner) => Error::InternalServiceException(inner),
10400 crate::operation::update_schema::UpdateSchemaError::InvalidInputException(inner) => Error::InvalidInputException(inner),
10401 crate::operation::update_schema::UpdateSchemaError::Unhandled(inner) => Error::Unhandled(inner),
10402 }
10403 }
10404}
10405impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_source_control_from_job::UpdateSourceControlFromJobError, R>>
10406 for Error
10407where
10408 R: Send + Sync + std::fmt::Debug + 'static,
10409{
10410 fn from(
10411 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_source_control_from_job::UpdateSourceControlFromJobError, R>,
10412 ) -> Self {
10413 match err {
10414 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10415 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10416 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10417 source: err.into(),
10418 }),
10419 }
10420 }
10421}
10422impl From<crate::operation::update_source_control_from_job::UpdateSourceControlFromJobError> for Error {
10423 fn from(err: crate::operation::update_source_control_from_job::UpdateSourceControlFromJobError) -> Self {
10424 match err {
10425 crate::operation::update_source_control_from_job::UpdateSourceControlFromJobError::AccessDeniedException(inner) => {
10426 Error::AccessDeniedException(inner)
10427 }
10428 crate::operation::update_source_control_from_job::UpdateSourceControlFromJobError::AlreadyExistsException(inner) => {
10429 Error::AlreadyExistsException(inner)
10430 }
10431 crate::operation::update_source_control_from_job::UpdateSourceControlFromJobError::EntityNotFoundException(inner) => {
10432 Error::EntityNotFoundException(inner)
10433 }
10434 crate::operation::update_source_control_from_job::UpdateSourceControlFromJobError::InternalServiceException(inner) => {
10435 Error::InternalServiceException(inner)
10436 }
10437 crate::operation::update_source_control_from_job::UpdateSourceControlFromJobError::InvalidInputException(inner) => {
10438 Error::InvalidInputException(inner)
10439 }
10440 crate::operation::update_source_control_from_job::UpdateSourceControlFromJobError::OperationTimeoutException(inner) => {
10441 Error::OperationTimeoutException(inner)
10442 }
10443 crate::operation::update_source_control_from_job::UpdateSourceControlFromJobError::ValidationException(inner) => {
10444 Error::ValidationException(inner)
10445 }
10446 crate::operation::update_source_control_from_job::UpdateSourceControlFromJobError::Unhandled(inner) => Error::Unhandled(inner),
10447 }
10448 }
10449}
10450impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_table::UpdateTableError, R>> for Error
10451where
10452 R: Send + Sync + std::fmt::Debug + 'static,
10453{
10454 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_table::UpdateTableError, R>) -> Self {
10455 match err {
10456 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10457 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10458 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10459 source: err.into(),
10460 }),
10461 }
10462 }
10463}
10464impl From<crate::operation::update_table::UpdateTableError> for Error {
10465 fn from(err: crate::operation::update_table::UpdateTableError) -> Self {
10466 match err {
10467 crate::operation::update_table::UpdateTableError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
10468 crate::operation::update_table::UpdateTableError::ConcurrentModificationException(inner) => Error::ConcurrentModificationException(inner),
10469 crate::operation::update_table::UpdateTableError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
10470 crate::operation::update_table::UpdateTableError::FederationSourceException(inner) => Error::FederationSourceException(inner),
10471 crate::operation::update_table::UpdateTableError::FederationSourceRetryableException(inner) => {
10472 Error::FederationSourceRetryableException(inner)
10473 }
10474 crate::operation::update_table::UpdateTableError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
10475 crate::operation::update_table::UpdateTableError::InternalServiceException(inner) => Error::InternalServiceException(inner),
10476 crate::operation::update_table::UpdateTableError::InvalidInputException(inner) => Error::InvalidInputException(inner),
10477 crate::operation::update_table::UpdateTableError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
10478 crate::operation::update_table::UpdateTableError::ResourceNotReadyException(inner) => Error::ResourceNotReadyException(inner),
10479 crate::operation::update_table::UpdateTableError::ResourceNumberLimitExceededException(inner) => {
10480 Error::ResourceNumberLimitExceededException(inner)
10481 }
10482 crate::operation::update_table::UpdateTableError::Unhandled(inner) => Error::Unhandled(inner),
10483 }
10484 }
10485}
10486impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_table_optimizer::UpdateTableOptimizerError, R>> for Error
10487where
10488 R: Send + Sync + std::fmt::Debug + 'static,
10489{
10490 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_table_optimizer::UpdateTableOptimizerError, R>) -> Self {
10491 match err {
10492 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10493 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10494 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10495 source: err.into(),
10496 }),
10497 }
10498 }
10499}
10500impl From<crate::operation::update_table_optimizer::UpdateTableOptimizerError> for Error {
10501 fn from(err: crate::operation::update_table_optimizer::UpdateTableOptimizerError) -> Self {
10502 match err {
10503 crate::operation::update_table_optimizer::UpdateTableOptimizerError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
10504 crate::operation::update_table_optimizer::UpdateTableOptimizerError::ConcurrentModificationException(inner) => {
10505 Error::ConcurrentModificationException(inner)
10506 }
10507 crate::operation::update_table_optimizer::UpdateTableOptimizerError::EntityNotFoundException(inner) => {
10508 Error::EntityNotFoundException(inner)
10509 }
10510 crate::operation::update_table_optimizer::UpdateTableOptimizerError::InternalServiceException(inner) => {
10511 Error::InternalServiceException(inner)
10512 }
10513 crate::operation::update_table_optimizer::UpdateTableOptimizerError::InvalidInputException(inner) => Error::InvalidInputException(inner),
10514 crate::operation::update_table_optimizer::UpdateTableOptimizerError::ThrottlingException(inner) => Error::ThrottlingException(inner),
10515 crate::operation::update_table_optimizer::UpdateTableOptimizerError::ValidationException(inner) => Error::ValidationException(inner),
10516 crate::operation::update_table_optimizer::UpdateTableOptimizerError::Unhandled(inner) => Error::Unhandled(inner),
10517 }
10518 }
10519}
10520impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_trigger::UpdateTriggerError, R>> for Error
10521where
10522 R: Send + Sync + std::fmt::Debug + 'static,
10523{
10524 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_trigger::UpdateTriggerError, R>) -> Self {
10525 match err {
10526 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10527 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10528 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10529 source: err.into(),
10530 }),
10531 }
10532 }
10533}
10534impl From<crate::operation::update_trigger::UpdateTriggerError> for Error {
10535 fn from(err: crate::operation::update_trigger::UpdateTriggerError) -> Self {
10536 match err {
10537 crate::operation::update_trigger::UpdateTriggerError::ConcurrentModificationException(inner) => {
10538 Error::ConcurrentModificationException(inner)
10539 }
10540 crate::operation::update_trigger::UpdateTriggerError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
10541 crate::operation::update_trigger::UpdateTriggerError::InternalServiceException(inner) => Error::InternalServiceException(inner),
10542 crate::operation::update_trigger::UpdateTriggerError::InvalidInputException(inner) => Error::InvalidInputException(inner),
10543 crate::operation::update_trigger::UpdateTriggerError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
10544 crate::operation::update_trigger::UpdateTriggerError::Unhandled(inner) => Error::Unhandled(inner),
10545 }
10546 }
10547}
10548impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_usage_profile::UpdateUsageProfileError, R>> for Error
10549where
10550 R: Send + Sync + std::fmt::Debug + 'static,
10551{
10552 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_usage_profile::UpdateUsageProfileError, R>) -> Self {
10553 match err {
10554 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10555 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10556 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10557 source: err.into(),
10558 }),
10559 }
10560 }
10561}
10562impl From<crate::operation::update_usage_profile::UpdateUsageProfileError> for Error {
10563 fn from(err: crate::operation::update_usage_profile::UpdateUsageProfileError) -> Self {
10564 match err {
10565 crate::operation::update_usage_profile::UpdateUsageProfileError::ConcurrentModificationException(inner) => {
10566 Error::ConcurrentModificationException(inner)
10567 }
10568 crate::operation::update_usage_profile::UpdateUsageProfileError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
10569 crate::operation::update_usage_profile::UpdateUsageProfileError::InternalServiceException(inner) => {
10570 Error::InternalServiceException(inner)
10571 }
10572 crate::operation::update_usage_profile::UpdateUsageProfileError::InvalidInputException(inner) => Error::InvalidInputException(inner),
10573 crate::operation::update_usage_profile::UpdateUsageProfileError::OperationNotSupportedException(inner) => {
10574 Error::OperationNotSupportedException(inner)
10575 }
10576 crate::operation::update_usage_profile::UpdateUsageProfileError::OperationTimeoutException(inner) => {
10577 Error::OperationTimeoutException(inner)
10578 }
10579 crate::operation::update_usage_profile::UpdateUsageProfileError::Unhandled(inner) => Error::Unhandled(inner),
10580 }
10581 }
10582}
10583impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_user_defined_function::UpdateUserDefinedFunctionError, R>>
10584 for Error
10585where
10586 R: Send + Sync + std::fmt::Debug + 'static,
10587{
10588 fn from(
10589 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_user_defined_function::UpdateUserDefinedFunctionError, R>,
10590 ) -> Self {
10591 match err {
10592 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10593 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10594 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10595 source: err.into(),
10596 }),
10597 }
10598 }
10599}
10600impl From<crate::operation::update_user_defined_function::UpdateUserDefinedFunctionError> for Error {
10601 fn from(err: crate::operation::update_user_defined_function::UpdateUserDefinedFunctionError) -> Self {
10602 match err {
10603 crate::operation::update_user_defined_function::UpdateUserDefinedFunctionError::EntityNotFoundException(inner) => {
10604 Error::EntityNotFoundException(inner)
10605 }
10606 crate::operation::update_user_defined_function::UpdateUserDefinedFunctionError::GlueEncryptionException(inner) => {
10607 Error::GlueEncryptionException(inner)
10608 }
10609 crate::operation::update_user_defined_function::UpdateUserDefinedFunctionError::InternalServiceException(inner) => {
10610 Error::InternalServiceException(inner)
10611 }
10612 crate::operation::update_user_defined_function::UpdateUserDefinedFunctionError::InvalidInputException(inner) => {
10613 Error::InvalidInputException(inner)
10614 }
10615 crate::operation::update_user_defined_function::UpdateUserDefinedFunctionError::OperationTimeoutException(inner) => {
10616 Error::OperationTimeoutException(inner)
10617 }
10618 crate::operation::update_user_defined_function::UpdateUserDefinedFunctionError::Unhandled(inner) => Error::Unhandled(inner),
10619 }
10620 }
10621}
10622impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_workflow::UpdateWorkflowError, R>> for Error
10623where
10624 R: Send + Sync + std::fmt::Debug + 'static,
10625{
10626 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_workflow::UpdateWorkflowError, R>) -> Self {
10627 match err {
10628 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10629 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10630 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10631 source: err.into(),
10632 }),
10633 }
10634 }
10635}
10636impl From<crate::operation::update_workflow::UpdateWorkflowError> for Error {
10637 fn from(err: crate::operation::update_workflow::UpdateWorkflowError) -> Self {
10638 match err {
10639 crate::operation::update_workflow::UpdateWorkflowError::ConcurrentModificationException(inner) => {
10640 Error::ConcurrentModificationException(inner)
10641 }
10642 crate::operation::update_workflow::UpdateWorkflowError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
10643 crate::operation::update_workflow::UpdateWorkflowError::InternalServiceException(inner) => Error::InternalServiceException(inner),
10644 crate::operation::update_workflow::UpdateWorkflowError::InvalidInputException(inner) => Error::InvalidInputException(inner),
10645 crate::operation::update_workflow::UpdateWorkflowError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
10646 crate::operation::update_workflow::UpdateWorkflowError::Unhandled(inner) => Error::Unhandled(inner),
10647 }
10648 }
10649}
10650impl ::std::error::Error for Error {
10651 fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
10652 match self {
10653 Error::AccessDeniedException(inner) => inner.source(),
10654 Error::AlreadyExistsException(inner) => inner.source(),
10655 Error::ColumnStatisticsTaskNotRunningException(inner) => inner.source(),
10656 Error::ColumnStatisticsTaskRunningException(inner) => inner.source(),
10657 Error::ColumnStatisticsTaskStoppingException(inner) => inner.source(),
10658 Error::ConcurrentModificationException(inner) => inner.source(),
10659 Error::ConcurrentRunsExceededException(inner) => inner.source(),
10660 Error::ConditionCheckFailureException(inner) => inner.source(),
10661 Error::ConflictException(inner) => inner.source(),
10662 Error::CrawlerNotRunningException(inner) => inner.source(),
10663 Error::CrawlerRunningException(inner) => inner.source(),
10664 Error::CrawlerStoppingException(inner) => inner.source(),
10665 Error::EntityNotFoundException(inner) => inner.source(),
10666 Error::FederatedResourceAlreadyExistsException(inner) => inner.source(),
10667 Error::FederationSourceException(inner) => inner.source(),
10668 Error::FederationSourceRetryableException(inner) => inner.source(),
10669 Error::GlueEncryptionException(inner) => inner.source(),
10670 Error::IdempotentParameterMismatchException(inner) => inner.source(),
10671 Error::IllegalBlueprintStateException(inner) => inner.source(),
10672 Error::IllegalSessionStateException(inner) => inner.source(),
10673 Error::IllegalWorkflowStateException(inner) => inner.source(),
10674 Error::IntegrationConflictOperationFault(inner) => inner.source(),
10675 Error::IntegrationNotFoundFault(inner) => inner.source(),
10676 Error::IntegrationQuotaExceededFault(inner) => inner.source(),
10677 Error::InternalServerException(inner) => inner.source(),
10678 Error::InternalServiceException(inner) => inner.source(),
10679 Error::InvalidInputException(inner) => inner.source(),
10680 Error::InvalidIntegrationStateFault(inner) => inner.source(),
10681 Error::InvalidStateException(inner) => inner.source(),
10682 Error::KmsKeyNotAccessibleFault(inner) => inner.source(),
10683 Error::MlTransformNotReadyException(inner) => inner.source(),
10684 Error::MaterializedViewRefreshTaskNotRunningException(inner) => inner.source(),
10685 Error::MaterializedViewRefreshTaskRunningException(inner) => inner.source(),
10686 Error::MaterializedViewRefreshTaskStoppingException(inner) => inner.source(),
10687 Error::NoScheduleException(inner) => inner.source(),
10688 Error::OperationNotSupportedException(inner) => inner.source(),
10689 Error::OperationTimeoutException(inner) => inner.source(),
10690 Error::PermissionTypeMismatchException(inner) => inner.source(),
10691 Error::ResourceNotFoundException(inner) => inner.source(),
10692 Error::ResourceNotReadyException(inner) => inner.source(),
10693 Error::ResourceNumberLimitExceededException(inner) => inner.source(),
10694 Error::SchedulerNotRunningException(inner) => inner.source(),
10695 Error::SchedulerRunningException(inner) => inner.source(),
10696 Error::SchedulerTransitioningException(inner) => inner.source(),
10697 Error::SessionBusyException(inner) => inner.source(),
10698 Error::TargetResourceNotFound(inner) => inner.source(),
10699 Error::ThrottlingException(inner) => inner.source(),
10700 Error::ValidationException(inner) => inner.source(),
10701 Error::VersionMismatchException(inner) => inner.source(),
10702 Error::Unhandled(inner) => ::std::option::Option::Some(&*inner.source),
10703 }
10704 }
10705}
10706impl ::aws_types::request_id::RequestId for Error {
10707 fn request_id(&self) -> Option<&str> {
10708 match self {
10709 Self::AccessDeniedException(e) => e.request_id(),
10710 Self::AlreadyExistsException(e) => e.request_id(),
10711 Self::ColumnStatisticsTaskNotRunningException(e) => e.request_id(),
10712 Self::ColumnStatisticsTaskRunningException(e) => e.request_id(),
10713 Self::ColumnStatisticsTaskStoppingException(e) => e.request_id(),
10714 Self::ConcurrentModificationException(e) => e.request_id(),
10715 Self::ConcurrentRunsExceededException(e) => e.request_id(),
10716 Self::ConditionCheckFailureException(e) => e.request_id(),
10717 Self::ConflictException(e) => e.request_id(),
10718 Self::CrawlerNotRunningException(e) => e.request_id(),
10719 Self::CrawlerRunningException(e) => e.request_id(),
10720 Self::CrawlerStoppingException(e) => e.request_id(),
10721 Self::EntityNotFoundException(e) => e.request_id(),
10722 Self::FederatedResourceAlreadyExistsException(e) => e.request_id(),
10723 Self::FederationSourceException(e) => e.request_id(),
10724 Self::FederationSourceRetryableException(e) => e.request_id(),
10725 Self::GlueEncryptionException(e) => e.request_id(),
10726 Self::IdempotentParameterMismatchException(e) => e.request_id(),
10727 Self::IllegalBlueprintStateException(e) => e.request_id(),
10728 Self::IllegalSessionStateException(e) => e.request_id(),
10729 Self::IllegalWorkflowStateException(e) => e.request_id(),
10730 Self::IntegrationConflictOperationFault(e) => e.request_id(),
10731 Self::IntegrationNotFoundFault(e) => e.request_id(),
10732 Self::IntegrationQuotaExceededFault(e) => e.request_id(),
10733 Self::InternalServerException(e) => e.request_id(),
10734 Self::InternalServiceException(e) => e.request_id(),
10735 Self::InvalidInputException(e) => e.request_id(),
10736 Self::InvalidIntegrationStateFault(e) => e.request_id(),
10737 Self::InvalidStateException(e) => e.request_id(),
10738 Self::KmsKeyNotAccessibleFault(e) => e.request_id(),
10739 Self::MlTransformNotReadyException(e) => e.request_id(),
10740 Self::MaterializedViewRefreshTaskNotRunningException(e) => e.request_id(),
10741 Self::MaterializedViewRefreshTaskRunningException(e) => e.request_id(),
10742 Self::MaterializedViewRefreshTaskStoppingException(e) => e.request_id(),
10743 Self::NoScheduleException(e) => e.request_id(),
10744 Self::OperationNotSupportedException(e) => e.request_id(),
10745 Self::OperationTimeoutException(e) => e.request_id(),
10746 Self::PermissionTypeMismatchException(e) => e.request_id(),
10747 Self::ResourceNotFoundException(e) => e.request_id(),
10748 Self::ResourceNotReadyException(e) => e.request_id(),
10749 Self::ResourceNumberLimitExceededException(e) => e.request_id(),
10750 Self::SchedulerNotRunningException(e) => e.request_id(),
10751 Self::SchedulerRunningException(e) => e.request_id(),
10752 Self::SchedulerTransitioningException(e) => e.request_id(),
10753 Self::SessionBusyException(e) => e.request_id(),
10754 Self::TargetResourceNotFound(e) => e.request_id(),
10755 Self::ThrottlingException(e) => e.request_id(),
10756 Self::ValidationException(e) => e.request_id(),
10757 Self::VersionMismatchException(e) => e.request_id(),
10758 Self::Unhandled(e) => e.meta.request_id(),
10759 }
10760 }
10761}