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 NoScheduleException(crate::types::error::NoScheduleException),
70 OperationNotSupportedException(crate::types::error::OperationNotSupportedException),
72 OperationTimeoutException(crate::types::error::OperationTimeoutException),
74 PermissionTypeMismatchException(crate::types::error::PermissionTypeMismatchException),
76 ResourceNotFoundException(crate::types::error::ResourceNotFoundException),
78 ResourceNotReadyException(crate::types::error::ResourceNotReadyException),
80 ResourceNumberLimitExceededException(crate::types::error::ResourceNumberLimitExceededException),
82 SchedulerNotRunningException(crate::types::error::SchedulerNotRunningException),
84 SchedulerRunningException(crate::types::error::SchedulerRunningException),
86 SchedulerTransitioningException(crate::types::error::SchedulerTransitioningException),
88 TargetResourceNotFound(crate::types::error::TargetResourceNotFound),
90 ThrottlingException(crate::types::error::ThrottlingException),
92 ValidationException(crate::types::error::ValidationException),
94 VersionMismatchException(crate::types::error::VersionMismatchException),
96 #[deprecated(note = "Matching `Unhandled` directly is not forwards compatible. Instead, match using a \
98 variable wildcard pattern and check `.code()`:
99 \
100 `err if err.code() == Some(\"SpecificExceptionCode\") => { /* handle the error */ }`
101 \
102 See [`ProvideErrorMetadata`](#impl-ProvideErrorMetadata-for-Error) for what information is available for the error.")]
103 Unhandled(crate::error::sealed_unhandled::Unhandled),
104}
105impl ::std::fmt::Display for Error {
106 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
107 match self {
108 Error::AccessDeniedException(inner) => inner.fmt(f),
109 Error::AlreadyExistsException(inner) => inner.fmt(f),
110 Error::ColumnStatisticsTaskNotRunningException(inner) => inner.fmt(f),
111 Error::ColumnStatisticsTaskRunningException(inner) => inner.fmt(f),
112 Error::ColumnStatisticsTaskStoppingException(inner) => inner.fmt(f),
113 Error::ConcurrentModificationException(inner) => inner.fmt(f),
114 Error::ConcurrentRunsExceededException(inner) => inner.fmt(f),
115 Error::ConditionCheckFailureException(inner) => inner.fmt(f),
116 Error::ConflictException(inner) => inner.fmt(f),
117 Error::CrawlerNotRunningException(inner) => inner.fmt(f),
118 Error::CrawlerRunningException(inner) => inner.fmt(f),
119 Error::CrawlerStoppingException(inner) => inner.fmt(f),
120 Error::EntityNotFoundException(inner) => inner.fmt(f),
121 Error::FederatedResourceAlreadyExistsException(inner) => inner.fmt(f),
122 Error::FederationSourceException(inner) => inner.fmt(f),
123 Error::FederationSourceRetryableException(inner) => inner.fmt(f),
124 Error::GlueEncryptionException(inner) => inner.fmt(f),
125 Error::IdempotentParameterMismatchException(inner) => inner.fmt(f),
126 Error::IllegalBlueprintStateException(inner) => inner.fmt(f),
127 Error::IllegalSessionStateException(inner) => inner.fmt(f),
128 Error::IllegalWorkflowStateException(inner) => inner.fmt(f),
129 Error::IntegrationConflictOperationFault(inner) => inner.fmt(f),
130 Error::IntegrationNotFoundFault(inner) => inner.fmt(f),
131 Error::IntegrationQuotaExceededFault(inner) => inner.fmt(f),
132 Error::InternalServerException(inner) => inner.fmt(f),
133 Error::InternalServiceException(inner) => inner.fmt(f),
134 Error::InvalidInputException(inner) => inner.fmt(f),
135 Error::InvalidIntegrationStateFault(inner) => inner.fmt(f),
136 Error::InvalidStateException(inner) => inner.fmt(f),
137 Error::KmsKeyNotAccessibleFault(inner) => inner.fmt(f),
138 Error::MlTransformNotReadyException(inner) => inner.fmt(f),
139 Error::NoScheduleException(inner) => inner.fmt(f),
140 Error::OperationNotSupportedException(inner) => inner.fmt(f),
141 Error::OperationTimeoutException(inner) => inner.fmt(f),
142 Error::PermissionTypeMismatchException(inner) => inner.fmt(f),
143 Error::ResourceNotFoundException(inner) => inner.fmt(f),
144 Error::ResourceNotReadyException(inner) => inner.fmt(f),
145 Error::ResourceNumberLimitExceededException(inner) => inner.fmt(f),
146 Error::SchedulerNotRunningException(inner) => inner.fmt(f),
147 Error::SchedulerRunningException(inner) => inner.fmt(f),
148 Error::SchedulerTransitioningException(inner) => inner.fmt(f),
149 Error::TargetResourceNotFound(inner) => inner.fmt(f),
150 Error::ThrottlingException(inner) => inner.fmt(f),
151 Error::ValidationException(inner) => inner.fmt(f),
152 Error::VersionMismatchException(inner) => inner.fmt(f),
153 Error::Unhandled(_) => {
154 if let ::std::option::Option::Some(code) = ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self) {
155 write!(f, "unhandled error ({code})")
156 } else {
157 f.write_str("unhandled error")
158 }
159 }
160 }
161 }
162}
163impl From<::aws_smithy_types::error::operation::BuildError> for Error {
164 fn from(value: ::aws_smithy_types::error::operation::BuildError) -> Self {
165 Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
166 source: value.into(),
167 meta: ::std::default::Default::default(),
168 })
169 }
170}
171impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for Error {
172 fn meta(&self) -> &::aws_smithy_types::error::metadata::ErrorMetadata {
173 match self {
174 Self::AccessDeniedException(inner) => inner.meta(),
175 Self::AlreadyExistsException(inner) => inner.meta(),
176 Self::ColumnStatisticsTaskNotRunningException(inner) => inner.meta(),
177 Self::ColumnStatisticsTaskRunningException(inner) => inner.meta(),
178 Self::ColumnStatisticsTaskStoppingException(inner) => inner.meta(),
179 Self::ConcurrentModificationException(inner) => inner.meta(),
180 Self::ConcurrentRunsExceededException(inner) => inner.meta(),
181 Self::ConditionCheckFailureException(inner) => inner.meta(),
182 Self::ConflictException(inner) => inner.meta(),
183 Self::CrawlerNotRunningException(inner) => inner.meta(),
184 Self::CrawlerRunningException(inner) => inner.meta(),
185 Self::CrawlerStoppingException(inner) => inner.meta(),
186 Self::EntityNotFoundException(inner) => inner.meta(),
187 Self::FederatedResourceAlreadyExistsException(inner) => inner.meta(),
188 Self::FederationSourceException(inner) => inner.meta(),
189 Self::FederationSourceRetryableException(inner) => inner.meta(),
190 Self::GlueEncryptionException(inner) => inner.meta(),
191 Self::IdempotentParameterMismatchException(inner) => inner.meta(),
192 Self::IllegalBlueprintStateException(inner) => inner.meta(),
193 Self::IllegalSessionStateException(inner) => inner.meta(),
194 Self::IllegalWorkflowStateException(inner) => inner.meta(),
195 Self::IntegrationConflictOperationFault(inner) => inner.meta(),
196 Self::IntegrationNotFoundFault(inner) => inner.meta(),
197 Self::IntegrationQuotaExceededFault(inner) => inner.meta(),
198 Self::InternalServerException(inner) => inner.meta(),
199 Self::InternalServiceException(inner) => inner.meta(),
200 Self::InvalidInputException(inner) => inner.meta(),
201 Self::InvalidIntegrationStateFault(inner) => inner.meta(),
202 Self::InvalidStateException(inner) => inner.meta(),
203 Self::KmsKeyNotAccessibleFault(inner) => inner.meta(),
204 Self::MlTransformNotReadyException(inner) => inner.meta(),
205 Self::NoScheduleException(inner) => inner.meta(),
206 Self::OperationNotSupportedException(inner) => inner.meta(),
207 Self::OperationTimeoutException(inner) => inner.meta(),
208 Self::PermissionTypeMismatchException(inner) => inner.meta(),
209 Self::ResourceNotFoundException(inner) => inner.meta(),
210 Self::ResourceNotReadyException(inner) => inner.meta(),
211 Self::ResourceNumberLimitExceededException(inner) => inner.meta(),
212 Self::SchedulerNotRunningException(inner) => inner.meta(),
213 Self::SchedulerRunningException(inner) => inner.meta(),
214 Self::SchedulerTransitioningException(inner) => inner.meta(),
215 Self::TargetResourceNotFound(inner) => inner.meta(),
216 Self::ThrottlingException(inner) => inner.meta(),
217 Self::ValidationException(inner) => inner.meta(),
218 Self::VersionMismatchException(inner) => inner.meta(),
219 Self::Unhandled(inner) => &inner.meta,
220 }
221 }
222}
223impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_create_partition::BatchCreatePartitionError, R>> for Error
224where
225 R: Send + Sync + std::fmt::Debug + 'static,
226{
227 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_create_partition::BatchCreatePartitionError, R>) -> Self {
228 match err {
229 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
230 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
231 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
232 source: err.into(),
233 }),
234 }
235 }
236}
237impl From<crate::operation::batch_create_partition::BatchCreatePartitionError> for Error {
238 fn from(err: crate::operation::batch_create_partition::BatchCreatePartitionError) -> Self {
239 match err {
240 crate::operation::batch_create_partition::BatchCreatePartitionError::AlreadyExistsException(inner) => {
241 Error::AlreadyExistsException(inner)
242 }
243 crate::operation::batch_create_partition::BatchCreatePartitionError::EntityNotFoundException(inner) => {
244 Error::EntityNotFoundException(inner)
245 }
246 crate::operation::batch_create_partition::BatchCreatePartitionError::GlueEncryptionException(inner) => {
247 Error::GlueEncryptionException(inner)
248 }
249 crate::operation::batch_create_partition::BatchCreatePartitionError::InternalServiceException(inner) => {
250 Error::InternalServiceException(inner)
251 }
252 crate::operation::batch_create_partition::BatchCreatePartitionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
253 crate::operation::batch_create_partition::BatchCreatePartitionError::OperationTimeoutException(inner) => {
254 Error::OperationTimeoutException(inner)
255 }
256 crate::operation::batch_create_partition::BatchCreatePartitionError::ResourceNumberLimitExceededException(inner) => {
257 Error::ResourceNumberLimitExceededException(inner)
258 }
259 crate::operation::batch_create_partition::BatchCreatePartitionError::Unhandled(inner) => Error::Unhandled(inner),
260 }
261 }
262}
263impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_delete_connection::BatchDeleteConnectionError, R>> for Error
264where
265 R: Send + Sync + std::fmt::Debug + 'static,
266{
267 fn from(
268 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_delete_connection::BatchDeleteConnectionError, R>,
269 ) -> Self {
270 match err {
271 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
272 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
273 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
274 source: err.into(),
275 }),
276 }
277 }
278}
279impl From<crate::operation::batch_delete_connection::BatchDeleteConnectionError> for Error {
280 fn from(err: crate::operation::batch_delete_connection::BatchDeleteConnectionError) -> Self {
281 match err {
282 crate::operation::batch_delete_connection::BatchDeleteConnectionError::InternalServiceException(inner) => {
283 Error::InternalServiceException(inner)
284 }
285 crate::operation::batch_delete_connection::BatchDeleteConnectionError::OperationTimeoutException(inner) => {
286 Error::OperationTimeoutException(inner)
287 }
288 crate::operation::batch_delete_connection::BatchDeleteConnectionError::Unhandled(inner) => Error::Unhandled(inner),
289 }
290 }
291}
292impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_delete_partition::BatchDeletePartitionError, R>> for Error
293where
294 R: Send + Sync + std::fmt::Debug + 'static,
295{
296 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_delete_partition::BatchDeletePartitionError, R>) -> Self {
297 match err {
298 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
299 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
300 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
301 source: err.into(),
302 }),
303 }
304 }
305}
306impl From<crate::operation::batch_delete_partition::BatchDeletePartitionError> for Error {
307 fn from(err: crate::operation::batch_delete_partition::BatchDeletePartitionError) -> Self {
308 match err {
309 crate::operation::batch_delete_partition::BatchDeletePartitionError::EntityNotFoundException(inner) => {
310 Error::EntityNotFoundException(inner)
311 }
312 crate::operation::batch_delete_partition::BatchDeletePartitionError::InternalServiceException(inner) => {
313 Error::InternalServiceException(inner)
314 }
315 crate::operation::batch_delete_partition::BatchDeletePartitionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
316 crate::operation::batch_delete_partition::BatchDeletePartitionError::OperationTimeoutException(inner) => {
317 Error::OperationTimeoutException(inner)
318 }
319 crate::operation::batch_delete_partition::BatchDeletePartitionError::Unhandled(inner) => Error::Unhandled(inner),
320 }
321 }
322}
323impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_delete_table::BatchDeleteTableError, R>> for Error
324where
325 R: Send + Sync + std::fmt::Debug + 'static,
326{
327 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_delete_table::BatchDeleteTableError, R>) -> 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_table::BatchDeleteTableError> for Error {
338 fn from(err: crate::operation::batch_delete_table::BatchDeleteTableError) -> Self {
339 match err {
340 crate::operation::batch_delete_table::BatchDeleteTableError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
341 crate::operation::batch_delete_table::BatchDeleteTableError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
342 crate::operation::batch_delete_table::BatchDeleteTableError::InternalServiceException(inner) => Error::InternalServiceException(inner),
343 crate::operation::batch_delete_table::BatchDeleteTableError::InvalidInputException(inner) => Error::InvalidInputException(inner),
344 crate::operation::batch_delete_table::BatchDeleteTableError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
345 crate::operation::batch_delete_table::BatchDeleteTableError::ResourceNotReadyException(inner) => Error::ResourceNotReadyException(inner),
346 crate::operation::batch_delete_table::BatchDeleteTableError::Unhandled(inner) => Error::Unhandled(inner),
347 }
348 }
349}
350impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_delete_table_version::BatchDeleteTableVersionError, R>>
351 for Error
352where
353 R: Send + Sync + std::fmt::Debug + 'static,
354{
355 fn from(
356 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_delete_table_version::BatchDeleteTableVersionError, R>,
357 ) -> Self {
358 match err {
359 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
360 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
361 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
362 source: err.into(),
363 }),
364 }
365 }
366}
367impl From<crate::operation::batch_delete_table_version::BatchDeleteTableVersionError> for Error {
368 fn from(err: crate::operation::batch_delete_table_version::BatchDeleteTableVersionError) -> Self {
369 match err {
370 crate::operation::batch_delete_table_version::BatchDeleteTableVersionError::EntityNotFoundException(inner) => {
371 Error::EntityNotFoundException(inner)
372 }
373 crate::operation::batch_delete_table_version::BatchDeleteTableVersionError::InternalServiceException(inner) => {
374 Error::InternalServiceException(inner)
375 }
376 crate::operation::batch_delete_table_version::BatchDeleteTableVersionError::InvalidInputException(inner) => {
377 Error::InvalidInputException(inner)
378 }
379 crate::operation::batch_delete_table_version::BatchDeleteTableVersionError::OperationTimeoutException(inner) => {
380 Error::OperationTimeoutException(inner)
381 }
382 crate::operation::batch_delete_table_version::BatchDeleteTableVersionError::Unhandled(inner) => Error::Unhandled(inner),
383 }
384 }
385}
386impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_blueprints::BatchGetBlueprintsError, R>> for Error
387where
388 R: Send + Sync + std::fmt::Debug + 'static,
389{
390 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_blueprints::BatchGetBlueprintsError, R>) -> Self {
391 match err {
392 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
393 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
394 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
395 source: err.into(),
396 }),
397 }
398 }
399}
400impl From<crate::operation::batch_get_blueprints::BatchGetBlueprintsError> for Error {
401 fn from(err: crate::operation::batch_get_blueprints::BatchGetBlueprintsError) -> Self {
402 match err {
403 crate::operation::batch_get_blueprints::BatchGetBlueprintsError::InternalServiceException(inner) => {
404 Error::InternalServiceException(inner)
405 }
406 crate::operation::batch_get_blueprints::BatchGetBlueprintsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
407 crate::operation::batch_get_blueprints::BatchGetBlueprintsError::OperationTimeoutException(inner) => {
408 Error::OperationTimeoutException(inner)
409 }
410 crate::operation::batch_get_blueprints::BatchGetBlueprintsError::Unhandled(inner) => Error::Unhandled(inner),
411 }
412 }
413}
414impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_crawlers::BatchGetCrawlersError, R>> for Error
415where
416 R: Send + Sync + std::fmt::Debug + 'static,
417{
418 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_crawlers::BatchGetCrawlersError, R>) -> Self {
419 match err {
420 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
421 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
422 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
423 source: err.into(),
424 }),
425 }
426 }
427}
428impl From<crate::operation::batch_get_crawlers::BatchGetCrawlersError> for Error {
429 fn from(err: crate::operation::batch_get_crawlers::BatchGetCrawlersError) -> Self {
430 match err {
431 crate::operation::batch_get_crawlers::BatchGetCrawlersError::InvalidInputException(inner) => Error::InvalidInputException(inner),
432 crate::operation::batch_get_crawlers::BatchGetCrawlersError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
433 crate::operation::batch_get_crawlers::BatchGetCrawlersError::Unhandled(inner) => Error::Unhandled(inner),
434 }
435 }
436}
437impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_custom_entity_types::BatchGetCustomEntityTypesError, R>>
438 for Error
439where
440 R: Send + Sync + std::fmt::Debug + 'static,
441{
442 fn from(
443 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_custom_entity_types::BatchGetCustomEntityTypesError, R>,
444 ) -> Self {
445 match err {
446 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
447 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
448 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
449 source: err.into(),
450 }),
451 }
452 }
453}
454impl From<crate::operation::batch_get_custom_entity_types::BatchGetCustomEntityTypesError> for Error {
455 fn from(err: crate::operation::batch_get_custom_entity_types::BatchGetCustomEntityTypesError) -> Self {
456 match err {
457 crate::operation::batch_get_custom_entity_types::BatchGetCustomEntityTypesError::InternalServiceException(inner) => {
458 Error::InternalServiceException(inner)
459 }
460 crate::operation::batch_get_custom_entity_types::BatchGetCustomEntityTypesError::InvalidInputException(inner) => {
461 Error::InvalidInputException(inner)
462 }
463 crate::operation::batch_get_custom_entity_types::BatchGetCustomEntityTypesError::OperationTimeoutException(inner) => {
464 Error::OperationTimeoutException(inner)
465 }
466 crate::operation::batch_get_custom_entity_types::BatchGetCustomEntityTypesError::Unhandled(inner) => Error::Unhandled(inner),
467 }
468 }
469}
470impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_data_quality_result::BatchGetDataQualityResultError, R>>
471 for Error
472where
473 R: Send + Sync + std::fmt::Debug + 'static,
474{
475 fn from(
476 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_data_quality_result::BatchGetDataQualityResultError, R>,
477 ) -> Self {
478 match err {
479 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
480 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
481 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
482 source: err.into(),
483 }),
484 }
485 }
486}
487impl From<crate::operation::batch_get_data_quality_result::BatchGetDataQualityResultError> for Error {
488 fn from(err: crate::operation::batch_get_data_quality_result::BatchGetDataQualityResultError) -> Self {
489 match err {
490 crate::operation::batch_get_data_quality_result::BatchGetDataQualityResultError::InternalServiceException(inner) => {
491 Error::InternalServiceException(inner)
492 }
493 crate::operation::batch_get_data_quality_result::BatchGetDataQualityResultError::InvalidInputException(inner) => {
494 Error::InvalidInputException(inner)
495 }
496 crate::operation::batch_get_data_quality_result::BatchGetDataQualityResultError::OperationTimeoutException(inner) => {
497 Error::OperationTimeoutException(inner)
498 }
499 crate::operation::batch_get_data_quality_result::BatchGetDataQualityResultError::Unhandled(inner) => Error::Unhandled(inner),
500 }
501 }
502}
503impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_dev_endpoints::BatchGetDevEndpointsError, R>> for Error
504where
505 R: Send + Sync + std::fmt::Debug + 'static,
506{
507 fn from(
508 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_dev_endpoints::BatchGetDevEndpointsError, R>,
509 ) -> Self {
510 match err {
511 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
512 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
513 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
514 source: err.into(),
515 }),
516 }
517 }
518}
519impl From<crate::operation::batch_get_dev_endpoints::BatchGetDevEndpointsError> for Error {
520 fn from(err: crate::operation::batch_get_dev_endpoints::BatchGetDevEndpointsError) -> Self {
521 match err {
522 crate::operation::batch_get_dev_endpoints::BatchGetDevEndpointsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
523 crate::operation::batch_get_dev_endpoints::BatchGetDevEndpointsError::InternalServiceException(inner) => {
524 Error::InternalServiceException(inner)
525 }
526 crate::operation::batch_get_dev_endpoints::BatchGetDevEndpointsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
527 crate::operation::batch_get_dev_endpoints::BatchGetDevEndpointsError::OperationTimeoutException(inner) => {
528 Error::OperationTimeoutException(inner)
529 }
530 crate::operation::batch_get_dev_endpoints::BatchGetDevEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
531 }
532 }
533}
534impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_jobs::BatchGetJobsError, R>> for Error
535where
536 R: Send + Sync + std::fmt::Debug + 'static,
537{
538 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_jobs::BatchGetJobsError, R>) -> Self {
539 match err {
540 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
541 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
542 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
543 source: err.into(),
544 }),
545 }
546 }
547}
548impl From<crate::operation::batch_get_jobs::BatchGetJobsError> for Error {
549 fn from(err: crate::operation::batch_get_jobs::BatchGetJobsError) -> Self {
550 match err {
551 crate::operation::batch_get_jobs::BatchGetJobsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
552 crate::operation::batch_get_jobs::BatchGetJobsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
553 crate::operation::batch_get_jobs::BatchGetJobsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
554 crate::operation::batch_get_jobs::BatchGetJobsError::Unhandled(inner) => Error::Unhandled(inner),
555 }
556 }
557}
558impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_partition::BatchGetPartitionError, R>> for Error
559where
560 R: Send + Sync + std::fmt::Debug + 'static,
561{
562 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_partition::BatchGetPartitionError, R>) -> Self {
563 match err {
564 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
565 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
566 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
567 source: err.into(),
568 }),
569 }
570 }
571}
572impl From<crate::operation::batch_get_partition::BatchGetPartitionError> for Error {
573 fn from(err: crate::operation::batch_get_partition::BatchGetPartitionError) -> Self {
574 match err {
575 crate::operation::batch_get_partition::BatchGetPartitionError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
576 crate::operation::batch_get_partition::BatchGetPartitionError::FederationSourceException(inner) => {
577 Error::FederationSourceException(inner)
578 }
579 crate::operation::batch_get_partition::BatchGetPartitionError::FederationSourceRetryableException(inner) => {
580 Error::FederationSourceRetryableException(inner)
581 }
582 crate::operation::batch_get_partition::BatchGetPartitionError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
583 crate::operation::batch_get_partition::BatchGetPartitionError::InternalServiceException(inner) => Error::InternalServiceException(inner),
584 crate::operation::batch_get_partition::BatchGetPartitionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
585 crate::operation::batch_get_partition::BatchGetPartitionError::InvalidStateException(inner) => Error::InvalidStateException(inner),
586 crate::operation::batch_get_partition::BatchGetPartitionError::OperationTimeoutException(inner) => {
587 Error::OperationTimeoutException(inner)
588 }
589 crate::operation::batch_get_partition::BatchGetPartitionError::Unhandled(inner) => Error::Unhandled(inner),
590 }
591 }
592}
593impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_table_optimizer::BatchGetTableOptimizerError, R>>
594 for Error
595where
596 R: Send + Sync + std::fmt::Debug + 'static,
597{
598 fn from(
599 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_table_optimizer::BatchGetTableOptimizerError, R>,
600 ) -> Self {
601 match err {
602 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
603 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
604 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
605 source: err.into(),
606 }),
607 }
608 }
609}
610impl From<crate::operation::batch_get_table_optimizer::BatchGetTableOptimizerError> for Error {
611 fn from(err: crate::operation::batch_get_table_optimizer::BatchGetTableOptimizerError) -> Self {
612 match err {
613 crate::operation::batch_get_table_optimizer::BatchGetTableOptimizerError::AccessDeniedException(inner) => {
614 Error::AccessDeniedException(inner)
615 }
616 crate::operation::batch_get_table_optimizer::BatchGetTableOptimizerError::EntityNotFoundException(inner) => {
617 Error::EntityNotFoundException(inner)
618 }
619 crate::operation::batch_get_table_optimizer::BatchGetTableOptimizerError::InternalServiceException(inner) => {
620 Error::InternalServiceException(inner)
621 }
622 crate::operation::batch_get_table_optimizer::BatchGetTableOptimizerError::InvalidInputException(inner) => {
623 Error::InvalidInputException(inner)
624 }
625 crate::operation::batch_get_table_optimizer::BatchGetTableOptimizerError::ThrottlingException(inner) => Error::ThrottlingException(inner),
626 crate::operation::batch_get_table_optimizer::BatchGetTableOptimizerError::Unhandled(inner) => Error::Unhandled(inner),
627 }
628 }
629}
630impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_triggers::BatchGetTriggersError, R>> for Error
631where
632 R: Send + Sync + std::fmt::Debug + 'static,
633{
634 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_triggers::BatchGetTriggersError, R>) -> Self {
635 match err {
636 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
637 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
638 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
639 source: err.into(),
640 }),
641 }
642 }
643}
644impl From<crate::operation::batch_get_triggers::BatchGetTriggersError> for Error {
645 fn from(err: crate::operation::batch_get_triggers::BatchGetTriggersError) -> Self {
646 match err {
647 crate::operation::batch_get_triggers::BatchGetTriggersError::InternalServiceException(inner) => Error::InternalServiceException(inner),
648 crate::operation::batch_get_triggers::BatchGetTriggersError::InvalidInputException(inner) => Error::InvalidInputException(inner),
649 crate::operation::batch_get_triggers::BatchGetTriggersError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
650 crate::operation::batch_get_triggers::BatchGetTriggersError::Unhandled(inner) => Error::Unhandled(inner),
651 }
652 }
653}
654impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_workflows::BatchGetWorkflowsError, R>> for Error
655where
656 R: Send + Sync + std::fmt::Debug + 'static,
657{
658 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_workflows::BatchGetWorkflowsError, R>) -> Self {
659 match err {
660 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
661 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
662 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
663 source: err.into(),
664 }),
665 }
666 }
667}
668impl From<crate::operation::batch_get_workflows::BatchGetWorkflowsError> for Error {
669 fn from(err: crate::operation::batch_get_workflows::BatchGetWorkflowsError) -> Self {
670 match err {
671 crate::operation::batch_get_workflows::BatchGetWorkflowsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
672 crate::operation::batch_get_workflows::BatchGetWorkflowsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
673 crate::operation::batch_get_workflows::BatchGetWorkflowsError::OperationTimeoutException(inner) => {
674 Error::OperationTimeoutException(inner)
675 }
676 crate::operation::batch_get_workflows::BatchGetWorkflowsError::Unhandled(inner) => Error::Unhandled(inner),
677 }
678 }
679}
680impl<R>
681 From<
682 ::aws_smithy_runtime_api::client::result::SdkError<
683 crate::operation::batch_put_data_quality_statistic_annotation::BatchPutDataQualityStatisticAnnotationError,
684 R,
685 >,
686 > for Error
687where
688 R: Send + Sync + std::fmt::Debug + 'static,
689{
690 fn from(
691 err: ::aws_smithy_runtime_api::client::result::SdkError<
692 crate::operation::batch_put_data_quality_statistic_annotation::BatchPutDataQualityStatisticAnnotationError,
693 R,
694 >,
695 ) -> Self {
696 match err {
697 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
698 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
699 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
700 source: err.into(),
701 }),
702 }
703 }
704}
705impl From<crate::operation::batch_put_data_quality_statistic_annotation::BatchPutDataQualityStatisticAnnotationError> for Error {
706 fn from(err: crate::operation::batch_put_data_quality_statistic_annotation::BatchPutDataQualityStatisticAnnotationError) -> Self {
707 match err {
708 crate::operation::batch_put_data_quality_statistic_annotation::BatchPutDataQualityStatisticAnnotationError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
709 crate::operation::batch_put_data_quality_statistic_annotation::BatchPutDataQualityStatisticAnnotationError::InternalServiceException(inner) => Error::InternalServiceException(inner),
710 crate::operation::batch_put_data_quality_statistic_annotation::BatchPutDataQualityStatisticAnnotationError::InvalidInputException(inner) => Error::InvalidInputException(inner),
711 crate::operation::batch_put_data_quality_statistic_annotation::BatchPutDataQualityStatisticAnnotationError::ResourceNumberLimitExceededException(inner) => Error::ResourceNumberLimitExceededException(inner),
712 crate::operation::batch_put_data_quality_statistic_annotation::BatchPutDataQualityStatisticAnnotationError::Unhandled(inner) => Error::Unhandled(inner),
713 }
714 }
715}
716impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_stop_job_run::BatchStopJobRunError, R>> for Error
717where
718 R: Send + Sync + std::fmt::Debug + 'static,
719{
720 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_stop_job_run::BatchStopJobRunError, R>) -> Self {
721 match err {
722 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
723 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
724 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
725 source: err.into(),
726 }),
727 }
728 }
729}
730impl From<crate::operation::batch_stop_job_run::BatchStopJobRunError> for Error {
731 fn from(err: crate::operation::batch_stop_job_run::BatchStopJobRunError) -> Self {
732 match err {
733 crate::operation::batch_stop_job_run::BatchStopJobRunError::InternalServiceException(inner) => Error::InternalServiceException(inner),
734 crate::operation::batch_stop_job_run::BatchStopJobRunError::InvalidInputException(inner) => Error::InvalidInputException(inner),
735 crate::operation::batch_stop_job_run::BatchStopJobRunError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
736 crate::operation::batch_stop_job_run::BatchStopJobRunError::Unhandled(inner) => Error::Unhandled(inner),
737 }
738 }
739}
740impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_update_partition::BatchUpdatePartitionError, R>> for Error
741where
742 R: Send + Sync + std::fmt::Debug + 'static,
743{
744 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_update_partition::BatchUpdatePartitionError, R>) -> Self {
745 match err {
746 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
747 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
748 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
749 source: err.into(),
750 }),
751 }
752 }
753}
754impl From<crate::operation::batch_update_partition::BatchUpdatePartitionError> for Error {
755 fn from(err: crate::operation::batch_update_partition::BatchUpdatePartitionError) -> Self {
756 match err {
757 crate::operation::batch_update_partition::BatchUpdatePartitionError::EntityNotFoundException(inner) => {
758 Error::EntityNotFoundException(inner)
759 }
760 crate::operation::batch_update_partition::BatchUpdatePartitionError::GlueEncryptionException(inner) => {
761 Error::GlueEncryptionException(inner)
762 }
763 crate::operation::batch_update_partition::BatchUpdatePartitionError::InternalServiceException(inner) => {
764 Error::InternalServiceException(inner)
765 }
766 crate::operation::batch_update_partition::BatchUpdatePartitionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
767 crate::operation::batch_update_partition::BatchUpdatePartitionError::OperationTimeoutException(inner) => {
768 Error::OperationTimeoutException(inner)
769 }
770 crate::operation::batch_update_partition::BatchUpdatePartitionError::Unhandled(inner) => Error::Unhandled(inner),
771 }
772 }
773}
774impl<R>
775 From<
776 ::aws_smithy_runtime_api::client::result::SdkError<
777 crate::operation::cancel_data_quality_rule_recommendation_run::CancelDataQualityRuleRecommendationRunError,
778 R,
779 >,
780 > for Error
781where
782 R: Send + Sync + std::fmt::Debug + 'static,
783{
784 fn from(
785 err: ::aws_smithy_runtime_api::client::result::SdkError<
786 crate::operation::cancel_data_quality_rule_recommendation_run::CancelDataQualityRuleRecommendationRunError,
787 R,
788 >,
789 ) -> Self {
790 match err {
791 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
792 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
793 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
794 source: err.into(),
795 }),
796 }
797 }
798}
799impl From<crate::operation::cancel_data_quality_rule_recommendation_run::CancelDataQualityRuleRecommendationRunError> for Error {
800 fn from(err: crate::operation::cancel_data_quality_rule_recommendation_run::CancelDataQualityRuleRecommendationRunError) -> Self {
801 match err {
802 crate::operation::cancel_data_quality_rule_recommendation_run::CancelDataQualityRuleRecommendationRunError::EntityNotFoundException(
803 inner,
804 ) => Error::EntityNotFoundException(inner),
805 crate::operation::cancel_data_quality_rule_recommendation_run::CancelDataQualityRuleRecommendationRunError::InternalServiceException(
806 inner,
807 ) => Error::InternalServiceException(inner),
808 crate::operation::cancel_data_quality_rule_recommendation_run::CancelDataQualityRuleRecommendationRunError::InvalidInputException(
809 inner,
810 ) => Error::InvalidInputException(inner),
811 crate::operation::cancel_data_quality_rule_recommendation_run::CancelDataQualityRuleRecommendationRunError::OperationTimeoutException(
812 inner,
813 ) => Error::OperationTimeoutException(inner),
814 crate::operation::cancel_data_quality_rule_recommendation_run::CancelDataQualityRuleRecommendationRunError::Unhandled(inner) => {
815 Error::Unhandled(inner)
816 }
817 }
818 }
819}
820impl<R>
821 From<
822 ::aws_smithy_runtime_api::client::result::SdkError<
823 crate::operation::cancel_data_quality_ruleset_evaluation_run::CancelDataQualityRulesetEvaluationRunError,
824 R,
825 >,
826 > for Error
827where
828 R: Send + Sync + std::fmt::Debug + 'static,
829{
830 fn from(
831 err: ::aws_smithy_runtime_api::client::result::SdkError<
832 crate::operation::cancel_data_quality_ruleset_evaluation_run::CancelDataQualityRulesetEvaluationRunError,
833 R,
834 >,
835 ) -> Self {
836 match err {
837 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
838 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
839 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
840 source: err.into(),
841 }),
842 }
843 }
844}
845impl From<crate::operation::cancel_data_quality_ruleset_evaluation_run::CancelDataQualityRulesetEvaluationRunError> for Error {
846 fn from(err: crate::operation::cancel_data_quality_ruleset_evaluation_run::CancelDataQualityRulesetEvaluationRunError) -> Self {
847 match err {
848 crate::operation::cancel_data_quality_ruleset_evaluation_run::CancelDataQualityRulesetEvaluationRunError::EntityNotFoundException(
849 inner,
850 ) => Error::EntityNotFoundException(inner),
851 crate::operation::cancel_data_quality_ruleset_evaluation_run::CancelDataQualityRulesetEvaluationRunError::InternalServiceException(
852 inner,
853 ) => Error::InternalServiceException(inner),
854 crate::operation::cancel_data_quality_ruleset_evaluation_run::CancelDataQualityRulesetEvaluationRunError::InvalidInputException(
855 inner,
856 ) => Error::InvalidInputException(inner),
857 crate::operation::cancel_data_quality_ruleset_evaluation_run::CancelDataQualityRulesetEvaluationRunError::OperationTimeoutException(
858 inner,
859 ) => Error::OperationTimeoutException(inner),
860 crate::operation::cancel_data_quality_ruleset_evaluation_run::CancelDataQualityRulesetEvaluationRunError::Unhandled(inner) => {
861 Error::Unhandled(inner)
862 }
863 }
864 }
865}
866impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_ml_task_run::CancelMLTaskRunError, R>> for Error
867where
868 R: Send + Sync + std::fmt::Debug + 'static,
869{
870 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_ml_task_run::CancelMLTaskRunError, R>) -> Self {
871 match err {
872 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
873 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
874 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
875 source: err.into(),
876 }),
877 }
878 }
879}
880impl From<crate::operation::cancel_ml_task_run::CancelMLTaskRunError> for Error {
881 fn from(err: crate::operation::cancel_ml_task_run::CancelMLTaskRunError) -> Self {
882 match err {
883 crate::operation::cancel_ml_task_run::CancelMLTaskRunError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
884 crate::operation::cancel_ml_task_run::CancelMLTaskRunError::InternalServiceException(inner) => Error::InternalServiceException(inner),
885 crate::operation::cancel_ml_task_run::CancelMLTaskRunError::InvalidInputException(inner) => Error::InvalidInputException(inner),
886 crate::operation::cancel_ml_task_run::CancelMLTaskRunError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
887 crate::operation::cancel_ml_task_run::CancelMLTaskRunError::Unhandled(inner) => Error::Unhandled(inner),
888 }
889 }
890}
891impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_statement::CancelStatementError, R>> for Error
892where
893 R: Send + Sync + std::fmt::Debug + 'static,
894{
895 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_statement::CancelStatementError, R>) -> Self {
896 match err {
897 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
898 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
899 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
900 source: err.into(),
901 }),
902 }
903 }
904}
905impl From<crate::operation::cancel_statement::CancelStatementError> for Error {
906 fn from(err: crate::operation::cancel_statement::CancelStatementError) -> Self {
907 match err {
908 crate::operation::cancel_statement::CancelStatementError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
909 crate::operation::cancel_statement::CancelStatementError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
910 crate::operation::cancel_statement::CancelStatementError::IllegalSessionStateException(inner) => {
911 Error::IllegalSessionStateException(inner)
912 }
913 crate::operation::cancel_statement::CancelStatementError::InternalServiceException(inner) => Error::InternalServiceException(inner),
914 crate::operation::cancel_statement::CancelStatementError::InvalidInputException(inner) => Error::InvalidInputException(inner),
915 crate::operation::cancel_statement::CancelStatementError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
916 crate::operation::cancel_statement::CancelStatementError::Unhandled(inner) => Error::Unhandled(inner),
917 }
918 }
919}
920impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::check_schema_version_validity::CheckSchemaVersionValidityError, R>>
921 for Error
922where
923 R: Send + Sync + std::fmt::Debug + 'static,
924{
925 fn from(
926 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::check_schema_version_validity::CheckSchemaVersionValidityError, R>,
927 ) -> Self {
928 match err {
929 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
930 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
931 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
932 source: err.into(),
933 }),
934 }
935 }
936}
937impl From<crate::operation::check_schema_version_validity::CheckSchemaVersionValidityError> for Error {
938 fn from(err: crate::operation::check_schema_version_validity::CheckSchemaVersionValidityError) -> Self {
939 match err {
940 crate::operation::check_schema_version_validity::CheckSchemaVersionValidityError::AccessDeniedException(inner) => {
941 Error::AccessDeniedException(inner)
942 }
943 crate::operation::check_schema_version_validity::CheckSchemaVersionValidityError::InternalServiceException(inner) => {
944 Error::InternalServiceException(inner)
945 }
946 crate::operation::check_schema_version_validity::CheckSchemaVersionValidityError::InvalidInputException(inner) => {
947 Error::InvalidInputException(inner)
948 }
949 crate::operation::check_schema_version_validity::CheckSchemaVersionValidityError::Unhandled(inner) => Error::Unhandled(inner),
950 }
951 }
952}
953impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_blueprint::CreateBlueprintError, R>> for Error
954where
955 R: Send + Sync + std::fmt::Debug + 'static,
956{
957 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_blueprint::CreateBlueprintError, R>) -> Self {
958 match err {
959 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
960 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
961 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
962 source: err.into(),
963 }),
964 }
965 }
966}
967impl From<crate::operation::create_blueprint::CreateBlueprintError> for Error {
968 fn from(err: crate::operation::create_blueprint::CreateBlueprintError) -> Self {
969 match err {
970 crate::operation::create_blueprint::CreateBlueprintError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
971 crate::operation::create_blueprint::CreateBlueprintError::InternalServiceException(inner) => Error::InternalServiceException(inner),
972 crate::operation::create_blueprint::CreateBlueprintError::InvalidInputException(inner) => Error::InvalidInputException(inner),
973 crate::operation::create_blueprint::CreateBlueprintError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
974 crate::operation::create_blueprint::CreateBlueprintError::ResourceNumberLimitExceededException(inner) => {
975 Error::ResourceNumberLimitExceededException(inner)
976 }
977 crate::operation::create_blueprint::CreateBlueprintError::Unhandled(inner) => Error::Unhandled(inner),
978 }
979 }
980}
981impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_catalog::CreateCatalogError, R>> for Error
982where
983 R: Send + Sync + std::fmt::Debug + 'static,
984{
985 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_catalog::CreateCatalogError, R>) -> Self {
986 match err {
987 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
988 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
989 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
990 source: err.into(),
991 }),
992 }
993 }
994}
995impl From<crate::operation::create_catalog::CreateCatalogError> for Error {
996 fn from(err: crate::operation::create_catalog::CreateCatalogError) -> Self {
997 match err {
998 crate::operation::create_catalog::CreateCatalogError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
999 crate::operation::create_catalog::CreateCatalogError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1000 crate::operation::create_catalog::CreateCatalogError::ConcurrentModificationException(inner) => {
1001 Error::ConcurrentModificationException(inner)
1002 }
1003 crate::operation::create_catalog::CreateCatalogError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
1004 crate::operation::create_catalog::CreateCatalogError::FederatedResourceAlreadyExistsException(inner) => {
1005 Error::FederatedResourceAlreadyExistsException(inner)
1006 }
1007 crate::operation::create_catalog::CreateCatalogError::FederationSourceException(inner) => Error::FederationSourceException(inner),
1008 crate::operation::create_catalog::CreateCatalogError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
1009 crate::operation::create_catalog::CreateCatalogError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1010 crate::operation::create_catalog::CreateCatalogError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1011 crate::operation::create_catalog::CreateCatalogError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
1012 crate::operation::create_catalog::CreateCatalogError::ResourceNumberLimitExceededException(inner) => {
1013 Error::ResourceNumberLimitExceededException(inner)
1014 }
1015 crate::operation::create_catalog::CreateCatalogError::Unhandled(inner) => Error::Unhandled(inner),
1016 }
1017 }
1018}
1019impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_classifier::CreateClassifierError, R>> for Error
1020where
1021 R: Send + Sync + std::fmt::Debug + 'static,
1022{
1023 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_classifier::CreateClassifierError, R>) -> Self {
1024 match err {
1025 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1026 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1027 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1028 source: err.into(),
1029 }),
1030 }
1031 }
1032}
1033impl From<crate::operation::create_classifier::CreateClassifierError> for Error {
1034 fn from(err: crate::operation::create_classifier::CreateClassifierError) -> Self {
1035 match err {
1036 crate::operation::create_classifier::CreateClassifierError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1037 crate::operation::create_classifier::CreateClassifierError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1038 crate::operation::create_classifier::CreateClassifierError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
1039 crate::operation::create_classifier::CreateClassifierError::Unhandled(inner) => Error::Unhandled(inner),
1040 }
1041 }
1042}
1043impl<R>
1044 From<
1045 ::aws_smithy_runtime_api::client::result::SdkError<
1046 crate::operation::create_column_statistics_task_settings::CreateColumnStatisticsTaskSettingsError,
1047 R,
1048 >,
1049 > for Error
1050where
1051 R: Send + Sync + std::fmt::Debug + 'static,
1052{
1053 fn from(
1054 err: ::aws_smithy_runtime_api::client::result::SdkError<
1055 crate::operation::create_column_statistics_task_settings::CreateColumnStatisticsTaskSettingsError,
1056 R,
1057 >,
1058 ) -> Self {
1059 match err {
1060 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1061 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1062 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1063 source: err.into(),
1064 }),
1065 }
1066 }
1067}
1068impl From<crate::operation::create_column_statistics_task_settings::CreateColumnStatisticsTaskSettingsError> for Error {
1069 fn from(err: crate::operation::create_column_statistics_task_settings::CreateColumnStatisticsTaskSettingsError) -> Self {
1070 match err {
1071 crate::operation::create_column_statistics_task_settings::CreateColumnStatisticsTaskSettingsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1072 crate::operation::create_column_statistics_task_settings::CreateColumnStatisticsTaskSettingsError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1073 crate::operation::create_column_statistics_task_settings::CreateColumnStatisticsTaskSettingsError::ColumnStatisticsTaskRunningException(inner) => Error::ColumnStatisticsTaskRunningException(inner),
1074 crate::operation::create_column_statistics_task_settings::CreateColumnStatisticsTaskSettingsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
1075 crate::operation::create_column_statistics_task_settings::CreateColumnStatisticsTaskSettingsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1076 crate::operation::create_column_statistics_task_settings::CreateColumnStatisticsTaskSettingsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
1077 crate::operation::create_column_statistics_task_settings::CreateColumnStatisticsTaskSettingsError::ResourceNumberLimitExceededException(inner) => Error::ResourceNumberLimitExceededException(inner),
1078 crate::operation::create_column_statistics_task_settings::CreateColumnStatisticsTaskSettingsError::Unhandled(inner) => Error::Unhandled(inner),
1079 }
1080 }
1081}
1082impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_connection::CreateConnectionError, R>> for Error
1083where
1084 R: Send + Sync + std::fmt::Debug + 'static,
1085{
1086 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_connection::CreateConnectionError, R>) -> Self {
1087 match err {
1088 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1089 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1090 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1091 source: err.into(),
1092 }),
1093 }
1094 }
1095}
1096impl From<crate::operation::create_connection::CreateConnectionError> for Error {
1097 fn from(err: crate::operation::create_connection::CreateConnectionError) -> Self {
1098 match err {
1099 crate::operation::create_connection::CreateConnectionError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1100 crate::operation::create_connection::CreateConnectionError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
1101 crate::operation::create_connection::CreateConnectionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1102 crate::operation::create_connection::CreateConnectionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
1103 crate::operation::create_connection::CreateConnectionError::ResourceNumberLimitExceededException(inner) => {
1104 Error::ResourceNumberLimitExceededException(inner)
1105 }
1106 crate::operation::create_connection::CreateConnectionError::Unhandled(inner) => Error::Unhandled(inner),
1107 }
1108 }
1109}
1110impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_crawler::CreateCrawlerError, R>> for Error
1111where
1112 R: Send + Sync + std::fmt::Debug + 'static,
1113{
1114 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_crawler::CreateCrawlerError, R>) -> Self {
1115 match err {
1116 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1117 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1118 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1119 source: err.into(),
1120 }),
1121 }
1122 }
1123}
1124impl From<crate::operation::create_crawler::CreateCrawlerError> for Error {
1125 fn from(err: crate::operation::create_crawler::CreateCrawlerError) -> Self {
1126 match err {
1127 crate::operation::create_crawler::CreateCrawlerError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1128 crate::operation::create_crawler::CreateCrawlerError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1129 crate::operation::create_crawler::CreateCrawlerError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
1130 crate::operation::create_crawler::CreateCrawlerError::ResourceNumberLimitExceededException(inner) => {
1131 Error::ResourceNumberLimitExceededException(inner)
1132 }
1133 crate::operation::create_crawler::CreateCrawlerError::Unhandled(inner) => Error::Unhandled(inner),
1134 }
1135 }
1136}
1137impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_custom_entity_type::CreateCustomEntityTypeError, R>>
1138 for Error
1139where
1140 R: Send + Sync + std::fmt::Debug + 'static,
1141{
1142 fn from(
1143 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_custom_entity_type::CreateCustomEntityTypeError, R>,
1144 ) -> Self {
1145 match err {
1146 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1147 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1148 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1149 source: err.into(),
1150 }),
1151 }
1152 }
1153}
1154impl From<crate::operation::create_custom_entity_type::CreateCustomEntityTypeError> for Error {
1155 fn from(err: crate::operation::create_custom_entity_type::CreateCustomEntityTypeError) -> Self {
1156 match err {
1157 crate::operation::create_custom_entity_type::CreateCustomEntityTypeError::AccessDeniedException(inner) => {
1158 Error::AccessDeniedException(inner)
1159 }
1160 crate::operation::create_custom_entity_type::CreateCustomEntityTypeError::AlreadyExistsException(inner) => {
1161 Error::AlreadyExistsException(inner)
1162 }
1163 crate::operation::create_custom_entity_type::CreateCustomEntityTypeError::IdempotentParameterMismatchException(inner) => {
1164 Error::IdempotentParameterMismatchException(inner)
1165 }
1166 crate::operation::create_custom_entity_type::CreateCustomEntityTypeError::InternalServiceException(inner) => {
1167 Error::InternalServiceException(inner)
1168 }
1169 crate::operation::create_custom_entity_type::CreateCustomEntityTypeError::InvalidInputException(inner) => {
1170 Error::InvalidInputException(inner)
1171 }
1172 crate::operation::create_custom_entity_type::CreateCustomEntityTypeError::OperationTimeoutException(inner) => {
1173 Error::OperationTimeoutException(inner)
1174 }
1175 crate::operation::create_custom_entity_type::CreateCustomEntityTypeError::ResourceNumberLimitExceededException(inner) => {
1176 Error::ResourceNumberLimitExceededException(inner)
1177 }
1178 crate::operation::create_custom_entity_type::CreateCustomEntityTypeError::Unhandled(inner) => Error::Unhandled(inner),
1179 }
1180 }
1181}
1182impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_database::CreateDatabaseError, R>> for Error
1183where
1184 R: Send + Sync + std::fmt::Debug + 'static,
1185{
1186 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_database::CreateDatabaseError, R>) -> Self {
1187 match err {
1188 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1189 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1190 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1191 source: err.into(),
1192 }),
1193 }
1194 }
1195}
1196impl From<crate::operation::create_database::CreateDatabaseError> for Error {
1197 fn from(err: crate::operation::create_database::CreateDatabaseError) -> Self {
1198 match err {
1199 crate::operation::create_database::CreateDatabaseError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1200 crate::operation::create_database::CreateDatabaseError::ConcurrentModificationException(inner) => {
1201 Error::ConcurrentModificationException(inner)
1202 }
1203 crate::operation::create_database::CreateDatabaseError::FederatedResourceAlreadyExistsException(inner) => {
1204 Error::FederatedResourceAlreadyExistsException(inner)
1205 }
1206 crate::operation::create_database::CreateDatabaseError::FederationSourceException(inner) => Error::FederationSourceException(inner),
1207 crate::operation::create_database::CreateDatabaseError::FederationSourceRetryableException(inner) => {
1208 Error::FederationSourceRetryableException(inner)
1209 }
1210 crate::operation::create_database::CreateDatabaseError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
1211 crate::operation::create_database::CreateDatabaseError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1212 crate::operation::create_database::CreateDatabaseError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1213 crate::operation::create_database::CreateDatabaseError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
1214 crate::operation::create_database::CreateDatabaseError::ResourceNumberLimitExceededException(inner) => {
1215 Error::ResourceNumberLimitExceededException(inner)
1216 }
1217 crate::operation::create_database::CreateDatabaseError::Unhandled(inner) => Error::Unhandled(inner),
1218 }
1219 }
1220}
1221impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_data_quality_ruleset::CreateDataQualityRulesetError, R>>
1222 for Error
1223where
1224 R: Send + Sync + std::fmt::Debug + 'static,
1225{
1226 fn from(
1227 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_data_quality_ruleset::CreateDataQualityRulesetError, R>,
1228 ) -> Self {
1229 match err {
1230 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1231 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1232 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1233 source: err.into(),
1234 }),
1235 }
1236 }
1237}
1238impl From<crate::operation::create_data_quality_ruleset::CreateDataQualityRulesetError> for Error {
1239 fn from(err: crate::operation::create_data_quality_ruleset::CreateDataQualityRulesetError) -> Self {
1240 match err {
1241 crate::operation::create_data_quality_ruleset::CreateDataQualityRulesetError::AlreadyExistsException(inner) => {
1242 Error::AlreadyExistsException(inner)
1243 }
1244 crate::operation::create_data_quality_ruleset::CreateDataQualityRulesetError::InternalServiceException(inner) => {
1245 Error::InternalServiceException(inner)
1246 }
1247 crate::operation::create_data_quality_ruleset::CreateDataQualityRulesetError::InvalidInputException(inner) => {
1248 Error::InvalidInputException(inner)
1249 }
1250 crate::operation::create_data_quality_ruleset::CreateDataQualityRulesetError::OperationTimeoutException(inner) => {
1251 Error::OperationTimeoutException(inner)
1252 }
1253 crate::operation::create_data_quality_ruleset::CreateDataQualityRulesetError::ResourceNumberLimitExceededException(inner) => {
1254 Error::ResourceNumberLimitExceededException(inner)
1255 }
1256 crate::operation::create_data_quality_ruleset::CreateDataQualityRulesetError::Unhandled(inner) => Error::Unhandled(inner),
1257 }
1258 }
1259}
1260impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_dev_endpoint::CreateDevEndpointError, R>> for Error
1261where
1262 R: Send + Sync + std::fmt::Debug + 'static,
1263{
1264 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_dev_endpoint::CreateDevEndpointError, R>) -> Self {
1265 match err {
1266 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1267 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1268 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1269 source: err.into(),
1270 }),
1271 }
1272 }
1273}
1274impl From<crate::operation::create_dev_endpoint::CreateDevEndpointError> for Error {
1275 fn from(err: crate::operation::create_dev_endpoint::CreateDevEndpointError) -> Self {
1276 match err {
1277 crate::operation::create_dev_endpoint::CreateDevEndpointError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1278 crate::operation::create_dev_endpoint::CreateDevEndpointError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1279 crate::operation::create_dev_endpoint::CreateDevEndpointError::IdempotentParameterMismatchException(inner) => {
1280 Error::IdempotentParameterMismatchException(inner)
1281 }
1282 crate::operation::create_dev_endpoint::CreateDevEndpointError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1283 crate::operation::create_dev_endpoint::CreateDevEndpointError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1284 crate::operation::create_dev_endpoint::CreateDevEndpointError::OperationTimeoutException(inner) => {
1285 Error::OperationTimeoutException(inner)
1286 }
1287 crate::operation::create_dev_endpoint::CreateDevEndpointError::ResourceNumberLimitExceededException(inner) => {
1288 Error::ResourceNumberLimitExceededException(inner)
1289 }
1290 crate::operation::create_dev_endpoint::CreateDevEndpointError::ValidationException(inner) => Error::ValidationException(inner),
1291 crate::operation::create_dev_endpoint::CreateDevEndpointError::Unhandled(inner) => Error::Unhandled(inner),
1292 }
1293 }
1294}
1295impl<R>
1296 From<
1297 ::aws_smithy_runtime_api::client::result::SdkError<
1298 crate::operation::create_glue_identity_center_configuration::CreateGlueIdentityCenterConfigurationError,
1299 R,
1300 >,
1301 > for Error
1302where
1303 R: Send + Sync + std::fmt::Debug + 'static,
1304{
1305 fn from(
1306 err: ::aws_smithy_runtime_api::client::result::SdkError<
1307 crate::operation::create_glue_identity_center_configuration::CreateGlueIdentityCenterConfigurationError,
1308 R,
1309 >,
1310 ) -> Self {
1311 match err {
1312 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1313 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1314 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1315 source: err.into(),
1316 }),
1317 }
1318 }
1319}
1320impl From<crate::operation::create_glue_identity_center_configuration::CreateGlueIdentityCenterConfigurationError> for Error {
1321 fn from(err: crate::operation::create_glue_identity_center_configuration::CreateGlueIdentityCenterConfigurationError) -> Self {
1322 match err {
1323 crate::operation::create_glue_identity_center_configuration::CreateGlueIdentityCenterConfigurationError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1324 crate::operation::create_glue_identity_center_configuration::CreateGlueIdentityCenterConfigurationError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1325 crate::operation::create_glue_identity_center_configuration::CreateGlueIdentityCenterConfigurationError::ConcurrentModificationException(inner) => Error::ConcurrentModificationException(inner),
1326 crate::operation::create_glue_identity_center_configuration::CreateGlueIdentityCenterConfigurationError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1327 crate::operation::create_glue_identity_center_configuration::CreateGlueIdentityCenterConfigurationError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1328 crate::operation::create_glue_identity_center_configuration::CreateGlueIdentityCenterConfigurationError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
1329 crate::operation::create_glue_identity_center_configuration::CreateGlueIdentityCenterConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
1330 }
1331 }
1332}
1333impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_integration::CreateIntegrationError, R>> for Error
1334where
1335 R: Send + Sync + std::fmt::Debug + 'static,
1336{
1337 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_integration::CreateIntegrationError, R>) -> Self {
1338 match err {
1339 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1340 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1341 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1342 source: err.into(),
1343 }),
1344 }
1345 }
1346}
1347impl From<crate::operation::create_integration::CreateIntegrationError> for Error {
1348 fn from(err: crate::operation::create_integration::CreateIntegrationError) -> Self {
1349 match err {
1350 crate::operation::create_integration::CreateIntegrationError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1351 crate::operation::create_integration::CreateIntegrationError::ConflictException(inner) => Error::ConflictException(inner),
1352 crate::operation::create_integration::CreateIntegrationError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
1353 crate::operation::create_integration::CreateIntegrationError::IntegrationConflictOperationFault(inner) => {
1354 Error::IntegrationConflictOperationFault(inner)
1355 }
1356 crate::operation::create_integration::CreateIntegrationError::IntegrationQuotaExceededFault(inner) => {
1357 Error::IntegrationQuotaExceededFault(inner)
1358 }
1359 crate::operation::create_integration::CreateIntegrationError::InternalServerException(inner) => Error::InternalServerException(inner),
1360 crate::operation::create_integration::CreateIntegrationError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1361 crate::operation::create_integration::CreateIntegrationError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1362 crate::operation::create_integration::CreateIntegrationError::KmsKeyNotAccessibleFault(inner) => Error::KmsKeyNotAccessibleFault(inner),
1363 crate::operation::create_integration::CreateIntegrationError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1364 crate::operation::create_integration::CreateIntegrationError::ResourceNumberLimitExceededException(inner) => {
1365 Error::ResourceNumberLimitExceededException(inner)
1366 }
1367 crate::operation::create_integration::CreateIntegrationError::ValidationException(inner) => Error::ValidationException(inner),
1368 crate::operation::create_integration::CreateIntegrationError::Unhandled(inner) => Error::Unhandled(inner),
1369 }
1370 }
1371}
1372impl<R>
1373 From<
1374 ::aws_smithy_runtime_api::client::result::SdkError<
1375 crate::operation::create_integration_resource_property::CreateIntegrationResourcePropertyError,
1376 R,
1377 >,
1378 > for Error
1379where
1380 R: Send + Sync + std::fmt::Debug + 'static,
1381{
1382 fn from(
1383 err: ::aws_smithy_runtime_api::client::result::SdkError<
1384 crate::operation::create_integration_resource_property::CreateIntegrationResourcePropertyError,
1385 R,
1386 >,
1387 ) -> Self {
1388 match err {
1389 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1390 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1391 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1392 source: err.into(),
1393 }),
1394 }
1395 }
1396}
1397impl From<crate::operation::create_integration_resource_property::CreateIntegrationResourcePropertyError> for Error {
1398 fn from(err: crate::operation::create_integration_resource_property::CreateIntegrationResourcePropertyError) -> Self {
1399 match err {
1400 crate::operation::create_integration_resource_property::CreateIntegrationResourcePropertyError::AccessDeniedException(inner) => {
1401 Error::AccessDeniedException(inner)
1402 }
1403 crate::operation::create_integration_resource_property::CreateIntegrationResourcePropertyError::ConflictException(inner) => {
1404 Error::ConflictException(inner)
1405 }
1406 crate::operation::create_integration_resource_property::CreateIntegrationResourcePropertyError::EntityNotFoundException(inner) => {
1407 Error::EntityNotFoundException(inner)
1408 }
1409 crate::operation::create_integration_resource_property::CreateIntegrationResourcePropertyError::InternalServerException(inner) => {
1410 Error::InternalServerException(inner)
1411 }
1412 crate::operation::create_integration_resource_property::CreateIntegrationResourcePropertyError::InternalServiceException(inner) => {
1413 Error::InternalServiceException(inner)
1414 }
1415 crate::operation::create_integration_resource_property::CreateIntegrationResourcePropertyError::InvalidInputException(inner) => {
1416 Error::InvalidInputException(inner)
1417 }
1418 crate::operation::create_integration_resource_property::CreateIntegrationResourcePropertyError::ResourceNotFoundException(inner) => {
1419 Error::ResourceNotFoundException(inner)
1420 }
1421 crate::operation::create_integration_resource_property::CreateIntegrationResourcePropertyError::ValidationException(inner) => {
1422 Error::ValidationException(inner)
1423 }
1424 crate::operation::create_integration_resource_property::CreateIntegrationResourcePropertyError::Unhandled(inner) => {
1425 Error::Unhandled(inner)
1426 }
1427 }
1428 }
1429}
1430impl<R>
1431 From<
1432 ::aws_smithy_runtime_api::client::result::SdkError<
1433 crate::operation::create_integration_table_properties::CreateIntegrationTablePropertiesError,
1434 R,
1435 >,
1436 > for Error
1437where
1438 R: Send + Sync + std::fmt::Debug + 'static,
1439{
1440 fn from(
1441 err: ::aws_smithy_runtime_api::client::result::SdkError<
1442 crate::operation::create_integration_table_properties::CreateIntegrationTablePropertiesError,
1443 R,
1444 >,
1445 ) -> Self {
1446 match err {
1447 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1448 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1449 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1450 source: err.into(),
1451 }),
1452 }
1453 }
1454}
1455impl From<crate::operation::create_integration_table_properties::CreateIntegrationTablePropertiesError> for Error {
1456 fn from(err: crate::operation::create_integration_table_properties::CreateIntegrationTablePropertiesError) -> Self {
1457 match err {
1458 crate::operation::create_integration_table_properties::CreateIntegrationTablePropertiesError::AccessDeniedException(inner) => {
1459 Error::AccessDeniedException(inner)
1460 }
1461 crate::operation::create_integration_table_properties::CreateIntegrationTablePropertiesError::EntityNotFoundException(inner) => {
1462 Error::EntityNotFoundException(inner)
1463 }
1464 crate::operation::create_integration_table_properties::CreateIntegrationTablePropertiesError::InternalServerException(inner) => {
1465 Error::InternalServerException(inner)
1466 }
1467 crate::operation::create_integration_table_properties::CreateIntegrationTablePropertiesError::InternalServiceException(inner) => {
1468 Error::InternalServiceException(inner)
1469 }
1470 crate::operation::create_integration_table_properties::CreateIntegrationTablePropertiesError::InvalidInputException(inner) => {
1471 Error::InvalidInputException(inner)
1472 }
1473 crate::operation::create_integration_table_properties::CreateIntegrationTablePropertiesError::ResourceNotFoundException(inner) => {
1474 Error::ResourceNotFoundException(inner)
1475 }
1476 crate::operation::create_integration_table_properties::CreateIntegrationTablePropertiesError::ValidationException(inner) => {
1477 Error::ValidationException(inner)
1478 }
1479 crate::operation::create_integration_table_properties::CreateIntegrationTablePropertiesError::Unhandled(inner) => Error::Unhandled(inner),
1480 }
1481 }
1482}
1483impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_job::CreateJobError, R>> for Error
1484where
1485 R: Send + Sync + std::fmt::Debug + 'static,
1486{
1487 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_job::CreateJobError, R>) -> Self {
1488 match err {
1489 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1490 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1491 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1492 source: err.into(),
1493 }),
1494 }
1495 }
1496}
1497impl From<crate::operation::create_job::CreateJobError> for Error {
1498 fn from(err: crate::operation::create_job::CreateJobError) -> Self {
1499 match err {
1500 crate::operation::create_job::CreateJobError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1501 crate::operation::create_job::CreateJobError::ConcurrentModificationException(inner) => Error::ConcurrentModificationException(inner),
1502 crate::operation::create_job::CreateJobError::IdempotentParameterMismatchException(inner) => {
1503 Error::IdempotentParameterMismatchException(inner)
1504 }
1505 crate::operation::create_job::CreateJobError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1506 crate::operation::create_job::CreateJobError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1507 crate::operation::create_job::CreateJobError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
1508 crate::operation::create_job::CreateJobError::ResourceNumberLimitExceededException(inner) => {
1509 Error::ResourceNumberLimitExceededException(inner)
1510 }
1511 crate::operation::create_job::CreateJobError::Unhandled(inner) => Error::Unhandled(inner),
1512 }
1513 }
1514}
1515impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ml_transform::CreateMLTransformError, R>> for Error
1516where
1517 R: Send + Sync + std::fmt::Debug + 'static,
1518{
1519 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ml_transform::CreateMLTransformError, R>) -> Self {
1520 match err {
1521 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1522 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1523 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1524 source: err.into(),
1525 }),
1526 }
1527 }
1528}
1529impl From<crate::operation::create_ml_transform::CreateMLTransformError> for Error {
1530 fn from(err: crate::operation::create_ml_transform::CreateMLTransformError) -> Self {
1531 match err {
1532 crate::operation::create_ml_transform::CreateMLTransformError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1533 crate::operation::create_ml_transform::CreateMLTransformError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1534 crate::operation::create_ml_transform::CreateMLTransformError::IdempotentParameterMismatchException(inner) => {
1535 Error::IdempotentParameterMismatchException(inner)
1536 }
1537 crate::operation::create_ml_transform::CreateMLTransformError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1538 crate::operation::create_ml_transform::CreateMLTransformError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1539 crate::operation::create_ml_transform::CreateMLTransformError::OperationTimeoutException(inner) => {
1540 Error::OperationTimeoutException(inner)
1541 }
1542 crate::operation::create_ml_transform::CreateMLTransformError::ResourceNumberLimitExceededException(inner) => {
1543 Error::ResourceNumberLimitExceededException(inner)
1544 }
1545 crate::operation::create_ml_transform::CreateMLTransformError::Unhandled(inner) => Error::Unhandled(inner),
1546 }
1547 }
1548}
1549impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_partition::CreatePartitionError, R>> for Error
1550where
1551 R: Send + Sync + std::fmt::Debug + 'static,
1552{
1553 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_partition::CreatePartitionError, R>) -> Self {
1554 match err {
1555 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1556 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1557 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1558 source: err.into(),
1559 }),
1560 }
1561 }
1562}
1563impl From<crate::operation::create_partition::CreatePartitionError> for Error {
1564 fn from(err: crate::operation::create_partition::CreatePartitionError) -> Self {
1565 match err {
1566 crate::operation::create_partition::CreatePartitionError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1567 crate::operation::create_partition::CreatePartitionError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
1568 crate::operation::create_partition::CreatePartitionError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
1569 crate::operation::create_partition::CreatePartitionError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1570 crate::operation::create_partition::CreatePartitionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1571 crate::operation::create_partition::CreatePartitionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
1572 crate::operation::create_partition::CreatePartitionError::ResourceNumberLimitExceededException(inner) => {
1573 Error::ResourceNumberLimitExceededException(inner)
1574 }
1575 crate::operation::create_partition::CreatePartitionError::Unhandled(inner) => Error::Unhandled(inner),
1576 }
1577 }
1578}
1579impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_partition_index::CreatePartitionIndexError, R>> for Error
1580where
1581 R: Send + Sync + std::fmt::Debug + 'static,
1582{
1583 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_partition_index::CreatePartitionIndexError, R>) -> Self {
1584 match err {
1585 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1586 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1587 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1588 source: err.into(),
1589 }),
1590 }
1591 }
1592}
1593impl From<crate::operation::create_partition_index::CreatePartitionIndexError> for Error {
1594 fn from(err: crate::operation::create_partition_index::CreatePartitionIndexError) -> Self {
1595 match err {
1596 crate::operation::create_partition_index::CreatePartitionIndexError::AlreadyExistsException(inner) => {
1597 Error::AlreadyExistsException(inner)
1598 }
1599 crate::operation::create_partition_index::CreatePartitionIndexError::EntityNotFoundException(inner) => {
1600 Error::EntityNotFoundException(inner)
1601 }
1602 crate::operation::create_partition_index::CreatePartitionIndexError::GlueEncryptionException(inner) => {
1603 Error::GlueEncryptionException(inner)
1604 }
1605 crate::operation::create_partition_index::CreatePartitionIndexError::InternalServiceException(inner) => {
1606 Error::InternalServiceException(inner)
1607 }
1608 crate::operation::create_partition_index::CreatePartitionIndexError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1609 crate::operation::create_partition_index::CreatePartitionIndexError::OperationTimeoutException(inner) => {
1610 Error::OperationTimeoutException(inner)
1611 }
1612 crate::operation::create_partition_index::CreatePartitionIndexError::ResourceNumberLimitExceededException(inner) => {
1613 Error::ResourceNumberLimitExceededException(inner)
1614 }
1615 crate::operation::create_partition_index::CreatePartitionIndexError::Unhandled(inner) => Error::Unhandled(inner),
1616 }
1617 }
1618}
1619impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_registry::CreateRegistryError, R>> for Error
1620where
1621 R: Send + Sync + std::fmt::Debug + 'static,
1622{
1623 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_registry::CreateRegistryError, R>) -> Self {
1624 match err {
1625 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1626 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1627 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1628 source: err.into(),
1629 }),
1630 }
1631 }
1632}
1633impl From<crate::operation::create_registry::CreateRegistryError> for Error {
1634 fn from(err: crate::operation::create_registry::CreateRegistryError) -> Self {
1635 match err {
1636 crate::operation::create_registry::CreateRegistryError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1637 crate::operation::create_registry::CreateRegistryError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1638 crate::operation::create_registry::CreateRegistryError::ConcurrentModificationException(inner) => {
1639 Error::ConcurrentModificationException(inner)
1640 }
1641 crate::operation::create_registry::CreateRegistryError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1642 crate::operation::create_registry::CreateRegistryError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1643 crate::operation::create_registry::CreateRegistryError::ResourceNumberLimitExceededException(inner) => {
1644 Error::ResourceNumberLimitExceededException(inner)
1645 }
1646 crate::operation::create_registry::CreateRegistryError::Unhandled(inner) => Error::Unhandled(inner),
1647 }
1648 }
1649}
1650impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_schema::CreateSchemaError, R>> for Error
1651where
1652 R: Send + Sync + std::fmt::Debug + 'static,
1653{
1654 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_schema::CreateSchemaError, R>) -> Self {
1655 match err {
1656 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1657 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1658 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1659 source: err.into(),
1660 }),
1661 }
1662 }
1663}
1664impl From<crate::operation::create_schema::CreateSchemaError> for Error {
1665 fn from(err: crate::operation::create_schema::CreateSchemaError) -> Self {
1666 match err {
1667 crate::operation::create_schema::CreateSchemaError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1668 crate::operation::create_schema::CreateSchemaError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1669 crate::operation::create_schema::CreateSchemaError::ConcurrentModificationException(inner) => {
1670 Error::ConcurrentModificationException(inner)
1671 }
1672 crate::operation::create_schema::CreateSchemaError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
1673 crate::operation::create_schema::CreateSchemaError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1674 crate::operation::create_schema::CreateSchemaError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1675 crate::operation::create_schema::CreateSchemaError::ResourceNumberLimitExceededException(inner) => {
1676 Error::ResourceNumberLimitExceededException(inner)
1677 }
1678 crate::operation::create_schema::CreateSchemaError::Unhandled(inner) => Error::Unhandled(inner),
1679 }
1680 }
1681}
1682impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_script::CreateScriptError, R>> for Error
1683where
1684 R: Send + Sync + std::fmt::Debug + 'static,
1685{
1686 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_script::CreateScriptError, R>) -> Self {
1687 match err {
1688 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1689 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1690 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1691 source: err.into(),
1692 }),
1693 }
1694 }
1695}
1696impl From<crate::operation::create_script::CreateScriptError> for Error {
1697 fn from(err: crate::operation::create_script::CreateScriptError) -> Self {
1698 match err {
1699 crate::operation::create_script::CreateScriptError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1700 crate::operation::create_script::CreateScriptError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1701 crate::operation::create_script::CreateScriptError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
1702 crate::operation::create_script::CreateScriptError::Unhandled(inner) => Error::Unhandled(inner),
1703 }
1704 }
1705}
1706impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_security_configuration::CreateSecurityConfigurationError, R>>
1707 for Error
1708where
1709 R: Send + Sync + std::fmt::Debug + 'static,
1710{
1711 fn from(
1712 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_security_configuration::CreateSecurityConfigurationError, R>,
1713 ) -> Self {
1714 match err {
1715 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1716 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1717 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1718 source: err.into(),
1719 }),
1720 }
1721 }
1722}
1723impl From<crate::operation::create_security_configuration::CreateSecurityConfigurationError> for Error {
1724 fn from(err: crate::operation::create_security_configuration::CreateSecurityConfigurationError) -> Self {
1725 match err {
1726 crate::operation::create_security_configuration::CreateSecurityConfigurationError::AlreadyExistsException(inner) => {
1727 Error::AlreadyExistsException(inner)
1728 }
1729 crate::operation::create_security_configuration::CreateSecurityConfigurationError::InternalServiceException(inner) => {
1730 Error::InternalServiceException(inner)
1731 }
1732 crate::operation::create_security_configuration::CreateSecurityConfigurationError::InvalidInputException(inner) => {
1733 Error::InvalidInputException(inner)
1734 }
1735 crate::operation::create_security_configuration::CreateSecurityConfigurationError::OperationTimeoutException(inner) => {
1736 Error::OperationTimeoutException(inner)
1737 }
1738 crate::operation::create_security_configuration::CreateSecurityConfigurationError::ResourceNumberLimitExceededException(inner) => {
1739 Error::ResourceNumberLimitExceededException(inner)
1740 }
1741 crate::operation::create_security_configuration::CreateSecurityConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
1742 }
1743 }
1744}
1745impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_session::CreateSessionError, R>> for Error
1746where
1747 R: Send + Sync + std::fmt::Debug + 'static,
1748{
1749 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_session::CreateSessionError, R>) -> Self {
1750 match err {
1751 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1752 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1753 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1754 source: err.into(),
1755 }),
1756 }
1757 }
1758}
1759impl From<crate::operation::create_session::CreateSessionError> for Error {
1760 fn from(err: crate::operation::create_session::CreateSessionError) -> Self {
1761 match err {
1762 crate::operation::create_session::CreateSessionError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1763 crate::operation::create_session::CreateSessionError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1764 crate::operation::create_session::CreateSessionError::IdempotentParameterMismatchException(inner) => {
1765 Error::IdempotentParameterMismatchException(inner)
1766 }
1767 crate::operation::create_session::CreateSessionError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1768 crate::operation::create_session::CreateSessionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1769 crate::operation::create_session::CreateSessionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
1770 crate::operation::create_session::CreateSessionError::ResourceNumberLimitExceededException(inner) => {
1771 Error::ResourceNumberLimitExceededException(inner)
1772 }
1773 crate::operation::create_session::CreateSessionError::ValidationException(inner) => Error::ValidationException(inner),
1774 crate::operation::create_session::CreateSessionError::Unhandled(inner) => Error::Unhandled(inner),
1775 }
1776 }
1777}
1778impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_table::CreateTableError, R>> for Error
1779where
1780 R: Send + Sync + std::fmt::Debug + 'static,
1781{
1782 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_table::CreateTableError, R>) -> Self {
1783 match err {
1784 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1785 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1786 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1787 source: err.into(),
1788 }),
1789 }
1790 }
1791}
1792impl From<crate::operation::create_table::CreateTableError> for Error {
1793 fn from(err: crate::operation::create_table::CreateTableError) -> Self {
1794 match err {
1795 crate::operation::create_table::CreateTableError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1796 crate::operation::create_table::CreateTableError::ConcurrentModificationException(inner) => Error::ConcurrentModificationException(inner),
1797 crate::operation::create_table::CreateTableError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
1798 crate::operation::create_table::CreateTableError::FederationSourceException(inner) => Error::FederationSourceException(inner),
1799 crate::operation::create_table::CreateTableError::FederationSourceRetryableException(inner) => {
1800 Error::FederationSourceRetryableException(inner)
1801 }
1802 crate::operation::create_table::CreateTableError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
1803 crate::operation::create_table::CreateTableError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1804 crate::operation::create_table::CreateTableError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1805 crate::operation::create_table::CreateTableError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
1806 crate::operation::create_table::CreateTableError::ResourceNotReadyException(inner) => Error::ResourceNotReadyException(inner),
1807 crate::operation::create_table::CreateTableError::ResourceNumberLimitExceededException(inner) => {
1808 Error::ResourceNumberLimitExceededException(inner)
1809 }
1810 crate::operation::create_table::CreateTableError::Unhandled(inner) => Error::Unhandled(inner),
1811 }
1812 }
1813}
1814impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_table_optimizer::CreateTableOptimizerError, R>> for Error
1815where
1816 R: Send + Sync + std::fmt::Debug + 'static,
1817{
1818 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_table_optimizer::CreateTableOptimizerError, R>) -> Self {
1819 match err {
1820 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1821 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1822 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1823 source: err.into(),
1824 }),
1825 }
1826 }
1827}
1828impl From<crate::operation::create_table_optimizer::CreateTableOptimizerError> for Error {
1829 fn from(err: crate::operation::create_table_optimizer::CreateTableOptimizerError) -> Self {
1830 match err {
1831 crate::operation::create_table_optimizer::CreateTableOptimizerError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1832 crate::operation::create_table_optimizer::CreateTableOptimizerError::AlreadyExistsException(inner) => {
1833 Error::AlreadyExistsException(inner)
1834 }
1835 crate::operation::create_table_optimizer::CreateTableOptimizerError::EntityNotFoundException(inner) => {
1836 Error::EntityNotFoundException(inner)
1837 }
1838 crate::operation::create_table_optimizer::CreateTableOptimizerError::InternalServiceException(inner) => {
1839 Error::InternalServiceException(inner)
1840 }
1841 crate::operation::create_table_optimizer::CreateTableOptimizerError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1842 crate::operation::create_table_optimizer::CreateTableOptimizerError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1843 crate::operation::create_table_optimizer::CreateTableOptimizerError::ValidationException(inner) => Error::ValidationException(inner),
1844 crate::operation::create_table_optimizer::CreateTableOptimizerError::Unhandled(inner) => Error::Unhandled(inner),
1845 }
1846 }
1847}
1848impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_trigger::CreateTriggerError, R>> for Error
1849where
1850 R: Send + Sync + std::fmt::Debug + 'static,
1851{
1852 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_trigger::CreateTriggerError, R>) -> Self {
1853 match err {
1854 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1855 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1856 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1857 source: err.into(),
1858 }),
1859 }
1860 }
1861}
1862impl From<crate::operation::create_trigger::CreateTriggerError> for Error {
1863 fn from(err: crate::operation::create_trigger::CreateTriggerError) -> Self {
1864 match err {
1865 crate::operation::create_trigger::CreateTriggerError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1866 crate::operation::create_trigger::CreateTriggerError::ConcurrentModificationException(inner) => {
1867 Error::ConcurrentModificationException(inner)
1868 }
1869 crate::operation::create_trigger::CreateTriggerError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
1870 crate::operation::create_trigger::CreateTriggerError::IdempotentParameterMismatchException(inner) => {
1871 Error::IdempotentParameterMismatchException(inner)
1872 }
1873 crate::operation::create_trigger::CreateTriggerError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1874 crate::operation::create_trigger::CreateTriggerError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1875 crate::operation::create_trigger::CreateTriggerError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
1876 crate::operation::create_trigger::CreateTriggerError::ResourceNumberLimitExceededException(inner) => {
1877 Error::ResourceNumberLimitExceededException(inner)
1878 }
1879 crate::operation::create_trigger::CreateTriggerError::Unhandled(inner) => Error::Unhandled(inner),
1880 }
1881 }
1882}
1883impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_usage_profile::CreateUsageProfileError, R>> for Error
1884where
1885 R: Send + Sync + std::fmt::Debug + 'static,
1886{
1887 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_usage_profile::CreateUsageProfileError, R>) -> Self {
1888 match err {
1889 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1890 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1891 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1892 source: err.into(),
1893 }),
1894 }
1895 }
1896}
1897impl From<crate::operation::create_usage_profile::CreateUsageProfileError> for Error {
1898 fn from(err: crate::operation::create_usage_profile::CreateUsageProfileError) -> Self {
1899 match err {
1900 crate::operation::create_usage_profile::CreateUsageProfileError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1901 crate::operation::create_usage_profile::CreateUsageProfileError::InternalServiceException(inner) => {
1902 Error::InternalServiceException(inner)
1903 }
1904 crate::operation::create_usage_profile::CreateUsageProfileError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1905 crate::operation::create_usage_profile::CreateUsageProfileError::OperationNotSupportedException(inner) => {
1906 Error::OperationNotSupportedException(inner)
1907 }
1908 crate::operation::create_usage_profile::CreateUsageProfileError::OperationTimeoutException(inner) => {
1909 Error::OperationTimeoutException(inner)
1910 }
1911 crate::operation::create_usage_profile::CreateUsageProfileError::ResourceNumberLimitExceededException(inner) => {
1912 Error::ResourceNumberLimitExceededException(inner)
1913 }
1914 crate::operation::create_usage_profile::CreateUsageProfileError::Unhandled(inner) => Error::Unhandled(inner),
1915 }
1916 }
1917}
1918impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_user_defined_function::CreateUserDefinedFunctionError, R>>
1919 for Error
1920where
1921 R: Send + Sync + std::fmt::Debug + 'static,
1922{
1923 fn from(
1924 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_user_defined_function::CreateUserDefinedFunctionError, R>,
1925 ) -> Self {
1926 match err {
1927 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1928 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1929 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1930 source: err.into(),
1931 }),
1932 }
1933 }
1934}
1935impl From<crate::operation::create_user_defined_function::CreateUserDefinedFunctionError> for Error {
1936 fn from(err: crate::operation::create_user_defined_function::CreateUserDefinedFunctionError) -> Self {
1937 match err {
1938 crate::operation::create_user_defined_function::CreateUserDefinedFunctionError::AlreadyExistsException(inner) => {
1939 Error::AlreadyExistsException(inner)
1940 }
1941 crate::operation::create_user_defined_function::CreateUserDefinedFunctionError::EntityNotFoundException(inner) => {
1942 Error::EntityNotFoundException(inner)
1943 }
1944 crate::operation::create_user_defined_function::CreateUserDefinedFunctionError::GlueEncryptionException(inner) => {
1945 Error::GlueEncryptionException(inner)
1946 }
1947 crate::operation::create_user_defined_function::CreateUserDefinedFunctionError::InternalServiceException(inner) => {
1948 Error::InternalServiceException(inner)
1949 }
1950 crate::operation::create_user_defined_function::CreateUserDefinedFunctionError::InvalidInputException(inner) => {
1951 Error::InvalidInputException(inner)
1952 }
1953 crate::operation::create_user_defined_function::CreateUserDefinedFunctionError::OperationTimeoutException(inner) => {
1954 Error::OperationTimeoutException(inner)
1955 }
1956 crate::operation::create_user_defined_function::CreateUserDefinedFunctionError::ResourceNumberLimitExceededException(inner) => {
1957 Error::ResourceNumberLimitExceededException(inner)
1958 }
1959 crate::operation::create_user_defined_function::CreateUserDefinedFunctionError::Unhandled(inner) => Error::Unhandled(inner),
1960 }
1961 }
1962}
1963impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_workflow::CreateWorkflowError, R>> for Error
1964where
1965 R: Send + Sync + std::fmt::Debug + 'static,
1966{
1967 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_workflow::CreateWorkflowError, R>) -> Self {
1968 match err {
1969 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1970 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1971 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1972 source: err.into(),
1973 }),
1974 }
1975 }
1976}
1977impl From<crate::operation::create_workflow::CreateWorkflowError> for Error {
1978 fn from(err: crate::operation::create_workflow::CreateWorkflowError) -> Self {
1979 match err {
1980 crate::operation::create_workflow::CreateWorkflowError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1981 crate::operation::create_workflow::CreateWorkflowError::ConcurrentModificationException(inner) => {
1982 Error::ConcurrentModificationException(inner)
1983 }
1984 crate::operation::create_workflow::CreateWorkflowError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1985 crate::operation::create_workflow::CreateWorkflowError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1986 crate::operation::create_workflow::CreateWorkflowError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
1987 crate::operation::create_workflow::CreateWorkflowError::ResourceNumberLimitExceededException(inner) => {
1988 Error::ResourceNumberLimitExceededException(inner)
1989 }
1990 crate::operation::create_workflow::CreateWorkflowError::Unhandled(inner) => Error::Unhandled(inner),
1991 }
1992 }
1993}
1994impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_blueprint::DeleteBlueprintError, R>> for Error
1995where
1996 R: Send + Sync + std::fmt::Debug + 'static,
1997{
1998 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_blueprint::DeleteBlueprintError, R>) -> Self {
1999 match err {
2000 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2001 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2002 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2003 source: err.into(),
2004 }),
2005 }
2006 }
2007}
2008impl From<crate::operation::delete_blueprint::DeleteBlueprintError> for Error {
2009 fn from(err: crate::operation::delete_blueprint::DeleteBlueprintError) -> Self {
2010 match err {
2011 crate::operation::delete_blueprint::DeleteBlueprintError::InternalServiceException(inner) => Error::InternalServiceException(inner),
2012 crate::operation::delete_blueprint::DeleteBlueprintError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2013 crate::operation::delete_blueprint::DeleteBlueprintError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
2014 crate::operation::delete_blueprint::DeleteBlueprintError::Unhandled(inner) => Error::Unhandled(inner),
2015 }
2016 }
2017}
2018impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_catalog::DeleteCatalogError, R>> for Error
2019where
2020 R: Send + Sync + std::fmt::Debug + 'static,
2021{
2022 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_catalog::DeleteCatalogError, R>) -> Self {
2023 match err {
2024 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2025 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2026 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2027 source: err.into(),
2028 }),
2029 }
2030 }
2031}
2032impl From<crate::operation::delete_catalog::DeleteCatalogError> for Error {
2033 fn from(err: crate::operation::delete_catalog::DeleteCatalogError) -> Self {
2034 match err {
2035 crate::operation::delete_catalog::DeleteCatalogError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2036 crate::operation::delete_catalog::DeleteCatalogError::ConcurrentModificationException(inner) => {
2037 Error::ConcurrentModificationException(inner)
2038 }
2039 crate::operation::delete_catalog::DeleteCatalogError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
2040 crate::operation::delete_catalog::DeleteCatalogError::FederationSourceException(inner) => Error::FederationSourceException(inner),
2041 crate::operation::delete_catalog::DeleteCatalogError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
2042 crate::operation::delete_catalog::DeleteCatalogError::InternalServiceException(inner) => Error::InternalServiceException(inner),
2043 crate::operation::delete_catalog::DeleteCatalogError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2044 crate::operation::delete_catalog::DeleteCatalogError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
2045 crate::operation::delete_catalog::DeleteCatalogError::Unhandled(inner) => Error::Unhandled(inner),
2046 }
2047 }
2048}
2049impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_classifier::DeleteClassifierError, R>> for Error
2050where
2051 R: Send + Sync + std::fmt::Debug + 'static,
2052{
2053 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_classifier::DeleteClassifierError, R>) -> Self {
2054 match err {
2055 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2056 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2057 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2058 source: err.into(),
2059 }),
2060 }
2061 }
2062}
2063impl From<crate::operation::delete_classifier::DeleteClassifierError> for Error {
2064 fn from(err: crate::operation::delete_classifier::DeleteClassifierError) -> Self {
2065 match err {
2066 crate::operation::delete_classifier::DeleteClassifierError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
2067 crate::operation::delete_classifier::DeleteClassifierError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
2068 crate::operation::delete_classifier::DeleteClassifierError::Unhandled(inner) => Error::Unhandled(inner),
2069 }
2070 }
2071}
2072impl<R>
2073 From<
2074 ::aws_smithy_runtime_api::client::result::SdkError<
2075 crate::operation::delete_column_statistics_for_partition::DeleteColumnStatisticsForPartitionError,
2076 R,
2077 >,
2078 > for Error
2079where
2080 R: Send + Sync + std::fmt::Debug + 'static,
2081{
2082 fn from(
2083 err: ::aws_smithy_runtime_api::client::result::SdkError<
2084 crate::operation::delete_column_statistics_for_partition::DeleteColumnStatisticsForPartitionError,
2085 R,
2086 >,
2087 ) -> Self {
2088 match err {
2089 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2090 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2091 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2092 source: err.into(),
2093 }),
2094 }
2095 }
2096}
2097impl From<crate::operation::delete_column_statistics_for_partition::DeleteColumnStatisticsForPartitionError> for Error {
2098 fn from(err: crate::operation::delete_column_statistics_for_partition::DeleteColumnStatisticsForPartitionError) -> Self {
2099 match err {
2100 crate::operation::delete_column_statistics_for_partition::DeleteColumnStatisticsForPartitionError::EntityNotFoundException(inner) => {
2101 Error::EntityNotFoundException(inner)
2102 }
2103 crate::operation::delete_column_statistics_for_partition::DeleteColumnStatisticsForPartitionError::GlueEncryptionException(inner) => {
2104 Error::GlueEncryptionException(inner)
2105 }
2106 crate::operation::delete_column_statistics_for_partition::DeleteColumnStatisticsForPartitionError::InternalServiceException(inner) => {
2107 Error::InternalServiceException(inner)
2108 }
2109 crate::operation::delete_column_statistics_for_partition::DeleteColumnStatisticsForPartitionError::InvalidInputException(inner) => {
2110 Error::InvalidInputException(inner)
2111 }
2112 crate::operation::delete_column_statistics_for_partition::DeleteColumnStatisticsForPartitionError::OperationTimeoutException(inner) => {
2113 Error::OperationTimeoutException(inner)
2114 }
2115 crate::operation::delete_column_statistics_for_partition::DeleteColumnStatisticsForPartitionError::Unhandled(inner) => {
2116 Error::Unhandled(inner)
2117 }
2118 }
2119 }
2120}
2121impl<R>
2122 From<
2123 ::aws_smithy_runtime_api::client::result::SdkError<
2124 crate::operation::delete_column_statistics_for_table::DeleteColumnStatisticsForTableError,
2125 R,
2126 >,
2127 > for Error
2128where
2129 R: Send + Sync + std::fmt::Debug + 'static,
2130{
2131 fn from(
2132 err: ::aws_smithy_runtime_api::client::result::SdkError<
2133 crate::operation::delete_column_statistics_for_table::DeleteColumnStatisticsForTableError,
2134 R,
2135 >,
2136 ) -> Self {
2137 match err {
2138 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2139 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2140 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2141 source: err.into(),
2142 }),
2143 }
2144 }
2145}
2146impl From<crate::operation::delete_column_statistics_for_table::DeleteColumnStatisticsForTableError> for Error {
2147 fn from(err: crate::operation::delete_column_statistics_for_table::DeleteColumnStatisticsForTableError) -> Self {
2148 match err {
2149 crate::operation::delete_column_statistics_for_table::DeleteColumnStatisticsForTableError::EntityNotFoundException(inner) => {
2150 Error::EntityNotFoundException(inner)
2151 }
2152 crate::operation::delete_column_statistics_for_table::DeleteColumnStatisticsForTableError::GlueEncryptionException(inner) => {
2153 Error::GlueEncryptionException(inner)
2154 }
2155 crate::operation::delete_column_statistics_for_table::DeleteColumnStatisticsForTableError::InternalServiceException(inner) => {
2156 Error::InternalServiceException(inner)
2157 }
2158 crate::operation::delete_column_statistics_for_table::DeleteColumnStatisticsForTableError::InvalidInputException(inner) => {
2159 Error::InvalidInputException(inner)
2160 }
2161 crate::operation::delete_column_statistics_for_table::DeleteColumnStatisticsForTableError::OperationTimeoutException(inner) => {
2162 Error::OperationTimeoutException(inner)
2163 }
2164 crate::operation::delete_column_statistics_for_table::DeleteColumnStatisticsForTableError::Unhandled(inner) => Error::Unhandled(inner),
2165 }
2166 }
2167}
2168impl<R>
2169 From<
2170 ::aws_smithy_runtime_api::client::result::SdkError<
2171 crate::operation::delete_column_statistics_task_settings::DeleteColumnStatisticsTaskSettingsError,
2172 R,
2173 >,
2174 > for Error
2175where
2176 R: Send + Sync + std::fmt::Debug + 'static,
2177{
2178 fn from(
2179 err: ::aws_smithy_runtime_api::client::result::SdkError<
2180 crate::operation::delete_column_statistics_task_settings::DeleteColumnStatisticsTaskSettingsError,
2181 R,
2182 >,
2183 ) -> Self {
2184 match err {
2185 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2186 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2187 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2188 source: err.into(),
2189 }),
2190 }
2191 }
2192}
2193impl From<crate::operation::delete_column_statistics_task_settings::DeleteColumnStatisticsTaskSettingsError> for Error {
2194 fn from(err: crate::operation::delete_column_statistics_task_settings::DeleteColumnStatisticsTaskSettingsError) -> Self {
2195 match err {
2196 crate::operation::delete_column_statistics_task_settings::DeleteColumnStatisticsTaskSettingsError::EntityNotFoundException(inner) => {
2197 Error::EntityNotFoundException(inner)
2198 }
2199 crate::operation::delete_column_statistics_task_settings::DeleteColumnStatisticsTaskSettingsError::InvalidInputException(inner) => {
2200 Error::InvalidInputException(inner)
2201 }
2202 crate::operation::delete_column_statistics_task_settings::DeleteColumnStatisticsTaskSettingsError::OperationTimeoutException(inner) => {
2203 Error::OperationTimeoutException(inner)
2204 }
2205 crate::operation::delete_column_statistics_task_settings::DeleteColumnStatisticsTaskSettingsError::Unhandled(inner) => {
2206 Error::Unhandled(inner)
2207 }
2208 }
2209 }
2210}
2211impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_connection::DeleteConnectionError, R>> for Error
2212where
2213 R: Send + Sync + std::fmt::Debug + 'static,
2214{
2215 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_connection::DeleteConnectionError, R>) -> Self {
2216 match err {
2217 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2218 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2219 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2220 source: err.into(),
2221 }),
2222 }
2223 }
2224}
2225impl From<crate::operation::delete_connection::DeleteConnectionError> for Error {
2226 fn from(err: crate::operation::delete_connection::DeleteConnectionError) -> Self {
2227 match err {
2228 crate::operation::delete_connection::DeleteConnectionError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
2229 crate::operation::delete_connection::DeleteConnectionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
2230 crate::operation::delete_connection::DeleteConnectionError::Unhandled(inner) => Error::Unhandled(inner),
2231 }
2232 }
2233}
2234impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_crawler::DeleteCrawlerError, R>> for Error
2235where
2236 R: Send + Sync + std::fmt::Debug + 'static,
2237{
2238 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_crawler::DeleteCrawlerError, R>) -> Self {
2239 match err {
2240 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2241 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2242 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2243 source: err.into(),
2244 }),
2245 }
2246 }
2247}
2248impl From<crate::operation::delete_crawler::DeleteCrawlerError> for Error {
2249 fn from(err: crate::operation::delete_crawler::DeleteCrawlerError) -> Self {
2250 match err {
2251 crate::operation::delete_crawler::DeleteCrawlerError::CrawlerRunningException(inner) => Error::CrawlerRunningException(inner),
2252 crate::operation::delete_crawler::DeleteCrawlerError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
2253 crate::operation::delete_crawler::DeleteCrawlerError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
2254 crate::operation::delete_crawler::DeleteCrawlerError::SchedulerTransitioningException(inner) => {
2255 Error::SchedulerTransitioningException(inner)
2256 }
2257 crate::operation::delete_crawler::DeleteCrawlerError::Unhandled(inner) => Error::Unhandled(inner),
2258 }
2259 }
2260}
2261impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_custom_entity_type::DeleteCustomEntityTypeError, R>>
2262 for Error
2263where
2264 R: Send + Sync + std::fmt::Debug + 'static,
2265{
2266 fn from(
2267 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_custom_entity_type::DeleteCustomEntityTypeError, R>,
2268 ) -> Self {
2269 match err {
2270 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2271 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2272 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2273 source: err.into(),
2274 }),
2275 }
2276 }
2277}
2278impl From<crate::operation::delete_custom_entity_type::DeleteCustomEntityTypeError> for Error {
2279 fn from(err: crate::operation::delete_custom_entity_type::DeleteCustomEntityTypeError) -> Self {
2280 match err {
2281 crate::operation::delete_custom_entity_type::DeleteCustomEntityTypeError::AccessDeniedException(inner) => {
2282 Error::AccessDeniedException(inner)
2283 }
2284 crate::operation::delete_custom_entity_type::DeleteCustomEntityTypeError::EntityNotFoundException(inner) => {
2285 Error::EntityNotFoundException(inner)
2286 }
2287 crate::operation::delete_custom_entity_type::DeleteCustomEntityTypeError::InternalServiceException(inner) => {
2288 Error::InternalServiceException(inner)
2289 }
2290 crate::operation::delete_custom_entity_type::DeleteCustomEntityTypeError::InvalidInputException(inner) => {
2291 Error::InvalidInputException(inner)
2292 }
2293 crate::operation::delete_custom_entity_type::DeleteCustomEntityTypeError::OperationTimeoutException(inner) => {
2294 Error::OperationTimeoutException(inner)
2295 }
2296 crate::operation::delete_custom_entity_type::DeleteCustomEntityTypeError::Unhandled(inner) => Error::Unhandled(inner),
2297 }
2298 }
2299}
2300impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_database::DeleteDatabaseError, R>> for Error
2301where
2302 R: Send + Sync + std::fmt::Debug + 'static,
2303{
2304 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_database::DeleteDatabaseError, R>) -> Self {
2305 match err {
2306 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2307 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2308 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2309 source: err.into(),
2310 }),
2311 }
2312 }
2313}
2314impl From<crate::operation::delete_database::DeleteDatabaseError> for Error {
2315 fn from(err: crate::operation::delete_database::DeleteDatabaseError) -> Self {
2316 match err {
2317 crate::operation::delete_database::DeleteDatabaseError::ConcurrentModificationException(inner) => {
2318 Error::ConcurrentModificationException(inner)
2319 }
2320 crate::operation::delete_database::DeleteDatabaseError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
2321 crate::operation::delete_database::DeleteDatabaseError::FederationSourceException(inner) => Error::FederationSourceException(inner),
2322 crate::operation::delete_database::DeleteDatabaseError::FederationSourceRetryableException(inner) => {
2323 Error::FederationSourceRetryableException(inner)
2324 }
2325 crate::operation::delete_database::DeleteDatabaseError::InternalServiceException(inner) => Error::InternalServiceException(inner),
2326 crate::operation::delete_database::DeleteDatabaseError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2327 crate::operation::delete_database::DeleteDatabaseError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
2328 crate::operation::delete_database::DeleteDatabaseError::Unhandled(inner) => Error::Unhandled(inner),
2329 }
2330 }
2331}
2332impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_data_quality_ruleset::DeleteDataQualityRulesetError, R>>
2333 for Error
2334where
2335 R: Send + Sync + std::fmt::Debug + 'static,
2336{
2337 fn from(
2338 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_data_quality_ruleset::DeleteDataQualityRulesetError, R>,
2339 ) -> Self {
2340 match err {
2341 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2342 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2343 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2344 source: err.into(),
2345 }),
2346 }
2347 }
2348}
2349impl From<crate::operation::delete_data_quality_ruleset::DeleteDataQualityRulesetError> for Error {
2350 fn from(err: crate::operation::delete_data_quality_ruleset::DeleteDataQualityRulesetError) -> Self {
2351 match err {
2352 crate::operation::delete_data_quality_ruleset::DeleteDataQualityRulesetError::EntityNotFoundException(inner) => {
2353 Error::EntityNotFoundException(inner)
2354 }
2355 crate::operation::delete_data_quality_ruleset::DeleteDataQualityRulesetError::InternalServiceException(inner) => {
2356 Error::InternalServiceException(inner)
2357 }
2358 crate::operation::delete_data_quality_ruleset::DeleteDataQualityRulesetError::InvalidInputException(inner) => {
2359 Error::InvalidInputException(inner)
2360 }
2361 crate::operation::delete_data_quality_ruleset::DeleteDataQualityRulesetError::OperationTimeoutException(inner) => {
2362 Error::OperationTimeoutException(inner)
2363 }
2364 crate::operation::delete_data_quality_ruleset::DeleteDataQualityRulesetError::Unhandled(inner) => Error::Unhandled(inner),
2365 }
2366 }
2367}
2368impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_dev_endpoint::DeleteDevEndpointError, R>> for Error
2369where
2370 R: Send + Sync + std::fmt::Debug + 'static,
2371{
2372 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_dev_endpoint::DeleteDevEndpointError, R>) -> Self {
2373 match err {
2374 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2375 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2376 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2377 source: err.into(),
2378 }),
2379 }
2380 }
2381}
2382impl From<crate::operation::delete_dev_endpoint::DeleteDevEndpointError> for Error {
2383 fn from(err: crate::operation::delete_dev_endpoint::DeleteDevEndpointError) -> Self {
2384 match err {
2385 crate::operation::delete_dev_endpoint::DeleteDevEndpointError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
2386 crate::operation::delete_dev_endpoint::DeleteDevEndpointError::InternalServiceException(inner) => Error::InternalServiceException(inner),
2387 crate::operation::delete_dev_endpoint::DeleteDevEndpointError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2388 crate::operation::delete_dev_endpoint::DeleteDevEndpointError::OperationTimeoutException(inner) => {
2389 Error::OperationTimeoutException(inner)
2390 }
2391 crate::operation::delete_dev_endpoint::DeleteDevEndpointError::Unhandled(inner) => Error::Unhandled(inner),
2392 }
2393 }
2394}
2395impl<R>
2396 From<
2397 ::aws_smithy_runtime_api::client::result::SdkError<
2398 crate::operation::delete_glue_identity_center_configuration::DeleteGlueIdentityCenterConfigurationError,
2399 R,
2400 >,
2401 > for Error
2402where
2403 R: Send + Sync + std::fmt::Debug + 'static,
2404{
2405 fn from(
2406 err: ::aws_smithy_runtime_api::client::result::SdkError<
2407 crate::operation::delete_glue_identity_center_configuration::DeleteGlueIdentityCenterConfigurationError,
2408 R,
2409 >,
2410 ) -> Self {
2411 match err {
2412 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2413 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2414 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2415 source: err.into(),
2416 }),
2417 }
2418 }
2419}
2420impl From<crate::operation::delete_glue_identity_center_configuration::DeleteGlueIdentityCenterConfigurationError> for Error {
2421 fn from(err: crate::operation::delete_glue_identity_center_configuration::DeleteGlueIdentityCenterConfigurationError) -> Self {
2422 match err {
2423 crate::operation::delete_glue_identity_center_configuration::DeleteGlueIdentityCenterConfigurationError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2424 crate::operation::delete_glue_identity_center_configuration::DeleteGlueIdentityCenterConfigurationError::ConcurrentModificationException(inner) => Error::ConcurrentModificationException(inner),
2425 crate::operation::delete_glue_identity_center_configuration::DeleteGlueIdentityCenterConfigurationError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
2426 crate::operation::delete_glue_identity_center_configuration::DeleteGlueIdentityCenterConfigurationError::InternalServiceException(inner) => Error::InternalServiceException(inner),
2427 crate::operation::delete_glue_identity_center_configuration::DeleteGlueIdentityCenterConfigurationError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2428 crate::operation::delete_glue_identity_center_configuration::DeleteGlueIdentityCenterConfigurationError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
2429 crate::operation::delete_glue_identity_center_configuration::DeleteGlueIdentityCenterConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
2430 }
2431 }
2432}
2433impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_integration::DeleteIntegrationError, R>> for Error
2434where
2435 R: Send + Sync + std::fmt::Debug + 'static,
2436{
2437 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_integration::DeleteIntegrationError, R>) -> Self {
2438 match err {
2439 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2440 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2441 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2442 source: err.into(),
2443 }),
2444 }
2445 }
2446}
2447impl From<crate::operation::delete_integration::DeleteIntegrationError> for Error {
2448 fn from(err: crate::operation::delete_integration::DeleteIntegrationError) -> Self {
2449 match err {
2450 crate::operation::delete_integration::DeleteIntegrationError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2451 crate::operation::delete_integration::DeleteIntegrationError::ConflictException(inner) => Error::ConflictException(inner),
2452 crate::operation::delete_integration::DeleteIntegrationError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
2453 crate::operation::delete_integration::DeleteIntegrationError::IntegrationConflictOperationFault(inner) => {
2454 Error::IntegrationConflictOperationFault(inner)
2455 }
2456 crate::operation::delete_integration::DeleteIntegrationError::IntegrationNotFoundFault(inner) => Error::IntegrationNotFoundFault(inner),
2457 crate::operation::delete_integration::DeleteIntegrationError::InternalServerException(inner) => Error::InternalServerException(inner),
2458 crate::operation::delete_integration::DeleteIntegrationError::InternalServiceException(inner) => Error::InternalServiceException(inner),
2459 crate::operation::delete_integration::DeleteIntegrationError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2460 crate::operation::delete_integration::DeleteIntegrationError::InvalidIntegrationStateFault(inner) => {
2461 Error::InvalidIntegrationStateFault(inner)
2462 }
2463 crate::operation::delete_integration::DeleteIntegrationError::InvalidStateException(inner) => Error::InvalidStateException(inner),
2464 crate::operation::delete_integration::DeleteIntegrationError::ValidationException(inner) => Error::ValidationException(inner),
2465 crate::operation::delete_integration::DeleteIntegrationError::Unhandled(inner) => Error::Unhandled(inner),
2466 }
2467 }
2468}
2469impl<R>
2470 From<
2471 ::aws_smithy_runtime_api::client::result::SdkError<
2472 crate::operation::delete_integration_table_properties::DeleteIntegrationTablePropertiesError,
2473 R,
2474 >,
2475 > for Error
2476where
2477 R: Send + Sync + std::fmt::Debug + 'static,
2478{
2479 fn from(
2480 err: ::aws_smithy_runtime_api::client::result::SdkError<
2481 crate::operation::delete_integration_table_properties::DeleteIntegrationTablePropertiesError,
2482 R,
2483 >,
2484 ) -> Self {
2485 match err {
2486 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2487 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2488 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2489 source: err.into(),
2490 }),
2491 }
2492 }
2493}
2494impl From<crate::operation::delete_integration_table_properties::DeleteIntegrationTablePropertiesError> for Error {
2495 fn from(err: crate::operation::delete_integration_table_properties::DeleteIntegrationTablePropertiesError) -> Self {
2496 match err {
2497 crate::operation::delete_integration_table_properties::DeleteIntegrationTablePropertiesError::AccessDeniedException(inner) => {
2498 Error::AccessDeniedException(inner)
2499 }
2500 crate::operation::delete_integration_table_properties::DeleteIntegrationTablePropertiesError::EntityNotFoundException(inner) => {
2501 Error::EntityNotFoundException(inner)
2502 }
2503 crate::operation::delete_integration_table_properties::DeleteIntegrationTablePropertiesError::InternalServerException(inner) => {
2504 Error::InternalServerException(inner)
2505 }
2506 crate::operation::delete_integration_table_properties::DeleteIntegrationTablePropertiesError::InternalServiceException(inner) => {
2507 Error::InternalServiceException(inner)
2508 }
2509 crate::operation::delete_integration_table_properties::DeleteIntegrationTablePropertiesError::InvalidInputException(inner) => {
2510 Error::InvalidInputException(inner)
2511 }
2512 crate::operation::delete_integration_table_properties::DeleteIntegrationTablePropertiesError::ResourceNotFoundException(inner) => {
2513 Error::ResourceNotFoundException(inner)
2514 }
2515 crate::operation::delete_integration_table_properties::DeleteIntegrationTablePropertiesError::ValidationException(inner) => {
2516 Error::ValidationException(inner)
2517 }
2518 crate::operation::delete_integration_table_properties::DeleteIntegrationTablePropertiesError::Unhandled(inner) => Error::Unhandled(inner),
2519 }
2520 }
2521}
2522impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_job::DeleteJobError, R>> for Error
2523where
2524 R: Send + Sync + std::fmt::Debug + 'static,
2525{
2526 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_job::DeleteJobError, R>) -> Self {
2527 match err {
2528 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2529 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2530 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2531 source: err.into(),
2532 }),
2533 }
2534 }
2535}
2536impl From<crate::operation::delete_job::DeleteJobError> for Error {
2537 fn from(err: crate::operation::delete_job::DeleteJobError) -> Self {
2538 match err {
2539 crate::operation::delete_job::DeleteJobError::InternalServiceException(inner) => Error::InternalServiceException(inner),
2540 crate::operation::delete_job::DeleteJobError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2541 crate::operation::delete_job::DeleteJobError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
2542 crate::operation::delete_job::DeleteJobError::Unhandled(inner) => Error::Unhandled(inner),
2543 }
2544 }
2545}
2546impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ml_transform::DeleteMLTransformError, R>> for Error
2547where
2548 R: Send + Sync + std::fmt::Debug + 'static,
2549{
2550 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ml_transform::DeleteMLTransformError, R>) -> Self {
2551 match err {
2552 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2553 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2554 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2555 source: err.into(),
2556 }),
2557 }
2558 }
2559}
2560impl From<crate::operation::delete_ml_transform::DeleteMLTransformError> for Error {
2561 fn from(err: crate::operation::delete_ml_transform::DeleteMLTransformError) -> Self {
2562 match err {
2563 crate::operation::delete_ml_transform::DeleteMLTransformError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
2564 crate::operation::delete_ml_transform::DeleteMLTransformError::InternalServiceException(inner) => Error::InternalServiceException(inner),
2565 crate::operation::delete_ml_transform::DeleteMLTransformError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2566 crate::operation::delete_ml_transform::DeleteMLTransformError::OperationTimeoutException(inner) => {
2567 Error::OperationTimeoutException(inner)
2568 }
2569 crate::operation::delete_ml_transform::DeleteMLTransformError::Unhandled(inner) => Error::Unhandled(inner),
2570 }
2571 }
2572}
2573impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_partition::DeletePartitionError, R>> for Error
2574where
2575 R: Send + Sync + std::fmt::Debug + 'static,
2576{
2577 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_partition::DeletePartitionError, R>) -> Self {
2578 match err {
2579 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2580 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2581 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2582 source: err.into(),
2583 }),
2584 }
2585 }
2586}
2587impl From<crate::operation::delete_partition::DeletePartitionError> for Error {
2588 fn from(err: crate::operation::delete_partition::DeletePartitionError) -> Self {
2589 match err {
2590 crate::operation::delete_partition::DeletePartitionError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
2591 crate::operation::delete_partition::DeletePartitionError::InternalServiceException(inner) => Error::InternalServiceException(inner),
2592 crate::operation::delete_partition::DeletePartitionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2593 crate::operation::delete_partition::DeletePartitionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
2594 crate::operation::delete_partition::DeletePartitionError::Unhandled(inner) => Error::Unhandled(inner),
2595 }
2596 }
2597}
2598impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_partition_index::DeletePartitionIndexError, R>> for Error
2599where
2600 R: Send + Sync + std::fmt::Debug + 'static,
2601{
2602 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_partition_index::DeletePartitionIndexError, R>) -> Self {
2603 match err {
2604 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2605 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2606 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2607 source: err.into(),
2608 }),
2609 }
2610 }
2611}
2612impl From<crate::operation::delete_partition_index::DeletePartitionIndexError> for Error {
2613 fn from(err: crate::operation::delete_partition_index::DeletePartitionIndexError) -> Self {
2614 match err {
2615 crate::operation::delete_partition_index::DeletePartitionIndexError::ConflictException(inner) => Error::ConflictException(inner),
2616 crate::operation::delete_partition_index::DeletePartitionIndexError::EntityNotFoundException(inner) => {
2617 Error::EntityNotFoundException(inner)
2618 }
2619 crate::operation::delete_partition_index::DeletePartitionIndexError::GlueEncryptionException(inner) => {
2620 Error::GlueEncryptionException(inner)
2621 }
2622 crate::operation::delete_partition_index::DeletePartitionIndexError::InternalServiceException(inner) => {
2623 Error::InternalServiceException(inner)
2624 }
2625 crate::operation::delete_partition_index::DeletePartitionIndexError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2626 crate::operation::delete_partition_index::DeletePartitionIndexError::OperationTimeoutException(inner) => {
2627 Error::OperationTimeoutException(inner)
2628 }
2629 crate::operation::delete_partition_index::DeletePartitionIndexError::Unhandled(inner) => Error::Unhandled(inner),
2630 }
2631 }
2632}
2633impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_registry::DeleteRegistryError, R>> for Error
2634where
2635 R: Send + Sync + std::fmt::Debug + 'static,
2636{
2637 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_registry::DeleteRegistryError, R>) -> Self {
2638 match err {
2639 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2640 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2641 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2642 source: err.into(),
2643 }),
2644 }
2645 }
2646}
2647impl From<crate::operation::delete_registry::DeleteRegistryError> for Error {
2648 fn from(err: crate::operation::delete_registry::DeleteRegistryError) -> Self {
2649 match err {
2650 crate::operation::delete_registry::DeleteRegistryError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2651 crate::operation::delete_registry::DeleteRegistryError::ConcurrentModificationException(inner) => {
2652 Error::ConcurrentModificationException(inner)
2653 }
2654 crate::operation::delete_registry::DeleteRegistryError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
2655 crate::operation::delete_registry::DeleteRegistryError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2656 crate::operation::delete_registry::DeleteRegistryError::Unhandled(inner) => Error::Unhandled(inner),
2657 }
2658 }
2659}
2660impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_resource_policy::DeleteResourcePolicyError, R>> for Error
2661where
2662 R: Send + Sync + std::fmt::Debug + 'static,
2663{
2664 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_resource_policy::DeleteResourcePolicyError, R>) -> Self {
2665 match err {
2666 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2667 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2668 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2669 source: err.into(),
2670 }),
2671 }
2672 }
2673}
2674impl From<crate::operation::delete_resource_policy::DeleteResourcePolicyError> for Error {
2675 fn from(err: crate::operation::delete_resource_policy::DeleteResourcePolicyError) -> Self {
2676 match err {
2677 crate::operation::delete_resource_policy::DeleteResourcePolicyError::ConditionCheckFailureException(inner) => {
2678 Error::ConditionCheckFailureException(inner)
2679 }
2680 crate::operation::delete_resource_policy::DeleteResourcePolicyError::EntityNotFoundException(inner) => {
2681 Error::EntityNotFoundException(inner)
2682 }
2683 crate::operation::delete_resource_policy::DeleteResourcePolicyError::InternalServiceException(inner) => {
2684 Error::InternalServiceException(inner)
2685 }
2686 crate::operation::delete_resource_policy::DeleteResourcePolicyError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2687 crate::operation::delete_resource_policy::DeleteResourcePolicyError::OperationTimeoutException(inner) => {
2688 Error::OperationTimeoutException(inner)
2689 }
2690 crate::operation::delete_resource_policy::DeleteResourcePolicyError::Unhandled(inner) => Error::Unhandled(inner),
2691 }
2692 }
2693}
2694impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_schema::DeleteSchemaError, R>> for Error
2695where
2696 R: Send + Sync + std::fmt::Debug + 'static,
2697{
2698 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_schema::DeleteSchemaError, R>) -> Self {
2699 match err {
2700 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2701 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2702 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2703 source: err.into(),
2704 }),
2705 }
2706 }
2707}
2708impl From<crate::operation::delete_schema::DeleteSchemaError> for Error {
2709 fn from(err: crate::operation::delete_schema::DeleteSchemaError) -> Self {
2710 match err {
2711 crate::operation::delete_schema::DeleteSchemaError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2712 crate::operation::delete_schema::DeleteSchemaError::ConcurrentModificationException(inner) => {
2713 Error::ConcurrentModificationException(inner)
2714 }
2715 crate::operation::delete_schema::DeleteSchemaError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
2716 crate::operation::delete_schema::DeleteSchemaError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2717 crate::operation::delete_schema::DeleteSchemaError::Unhandled(inner) => Error::Unhandled(inner),
2718 }
2719 }
2720}
2721impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_schema_versions::DeleteSchemaVersionsError, R>> for Error
2722where
2723 R: Send + Sync + std::fmt::Debug + 'static,
2724{
2725 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_schema_versions::DeleteSchemaVersionsError, R>) -> Self {
2726 match err {
2727 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2728 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2729 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2730 source: err.into(),
2731 }),
2732 }
2733 }
2734}
2735impl From<crate::operation::delete_schema_versions::DeleteSchemaVersionsError> for Error {
2736 fn from(err: crate::operation::delete_schema_versions::DeleteSchemaVersionsError) -> Self {
2737 match err {
2738 crate::operation::delete_schema_versions::DeleteSchemaVersionsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2739 crate::operation::delete_schema_versions::DeleteSchemaVersionsError::ConcurrentModificationException(inner) => {
2740 Error::ConcurrentModificationException(inner)
2741 }
2742 crate::operation::delete_schema_versions::DeleteSchemaVersionsError::EntityNotFoundException(inner) => {
2743 Error::EntityNotFoundException(inner)
2744 }
2745 crate::operation::delete_schema_versions::DeleteSchemaVersionsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2746 crate::operation::delete_schema_versions::DeleteSchemaVersionsError::Unhandled(inner) => Error::Unhandled(inner),
2747 }
2748 }
2749}
2750impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_security_configuration::DeleteSecurityConfigurationError, R>>
2751 for Error
2752where
2753 R: Send + Sync + std::fmt::Debug + 'static,
2754{
2755 fn from(
2756 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_security_configuration::DeleteSecurityConfigurationError, R>,
2757 ) -> Self {
2758 match err {
2759 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2760 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2761 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2762 source: err.into(),
2763 }),
2764 }
2765 }
2766}
2767impl From<crate::operation::delete_security_configuration::DeleteSecurityConfigurationError> for Error {
2768 fn from(err: crate::operation::delete_security_configuration::DeleteSecurityConfigurationError) -> Self {
2769 match err {
2770 crate::operation::delete_security_configuration::DeleteSecurityConfigurationError::EntityNotFoundException(inner) => {
2771 Error::EntityNotFoundException(inner)
2772 }
2773 crate::operation::delete_security_configuration::DeleteSecurityConfigurationError::InternalServiceException(inner) => {
2774 Error::InternalServiceException(inner)
2775 }
2776 crate::operation::delete_security_configuration::DeleteSecurityConfigurationError::InvalidInputException(inner) => {
2777 Error::InvalidInputException(inner)
2778 }
2779 crate::operation::delete_security_configuration::DeleteSecurityConfigurationError::OperationTimeoutException(inner) => {
2780 Error::OperationTimeoutException(inner)
2781 }
2782 crate::operation::delete_security_configuration::DeleteSecurityConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
2783 }
2784 }
2785}
2786impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_session::DeleteSessionError, R>> for Error
2787where
2788 R: Send + Sync + std::fmt::Debug + 'static,
2789{
2790 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_session::DeleteSessionError, R>) -> Self {
2791 match err {
2792 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2793 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2794 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2795 source: err.into(),
2796 }),
2797 }
2798 }
2799}
2800impl From<crate::operation::delete_session::DeleteSessionError> for Error {
2801 fn from(err: crate::operation::delete_session::DeleteSessionError) -> Self {
2802 match err {
2803 crate::operation::delete_session::DeleteSessionError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2804 crate::operation::delete_session::DeleteSessionError::ConcurrentModificationException(inner) => {
2805 Error::ConcurrentModificationException(inner)
2806 }
2807 crate::operation::delete_session::DeleteSessionError::IllegalSessionStateException(inner) => Error::IllegalSessionStateException(inner),
2808 crate::operation::delete_session::DeleteSessionError::InternalServiceException(inner) => Error::InternalServiceException(inner),
2809 crate::operation::delete_session::DeleteSessionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2810 crate::operation::delete_session::DeleteSessionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
2811 crate::operation::delete_session::DeleteSessionError::Unhandled(inner) => Error::Unhandled(inner),
2812 }
2813 }
2814}
2815impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_table::DeleteTableError, R>> for Error
2816where
2817 R: Send + Sync + std::fmt::Debug + 'static,
2818{
2819 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_table::DeleteTableError, R>) -> Self {
2820 match err {
2821 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2822 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2823 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2824 source: err.into(),
2825 }),
2826 }
2827 }
2828}
2829impl From<crate::operation::delete_table::DeleteTableError> for Error {
2830 fn from(err: crate::operation::delete_table::DeleteTableError) -> Self {
2831 match err {
2832 crate::operation::delete_table::DeleteTableError::ConcurrentModificationException(inner) => Error::ConcurrentModificationException(inner),
2833 crate::operation::delete_table::DeleteTableError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
2834 crate::operation::delete_table::DeleteTableError::FederationSourceException(inner) => Error::FederationSourceException(inner),
2835 crate::operation::delete_table::DeleteTableError::FederationSourceRetryableException(inner) => {
2836 Error::FederationSourceRetryableException(inner)
2837 }
2838 crate::operation::delete_table::DeleteTableError::InternalServiceException(inner) => Error::InternalServiceException(inner),
2839 crate::operation::delete_table::DeleteTableError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2840 crate::operation::delete_table::DeleteTableError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
2841 crate::operation::delete_table::DeleteTableError::ResourceNotReadyException(inner) => Error::ResourceNotReadyException(inner),
2842 crate::operation::delete_table::DeleteTableError::Unhandled(inner) => Error::Unhandled(inner),
2843 }
2844 }
2845}
2846impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_table_optimizer::DeleteTableOptimizerError, R>> for Error
2847where
2848 R: Send + Sync + std::fmt::Debug + 'static,
2849{
2850 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_table_optimizer::DeleteTableOptimizerError, R>) -> Self {
2851 match err {
2852 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2853 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2854 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2855 source: err.into(),
2856 }),
2857 }
2858 }
2859}
2860impl From<crate::operation::delete_table_optimizer::DeleteTableOptimizerError> for Error {
2861 fn from(err: crate::operation::delete_table_optimizer::DeleteTableOptimizerError) -> Self {
2862 match err {
2863 crate::operation::delete_table_optimizer::DeleteTableOptimizerError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2864 crate::operation::delete_table_optimizer::DeleteTableOptimizerError::EntityNotFoundException(inner) => {
2865 Error::EntityNotFoundException(inner)
2866 }
2867 crate::operation::delete_table_optimizer::DeleteTableOptimizerError::InternalServiceException(inner) => {
2868 Error::InternalServiceException(inner)
2869 }
2870 crate::operation::delete_table_optimizer::DeleteTableOptimizerError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2871 crate::operation::delete_table_optimizer::DeleteTableOptimizerError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2872 crate::operation::delete_table_optimizer::DeleteTableOptimizerError::Unhandled(inner) => Error::Unhandled(inner),
2873 }
2874 }
2875}
2876impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_table_version::DeleteTableVersionError, R>> for Error
2877where
2878 R: Send + Sync + std::fmt::Debug + 'static,
2879{
2880 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_table_version::DeleteTableVersionError, R>) -> Self {
2881 match err {
2882 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2883 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2884 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2885 source: err.into(),
2886 }),
2887 }
2888 }
2889}
2890impl From<crate::operation::delete_table_version::DeleteTableVersionError> for Error {
2891 fn from(err: crate::operation::delete_table_version::DeleteTableVersionError) -> Self {
2892 match err {
2893 crate::operation::delete_table_version::DeleteTableVersionError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
2894 crate::operation::delete_table_version::DeleteTableVersionError::InternalServiceException(inner) => {
2895 Error::InternalServiceException(inner)
2896 }
2897 crate::operation::delete_table_version::DeleteTableVersionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2898 crate::operation::delete_table_version::DeleteTableVersionError::OperationTimeoutException(inner) => {
2899 Error::OperationTimeoutException(inner)
2900 }
2901 crate::operation::delete_table_version::DeleteTableVersionError::Unhandled(inner) => Error::Unhandled(inner),
2902 }
2903 }
2904}
2905impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_trigger::DeleteTriggerError, R>> for Error
2906where
2907 R: Send + Sync + std::fmt::Debug + 'static,
2908{
2909 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_trigger::DeleteTriggerError, R>) -> Self {
2910 match err {
2911 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2912 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2913 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2914 source: err.into(),
2915 }),
2916 }
2917 }
2918}
2919impl From<crate::operation::delete_trigger::DeleteTriggerError> for Error {
2920 fn from(err: crate::operation::delete_trigger::DeleteTriggerError) -> Self {
2921 match err {
2922 crate::operation::delete_trigger::DeleteTriggerError::ConcurrentModificationException(inner) => {
2923 Error::ConcurrentModificationException(inner)
2924 }
2925 crate::operation::delete_trigger::DeleteTriggerError::InternalServiceException(inner) => Error::InternalServiceException(inner),
2926 crate::operation::delete_trigger::DeleteTriggerError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2927 crate::operation::delete_trigger::DeleteTriggerError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
2928 crate::operation::delete_trigger::DeleteTriggerError::Unhandled(inner) => Error::Unhandled(inner),
2929 }
2930 }
2931}
2932impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_usage_profile::DeleteUsageProfileError, R>> for Error
2933where
2934 R: Send + Sync + std::fmt::Debug + 'static,
2935{
2936 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_usage_profile::DeleteUsageProfileError, R>) -> Self {
2937 match err {
2938 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2939 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2940 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2941 source: err.into(),
2942 }),
2943 }
2944 }
2945}
2946impl From<crate::operation::delete_usage_profile::DeleteUsageProfileError> for Error {
2947 fn from(err: crate::operation::delete_usage_profile::DeleteUsageProfileError) -> Self {
2948 match err {
2949 crate::operation::delete_usage_profile::DeleteUsageProfileError::InternalServiceException(inner) => {
2950 Error::InternalServiceException(inner)
2951 }
2952 crate::operation::delete_usage_profile::DeleteUsageProfileError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2953 crate::operation::delete_usage_profile::DeleteUsageProfileError::OperationNotSupportedException(inner) => {
2954 Error::OperationNotSupportedException(inner)
2955 }
2956 crate::operation::delete_usage_profile::DeleteUsageProfileError::OperationTimeoutException(inner) => {
2957 Error::OperationTimeoutException(inner)
2958 }
2959 crate::operation::delete_usage_profile::DeleteUsageProfileError::Unhandled(inner) => Error::Unhandled(inner),
2960 }
2961 }
2962}
2963impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_user_defined_function::DeleteUserDefinedFunctionError, R>>
2964 for Error
2965where
2966 R: Send + Sync + std::fmt::Debug + 'static,
2967{
2968 fn from(
2969 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_user_defined_function::DeleteUserDefinedFunctionError, R>,
2970 ) -> Self {
2971 match err {
2972 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2973 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2974 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2975 source: err.into(),
2976 }),
2977 }
2978 }
2979}
2980impl From<crate::operation::delete_user_defined_function::DeleteUserDefinedFunctionError> for Error {
2981 fn from(err: crate::operation::delete_user_defined_function::DeleteUserDefinedFunctionError) -> Self {
2982 match err {
2983 crate::operation::delete_user_defined_function::DeleteUserDefinedFunctionError::EntityNotFoundException(inner) => {
2984 Error::EntityNotFoundException(inner)
2985 }
2986 crate::operation::delete_user_defined_function::DeleteUserDefinedFunctionError::InternalServiceException(inner) => {
2987 Error::InternalServiceException(inner)
2988 }
2989 crate::operation::delete_user_defined_function::DeleteUserDefinedFunctionError::InvalidInputException(inner) => {
2990 Error::InvalidInputException(inner)
2991 }
2992 crate::operation::delete_user_defined_function::DeleteUserDefinedFunctionError::OperationTimeoutException(inner) => {
2993 Error::OperationTimeoutException(inner)
2994 }
2995 crate::operation::delete_user_defined_function::DeleteUserDefinedFunctionError::Unhandled(inner) => Error::Unhandled(inner),
2996 }
2997 }
2998}
2999impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_workflow::DeleteWorkflowError, R>> for Error
3000where
3001 R: Send + Sync + std::fmt::Debug + 'static,
3002{
3003 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_workflow::DeleteWorkflowError, R>) -> Self {
3004 match err {
3005 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3006 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3007 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3008 source: err.into(),
3009 }),
3010 }
3011 }
3012}
3013impl From<crate::operation::delete_workflow::DeleteWorkflowError> for Error {
3014 fn from(err: crate::operation::delete_workflow::DeleteWorkflowError) -> Self {
3015 match err {
3016 crate::operation::delete_workflow::DeleteWorkflowError::ConcurrentModificationException(inner) => {
3017 Error::ConcurrentModificationException(inner)
3018 }
3019 crate::operation::delete_workflow::DeleteWorkflowError::InternalServiceException(inner) => Error::InternalServiceException(inner),
3020 crate::operation::delete_workflow::DeleteWorkflowError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3021 crate::operation::delete_workflow::DeleteWorkflowError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3022 crate::operation::delete_workflow::DeleteWorkflowError::Unhandled(inner) => Error::Unhandled(inner),
3023 }
3024 }
3025}
3026impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_connection_type::DescribeConnectionTypeError, R>> for Error
3027where
3028 R: Send + Sync + std::fmt::Debug + 'static,
3029{
3030 fn from(
3031 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_connection_type::DescribeConnectionTypeError, R>,
3032 ) -> Self {
3033 match err {
3034 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3035 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3036 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3037 source: err.into(),
3038 }),
3039 }
3040 }
3041}
3042impl From<crate::operation::describe_connection_type::DescribeConnectionTypeError> for Error {
3043 fn from(err: crate::operation::describe_connection_type::DescribeConnectionTypeError) -> Self {
3044 match err {
3045 crate::operation::describe_connection_type::DescribeConnectionTypeError::AccessDeniedException(inner) => {
3046 Error::AccessDeniedException(inner)
3047 }
3048 crate::operation::describe_connection_type::DescribeConnectionTypeError::InternalServiceException(inner) => {
3049 Error::InternalServiceException(inner)
3050 }
3051 crate::operation::describe_connection_type::DescribeConnectionTypeError::InvalidInputException(inner) => {
3052 Error::InvalidInputException(inner)
3053 }
3054 crate::operation::describe_connection_type::DescribeConnectionTypeError::ValidationException(inner) => Error::ValidationException(inner),
3055 crate::operation::describe_connection_type::DescribeConnectionTypeError::Unhandled(inner) => Error::Unhandled(inner),
3056 }
3057 }
3058}
3059impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_entity::DescribeEntityError, R>> for Error
3060where
3061 R: Send + Sync + std::fmt::Debug + 'static,
3062{
3063 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_entity::DescribeEntityError, R>) -> Self {
3064 match err {
3065 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3066 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3067 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3068 source: err.into(),
3069 }),
3070 }
3071 }
3072}
3073impl From<crate::operation::describe_entity::DescribeEntityError> for Error {
3074 fn from(err: crate::operation::describe_entity::DescribeEntityError) -> Self {
3075 match err {
3076 crate::operation::describe_entity::DescribeEntityError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3077 crate::operation::describe_entity::DescribeEntityError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
3078 crate::operation::describe_entity::DescribeEntityError::FederationSourceException(inner) => Error::FederationSourceException(inner),
3079 crate::operation::describe_entity::DescribeEntityError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
3080 crate::operation::describe_entity::DescribeEntityError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3081 crate::operation::describe_entity::DescribeEntityError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3082 crate::operation::describe_entity::DescribeEntityError::ValidationException(inner) => Error::ValidationException(inner),
3083 crate::operation::describe_entity::DescribeEntityError::Unhandled(inner) => Error::Unhandled(inner),
3084 }
3085 }
3086}
3087impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError, R>>
3088 for Error
3089where
3090 R: Send + Sync + std::fmt::Debug + 'static,
3091{
3092 fn from(
3093 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError, R>,
3094 ) -> Self {
3095 match err {
3096 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3097 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3098 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3099 source: err.into(),
3100 }),
3101 }
3102 }
3103}
3104impl From<crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError> for Error {
3105 fn from(err: crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError) -> Self {
3106 match err {
3107 crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError::AccessDeniedException(inner) => {
3108 Error::AccessDeniedException(inner)
3109 }
3110 crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError::EntityNotFoundException(inner) => {
3111 Error::EntityNotFoundException(inner)
3112 }
3113 crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError::IntegrationNotFoundFault(inner) => {
3114 Error::IntegrationNotFoundFault(inner)
3115 }
3116 crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError::InternalServerException(inner) => {
3117 Error::InternalServerException(inner)
3118 }
3119 crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError::InternalServiceException(inner) => {
3120 Error::InternalServiceException(inner)
3121 }
3122 crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError::InvalidInputException(inner) => {
3123 Error::InvalidInputException(inner)
3124 }
3125 crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError::OperationNotSupportedException(inner) => {
3126 Error::OperationNotSupportedException(inner)
3127 }
3128 crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError::TargetResourceNotFound(inner) => {
3129 Error::TargetResourceNotFound(inner)
3130 }
3131 crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError::ValidationException(inner) => {
3132 Error::ValidationException(inner)
3133 }
3134 crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError::Unhandled(inner) => Error::Unhandled(inner),
3135 }
3136 }
3137}
3138impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_integrations::DescribeIntegrationsError, R>> for Error
3139where
3140 R: Send + Sync + std::fmt::Debug + 'static,
3141{
3142 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_integrations::DescribeIntegrationsError, R>) -> Self {
3143 match err {
3144 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3145 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3146 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3147 source: err.into(),
3148 }),
3149 }
3150 }
3151}
3152impl From<crate::operation::describe_integrations::DescribeIntegrationsError> for Error {
3153 fn from(err: crate::operation::describe_integrations::DescribeIntegrationsError) -> Self {
3154 match err {
3155 crate::operation::describe_integrations::DescribeIntegrationsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3156 crate::operation::describe_integrations::DescribeIntegrationsError::EntityNotFoundException(inner) => {
3157 Error::EntityNotFoundException(inner)
3158 }
3159 crate::operation::describe_integrations::DescribeIntegrationsError::IntegrationNotFoundFault(inner) => {
3160 Error::IntegrationNotFoundFault(inner)
3161 }
3162 crate::operation::describe_integrations::DescribeIntegrationsError::InternalServerException(inner) => {
3163 Error::InternalServerException(inner)
3164 }
3165 crate::operation::describe_integrations::DescribeIntegrationsError::InternalServiceException(inner) => {
3166 Error::InternalServiceException(inner)
3167 }
3168 crate::operation::describe_integrations::DescribeIntegrationsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3169 crate::operation::describe_integrations::DescribeIntegrationsError::ValidationException(inner) => Error::ValidationException(inner),
3170 crate::operation::describe_integrations::DescribeIntegrationsError::Unhandled(inner) => Error::Unhandled(inner),
3171 }
3172 }
3173}
3174impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_blueprint::GetBlueprintError, R>> for Error
3175where
3176 R: Send + Sync + std::fmt::Debug + 'static,
3177{
3178 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_blueprint::GetBlueprintError, R>) -> Self {
3179 match err {
3180 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3181 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3182 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3183 source: err.into(),
3184 }),
3185 }
3186 }
3187}
3188impl From<crate::operation::get_blueprint::GetBlueprintError> for Error {
3189 fn from(err: crate::operation::get_blueprint::GetBlueprintError) -> Self {
3190 match err {
3191 crate::operation::get_blueprint::GetBlueprintError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
3192 crate::operation::get_blueprint::GetBlueprintError::InternalServiceException(inner) => Error::InternalServiceException(inner),
3193 crate::operation::get_blueprint::GetBlueprintError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3194 crate::operation::get_blueprint::GetBlueprintError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3195 crate::operation::get_blueprint::GetBlueprintError::Unhandled(inner) => Error::Unhandled(inner),
3196 }
3197 }
3198}
3199impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_blueprint_run::GetBlueprintRunError, R>> for Error
3200where
3201 R: Send + Sync + std::fmt::Debug + 'static,
3202{
3203 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_blueprint_run::GetBlueprintRunError, R>) -> Self {
3204 match err {
3205 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3206 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3207 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3208 source: err.into(),
3209 }),
3210 }
3211 }
3212}
3213impl From<crate::operation::get_blueprint_run::GetBlueprintRunError> for Error {
3214 fn from(err: crate::operation::get_blueprint_run::GetBlueprintRunError) -> Self {
3215 match err {
3216 crate::operation::get_blueprint_run::GetBlueprintRunError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
3217 crate::operation::get_blueprint_run::GetBlueprintRunError::InternalServiceException(inner) => Error::InternalServiceException(inner),
3218 crate::operation::get_blueprint_run::GetBlueprintRunError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3219 crate::operation::get_blueprint_run::GetBlueprintRunError::Unhandled(inner) => Error::Unhandled(inner),
3220 }
3221 }
3222}
3223impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_blueprint_runs::GetBlueprintRunsError, R>> for Error
3224where
3225 R: Send + Sync + std::fmt::Debug + 'static,
3226{
3227 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_blueprint_runs::GetBlueprintRunsError, R>) -> Self {
3228 match err {
3229 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3230 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3231 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3232 source: err.into(),
3233 }),
3234 }
3235 }
3236}
3237impl From<crate::operation::get_blueprint_runs::GetBlueprintRunsError> for Error {
3238 fn from(err: crate::operation::get_blueprint_runs::GetBlueprintRunsError) -> Self {
3239 match err {
3240 crate::operation::get_blueprint_runs::GetBlueprintRunsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
3241 crate::operation::get_blueprint_runs::GetBlueprintRunsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
3242 crate::operation::get_blueprint_runs::GetBlueprintRunsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3243 crate::operation::get_blueprint_runs::GetBlueprintRunsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3244 crate::operation::get_blueprint_runs::GetBlueprintRunsError::Unhandled(inner) => Error::Unhandled(inner),
3245 }
3246 }
3247}
3248impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_catalog::GetCatalogError, R>> for Error
3249where
3250 R: Send + Sync + std::fmt::Debug + 'static,
3251{
3252 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_catalog::GetCatalogError, R>) -> Self {
3253 match err {
3254 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3255 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3256 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3257 source: err.into(),
3258 }),
3259 }
3260 }
3261}
3262impl From<crate::operation::get_catalog::GetCatalogError> for Error {
3263 fn from(err: crate::operation::get_catalog::GetCatalogError) -> Self {
3264 match err {
3265 crate::operation::get_catalog::GetCatalogError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3266 crate::operation::get_catalog::GetCatalogError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
3267 crate::operation::get_catalog::GetCatalogError::FederationSourceException(inner) => Error::FederationSourceException(inner),
3268 crate::operation::get_catalog::GetCatalogError::FederationSourceRetryableException(inner) => {
3269 Error::FederationSourceRetryableException(inner)
3270 }
3271 crate::operation::get_catalog::GetCatalogError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
3272 crate::operation::get_catalog::GetCatalogError::InternalServiceException(inner) => Error::InternalServiceException(inner),
3273 crate::operation::get_catalog::GetCatalogError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3274 crate::operation::get_catalog::GetCatalogError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3275 crate::operation::get_catalog::GetCatalogError::Unhandled(inner) => Error::Unhandled(inner),
3276 }
3277 }
3278}
3279impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_catalog_import_status::GetCatalogImportStatusError, R>>
3280 for Error
3281where
3282 R: Send + Sync + std::fmt::Debug + 'static,
3283{
3284 fn from(
3285 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_catalog_import_status::GetCatalogImportStatusError, R>,
3286 ) -> Self {
3287 match err {
3288 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3289 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3290 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3291 source: err.into(),
3292 }),
3293 }
3294 }
3295}
3296impl From<crate::operation::get_catalog_import_status::GetCatalogImportStatusError> for Error {
3297 fn from(err: crate::operation::get_catalog_import_status::GetCatalogImportStatusError) -> Self {
3298 match err {
3299 crate::operation::get_catalog_import_status::GetCatalogImportStatusError::InternalServiceException(inner) => {
3300 Error::InternalServiceException(inner)
3301 }
3302 crate::operation::get_catalog_import_status::GetCatalogImportStatusError::OperationTimeoutException(inner) => {
3303 Error::OperationTimeoutException(inner)
3304 }
3305 crate::operation::get_catalog_import_status::GetCatalogImportStatusError::Unhandled(inner) => Error::Unhandled(inner),
3306 }
3307 }
3308}
3309impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_catalogs::GetCatalogsError, R>> for Error
3310where
3311 R: Send + Sync + std::fmt::Debug + 'static,
3312{
3313 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_catalogs::GetCatalogsError, R>) -> Self {
3314 match err {
3315 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3316 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3317 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3318 source: err.into(),
3319 }),
3320 }
3321 }
3322}
3323impl From<crate::operation::get_catalogs::GetCatalogsError> for Error {
3324 fn from(err: crate::operation::get_catalogs::GetCatalogsError) -> Self {
3325 match err {
3326 crate::operation::get_catalogs::GetCatalogsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3327 crate::operation::get_catalogs::GetCatalogsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
3328 crate::operation::get_catalogs::GetCatalogsError::FederationSourceException(inner) => Error::FederationSourceException(inner),
3329 crate::operation::get_catalogs::GetCatalogsError::FederationSourceRetryableException(inner) => {
3330 Error::FederationSourceRetryableException(inner)
3331 }
3332 crate::operation::get_catalogs::GetCatalogsError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
3333 crate::operation::get_catalogs::GetCatalogsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
3334 crate::operation::get_catalogs::GetCatalogsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3335 crate::operation::get_catalogs::GetCatalogsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3336 crate::operation::get_catalogs::GetCatalogsError::Unhandled(inner) => Error::Unhandled(inner),
3337 }
3338 }
3339}
3340impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_classifier::GetClassifierError, R>> for Error
3341where
3342 R: Send + Sync + std::fmt::Debug + 'static,
3343{
3344 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_classifier::GetClassifierError, R>) -> Self {
3345 match err {
3346 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3347 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3348 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3349 source: err.into(),
3350 }),
3351 }
3352 }
3353}
3354impl From<crate::operation::get_classifier::GetClassifierError> for Error {
3355 fn from(err: crate::operation::get_classifier::GetClassifierError) -> Self {
3356 match err {
3357 crate::operation::get_classifier::GetClassifierError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
3358 crate::operation::get_classifier::GetClassifierError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3359 crate::operation::get_classifier::GetClassifierError::Unhandled(inner) => Error::Unhandled(inner),
3360 }
3361 }
3362}
3363impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_classifiers::GetClassifiersError, 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::get_classifiers::GetClassifiersError, 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::get_classifiers::GetClassifiersError> for Error {
3378 fn from(err: crate::operation::get_classifiers::GetClassifiersError) -> Self {
3379 match err {
3380 crate::operation::get_classifiers::GetClassifiersError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3381 crate::operation::get_classifiers::GetClassifiersError::Unhandled(inner) => Error::Unhandled(inner),
3382 }
3383 }
3384}
3385impl<R>
3386 From<
3387 ::aws_smithy_runtime_api::client::result::SdkError<
3388 crate::operation::get_column_statistics_for_partition::GetColumnStatisticsForPartitionError,
3389 R,
3390 >,
3391 > for Error
3392where
3393 R: Send + Sync + std::fmt::Debug + 'static,
3394{
3395 fn from(
3396 err: ::aws_smithy_runtime_api::client::result::SdkError<
3397 crate::operation::get_column_statistics_for_partition::GetColumnStatisticsForPartitionError,
3398 R,
3399 >,
3400 ) -> Self {
3401 match err {
3402 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3403 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3404 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3405 source: err.into(),
3406 }),
3407 }
3408 }
3409}
3410impl From<crate::operation::get_column_statistics_for_partition::GetColumnStatisticsForPartitionError> for Error {
3411 fn from(err: crate::operation::get_column_statistics_for_partition::GetColumnStatisticsForPartitionError) -> Self {
3412 match err {
3413 crate::operation::get_column_statistics_for_partition::GetColumnStatisticsForPartitionError::EntityNotFoundException(inner) => {
3414 Error::EntityNotFoundException(inner)
3415 }
3416 crate::operation::get_column_statistics_for_partition::GetColumnStatisticsForPartitionError::GlueEncryptionException(inner) => {
3417 Error::GlueEncryptionException(inner)
3418 }
3419 crate::operation::get_column_statistics_for_partition::GetColumnStatisticsForPartitionError::InternalServiceException(inner) => {
3420 Error::InternalServiceException(inner)
3421 }
3422 crate::operation::get_column_statistics_for_partition::GetColumnStatisticsForPartitionError::InvalidInputException(inner) => {
3423 Error::InvalidInputException(inner)
3424 }
3425 crate::operation::get_column_statistics_for_partition::GetColumnStatisticsForPartitionError::OperationTimeoutException(inner) => {
3426 Error::OperationTimeoutException(inner)
3427 }
3428 crate::operation::get_column_statistics_for_partition::GetColumnStatisticsForPartitionError::Unhandled(inner) => Error::Unhandled(inner),
3429 }
3430 }
3431}
3432impl<R>
3433 From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_column_statistics_for_table::GetColumnStatisticsForTableError, R>>
3434 for Error
3435where
3436 R: Send + Sync + std::fmt::Debug + 'static,
3437{
3438 fn from(
3439 err: ::aws_smithy_runtime_api::client::result::SdkError<
3440 crate::operation::get_column_statistics_for_table::GetColumnStatisticsForTableError,
3441 R,
3442 >,
3443 ) -> Self {
3444 match err {
3445 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3446 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3447 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3448 source: err.into(),
3449 }),
3450 }
3451 }
3452}
3453impl From<crate::operation::get_column_statistics_for_table::GetColumnStatisticsForTableError> for Error {
3454 fn from(err: crate::operation::get_column_statistics_for_table::GetColumnStatisticsForTableError) -> Self {
3455 match err {
3456 crate::operation::get_column_statistics_for_table::GetColumnStatisticsForTableError::EntityNotFoundException(inner) => {
3457 Error::EntityNotFoundException(inner)
3458 }
3459 crate::operation::get_column_statistics_for_table::GetColumnStatisticsForTableError::GlueEncryptionException(inner) => {
3460 Error::GlueEncryptionException(inner)
3461 }
3462 crate::operation::get_column_statistics_for_table::GetColumnStatisticsForTableError::InternalServiceException(inner) => {
3463 Error::InternalServiceException(inner)
3464 }
3465 crate::operation::get_column_statistics_for_table::GetColumnStatisticsForTableError::InvalidInputException(inner) => {
3466 Error::InvalidInputException(inner)
3467 }
3468 crate::operation::get_column_statistics_for_table::GetColumnStatisticsForTableError::OperationTimeoutException(inner) => {
3469 Error::OperationTimeoutException(inner)
3470 }
3471 crate::operation::get_column_statistics_for_table::GetColumnStatisticsForTableError::Unhandled(inner) => Error::Unhandled(inner),
3472 }
3473 }
3474}
3475impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_column_statistics_task_run::GetColumnStatisticsTaskRunError, R>>
3476 for Error
3477where
3478 R: Send + Sync + std::fmt::Debug + 'static,
3479{
3480 fn from(
3481 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_column_statistics_task_run::GetColumnStatisticsTaskRunError, R>,
3482 ) -> Self {
3483 match err {
3484 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3485 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3486 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3487 source: err.into(),
3488 }),
3489 }
3490 }
3491}
3492impl From<crate::operation::get_column_statistics_task_run::GetColumnStatisticsTaskRunError> for Error {
3493 fn from(err: crate::operation::get_column_statistics_task_run::GetColumnStatisticsTaskRunError) -> Self {
3494 match err {
3495 crate::operation::get_column_statistics_task_run::GetColumnStatisticsTaskRunError::EntityNotFoundException(inner) => {
3496 Error::EntityNotFoundException(inner)
3497 }
3498 crate::operation::get_column_statistics_task_run::GetColumnStatisticsTaskRunError::InvalidInputException(inner) => {
3499 Error::InvalidInputException(inner)
3500 }
3501 crate::operation::get_column_statistics_task_run::GetColumnStatisticsTaskRunError::OperationTimeoutException(inner) => {
3502 Error::OperationTimeoutException(inner)
3503 }
3504 crate::operation::get_column_statistics_task_run::GetColumnStatisticsTaskRunError::Unhandled(inner) => Error::Unhandled(inner),
3505 }
3506 }
3507}
3508impl<R>
3509 From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_column_statistics_task_runs::GetColumnStatisticsTaskRunsError, R>>
3510 for Error
3511where
3512 R: Send + Sync + std::fmt::Debug + 'static,
3513{
3514 fn from(
3515 err: ::aws_smithy_runtime_api::client::result::SdkError<
3516 crate::operation::get_column_statistics_task_runs::GetColumnStatisticsTaskRunsError,
3517 R,
3518 >,
3519 ) -> Self {
3520 match err {
3521 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3522 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3523 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3524 source: err.into(),
3525 }),
3526 }
3527 }
3528}
3529impl From<crate::operation::get_column_statistics_task_runs::GetColumnStatisticsTaskRunsError> for Error {
3530 fn from(err: crate::operation::get_column_statistics_task_runs::GetColumnStatisticsTaskRunsError) -> Self {
3531 match err {
3532 crate::operation::get_column_statistics_task_runs::GetColumnStatisticsTaskRunsError::OperationTimeoutException(inner) => {
3533 Error::OperationTimeoutException(inner)
3534 }
3535 crate::operation::get_column_statistics_task_runs::GetColumnStatisticsTaskRunsError::Unhandled(inner) => Error::Unhandled(inner),
3536 }
3537 }
3538}
3539impl<R>
3540 From<
3541 ::aws_smithy_runtime_api::client::result::SdkError<
3542 crate::operation::get_column_statistics_task_settings::GetColumnStatisticsTaskSettingsError,
3543 R,
3544 >,
3545 > for Error
3546where
3547 R: Send + Sync + std::fmt::Debug + 'static,
3548{
3549 fn from(
3550 err: ::aws_smithy_runtime_api::client::result::SdkError<
3551 crate::operation::get_column_statistics_task_settings::GetColumnStatisticsTaskSettingsError,
3552 R,
3553 >,
3554 ) -> Self {
3555 match err {
3556 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3557 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3558 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3559 source: err.into(),
3560 }),
3561 }
3562 }
3563}
3564impl From<crate::operation::get_column_statistics_task_settings::GetColumnStatisticsTaskSettingsError> for Error {
3565 fn from(err: crate::operation::get_column_statistics_task_settings::GetColumnStatisticsTaskSettingsError) -> Self {
3566 match err {
3567 crate::operation::get_column_statistics_task_settings::GetColumnStatisticsTaskSettingsError::EntityNotFoundException(inner) => {
3568 Error::EntityNotFoundException(inner)
3569 }
3570 crate::operation::get_column_statistics_task_settings::GetColumnStatisticsTaskSettingsError::InvalidInputException(inner) => {
3571 Error::InvalidInputException(inner)
3572 }
3573 crate::operation::get_column_statistics_task_settings::GetColumnStatisticsTaskSettingsError::OperationTimeoutException(inner) => {
3574 Error::OperationTimeoutException(inner)
3575 }
3576 crate::operation::get_column_statistics_task_settings::GetColumnStatisticsTaskSettingsError::Unhandled(inner) => Error::Unhandled(inner),
3577 }
3578 }
3579}
3580impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_connection::GetConnectionError, R>> for Error
3581where
3582 R: Send + Sync + std::fmt::Debug + 'static,
3583{
3584 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_connection::GetConnectionError, R>) -> Self {
3585 match err {
3586 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3587 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3588 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3589 source: err.into(),
3590 }),
3591 }
3592 }
3593}
3594impl From<crate::operation::get_connection::GetConnectionError> for Error {
3595 fn from(err: crate::operation::get_connection::GetConnectionError) -> Self {
3596 match err {
3597 crate::operation::get_connection::GetConnectionError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
3598 crate::operation::get_connection::GetConnectionError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
3599 crate::operation::get_connection::GetConnectionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3600 crate::operation::get_connection::GetConnectionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3601 crate::operation::get_connection::GetConnectionError::Unhandled(inner) => Error::Unhandled(inner),
3602 }
3603 }
3604}
3605impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_connections::GetConnectionsError, R>> for Error
3606where
3607 R: Send + Sync + std::fmt::Debug + 'static,
3608{
3609 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_connections::GetConnectionsError, R>) -> 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::get_connections::GetConnectionsError> for Error {
3620 fn from(err: crate::operation::get_connections::GetConnectionsError) -> Self {
3621 match err {
3622 crate::operation::get_connections::GetConnectionsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
3623 crate::operation::get_connections::GetConnectionsError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
3624 crate::operation::get_connections::GetConnectionsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3625 crate::operation::get_connections::GetConnectionsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3626 crate::operation::get_connections::GetConnectionsError::Unhandled(inner) => Error::Unhandled(inner),
3627 }
3628 }
3629}
3630impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_crawler::GetCrawlerError, R>> for Error
3631where
3632 R: Send + Sync + std::fmt::Debug + 'static,
3633{
3634 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_crawler::GetCrawlerError, R>) -> Self {
3635 match err {
3636 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3637 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3638 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3639 source: err.into(),
3640 }),
3641 }
3642 }
3643}
3644impl From<crate::operation::get_crawler::GetCrawlerError> for Error {
3645 fn from(err: crate::operation::get_crawler::GetCrawlerError) -> Self {
3646 match err {
3647 crate::operation::get_crawler::GetCrawlerError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
3648 crate::operation::get_crawler::GetCrawlerError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3649 crate::operation::get_crawler::GetCrawlerError::Unhandled(inner) => Error::Unhandled(inner),
3650 }
3651 }
3652}
3653impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_crawler_metrics::GetCrawlerMetricsError, R>> for Error
3654where
3655 R: Send + Sync + std::fmt::Debug + 'static,
3656{
3657 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_crawler_metrics::GetCrawlerMetricsError, R>) -> Self {
3658 match err {
3659 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3660 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3661 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3662 source: err.into(),
3663 }),
3664 }
3665 }
3666}
3667impl From<crate::operation::get_crawler_metrics::GetCrawlerMetricsError> for Error {
3668 fn from(err: crate::operation::get_crawler_metrics::GetCrawlerMetricsError) -> Self {
3669 match err {
3670 crate::operation::get_crawler_metrics::GetCrawlerMetricsError::OperationTimeoutException(inner) => {
3671 Error::OperationTimeoutException(inner)
3672 }
3673 crate::operation::get_crawler_metrics::GetCrawlerMetricsError::Unhandled(inner) => Error::Unhandled(inner),
3674 }
3675 }
3676}
3677impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_crawlers::GetCrawlersError, R>> for Error
3678where
3679 R: Send + Sync + std::fmt::Debug + 'static,
3680{
3681 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_crawlers::GetCrawlersError, R>) -> Self {
3682 match err {
3683 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3684 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3685 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3686 source: err.into(),
3687 }),
3688 }
3689 }
3690}
3691impl From<crate::operation::get_crawlers::GetCrawlersError> for Error {
3692 fn from(err: crate::operation::get_crawlers::GetCrawlersError) -> Self {
3693 match err {
3694 crate::operation::get_crawlers::GetCrawlersError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3695 crate::operation::get_crawlers::GetCrawlersError::Unhandled(inner) => Error::Unhandled(inner),
3696 }
3697 }
3698}
3699impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_custom_entity_type::GetCustomEntityTypeError, R>> for Error
3700where
3701 R: Send + Sync + std::fmt::Debug + 'static,
3702{
3703 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_custom_entity_type::GetCustomEntityTypeError, R>) -> Self {
3704 match err {
3705 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3706 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3707 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3708 source: err.into(),
3709 }),
3710 }
3711 }
3712}
3713impl From<crate::operation::get_custom_entity_type::GetCustomEntityTypeError> for Error {
3714 fn from(err: crate::operation::get_custom_entity_type::GetCustomEntityTypeError) -> Self {
3715 match err {
3716 crate::operation::get_custom_entity_type::GetCustomEntityTypeError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3717 crate::operation::get_custom_entity_type::GetCustomEntityTypeError::EntityNotFoundException(inner) => {
3718 Error::EntityNotFoundException(inner)
3719 }
3720 crate::operation::get_custom_entity_type::GetCustomEntityTypeError::InternalServiceException(inner) => {
3721 Error::InternalServiceException(inner)
3722 }
3723 crate::operation::get_custom_entity_type::GetCustomEntityTypeError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3724 crate::operation::get_custom_entity_type::GetCustomEntityTypeError::OperationTimeoutException(inner) => {
3725 Error::OperationTimeoutException(inner)
3726 }
3727 crate::operation::get_custom_entity_type::GetCustomEntityTypeError::Unhandled(inner) => Error::Unhandled(inner),
3728 }
3729 }
3730}
3731impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_database::GetDatabaseError, R>> for Error
3732where
3733 R: Send + Sync + std::fmt::Debug + 'static,
3734{
3735 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_database::GetDatabaseError, R>) -> Self {
3736 match err {
3737 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3738 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3739 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3740 source: err.into(),
3741 }),
3742 }
3743 }
3744}
3745impl From<crate::operation::get_database::GetDatabaseError> for Error {
3746 fn from(err: crate::operation::get_database::GetDatabaseError) -> Self {
3747 match err {
3748 crate::operation::get_database::GetDatabaseError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
3749 crate::operation::get_database::GetDatabaseError::FederationSourceException(inner) => Error::FederationSourceException(inner),
3750 crate::operation::get_database::GetDatabaseError::FederationSourceRetryableException(inner) => {
3751 Error::FederationSourceRetryableException(inner)
3752 }
3753 crate::operation::get_database::GetDatabaseError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
3754 crate::operation::get_database::GetDatabaseError::InternalServiceException(inner) => Error::InternalServiceException(inner),
3755 crate::operation::get_database::GetDatabaseError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3756 crate::operation::get_database::GetDatabaseError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3757 crate::operation::get_database::GetDatabaseError::Unhandled(inner) => Error::Unhandled(inner),
3758 }
3759 }
3760}
3761impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_databases::GetDatabasesError, R>> for Error
3762where
3763 R: Send + Sync + std::fmt::Debug + 'static,
3764{
3765 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_databases::GetDatabasesError, R>) -> Self {
3766 match err {
3767 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3768 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3769 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3770 source: err.into(),
3771 }),
3772 }
3773 }
3774}
3775impl From<crate::operation::get_databases::GetDatabasesError> for Error {
3776 fn from(err: crate::operation::get_databases::GetDatabasesError) -> Self {
3777 match err {
3778 crate::operation::get_databases::GetDatabasesError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
3779 crate::operation::get_databases::GetDatabasesError::FederationSourceException(inner) => Error::FederationSourceException(inner),
3780 crate::operation::get_databases::GetDatabasesError::FederationSourceRetryableException(inner) => {
3781 Error::FederationSourceRetryableException(inner)
3782 }
3783 crate::operation::get_databases::GetDatabasesError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
3784 crate::operation::get_databases::GetDatabasesError::InternalServiceException(inner) => Error::InternalServiceException(inner),
3785 crate::operation::get_databases::GetDatabasesError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3786 crate::operation::get_databases::GetDatabasesError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3787 crate::operation::get_databases::GetDatabasesError::Unhandled(inner) => Error::Unhandled(inner),
3788 }
3789 }
3790}
3791impl<R>
3792 From<
3793 ::aws_smithy_runtime_api::client::result::SdkError<
3794 crate::operation::get_data_catalog_encryption_settings::GetDataCatalogEncryptionSettingsError,
3795 R,
3796 >,
3797 > for Error
3798where
3799 R: Send + Sync + std::fmt::Debug + 'static,
3800{
3801 fn from(
3802 err: ::aws_smithy_runtime_api::client::result::SdkError<
3803 crate::operation::get_data_catalog_encryption_settings::GetDataCatalogEncryptionSettingsError,
3804 R,
3805 >,
3806 ) -> Self {
3807 match err {
3808 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3809 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3810 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3811 source: err.into(),
3812 }),
3813 }
3814 }
3815}
3816impl From<crate::operation::get_data_catalog_encryption_settings::GetDataCatalogEncryptionSettingsError> for Error {
3817 fn from(err: crate::operation::get_data_catalog_encryption_settings::GetDataCatalogEncryptionSettingsError) -> Self {
3818 match err {
3819 crate::operation::get_data_catalog_encryption_settings::GetDataCatalogEncryptionSettingsError::InternalServiceException(inner) => {
3820 Error::InternalServiceException(inner)
3821 }
3822 crate::operation::get_data_catalog_encryption_settings::GetDataCatalogEncryptionSettingsError::InvalidInputException(inner) => {
3823 Error::InvalidInputException(inner)
3824 }
3825 crate::operation::get_data_catalog_encryption_settings::GetDataCatalogEncryptionSettingsError::OperationTimeoutException(inner) => {
3826 Error::OperationTimeoutException(inner)
3827 }
3828 crate::operation::get_data_catalog_encryption_settings::GetDataCatalogEncryptionSettingsError::Unhandled(inner) => {
3829 Error::Unhandled(inner)
3830 }
3831 }
3832 }
3833}
3834impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_dataflow_graph::GetDataflowGraphError, R>> for Error
3835where
3836 R: Send + Sync + std::fmt::Debug + 'static,
3837{
3838 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_dataflow_graph::GetDataflowGraphError, R>) -> Self {
3839 match err {
3840 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3841 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3842 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3843 source: err.into(),
3844 }),
3845 }
3846 }
3847}
3848impl From<crate::operation::get_dataflow_graph::GetDataflowGraphError> for Error {
3849 fn from(err: crate::operation::get_dataflow_graph::GetDataflowGraphError) -> Self {
3850 match err {
3851 crate::operation::get_dataflow_graph::GetDataflowGraphError::InternalServiceException(inner) => Error::InternalServiceException(inner),
3852 crate::operation::get_dataflow_graph::GetDataflowGraphError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3853 crate::operation::get_dataflow_graph::GetDataflowGraphError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3854 crate::operation::get_dataflow_graph::GetDataflowGraphError::Unhandled(inner) => Error::Unhandled(inner),
3855 }
3856 }
3857}
3858impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_data_quality_model::GetDataQualityModelError, R>> for Error
3859where
3860 R: Send + Sync + std::fmt::Debug + 'static,
3861{
3862 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_data_quality_model::GetDataQualityModelError, R>) -> Self {
3863 match err {
3864 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3865 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3866 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3867 source: err.into(),
3868 }),
3869 }
3870 }
3871}
3872impl From<crate::operation::get_data_quality_model::GetDataQualityModelError> for Error {
3873 fn from(err: crate::operation::get_data_quality_model::GetDataQualityModelError) -> Self {
3874 match err {
3875 crate::operation::get_data_quality_model::GetDataQualityModelError::EntityNotFoundException(inner) => {
3876 Error::EntityNotFoundException(inner)
3877 }
3878 crate::operation::get_data_quality_model::GetDataQualityModelError::InternalServiceException(inner) => {
3879 Error::InternalServiceException(inner)
3880 }
3881 crate::operation::get_data_quality_model::GetDataQualityModelError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3882 crate::operation::get_data_quality_model::GetDataQualityModelError::OperationTimeoutException(inner) => {
3883 Error::OperationTimeoutException(inner)
3884 }
3885 crate::operation::get_data_quality_model::GetDataQualityModelError::Unhandled(inner) => Error::Unhandled(inner),
3886 }
3887 }
3888}
3889impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_data_quality_model_result::GetDataQualityModelResultError, R>>
3890 for Error
3891where
3892 R: Send + Sync + std::fmt::Debug + 'static,
3893{
3894 fn from(
3895 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_data_quality_model_result::GetDataQualityModelResultError, R>,
3896 ) -> Self {
3897 match err {
3898 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3899 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3900 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3901 source: err.into(),
3902 }),
3903 }
3904 }
3905}
3906impl From<crate::operation::get_data_quality_model_result::GetDataQualityModelResultError> for Error {
3907 fn from(err: crate::operation::get_data_quality_model_result::GetDataQualityModelResultError) -> Self {
3908 match err {
3909 crate::operation::get_data_quality_model_result::GetDataQualityModelResultError::EntityNotFoundException(inner) => {
3910 Error::EntityNotFoundException(inner)
3911 }
3912 crate::operation::get_data_quality_model_result::GetDataQualityModelResultError::InternalServiceException(inner) => {
3913 Error::InternalServiceException(inner)
3914 }
3915 crate::operation::get_data_quality_model_result::GetDataQualityModelResultError::InvalidInputException(inner) => {
3916 Error::InvalidInputException(inner)
3917 }
3918 crate::operation::get_data_quality_model_result::GetDataQualityModelResultError::OperationTimeoutException(inner) => {
3919 Error::OperationTimeoutException(inner)
3920 }
3921 crate::operation::get_data_quality_model_result::GetDataQualityModelResultError::Unhandled(inner) => Error::Unhandled(inner),
3922 }
3923 }
3924}
3925impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_data_quality_result::GetDataQualityResultError, R>> for Error
3926where
3927 R: Send + Sync + std::fmt::Debug + 'static,
3928{
3929 fn from(
3930 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_data_quality_result::GetDataQualityResultError, R>,
3931 ) -> Self {
3932 match err {
3933 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3934 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3935 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3936 source: err.into(),
3937 }),
3938 }
3939 }
3940}
3941impl From<crate::operation::get_data_quality_result::GetDataQualityResultError> for Error {
3942 fn from(err: crate::operation::get_data_quality_result::GetDataQualityResultError) -> Self {
3943 match err {
3944 crate::operation::get_data_quality_result::GetDataQualityResultError::EntityNotFoundException(inner) => {
3945 Error::EntityNotFoundException(inner)
3946 }
3947 crate::operation::get_data_quality_result::GetDataQualityResultError::InternalServiceException(inner) => {
3948 Error::InternalServiceException(inner)
3949 }
3950 crate::operation::get_data_quality_result::GetDataQualityResultError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3951 crate::operation::get_data_quality_result::GetDataQualityResultError::OperationTimeoutException(inner) => {
3952 Error::OperationTimeoutException(inner)
3953 }
3954 crate::operation::get_data_quality_result::GetDataQualityResultError::Unhandled(inner) => Error::Unhandled(inner),
3955 }
3956 }
3957}
3958impl<R>
3959 From<
3960 ::aws_smithy_runtime_api::client::result::SdkError<
3961 crate::operation::get_data_quality_rule_recommendation_run::GetDataQualityRuleRecommendationRunError,
3962 R,
3963 >,
3964 > for Error
3965where
3966 R: Send + Sync + std::fmt::Debug + 'static,
3967{
3968 fn from(
3969 err: ::aws_smithy_runtime_api::client::result::SdkError<
3970 crate::operation::get_data_quality_rule_recommendation_run::GetDataQualityRuleRecommendationRunError,
3971 R,
3972 >,
3973 ) -> Self {
3974 match err {
3975 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3976 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3977 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3978 source: err.into(),
3979 }),
3980 }
3981 }
3982}
3983impl From<crate::operation::get_data_quality_rule_recommendation_run::GetDataQualityRuleRecommendationRunError> for Error {
3984 fn from(err: crate::operation::get_data_quality_rule_recommendation_run::GetDataQualityRuleRecommendationRunError) -> Self {
3985 match err {
3986 crate::operation::get_data_quality_rule_recommendation_run::GetDataQualityRuleRecommendationRunError::EntityNotFoundException(inner) => {
3987 Error::EntityNotFoundException(inner)
3988 }
3989 crate::operation::get_data_quality_rule_recommendation_run::GetDataQualityRuleRecommendationRunError::InternalServiceException(inner) => {
3990 Error::InternalServiceException(inner)
3991 }
3992 crate::operation::get_data_quality_rule_recommendation_run::GetDataQualityRuleRecommendationRunError::InvalidInputException(inner) => {
3993 Error::InvalidInputException(inner)
3994 }
3995 crate::operation::get_data_quality_rule_recommendation_run::GetDataQualityRuleRecommendationRunError::OperationTimeoutException(
3996 inner,
3997 ) => Error::OperationTimeoutException(inner),
3998 crate::operation::get_data_quality_rule_recommendation_run::GetDataQualityRuleRecommendationRunError::Unhandled(inner) => {
3999 Error::Unhandled(inner)
4000 }
4001 }
4002 }
4003}
4004impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_data_quality_ruleset::GetDataQualityRulesetError, R>> for Error
4005where
4006 R: Send + Sync + std::fmt::Debug + 'static,
4007{
4008 fn from(
4009 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_data_quality_ruleset::GetDataQualityRulesetError, R>,
4010 ) -> Self {
4011 match err {
4012 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4013 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4014 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4015 source: err.into(),
4016 }),
4017 }
4018 }
4019}
4020impl From<crate::operation::get_data_quality_ruleset::GetDataQualityRulesetError> for Error {
4021 fn from(err: crate::operation::get_data_quality_ruleset::GetDataQualityRulesetError) -> Self {
4022 match err {
4023 crate::operation::get_data_quality_ruleset::GetDataQualityRulesetError::EntityNotFoundException(inner) => {
4024 Error::EntityNotFoundException(inner)
4025 }
4026 crate::operation::get_data_quality_ruleset::GetDataQualityRulesetError::InternalServiceException(inner) => {
4027 Error::InternalServiceException(inner)
4028 }
4029 crate::operation::get_data_quality_ruleset::GetDataQualityRulesetError::InvalidInputException(inner) => {
4030 Error::InvalidInputException(inner)
4031 }
4032 crate::operation::get_data_quality_ruleset::GetDataQualityRulesetError::OperationTimeoutException(inner) => {
4033 Error::OperationTimeoutException(inner)
4034 }
4035 crate::operation::get_data_quality_ruleset::GetDataQualityRulesetError::Unhandled(inner) => Error::Unhandled(inner),
4036 }
4037 }
4038}
4039impl<R>
4040 From<
4041 ::aws_smithy_runtime_api::client::result::SdkError<
4042 crate::operation::get_data_quality_ruleset_evaluation_run::GetDataQualityRulesetEvaluationRunError,
4043 R,
4044 >,
4045 > for Error
4046where
4047 R: Send + Sync + std::fmt::Debug + 'static,
4048{
4049 fn from(
4050 err: ::aws_smithy_runtime_api::client::result::SdkError<
4051 crate::operation::get_data_quality_ruleset_evaluation_run::GetDataQualityRulesetEvaluationRunError,
4052 R,
4053 >,
4054 ) -> Self {
4055 match err {
4056 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4057 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4058 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4059 source: err.into(),
4060 }),
4061 }
4062 }
4063}
4064impl From<crate::operation::get_data_quality_ruleset_evaluation_run::GetDataQualityRulesetEvaluationRunError> for Error {
4065 fn from(err: crate::operation::get_data_quality_ruleset_evaluation_run::GetDataQualityRulesetEvaluationRunError) -> Self {
4066 match err {
4067 crate::operation::get_data_quality_ruleset_evaluation_run::GetDataQualityRulesetEvaluationRunError::EntityNotFoundException(inner) => {
4068 Error::EntityNotFoundException(inner)
4069 }
4070 crate::operation::get_data_quality_ruleset_evaluation_run::GetDataQualityRulesetEvaluationRunError::InternalServiceException(inner) => {
4071 Error::InternalServiceException(inner)
4072 }
4073 crate::operation::get_data_quality_ruleset_evaluation_run::GetDataQualityRulesetEvaluationRunError::InvalidInputException(inner) => {
4074 Error::InvalidInputException(inner)
4075 }
4076 crate::operation::get_data_quality_ruleset_evaluation_run::GetDataQualityRulesetEvaluationRunError::OperationTimeoutException(inner) => {
4077 Error::OperationTimeoutException(inner)
4078 }
4079 crate::operation::get_data_quality_ruleset_evaluation_run::GetDataQualityRulesetEvaluationRunError::Unhandled(inner) => {
4080 Error::Unhandled(inner)
4081 }
4082 }
4083 }
4084}
4085impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_dev_endpoint::GetDevEndpointError, R>> for Error
4086where
4087 R: Send + Sync + std::fmt::Debug + 'static,
4088{
4089 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_dev_endpoint::GetDevEndpointError, R>) -> Self {
4090 match err {
4091 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4092 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4093 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4094 source: err.into(),
4095 }),
4096 }
4097 }
4098}
4099impl From<crate::operation::get_dev_endpoint::GetDevEndpointError> for Error {
4100 fn from(err: crate::operation::get_dev_endpoint::GetDevEndpointError) -> Self {
4101 match err {
4102 crate::operation::get_dev_endpoint::GetDevEndpointError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4103 crate::operation::get_dev_endpoint::GetDevEndpointError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4104 crate::operation::get_dev_endpoint::GetDevEndpointError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4105 crate::operation::get_dev_endpoint::GetDevEndpointError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4106 crate::operation::get_dev_endpoint::GetDevEndpointError::Unhandled(inner) => Error::Unhandled(inner),
4107 }
4108 }
4109}
4110impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_dev_endpoints::GetDevEndpointsError, R>> for Error
4111where
4112 R: Send + Sync + std::fmt::Debug + 'static,
4113{
4114 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_dev_endpoints::GetDevEndpointsError, R>) -> 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_dev_endpoints::GetDevEndpointsError> for Error {
4125 fn from(err: crate::operation::get_dev_endpoints::GetDevEndpointsError) -> Self {
4126 match err {
4127 crate::operation::get_dev_endpoints::GetDevEndpointsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4128 crate::operation::get_dev_endpoints::GetDevEndpointsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4129 crate::operation::get_dev_endpoints::GetDevEndpointsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4130 crate::operation::get_dev_endpoints::GetDevEndpointsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4131 crate::operation::get_dev_endpoints::GetDevEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
4132 }
4133 }
4134}
4135impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_entity_records::GetEntityRecordsError, R>> for Error
4136where
4137 R: Send + Sync + std::fmt::Debug + 'static,
4138{
4139 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_entity_records::GetEntityRecordsError, R>) -> Self {
4140 match err {
4141 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4142 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4143 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4144 source: err.into(),
4145 }),
4146 }
4147 }
4148}
4149impl From<crate::operation::get_entity_records::GetEntityRecordsError> for Error {
4150 fn from(err: crate::operation::get_entity_records::GetEntityRecordsError) -> Self {
4151 match err {
4152 crate::operation::get_entity_records::GetEntityRecordsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
4153 crate::operation::get_entity_records::GetEntityRecordsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4154 crate::operation::get_entity_records::GetEntityRecordsError::FederationSourceException(inner) => Error::FederationSourceException(inner),
4155 crate::operation::get_entity_records::GetEntityRecordsError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
4156 crate::operation::get_entity_records::GetEntityRecordsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4157 crate::operation::get_entity_records::GetEntityRecordsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4158 crate::operation::get_entity_records::GetEntityRecordsError::ValidationException(inner) => Error::ValidationException(inner),
4159 crate::operation::get_entity_records::GetEntityRecordsError::Unhandled(inner) => Error::Unhandled(inner),
4160 }
4161 }
4162}
4163impl<R>
4164 From<
4165 ::aws_smithy_runtime_api::client::result::SdkError<
4166 crate::operation::get_glue_identity_center_configuration::GetGlueIdentityCenterConfigurationError,
4167 R,
4168 >,
4169 > for Error
4170where
4171 R: Send + Sync + std::fmt::Debug + 'static,
4172{
4173 fn from(
4174 err: ::aws_smithy_runtime_api::client::result::SdkError<
4175 crate::operation::get_glue_identity_center_configuration::GetGlueIdentityCenterConfigurationError,
4176 R,
4177 >,
4178 ) -> Self {
4179 match err {
4180 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4181 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4182 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4183 source: err.into(),
4184 }),
4185 }
4186 }
4187}
4188impl From<crate::operation::get_glue_identity_center_configuration::GetGlueIdentityCenterConfigurationError> for Error {
4189 fn from(err: crate::operation::get_glue_identity_center_configuration::GetGlueIdentityCenterConfigurationError) -> Self {
4190 match err {
4191 crate::operation::get_glue_identity_center_configuration::GetGlueIdentityCenterConfigurationError::AccessDeniedException(inner) => {
4192 Error::AccessDeniedException(inner)
4193 }
4194 crate::operation::get_glue_identity_center_configuration::GetGlueIdentityCenterConfigurationError::ConcurrentModificationException(
4195 inner,
4196 ) => Error::ConcurrentModificationException(inner),
4197 crate::operation::get_glue_identity_center_configuration::GetGlueIdentityCenterConfigurationError::EntityNotFoundException(inner) => {
4198 Error::EntityNotFoundException(inner)
4199 }
4200 crate::operation::get_glue_identity_center_configuration::GetGlueIdentityCenterConfigurationError::InternalServiceException(inner) => {
4201 Error::InternalServiceException(inner)
4202 }
4203 crate::operation::get_glue_identity_center_configuration::GetGlueIdentityCenterConfigurationError::InvalidInputException(inner) => {
4204 Error::InvalidInputException(inner)
4205 }
4206 crate::operation::get_glue_identity_center_configuration::GetGlueIdentityCenterConfigurationError::OperationTimeoutException(inner) => {
4207 Error::OperationTimeoutException(inner)
4208 }
4209 crate::operation::get_glue_identity_center_configuration::GetGlueIdentityCenterConfigurationError::Unhandled(inner) => {
4210 Error::Unhandled(inner)
4211 }
4212 }
4213 }
4214}
4215impl<R>
4216 From<
4217 ::aws_smithy_runtime_api::client::result::SdkError<
4218 crate::operation::get_integration_resource_property::GetIntegrationResourcePropertyError,
4219 R,
4220 >,
4221 > for Error
4222where
4223 R: Send + Sync + std::fmt::Debug + 'static,
4224{
4225 fn from(
4226 err: ::aws_smithy_runtime_api::client::result::SdkError<
4227 crate::operation::get_integration_resource_property::GetIntegrationResourcePropertyError,
4228 R,
4229 >,
4230 ) -> Self {
4231 match err {
4232 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4233 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4234 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4235 source: err.into(),
4236 }),
4237 }
4238 }
4239}
4240impl From<crate::operation::get_integration_resource_property::GetIntegrationResourcePropertyError> for Error {
4241 fn from(err: crate::operation::get_integration_resource_property::GetIntegrationResourcePropertyError) -> Self {
4242 match err {
4243 crate::operation::get_integration_resource_property::GetIntegrationResourcePropertyError::AccessDeniedException(inner) => {
4244 Error::AccessDeniedException(inner)
4245 }
4246 crate::operation::get_integration_resource_property::GetIntegrationResourcePropertyError::EntityNotFoundException(inner) => {
4247 Error::EntityNotFoundException(inner)
4248 }
4249 crate::operation::get_integration_resource_property::GetIntegrationResourcePropertyError::InternalServerException(inner) => {
4250 Error::InternalServerException(inner)
4251 }
4252 crate::operation::get_integration_resource_property::GetIntegrationResourcePropertyError::InternalServiceException(inner) => {
4253 Error::InternalServiceException(inner)
4254 }
4255 crate::operation::get_integration_resource_property::GetIntegrationResourcePropertyError::InvalidInputException(inner) => {
4256 Error::InvalidInputException(inner)
4257 }
4258 crate::operation::get_integration_resource_property::GetIntegrationResourcePropertyError::ResourceNotFoundException(inner) => {
4259 Error::ResourceNotFoundException(inner)
4260 }
4261 crate::operation::get_integration_resource_property::GetIntegrationResourcePropertyError::ValidationException(inner) => {
4262 Error::ValidationException(inner)
4263 }
4264 crate::operation::get_integration_resource_property::GetIntegrationResourcePropertyError::Unhandled(inner) => Error::Unhandled(inner),
4265 }
4266 }
4267}
4268impl<R>
4269 From<
4270 ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_integration_table_properties::GetIntegrationTablePropertiesError, R>,
4271 > for Error
4272where
4273 R: Send + Sync + std::fmt::Debug + 'static,
4274{
4275 fn from(
4276 err: ::aws_smithy_runtime_api::client::result::SdkError<
4277 crate::operation::get_integration_table_properties::GetIntegrationTablePropertiesError,
4278 R,
4279 >,
4280 ) -> 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_integration_table_properties::GetIntegrationTablePropertiesError> for Error {
4291 fn from(err: crate::operation::get_integration_table_properties::GetIntegrationTablePropertiesError) -> Self {
4292 match err {
4293 crate::operation::get_integration_table_properties::GetIntegrationTablePropertiesError::AccessDeniedException(inner) => {
4294 Error::AccessDeniedException(inner)
4295 }
4296 crate::operation::get_integration_table_properties::GetIntegrationTablePropertiesError::EntityNotFoundException(inner) => {
4297 Error::EntityNotFoundException(inner)
4298 }
4299 crate::operation::get_integration_table_properties::GetIntegrationTablePropertiesError::InternalServerException(inner) => {
4300 Error::InternalServerException(inner)
4301 }
4302 crate::operation::get_integration_table_properties::GetIntegrationTablePropertiesError::InternalServiceException(inner) => {
4303 Error::InternalServiceException(inner)
4304 }
4305 crate::operation::get_integration_table_properties::GetIntegrationTablePropertiesError::InvalidInputException(inner) => {
4306 Error::InvalidInputException(inner)
4307 }
4308 crate::operation::get_integration_table_properties::GetIntegrationTablePropertiesError::ResourceNotFoundException(inner) => {
4309 Error::ResourceNotFoundException(inner)
4310 }
4311 crate::operation::get_integration_table_properties::GetIntegrationTablePropertiesError::ValidationException(inner) => {
4312 Error::ValidationException(inner)
4313 }
4314 crate::operation::get_integration_table_properties::GetIntegrationTablePropertiesError::Unhandled(inner) => Error::Unhandled(inner),
4315 }
4316 }
4317}
4318impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_job::GetJobError, R>> for Error
4319where
4320 R: Send + Sync + std::fmt::Debug + 'static,
4321{
4322 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_job::GetJobError, R>) -> Self {
4323 match err {
4324 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4325 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4326 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4327 source: err.into(),
4328 }),
4329 }
4330 }
4331}
4332impl From<crate::operation::get_job::GetJobError> for Error {
4333 fn from(err: crate::operation::get_job::GetJobError) -> Self {
4334 match err {
4335 crate::operation::get_job::GetJobError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4336 crate::operation::get_job::GetJobError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4337 crate::operation::get_job::GetJobError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4338 crate::operation::get_job::GetJobError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4339 crate::operation::get_job::GetJobError::Unhandled(inner) => Error::Unhandled(inner),
4340 }
4341 }
4342}
4343impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_job_bookmark::GetJobBookmarkError, R>> for Error
4344where
4345 R: Send + Sync + std::fmt::Debug + 'static,
4346{
4347 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_job_bookmark::GetJobBookmarkError, R>) -> Self {
4348 match err {
4349 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4350 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4351 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4352 source: err.into(),
4353 }),
4354 }
4355 }
4356}
4357impl From<crate::operation::get_job_bookmark::GetJobBookmarkError> for Error {
4358 fn from(err: crate::operation::get_job_bookmark::GetJobBookmarkError) -> Self {
4359 match err {
4360 crate::operation::get_job_bookmark::GetJobBookmarkError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4361 crate::operation::get_job_bookmark::GetJobBookmarkError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4362 crate::operation::get_job_bookmark::GetJobBookmarkError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4363 crate::operation::get_job_bookmark::GetJobBookmarkError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4364 crate::operation::get_job_bookmark::GetJobBookmarkError::ValidationException(inner) => Error::ValidationException(inner),
4365 crate::operation::get_job_bookmark::GetJobBookmarkError::Unhandled(inner) => Error::Unhandled(inner),
4366 }
4367 }
4368}
4369impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_job_run::GetJobRunError, R>> for Error
4370where
4371 R: Send + Sync + std::fmt::Debug + 'static,
4372{
4373 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_job_run::GetJobRunError, R>) -> Self {
4374 match err {
4375 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4376 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4377 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4378 source: err.into(),
4379 }),
4380 }
4381 }
4382}
4383impl From<crate::operation::get_job_run::GetJobRunError> for Error {
4384 fn from(err: crate::operation::get_job_run::GetJobRunError) -> Self {
4385 match err {
4386 crate::operation::get_job_run::GetJobRunError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4387 crate::operation::get_job_run::GetJobRunError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4388 crate::operation::get_job_run::GetJobRunError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4389 crate::operation::get_job_run::GetJobRunError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4390 crate::operation::get_job_run::GetJobRunError::Unhandled(inner) => Error::Unhandled(inner),
4391 }
4392 }
4393}
4394impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_job_runs::GetJobRunsError, R>> for Error
4395where
4396 R: Send + Sync + std::fmt::Debug + 'static,
4397{
4398 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_job_runs::GetJobRunsError, R>) -> Self {
4399 match err {
4400 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4401 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4402 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4403 source: err.into(),
4404 }),
4405 }
4406 }
4407}
4408impl From<crate::operation::get_job_runs::GetJobRunsError> for Error {
4409 fn from(err: crate::operation::get_job_runs::GetJobRunsError) -> Self {
4410 match err {
4411 crate::operation::get_job_runs::GetJobRunsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4412 crate::operation::get_job_runs::GetJobRunsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4413 crate::operation::get_job_runs::GetJobRunsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4414 crate::operation::get_job_runs::GetJobRunsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4415 crate::operation::get_job_runs::GetJobRunsError::Unhandled(inner) => Error::Unhandled(inner),
4416 }
4417 }
4418}
4419impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_jobs::GetJobsError, R>> for Error
4420where
4421 R: Send + Sync + std::fmt::Debug + 'static,
4422{
4423 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_jobs::GetJobsError, R>) -> Self {
4424 match err {
4425 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4426 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4427 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4428 source: err.into(),
4429 }),
4430 }
4431 }
4432}
4433impl From<crate::operation::get_jobs::GetJobsError> for Error {
4434 fn from(err: crate::operation::get_jobs::GetJobsError) -> Self {
4435 match err {
4436 crate::operation::get_jobs::GetJobsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4437 crate::operation::get_jobs::GetJobsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4438 crate::operation::get_jobs::GetJobsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4439 crate::operation::get_jobs::GetJobsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4440 crate::operation::get_jobs::GetJobsError::Unhandled(inner) => Error::Unhandled(inner),
4441 }
4442 }
4443}
4444impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_mapping::GetMappingError, R>> for Error
4445where
4446 R: Send + Sync + std::fmt::Debug + 'static,
4447{
4448 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_mapping::GetMappingError, R>) -> Self {
4449 match err {
4450 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4451 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4452 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4453 source: err.into(),
4454 }),
4455 }
4456 }
4457}
4458impl From<crate::operation::get_mapping::GetMappingError> for Error {
4459 fn from(err: crate::operation::get_mapping::GetMappingError) -> Self {
4460 match err {
4461 crate::operation::get_mapping::GetMappingError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4462 crate::operation::get_mapping::GetMappingError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4463 crate::operation::get_mapping::GetMappingError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4464 crate::operation::get_mapping::GetMappingError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4465 crate::operation::get_mapping::GetMappingError::Unhandled(inner) => Error::Unhandled(inner),
4466 }
4467 }
4468}
4469impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ml_task_run::GetMLTaskRunError, R>> for Error
4470where
4471 R: Send + Sync + std::fmt::Debug + 'static,
4472{
4473 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ml_task_run::GetMLTaskRunError, R>) -> Self {
4474 match err {
4475 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4476 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4477 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4478 source: err.into(),
4479 }),
4480 }
4481 }
4482}
4483impl From<crate::operation::get_ml_task_run::GetMLTaskRunError> for Error {
4484 fn from(err: crate::operation::get_ml_task_run::GetMLTaskRunError) -> Self {
4485 match err {
4486 crate::operation::get_ml_task_run::GetMLTaskRunError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4487 crate::operation::get_ml_task_run::GetMLTaskRunError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4488 crate::operation::get_ml_task_run::GetMLTaskRunError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4489 crate::operation::get_ml_task_run::GetMLTaskRunError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4490 crate::operation::get_ml_task_run::GetMLTaskRunError::Unhandled(inner) => Error::Unhandled(inner),
4491 }
4492 }
4493}
4494impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ml_task_runs::GetMLTaskRunsError, R>> for Error
4495where
4496 R: Send + Sync + std::fmt::Debug + 'static,
4497{
4498 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ml_task_runs::GetMLTaskRunsError, R>) -> Self {
4499 match err {
4500 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4501 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4502 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4503 source: err.into(),
4504 }),
4505 }
4506 }
4507}
4508impl From<crate::operation::get_ml_task_runs::GetMLTaskRunsError> for Error {
4509 fn from(err: crate::operation::get_ml_task_runs::GetMLTaskRunsError) -> Self {
4510 match err {
4511 crate::operation::get_ml_task_runs::GetMLTaskRunsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4512 crate::operation::get_ml_task_runs::GetMLTaskRunsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4513 crate::operation::get_ml_task_runs::GetMLTaskRunsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4514 crate::operation::get_ml_task_runs::GetMLTaskRunsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4515 crate::operation::get_ml_task_runs::GetMLTaskRunsError::Unhandled(inner) => Error::Unhandled(inner),
4516 }
4517 }
4518}
4519impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ml_transform::GetMLTransformError, R>> for Error
4520where
4521 R: Send + Sync + std::fmt::Debug + 'static,
4522{
4523 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ml_transform::GetMLTransformError, R>) -> Self {
4524 match err {
4525 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4526 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4527 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4528 source: err.into(),
4529 }),
4530 }
4531 }
4532}
4533impl From<crate::operation::get_ml_transform::GetMLTransformError> for Error {
4534 fn from(err: crate::operation::get_ml_transform::GetMLTransformError) -> Self {
4535 match err {
4536 crate::operation::get_ml_transform::GetMLTransformError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4537 crate::operation::get_ml_transform::GetMLTransformError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4538 crate::operation::get_ml_transform::GetMLTransformError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4539 crate::operation::get_ml_transform::GetMLTransformError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4540 crate::operation::get_ml_transform::GetMLTransformError::Unhandled(inner) => Error::Unhandled(inner),
4541 }
4542 }
4543}
4544impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ml_transforms::GetMLTransformsError, R>> for Error
4545where
4546 R: Send + Sync + std::fmt::Debug + 'static,
4547{
4548 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ml_transforms::GetMLTransformsError, R>) -> 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_ml_transforms::GetMLTransformsError> for Error {
4559 fn from(err: crate::operation::get_ml_transforms::GetMLTransformsError) -> Self {
4560 match err {
4561 crate::operation::get_ml_transforms::GetMLTransformsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4562 crate::operation::get_ml_transforms::GetMLTransformsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4563 crate::operation::get_ml_transforms::GetMLTransformsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4564 crate::operation::get_ml_transforms::GetMLTransformsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4565 crate::operation::get_ml_transforms::GetMLTransformsError::Unhandled(inner) => Error::Unhandled(inner),
4566 }
4567 }
4568}
4569impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_partition::GetPartitionError, R>> for Error
4570where
4571 R: Send + Sync + std::fmt::Debug + 'static,
4572{
4573 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_partition::GetPartitionError, R>) -> Self {
4574 match err {
4575 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4576 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4577 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4578 source: err.into(),
4579 }),
4580 }
4581 }
4582}
4583impl From<crate::operation::get_partition::GetPartitionError> for Error {
4584 fn from(err: crate::operation::get_partition::GetPartitionError) -> Self {
4585 match err {
4586 crate::operation::get_partition::GetPartitionError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4587 crate::operation::get_partition::GetPartitionError::FederationSourceException(inner) => Error::FederationSourceException(inner),
4588 crate::operation::get_partition::GetPartitionError::FederationSourceRetryableException(inner) => {
4589 Error::FederationSourceRetryableException(inner)
4590 }
4591 crate::operation::get_partition::GetPartitionError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
4592 crate::operation::get_partition::GetPartitionError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4593 crate::operation::get_partition::GetPartitionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4594 crate::operation::get_partition::GetPartitionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4595 crate::operation::get_partition::GetPartitionError::Unhandled(inner) => Error::Unhandled(inner),
4596 }
4597 }
4598}
4599impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_partition_indexes::GetPartitionIndexesError, R>> for Error
4600where
4601 R: Send + Sync + std::fmt::Debug + 'static,
4602{
4603 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_partition_indexes::GetPartitionIndexesError, R>) -> Self {
4604 match err {
4605 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4606 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4607 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4608 source: err.into(),
4609 }),
4610 }
4611 }
4612}
4613impl From<crate::operation::get_partition_indexes::GetPartitionIndexesError> for Error {
4614 fn from(err: crate::operation::get_partition_indexes::GetPartitionIndexesError) -> Self {
4615 match err {
4616 crate::operation::get_partition_indexes::GetPartitionIndexesError::ConflictException(inner) => Error::ConflictException(inner),
4617 crate::operation::get_partition_indexes::GetPartitionIndexesError::EntityNotFoundException(inner) => {
4618 Error::EntityNotFoundException(inner)
4619 }
4620 crate::operation::get_partition_indexes::GetPartitionIndexesError::InternalServiceException(inner) => {
4621 Error::InternalServiceException(inner)
4622 }
4623 crate::operation::get_partition_indexes::GetPartitionIndexesError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4624 crate::operation::get_partition_indexes::GetPartitionIndexesError::OperationTimeoutException(inner) => {
4625 Error::OperationTimeoutException(inner)
4626 }
4627 crate::operation::get_partition_indexes::GetPartitionIndexesError::Unhandled(inner) => Error::Unhandled(inner),
4628 }
4629 }
4630}
4631impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_partitions::GetPartitionsError, R>> for Error
4632where
4633 R: Send + Sync + std::fmt::Debug + 'static,
4634{
4635 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_partitions::GetPartitionsError, R>) -> Self {
4636 match err {
4637 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4638 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4639 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4640 source: err.into(),
4641 }),
4642 }
4643 }
4644}
4645impl From<crate::operation::get_partitions::GetPartitionsError> for Error {
4646 fn from(err: crate::operation::get_partitions::GetPartitionsError) -> Self {
4647 match err {
4648 crate::operation::get_partitions::GetPartitionsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4649 crate::operation::get_partitions::GetPartitionsError::FederationSourceException(inner) => Error::FederationSourceException(inner),
4650 crate::operation::get_partitions::GetPartitionsError::FederationSourceRetryableException(inner) => {
4651 Error::FederationSourceRetryableException(inner)
4652 }
4653 crate::operation::get_partitions::GetPartitionsError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
4654 crate::operation::get_partitions::GetPartitionsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4655 crate::operation::get_partitions::GetPartitionsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4656 crate::operation::get_partitions::GetPartitionsError::InvalidStateException(inner) => Error::InvalidStateException(inner),
4657 crate::operation::get_partitions::GetPartitionsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4658 crate::operation::get_partitions::GetPartitionsError::ResourceNotReadyException(inner) => Error::ResourceNotReadyException(inner),
4659 crate::operation::get_partitions::GetPartitionsError::Unhandled(inner) => Error::Unhandled(inner),
4660 }
4661 }
4662}
4663impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_plan::GetPlanError, R>> for Error
4664where
4665 R: Send + Sync + std::fmt::Debug + 'static,
4666{
4667 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_plan::GetPlanError, R>) -> Self {
4668 match err {
4669 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4670 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4671 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4672 source: err.into(),
4673 }),
4674 }
4675 }
4676}
4677impl From<crate::operation::get_plan::GetPlanError> for Error {
4678 fn from(err: crate::operation::get_plan::GetPlanError) -> Self {
4679 match err {
4680 crate::operation::get_plan::GetPlanError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4681 crate::operation::get_plan::GetPlanError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4682 crate::operation::get_plan::GetPlanError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4683 crate::operation::get_plan::GetPlanError::Unhandled(inner) => Error::Unhandled(inner),
4684 }
4685 }
4686}
4687impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_registry::GetRegistryError, R>> for Error
4688where
4689 R: Send + Sync + std::fmt::Debug + 'static,
4690{
4691 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_registry::GetRegistryError, R>) -> 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_registry::GetRegistryError> for Error {
4702 fn from(err: crate::operation::get_registry::GetRegistryError) -> Self {
4703 match err {
4704 crate::operation::get_registry::GetRegistryError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
4705 crate::operation::get_registry::GetRegistryError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4706 crate::operation::get_registry::GetRegistryError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4707 crate::operation::get_registry::GetRegistryError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4708 crate::operation::get_registry::GetRegistryError::Unhandled(inner) => Error::Unhandled(inner),
4709 }
4710 }
4711}
4712impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_resource_policies::GetResourcePoliciesError, R>> for Error
4713where
4714 R: Send + Sync + std::fmt::Debug + 'static,
4715{
4716 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_resource_policies::GetResourcePoliciesError, R>) -> Self {
4717 match err {
4718 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4719 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4720 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4721 source: err.into(),
4722 }),
4723 }
4724 }
4725}
4726impl From<crate::operation::get_resource_policies::GetResourcePoliciesError> for Error {
4727 fn from(err: crate::operation::get_resource_policies::GetResourcePoliciesError) -> Self {
4728 match err {
4729 crate::operation::get_resource_policies::GetResourcePoliciesError::GlueEncryptionException(inner) => {
4730 Error::GlueEncryptionException(inner)
4731 }
4732 crate::operation::get_resource_policies::GetResourcePoliciesError::InternalServiceException(inner) => {
4733 Error::InternalServiceException(inner)
4734 }
4735 crate::operation::get_resource_policies::GetResourcePoliciesError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4736 crate::operation::get_resource_policies::GetResourcePoliciesError::OperationTimeoutException(inner) => {
4737 Error::OperationTimeoutException(inner)
4738 }
4739 crate::operation::get_resource_policies::GetResourcePoliciesError::Unhandled(inner) => Error::Unhandled(inner),
4740 }
4741 }
4742}
4743impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_resource_policy::GetResourcePolicyError, R>> for Error
4744where
4745 R: Send + Sync + std::fmt::Debug + 'static,
4746{
4747 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_resource_policy::GetResourcePolicyError, R>) -> Self {
4748 match err {
4749 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4750 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4751 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4752 source: err.into(),
4753 }),
4754 }
4755 }
4756}
4757impl From<crate::operation::get_resource_policy::GetResourcePolicyError> for Error {
4758 fn from(err: crate::operation::get_resource_policy::GetResourcePolicyError) -> Self {
4759 match err {
4760 crate::operation::get_resource_policy::GetResourcePolicyError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4761 crate::operation::get_resource_policy::GetResourcePolicyError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4762 crate::operation::get_resource_policy::GetResourcePolicyError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4763 crate::operation::get_resource_policy::GetResourcePolicyError::OperationTimeoutException(inner) => {
4764 Error::OperationTimeoutException(inner)
4765 }
4766 crate::operation::get_resource_policy::GetResourcePolicyError::Unhandled(inner) => Error::Unhandled(inner),
4767 }
4768 }
4769}
4770impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_schema::GetSchemaError, R>> for Error
4771where
4772 R: Send + Sync + std::fmt::Debug + 'static,
4773{
4774 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_schema::GetSchemaError, R>) -> Self {
4775 match err {
4776 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4777 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4778 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4779 source: err.into(),
4780 }),
4781 }
4782 }
4783}
4784impl From<crate::operation::get_schema::GetSchemaError> for Error {
4785 fn from(err: crate::operation::get_schema::GetSchemaError) -> Self {
4786 match err {
4787 crate::operation::get_schema::GetSchemaError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
4788 crate::operation::get_schema::GetSchemaError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4789 crate::operation::get_schema::GetSchemaError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4790 crate::operation::get_schema::GetSchemaError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4791 crate::operation::get_schema::GetSchemaError::Unhandled(inner) => Error::Unhandled(inner),
4792 }
4793 }
4794}
4795impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_schema_by_definition::GetSchemaByDefinitionError, R>> for Error
4796where
4797 R: Send + Sync + std::fmt::Debug + 'static,
4798{
4799 fn from(
4800 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_schema_by_definition::GetSchemaByDefinitionError, R>,
4801 ) -> Self {
4802 match err {
4803 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4804 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4805 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4806 source: err.into(),
4807 }),
4808 }
4809 }
4810}
4811impl From<crate::operation::get_schema_by_definition::GetSchemaByDefinitionError> for Error {
4812 fn from(err: crate::operation::get_schema_by_definition::GetSchemaByDefinitionError) -> Self {
4813 match err {
4814 crate::operation::get_schema_by_definition::GetSchemaByDefinitionError::AccessDeniedException(inner) => {
4815 Error::AccessDeniedException(inner)
4816 }
4817 crate::operation::get_schema_by_definition::GetSchemaByDefinitionError::EntityNotFoundException(inner) => {
4818 Error::EntityNotFoundException(inner)
4819 }
4820 crate::operation::get_schema_by_definition::GetSchemaByDefinitionError::InternalServiceException(inner) => {
4821 Error::InternalServiceException(inner)
4822 }
4823 crate::operation::get_schema_by_definition::GetSchemaByDefinitionError::InvalidInputException(inner) => {
4824 Error::InvalidInputException(inner)
4825 }
4826 crate::operation::get_schema_by_definition::GetSchemaByDefinitionError::Unhandled(inner) => Error::Unhandled(inner),
4827 }
4828 }
4829}
4830impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_schema_version::GetSchemaVersionError, R>> for Error
4831where
4832 R: Send + Sync + std::fmt::Debug + 'static,
4833{
4834 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_schema_version::GetSchemaVersionError, R>) -> Self {
4835 match err {
4836 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4837 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4838 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4839 source: err.into(),
4840 }),
4841 }
4842 }
4843}
4844impl From<crate::operation::get_schema_version::GetSchemaVersionError> for Error {
4845 fn from(err: crate::operation::get_schema_version::GetSchemaVersionError) -> Self {
4846 match err {
4847 crate::operation::get_schema_version::GetSchemaVersionError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
4848 crate::operation::get_schema_version::GetSchemaVersionError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4849 crate::operation::get_schema_version::GetSchemaVersionError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4850 crate::operation::get_schema_version::GetSchemaVersionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4851 crate::operation::get_schema_version::GetSchemaVersionError::Unhandled(inner) => Error::Unhandled(inner),
4852 }
4853 }
4854}
4855impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_schema_versions_diff::GetSchemaVersionsDiffError, R>> for Error
4856where
4857 R: Send + Sync + std::fmt::Debug + 'static,
4858{
4859 fn from(
4860 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_schema_versions_diff::GetSchemaVersionsDiffError, R>,
4861 ) -> Self {
4862 match err {
4863 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4864 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4865 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4866 source: err.into(),
4867 }),
4868 }
4869 }
4870}
4871impl From<crate::operation::get_schema_versions_diff::GetSchemaVersionsDiffError> for Error {
4872 fn from(err: crate::operation::get_schema_versions_diff::GetSchemaVersionsDiffError) -> Self {
4873 match err {
4874 crate::operation::get_schema_versions_diff::GetSchemaVersionsDiffError::AccessDeniedException(inner) => {
4875 Error::AccessDeniedException(inner)
4876 }
4877 crate::operation::get_schema_versions_diff::GetSchemaVersionsDiffError::EntityNotFoundException(inner) => {
4878 Error::EntityNotFoundException(inner)
4879 }
4880 crate::operation::get_schema_versions_diff::GetSchemaVersionsDiffError::InternalServiceException(inner) => {
4881 Error::InternalServiceException(inner)
4882 }
4883 crate::operation::get_schema_versions_diff::GetSchemaVersionsDiffError::InvalidInputException(inner) => {
4884 Error::InvalidInputException(inner)
4885 }
4886 crate::operation::get_schema_versions_diff::GetSchemaVersionsDiffError::Unhandled(inner) => Error::Unhandled(inner),
4887 }
4888 }
4889}
4890impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_security_configuration::GetSecurityConfigurationError, R>>
4891 for Error
4892where
4893 R: Send + Sync + std::fmt::Debug + 'static,
4894{
4895 fn from(
4896 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_security_configuration::GetSecurityConfigurationError, R>,
4897 ) -> Self {
4898 match err {
4899 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4900 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4901 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4902 source: err.into(),
4903 }),
4904 }
4905 }
4906}
4907impl From<crate::operation::get_security_configuration::GetSecurityConfigurationError> for Error {
4908 fn from(err: crate::operation::get_security_configuration::GetSecurityConfigurationError) -> Self {
4909 match err {
4910 crate::operation::get_security_configuration::GetSecurityConfigurationError::EntityNotFoundException(inner) => {
4911 Error::EntityNotFoundException(inner)
4912 }
4913 crate::operation::get_security_configuration::GetSecurityConfigurationError::InternalServiceException(inner) => {
4914 Error::InternalServiceException(inner)
4915 }
4916 crate::operation::get_security_configuration::GetSecurityConfigurationError::InvalidInputException(inner) => {
4917 Error::InvalidInputException(inner)
4918 }
4919 crate::operation::get_security_configuration::GetSecurityConfigurationError::OperationTimeoutException(inner) => {
4920 Error::OperationTimeoutException(inner)
4921 }
4922 crate::operation::get_security_configuration::GetSecurityConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
4923 }
4924 }
4925}
4926impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_security_configurations::GetSecurityConfigurationsError, R>>
4927 for Error
4928where
4929 R: Send + Sync + std::fmt::Debug + 'static,
4930{
4931 fn from(
4932 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_security_configurations::GetSecurityConfigurationsError, R>,
4933 ) -> Self {
4934 match err {
4935 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4936 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4937 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4938 source: err.into(),
4939 }),
4940 }
4941 }
4942}
4943impl From<crate::operation::get_security_configurations::GetSecurityConfigurationsError> for Error {
4944 fn from(err: crate::operation::get_security_configurations::GetSecurityConfigurationsError) -> Self {
4945 match err {
4946 crate::operation::get_security_configurations::GetSecurityConfigurationsError::EntityNotFoundException(inner) => {
4947 Error::EntityNotFoundException(inner)
4948 }
4949 crate::operation::get_security_configurations::GetSecurityConfigurationsError::InternalServiceException(inner) => {
4950 Error::InternalServiceException(inner)
4951 }
4952 crate::operation::get_security_configurations::GetSecurityConfigurationsError::InvalidInputException(inner) => {
4953 Error::InvalidInputException(inner)
4954 }
4955 crate::operation::get_security_configurations::GetSecurityConfigurationsError::OperationTimeoutException(inner) => {
4956 Error::OperationTimeoutException(inner)
4957 }
4958 crate::operation::get_security_configurations::GetSecurityConfigurationsError::Unhandled(inner) => Error::Unhandled(inner),
4959 }
4960 }
4961}
4962impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_session::GetSessionError, R>> for Error
4963where
4964 R: Send + Sync + std::fmt::Debug + 'static,
4965{
4966 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_session::GetSessionError, R>) -> Self {
4967 match err {
4968 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4969 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4970 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4971 source: err.into(),
4972 }),
4973 }
4974 }
4975}
4976impl From<crate::operation::get_session::GetSessionError> for Error {
4977 fn from(err: crate::operation::get_session::GetSessionError) -> Self {
4978 match err {
4979 crate::operation::get_session::GetSessionError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
4980 crate::operation::get_session::GetSessionError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4981 crate::operation::get_session::GetSessionError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4982 crate::operation::get_session::GetSessionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4983 crate::operation::get_session::GetSessionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4984 crate::operation::get_session::GetSessionError::Unhandled(inner) => Error::Unhandled(inner),
4985 }
4986 }
4987}
4988impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_statement::GetStatementError, R>> for Error
4989where
4990 R: Send + Sync + std::fmt::Debug + 'static,
4991{
4992 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_statement::GetStatementError, R>) -> Self {
4993 match err {
4994 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4995 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4996 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4997 source: err.into(),
4998 }),
4999 }
5000 }
5001}
5002impl From<crate::operation::get_statement::GetStatementError> for Error {
5003 fn from(err: crate::operation::get_statement::GetStatementError) -> Self {
5004 match err {
5005 crate::operation::get_statement::GetStatementError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
5006 crate::operation::get_statement::GetStatementError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5007 crate::operation::get_statement::GetStatementError::IllegalSessionStateException(inner) => Error::IllegalSessionStateException(inner),
5008 crate::operation::get_statement::GetStatementError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5009 crate::operation::get_statement::GetStatementError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5010 crate::operation::get_statement::GetStatementError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5011 crate::operation::get_statement::GetStatementError::Unhandled(inner) => Error::Unhandled(inner),
5012 }
5013 }
5014}
5015impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_table::GetTableError, R>> for Error
5016where
5017 R: Send + Sync + std::fmt::Debug + 'static,
5018{
5019 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_table::GetTableError, R>) -> Self {
5020 match err {
5021 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5022 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5023 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5024 source: err.into(),
5025 }),
5026 }
5027 }
5028}
5029impl From<crate::operation::get_table::GetTableError> for Error {
5030 fn from(err: crate::operation::get_table::GetTableError) -> Self {
5031 match err {
5032 crate::operation::get_table::GetTableError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5033 crate::operation::get_table::GetTableError::FederationSourceException(inner) => Error::FederationSourceException(inner),
5034 crate::operation::get_table::GetTableError::FederationSourceRetryableException(inner) => Error::FederationSourceRetryableException(inner),
5035 crate::operation::get_table::GetTableError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
5036 crate::operation::get_table::GetTableError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5037 crate::operation::get_table::GetTableError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5038 crate::operation::get_table::GetTableError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5039 crate::operation::get_table::GetTableError::ResourceNotReadyException(inner) => Error::ResourceNotReadyException(inner),
5040 crate::operation::get_table::GetTableError::Unhandled(inner) => Error::Unhandled(inner),
5041 }
5042 }
5043}
5044impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_table_optimizer::GetTableOptimizerError, R>> for Error
5045where
5046 R: Send + Sync + std::fmt::Debug + 'static,
5047{
5048 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_table_optimizer::GetTableOptimizerError, R>) -> Self {
5049 match err {
5050 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5051 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5052 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5053 source: err.into(),
5054 }),
5055 }
5056 }
5057}
5058impl From<crate::operation::get_table_optimizer::GetTableOptimizerError> for Error {
5059 fn from(err: crate::operation::get_table_optimizer::GetTableOptimizerError) -> Self {
5060 match err {
5061 crate::operation::get_table_optimizer::GetTableOptimizerError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
5062 crate::operation::get_table_optimizer::GetTableOptimizerError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5063 crate::operation::get_table_optimizer::GetTableOptimizerError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5064 crate::operation::get_table_optimizer::GetTableOptimizerError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5065 crate::operation::get_table_optimizer::GetTableOptimizerError::ThrottlingException(inner) => Error::ThrottlingException(inner),
5066 crate::operation::get_table_optimizer::GetTableOptimizerError::Unhandled(inner) => Error::Unhandled(inner),
5067 }
5068 }
5069}
5070impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_tables::GetTablesError, R>> for Error
5071where
5072 R: Send + Sync + std::fmt::Debug + 'static,
5073{
5074 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_tables::GetTablesError, R>) -> Self {
5075 match err {
5076 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5077 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5078 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5079 source: err.into(),
5080 }),
5081 }
5082 }
5083}
5084impl From<crate::operation::get_tables::GetTablesError> for Error {
5085 fn from(err: crate::operation::get_tables::GetTablesError) -> Self {
5086 match err {
5087 crate::operation::get_tables::GetTablesError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5088 crate::operation::get_tables::GetTablesError::FederationSourceException(inner) => Error::FederationSourceException(inner),
5089 crate::operation::get_tables::GetTablesError::FederationSourceRetryableException(inner) => {
5090 Error::FederationSourceRetryableException(inner)
5091 }
5092 crate::operation::get_tables::GetTablesError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
5093 crate::operation::get_tables::GetTablesError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5094 crate::operation::get_tables::GetTablesError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5095 crate::operation::get_tables::GetTablesError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5096 crate::operation::get_tables::GetTablesError::Unhandled(inner) => Error::Unhandled(inner),
5097 }
5098 }
5099}
5100impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_table_version::GetTableVersionError, R>> for Error
5101where
5102 R: Send + Sync + std::fmt::Debug + 'static,
5103{
5104 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_table_version::GetTableVersionError, R>) -> Self {
5105 match err {
5106 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5107 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5108 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5109 source: err.into(),
5110 }),
5111 }
5112 }
5113}
5114impl From<crate::operation::get_table_version::GetTableVersionError> for Error {
5115 fn from(err: crate::operation::get_table_version::GetTableVersionError) -> Self {
5116 match err {
5117 crate::operation::get_table_version::GetTableVersionError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5118 crate::operation::get_table_version::GetTableVersionError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
5119 crate::operation::get_table_version::GetTableVersionError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5120 crate::operation::get_table_version::GetTableVersionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5121 crate::operation::get_table_version::GetTableVersionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5122 crate::operation::get_table_version::GetTableVersionError::Unhandled(inner) => Error::Unhandled(inner),
5123 }
5124 }
5125}
5126impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_table_versions::GetTableVersionsError, R>> for Error
5127where
5128 R: Send + Sync + std::fmt::Debug + 'static,
5129{
5130 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_table_versions::GetTableVersionsError, R>) -> Self {
5131 match err {
5132 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5133 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5134 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5135 source: err.into(),
5136 }),
5137 }
5138 }
5139}
5140impl From<crate::operation::get_table_versions::GetTableVersionsError> for Error {
5141 fn from(err: crate::operation::get_table_versions::GetTableVersionsError) -> Self {
5142 match err {
5143 crate::operation::get_table_versions::GetTableVersionsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5144 crate::operation::get_table_versions::GetTableVersionsError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
5145 crate::operation::get_table_versions::GetTableVersionsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5146 crate::operation::get_table_versions::GetTableVersionsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5147 crate::operation::get_table_versions::GetTableVersionsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5148 crate::operation::get_table_versions::GetTableVersionsError::Unhandled(inner) => Error::Unhandled(inner),
5149 }
5150 }
5151}
5152impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_tags::GetTagsError, R>> for Error
5153where
5154 R: Send + Sync + std::fmt::Debug + 'static,
5155{
5156 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_tags::GetTagsError, R>) -> Self {
5157 match err {
5158 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5159 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5160 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5161 source: err.into(),
5162 }),
5163 }
5164 }
5165}
5166impl From<crate::operation::get_tags::GetTagsError> for Error {
5167 fn from(err: crate::operation::get_tags::GetTagsError) -> Self {
5168 match err {
5169 crate::operation::get_tags::GetTagsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5170 crate::operation::get_tags::GetTagsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5171 crate::operation::get_tags::GetTagsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5172 crate::operation::get_tags::GetTagsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5173 crate::operation::get_tags::GetTagsError::Unhandled(inner) => Error::Unhandled(inner),
5174 }
5175 }
5176}
5177impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_trigger::GetTriggerError, R>> for Error
5178where
5179 R: Send + Sync + std::fmt::Debug + 'static,
5180{
5181 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_trigger::GetTriggerError, R>) -> Self {
5182 match err {
5183 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5184 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5185 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5186 source: err.into(),
5187 }),
5188 }
5189 }
5190}
5191impl From<crate::operation::get_trigger::GetTriggerError> for Error {
5192 fn from(err: crate::operation::get_trigger::GetTriggerError) -> Self {
5193 match err {
5194 crate::operation::get_trigger::GetTriggerError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5195 crate::operation::get_trigger::GetTriggerError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5196 crate::operation::get_trigger::GetTriggerError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5197 crate::operation::get_trigger::GetTriggerError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5198 crate::operation::get_trigger::GetTriggerError::Unhandled(inner) => Error::Unhandled(inner),
5199 }
5200 }
5201}
5202impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_triggers::GetTriggersError, R>> for Error
5203where
5204 R: Send + Sync + std::fmt::Debug + 'static,
5205{
5206 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_triggers::GetTriggersError, R>) -> Self {
5207 match err {
5208 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5209 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5210 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5211 source: err.into(),
5212 }),
5213 }
5214 }
5215}
5216impl From<crate::operation::get_triggers::GetTriggersError> for Error {
5217 fn from(err: crate::operation::get_triggers::GetTriggersError) -> Self {
5218 match err {
5219 crate::operation::get_triggers::GetTriggersError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5220 crate::operation::get_triggers::GetTriggersError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5221 crate::operation::get_triggers::GetTriggersError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5222 crate::operation::get_triggers::GetTriggersError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5223 crate::operation::get_triggers::GetTriggersError::Unhandled(inner) => Error::Unhandled(inner),
5224 }
5225 }
5226}
5227impl<R>
5228 From<
5229 ::aws_smithy_runtime_api::client::result::SdkError<
5230 crate::operation::get_unfiltered_partition_metadata::GetUnfilteredPartitionMetadataError,
5231 R,
5232 >,
5233 > for Error
5234where
5235 R: Send + Sync + std::fmt::Debug + 'static,
5236{
5237 fn from(
5238 err: ::aws_smithy_runtime_api::client::result::SdkError<
5239 crate::operation::get_unfiltered_partition_metadata::GetUnfilteredPartitionMetadataError,
5240 R,
5241 >,
5242 ) -> Self {
5243 match err {
5244 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5245 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5246 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5247 source: err.into(),
5248 }),
5249 }
5250 }
5251}
5252impl From<crate::operation::get_unfiltered_partition_metadata::GetUnfilteredPartitionMetadataError> for Error {
5253 fn from(err: crate::operation::get_unfiltered_partition_metadata::GetUnfilteredPartitionMetadataError) -> Self {
5254 match err {
5255 crate::operation::get_unfiltered_partition_metadata::GetUnfilteredPartitionMetadataError::EntityNotFoundException(inner) => {
5256 Error::EntityNotFoundException(inner)
5257 }
5258 crate::operation::get_unfiltered_partition_metadata::GetUnfilteredPartitionMetadataError::FederationSourceException(inner) => {
5259 Error::FederationSourceException(inner)
5260 }
5261 crate::operation::get_unfiltered_partition_metadata::GetUnfilteredPartitionMetadataError::FederationSourceRetryableException(inner) => {
5262 Error::FederationSourceRetryableException(inner)
5263 }
5264 crate::operation::get_unfiltered_partition_metadata::GetUnfilteredPartitionMetadataError::GlueEncryptionException(inner) => {
5265 Error::GlueEncryptionException(inner)
5266 }
5267 crate::operation::get_unfiltered_partition_metadata::GetUnfilteredPartitionMetadataError::InternalServiceException(inner) => {
5268 Error::InternalServiceException(inner)
5269 }
5270 crate::operation::get_unfiltered_partition_metadata::GetUnfilteredPartitionMetadataError::InvalidInputException(inner) => {
5271 Error::InvalidInputException(inner)
5272 }
5273 crate::operation::get_unfiltered_partition_metadata::GetUnfilteredPartitionMetadataError::OperationTimeoutException(inner) => {
5274 Error::OperationTimeoutException(inner)
5275 }
5276 crate::operation::get_unfiltered_partition_metadata::GetUnfilteredPartitionMetadataError::PermissionTypeMismatchException(inner) => {
5277 Error::PermissionTypeMismatchException(inner)
5278 }
5279 crate::operation::get_unfiltered_partition_metadata::GetUnfilteredPartitionMetadataError::Unhandled(inner) => Error::Unhandled(inner),
5280 }
5281 }
5282}
5283impl<R>
5284 From<
5285 ::aws_smithy_runtime_api::client::result::SdkError<
5286 crate::operation::get_unfiltered_partitions_metadata::GetUnfilteredPartitionsMetadataError,
5287 R,
5288 >,
5289 > for Error
5290where
5291 R: Send + Sync + std::fmt::Debug + 'static,
5292{
5293 fn from(
5294 err: ::aws_smithy_runtime_api::client::result::SdkError<
5295 crate::operation::get_unfiltered_partitions_metadata::GetUnfilteredPartitionsMetadataError,
5296 R,
5297 >,
5298 ) -> Self {
5299 match err {
5300 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5301 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5302 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5303 source: err.into(),
5304 }),
5305 }
5306 }
5307}
5308impl From<crate::operation::get_unfiltered_partitions_metadata::GetUnfilteredPartitionsMetadataError> for Error {
5309 fn from(err: crate::operation::get_unfiltered_partitions_metadata::GetUnfilteredPartitionsMetadataError) -> Self {
5310 match err {
5311 crate::operation::get_unfiltered_partitions_metadata::GetUnfilteredPartitionsMetadataError::EntityNotFoundException(inner) => {
5312 Error::EntityNotFoundException(inner)
5313 }
5314 crate::operation::get_unfiltered_partitions_metadata::GetUnfilteredPartitionsMetadataError::FederationSourceException(inner) => {
5315 Error::FederationSourceException(inner)
5316 }
5317 crate::operation::get_unfiltered_partitions_metadata::GetUnfilteredPartitionsMetadataError::FederationSourceRetryableException(inner) => {
5318 Error::FederationSourceRetryableException(inner)
5319 }
5320 crate::operation::get_unfiltered_partitions_metadata::GetUnfilteredPartitionsMetadataError::GlueEncryptionException(inner) => {
5321 Error::GlueEncryptionException(inner)
5322 }
5323 crate::operation::get_unfiltered_partitions_metadata::GetUnfilteredPartitionsMetadataError::InternalServiceException(inner) => {
5324 Error::InternalServiceException(inner)
5325 }
5326 crate::operation::get_unfiltered_partitions_metadata::GetUnfilteredPartitionsMetadataError::InvalidInputException(inner) => {
5327 Error::InvalidInputException(inner)
5328 }
5329 crate::operation::get_unfiltered_partitions_metadata::GetUnfilteredPartitionsMetadataError::OperationTimeoutException(inner) => {
5330 Error::OperationTimeoutException(inner)
5331 }
5332 crate::operation::get_unfiltered_partitions_metadata::GetUnfilteredPartitionsMetadataError::PermissionTypeMismatchException(inner) => {
5333 Error::PermissionTypeMismatchException(inner)
5334 }
5335 crate::operation::get_unfiltered_partitions_metadata::GetUnfilteredPartitionsMetadataError::Unhandled(inner) => Error::Unhandled(inner),
5336 }
5337 }
5338}
5339impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_unfiltered_table_metadata::GetUnfilteredTableMetadataError, R>>
5340 for Error
5341where
5342 R: Send + Sync + std::fmt::Debug + 'static,
5343{
5344 fn from(
5345 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_unfiltered_table_metadata::GetUnfilteredTableMetadataError, R>,
5346 ) -> Self {
5347 match err {
5348 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5349 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5350 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5351 source: err.into(),
5352 }),
5353 }
5354 }
5355}
5356impl From<crate::operation::get_unfiltered_table_metadata::GetUnfilteredTableMetadataError> for Error {
5357 fn from(err: crate::operation::get_unfiltered_table_metadata::GetUnfilteredTableMetadataError) -> Self {
5358 match err {
5359 crate::operation::get_unfiltered_table_metadata::GetUnfilteredTableMetadataError::EntityNotFoundException(inner) => {
5360 Error::EntityNotFoundException(inner)
5361 }
5362 crate::operation::get_unfiltered_table_metadata::GetUnfilteredTableMetadataError::FederationSourceException(inner) => {
5363 Error::FederationSourceException(inner)
5364 }
5365 crate::operation::get_unfiltered_table_metadata::GetUnfilteredTableMetadataError::FederationSourceRetryableException(inner) => {
5366 Error::FederationSourceRetryableException(inner)
5367 }
5368 crate::operation::get_unfiltered_table_metadata::GetUnfilteredTableMetadataError::GlueEncryptionException(inner) => {
5369 Error::GlueEncryptionException(inner)
5370 }
5371 crate::operation::get_unfiltered_table_metadata::GetUnfilteredTableMetadataError::InternalServiceException(inner) => {
5372 Error::InternalServiceException(inner)
5373 }
5374 crate::operation::get_unfiltered_table_metadata::GetUnfilteredTableMetadataError::InvalidInputException(inner) => {
5375 Error::InvalidInputException(inner)
5376 }
5377 crate::operation::get_unfiltered_table_metadata::GetUnfilteredTableMetadataError::OperationTimeoutException(inner) => {
5378 Error::OperationTimeoutException(inner)
5379 }
5380 crate::operation::get_unfiltered_table_metadata::GetUnfilteredTableMetadataError::PermissionTypeMismatchException(inner) => {
5381 Error::PermissionTypeMismatchException(inner)
5382 }
5383 crate::operation::get_unfiltered_table_metadata::GetUnfilteredTableMetadataError::Unhandled(inner) => Error::Unhandled(inner),
5384 }
5385 }
5386}
5387impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_usage_profile::GetUsageProfileError, R>> for Error
5388where
5389 R: Send + Sync + std::fmt::Debug + 'static,
5390{
5391 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_usage_profile::GetUsageProfileError, R>) -> Self {
5392 match err {
5393 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5394 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5395 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5396 source: err.into(),
5397 }),
5398 }
5399 }
5400}
5401impl From<crate::operation::get_usage_profile::GetUsageProfileError> for Error {
5402 fn from(err: crate::operation::get_usage_profile::GetUsageProfileError) -> Self {
5403 match err {
5404 crate::operation::get_usage_profile::GetUsageProfileError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5405 crate::operation::get_usage_profile::GetUsageProfileError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5406 crate::operation::get_usage_profile::GetUsageProfileError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5407 crate::operation::get_usage_profile::GetUsageProfileError::OperationNotSupportedException(inner) => {
5408 Error::OperationNotSupportedException(inner)
5409 }
5410 crate::operation::get_usage_profile::GetUsageProfileError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5411 crate::operation::get_usage_profile::GetUsageProfileError::Unhandled(inner) => Error::Unhandled(inner),
5412 }
5413 }
5414}
5415impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_user_defined_function::GetUserDefinedFunctionError, R>>
5416 for Error
5417where
5418 R: Send + Sync + std::fmt::Debug + 'static,
5419{
5420 fn from(
5421 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_user_defined_function::GetUserDefinedFunctionError, R>,
5422 ) -> Self {
5423 match err {
5424 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5425 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5426 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5427 source: err.into(),
5428 }),
5429 }
5430 }
5431}
5432impl From<crate::operation::get_user_defined_function::GetUserDefinedFunctionError> for Error {
5433 fn from(err: crate::operation::get_user_defined_function::GetUserDefinedFunctionError) -> Self {
5434 match err {
5435 crate::operation::get_user_defined_function::GetUserDefinedFunctionError::EntityNotFoundException(inner) => {
5436 Error::EntityNotFoundException(inner)
5437 }
5438 crate::operation::get_user_defined_function::GetUserDefinedFunctionError::GlueEncryptionException(inner) => {
5439 Error::GlueEncryptionException(inner)
5440 }
5441 crate::operation::get_user_defined_function::GetUserDefinedFunctionError::InternalServiceException(inner) => {
5442 Error::InternalServiceException(inner)
5443 }
5444 crate::operation::get_user_defined_function::GetUserDefinedFunctionError::InvalidInputException(inner) => {
5445 Error::InvalidInputException(inner)
5446 }
5447 crate::operation::get_user_defined_function::GetUserDefinedFunctionError::OperationTimeoutException(inner) => {
5448 Error::OperationTimeoutException(inner)
5449 }
5450 crate::operation::get_user_defined_function::GetUserDefinedFunctionError::Unhandled(inner) => Error::Unhandled(inner),
5451 }
5452 }
5453}
5454impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_user_defined_functions::GetUserDefinedFunctionsError, R>>
5455 for Error
5456where
5457 R: Send + Sync + std::fmt::Debug + 'static,
5458{
5459 fn from(
5460 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_user_defined_functions::GetUserDefinedFunctionsError, R>,
5461 ) -> Self {
5462 match err {
5463 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5464 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5465 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5466 source: err.into(),
5467 }),
5468 }
5469 }
5470}
5471impl From<crate::operation::get_user_defined_functions::GetUserDefinedFunctionsError> for Error {
5472 fn from(err: crate::operation::get_user_defined_functions::GetUserDefinedFunctionsError) -> Self {
5473 match err {
5474 crate::operation::get_user_defined_functions::GetUserDefinedFunctionsError::EntityNotFoundException(inner) => {
5475 Error::EntityNotFoundException(inner)
5476 }
5477 crate::operation::get_user_defined_functions::GetUserDefinedFunctionsError::GlueEncryptionException(inner) => {
5478 Error::GlueEncryptionException(inner)
5479 }
5480 crate::operation::get_user_defined_functions::GetUserDefinedFunctionsError::InternalServiceException(inner) => {
5481 Error::InternalServiceException(inner)
5482 }
5483 crate::operation::get_user_defined_functions::GetUserDefinedFunctionsError::InvalidInputException(inner) => {
5484 Error::InvalidInputException(inner)
5485 }
5486 crate::operation::get_user_defined_functions::GetUserDefinedFunctionsError::OperationTimeoutException(inner) => {
5487 Error::OperationTimeoutException(inner)
5488 }
5489 crate::operation::get_user_defined_functions::GetUserDefinedFunctionsError::Unhandled(inner) => Error::Unhandled(inner),
5490 }
5491 }
5492}
5493impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_workflow::GetWorkflowError, R>> for Error
5494where
5495 R: Send + Sync + std::fmt::Debug + 'static,
5496{
5497 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_workflow::GetWorkflowError, R>) -> Self {
5498 match err {
5499 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5500 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5501 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5502 source: err.into(),
5503 }),
5504 }
5505 }
5506}
5507impl From<crate::operation::get_workflow::GetWorkflowError> for Error {
5508 fn from(err: crate::operation::get_workflow::GetWorkflowError) -> Self {
5509 match err {
5510 crate::operation::get_workflow::GetWorkflowError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5511 crate::operation::get_workflow::GetWorkflowError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5512 crate::operation::get_workflow::GetWorkflowError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5513 crate::operation::get_workflow::GetWorkflowError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5514 crate::operation::get_workflow::GetWorkflowError::Unhandled(inner) => Error::Unhandled(inner),
5515 }
5516 }
5517}
5518impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_workflow_run::GetWorkflowRunError, R>> for Error
5519where
5520 R: Send + Sync + std::fmt::Debug + 'static,
5521{
5522 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_workflow_run::GetWorkflowRunError, R>) -> Self {
5523 match err {
5524 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5525 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5526 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5527 source: err.into(),
5528 }),
5529 }
5530 }
5531}
5532impl From<crate::operation::get_workflow_run::GetWorkflowRunError> for Error {
5533 fn from(err: crate::operation::get_workflow_run::GetWorkflowRunError) -> Self {
5534 match err {
5535 crate::operation::get_workflow_run::GetWorkflowRunError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5536 crate::operation::get_workflow_run::GetWorkflowRunError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5537 crate::operation::get_workflow_run::GetWorkflowRunError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5538 crate::operation::get_workflow_run::GetWorkflowRunError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5539 crate::operation::get_workflow_run::GetWorkflowRunError::Unhandled(inner) => Error::Unhandled(inner),
5540 }
5541 }
5542}
5543impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_workflow_run_properties::GetWorkflowRunPropertiesError, R>>
5544 for Error
5545where
5546 R: Send + Sync + std::fmt::Debug + 'static,
5547{
5548 fn from(
5549 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_workflow_run_properties::GetWorkflowRunPropertiesError, R>,
5550 ) -> Self {
5551 match err {
5552 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5553 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5554 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5555 source: err.into(),
5556 }),
5557 }
5558 }
5559}
5560impl From<crate::operation::get_workflow_run_properties::GetWorkflowRunPropertiesError> for Error {
5561 fn from(err: crate::operation::get_workflow_run_properties::GetWorkflowRunPropertiesError) -> Self {
5562 match err {
5563 crate::operation::get_workflow_run_properties::GetWorkflowRunPropertiesError::EntityNotFoundException(inner) => {
5564 Error::EntityNotFoundException(inner)
5565 }
5566 crate::operation::get_workflow_run_properties::GetWorkflowRunPropertiesError::InternalServiceException(inner) => {
5567 Error::InternalServiceException(inner)
5568 }
5569 crate::operation::get_workflow_run_properties::GetWorkflowRunPropertiesError::InvalidInputException(inner) => {
5570 Error::InvalidInputException(inner)
5571 }
5572 crate::operation::get_workflow_run_properties::GetWorkflowRunPropertiesError::OperationTimeoutException(inner) => {
5573 Error::OperationTimeoutException(inner)
5574 }
5575 crate::operation::get_workflow_run_properties::GetWorkflowRunPropertiesError::Unhandled(inner) => Error::Unhandled(inner),
5576 }
5577 }
5578}
5579impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_workflow_runs::GetWorkflowRunsError, R>> for Error
5580where
5581 R: Send + Sync + std::fmt::Debug + 'static,
5582{
5583 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_workflow_runs::GetWorkflowRunsError, R>) -> Self {
5584 match err {
5585 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5586 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5587 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5588 source: err.into(),
5589 }),
5590 }
5591 }
5592}
5593impl From<crate::operation::get_workflow_runs::GetWorkflowRunsError> for Error {
5594 fn from(err: crate::operation::get_workflow_runs::GetWorkflowRunsError) -> Self {
5595 match err {
5596 crate::operation::get_workflow_runs::GetWorkflowRunsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5597 crate::operation::get_workflow_runs::GetWorkflowRunsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5598 crate::operation::get_workflow_runs::GetWorkflowRunsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5599 crate::operation::get_workflow_runs::GetWorkflowRunsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5600 crate::operation::get_workflow_runs::GetWorkflowRunsError::Unhandled(inner) => Error::Unhandled(inner),
5601 }
5602 }
5603}
5604impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_catalog_to_glue::ImportCatalogToGlueError, R>> for Error
5605where
5606 R: Send + Sync + std::fmt::Debug + 'static,
5607{
5608 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_catalog_to_glue::ImportCatalogToGlueError, R>) -> Self {
5609 match err {
5610 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5611 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5612 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5613 source: err.into(),
5614 }),
5615 }
5616 }
5617}
5618impl From<crate::operation::import_catalog_to_glue::ImportCatalogToGlueError> for Error {
5619 fn from(err: crate::operation::import_catalog_to_glue::ImportCatalogToGlueError) -> Self {
5620 match err {
5621 crate::operation::import_catalog_to_glue::ImportCatalogToGlueError::InternalServiceException(inner) => {
5622 Error::InternalServiceException(inner)
5623 }
5624 crate::operation::import_catalog_to_glue::ImportCatalogToGlueError::OperationTimeoutException(inner) => {
5625 Error::OperationTimeoutException(inner)
5626 }
5627 crate::operation::import_catalog_to_glue::ImportCatalogToGlueError::Unhandled(inner) => Error::Unhandled(inner),
5628 }
5629 }
5630}
5631impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_blueprints::ListBlueprintsError, R>> for Error
5632where
5633 R: Send + Sync + std::fmt::Debug + 'static,
5634{
5635 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_blueprints::ListBlueprintsError, R>) -> Self {
5636 match err {
5637 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5638 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5639 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5640 source: err.into(),
5641 }),
5642 }
5643 }
5644}
5645impl From<crate::operation::list_blueprints::ListBlueprintsError> for Error {
5646 fn from(err: crate::operation::list_blueprints::ListBlueprintsError) -> Self {
5647 match err {
5648 crate::operation::list_blueprints::ListBlueprintsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5649 crate::operation::list_blueprints::ListBlueprintsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5650 crate::operation::list_blueprints::ListBlueprintsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5651 crate::operation::list_blueprints::ListBlueprintsError::Unhandled(inner) => Error::Unhandled(inner),
5652 }
5653 }
5654}
5655impl<R>
5656 From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_column_statistics_task_runs::ListColumnStatisticsTaskRunsError, R>>
5657 for Error
5658where
5659 R: Send + Sync + std::fmt::Debug + 'static,
5660{
5661 fn from(
5662 err: ::aws_smithy_runtime_api::client::result::SdkError<
5663 crate::operation::list_column_statistics_task_runs::ListColumnStatisticsTaskRunsError,
5664 R,
5665 >,
5666 ) -> Self {
5667 match err {
5668 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5669 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5670 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5671 source: err.into(),
5672 }),
5673 }
5674 }
5675}
5676impl From<crate::operation::list_column_statistics_task_runs::ListColumnStatisticsTaskRunsError> for Error {
5677 fn from(err: crate::operation::list_column_statistics_task_runs::ListColumnStatisticsTaskRunsError) -> Self {
5678 match err {
5679 crate::operation::list_column_statistics_task_runs::ListColumnStatisticsTaskRunsError::OperationTimeoutException(inner) => {
5680 Error::OperationTimeoutException(inner)
5681 }
5682 crate::operation::list_column_statistics_task_runs::ListColumnStatisticsTaskRunsError::Unhandled(inner) => Error::Unhandled(inner),
5683 }
5684 }
5685}
5686impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_connection_types::ListConnectionTypesError, R>> for Error
5687where
5688 R: Send + Sync + std::fmt::Debug + 'static,
5689{
5690 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_connection_types::ListConnectionTypesError, R>) -> Self {
5691 match err {
5692 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5693 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5694 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5695 source: err.into(),
5696 }),
5697 }
5698 }
5699}
5700impl From<crate::operation::list_connection_types::ListConnectionTypesError> for Error {
5701 fn from(err: crate::operation::list_connection_types::ListConnectionTypesError) -> Self {
5702 match err {
5703 crate::operation::list_connection_types::ListConnectionTypesError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
5704 crate::operation::list_connection_types::ListConnectionTypesError::InternalServiceException(inner) => {
5705 Error::InternalServiceException(inner)
5706 }
5707 crate::operation::list_connection_types::ListConnectionTypesError::Unhandled(inner) => Error::Unhandled(inner),
5708 }
5709 }
5710}
5711impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_crawlers::ListCrawlersError, R>> for Error
5712where
5713 R: Send + Sync + std::fmt::Debug + 'static,
5714{
5715 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_crawlers::ListCrawlersError, R>) -> Self {
5716 match err {
5717 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5718 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5719 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5720 source: err.into(),
5721 }),
5722 }
5723 }
5724}
5725impl From<crate::operation::list_crawlers::ListCrawlersError> for Error {
5726 fn from(err: crate::operation::list_crawlers::ListCrawlersError) -> Self {
5727 match err {
5728 crate::operation::list_crawlers::ListCrawlersError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5729 crate::operation::list_crawlers::ListCrawlersError::Unhandled(inner) => Error::Unhandled(inner),
5730 }
5731 }
5732}
5733impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_crawls::ListCrawlsError, R>> for Error
5734where
5735 R: Send + Sync + std::fmt::Debug + 'static,
5736{
5737 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_crawls::ListCrawlsError, R>) -> Self {
5738 match err {
5739 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5740 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5741 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5742 source: err.into(),
5743 }),
5744 }
5745 }
5746}
5747impl From<crate::operation::list_crawls::ListCrawlsError> for Error {
5748 fn from(err: crate::operation::list_crawls::ListCrawlsError) -> Self {
5749 match err {
5750 crate::operation::list_crawls::ListCrawlsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5751 crate::operation::list_crawls::ListCrawlsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5752 crate::operation::list_crawls::ListCrawlsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5753 crate::operation::list_crawls::ListCrawlsError::Unhandled(inner) => Error::Unhandled(inner),
5754 }
5755 }
5756}
5757impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_custom_entity_types::ListCustomEntityTypesError, R>> for Error
5758where
5759 R: Send + Sync + std::fmt::Debug + 'static,
5760{
5761 fn from(
5762 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_custom_entity_types::ListCustomEntityTypesError, R>,
5763 ) -> Self {
5764 match err {
5765 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5766 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5767 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5768 source: err.into(),
5769 }),
5770 }
5771 }
5772}
5773impl From<crate::operation::list_custom_entity_types::ListCustomEntityTypesError> for Error {
5774 fn from(err: crate::operation::list_custom_entity_types::ListCustomEntityTypesError) -> Self {
5775 match err {
5776 crate::operation::list_custom_entity_types::ListCustomEntityTypesError::InternalServiceException(inner) => {
5777 Error::InternalServiceException(inner)
5778 }
5779 crate::operation::list_custom_entity_types::ListCustomEntityTypesError::InvalidInputException(inner) => {
5780 Error::InvalidInputException(inner)
5781 }
5782 crate::operation::list_custom_entity_types::ListCustomEntityTypesError::OperationTimeoutException(inner) => {
5783 Error::OperationTimeoutException(inner)
5784 }
5785 crate::operation::list_custom_entity_types::ListCustomEntityTypesError::Unhandled(inner) => Error::Unhandled(inner),
5786 }
5787 }
5788}
5789impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_data_quality_results::ListDataQualityResultsError, R>>
5790 for Error
5791where
5792 R: Send + Sync + std::fmt::Debug + 'static,
5793{
5794 fn from(
5795 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_data_quality_results::ListDataQualityResultsError, R>,
5796 ) -> Self {
5797 match err {
5798 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5799 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5800 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5801 source: err.into(),
5802 }),
5803 }
5804 }
5805}
5806impl From<crate::operation::list_data_quality_results::ListDataQualityResultsError> for Error {
5807 fn from(err: crate::operation::list_data_quality_results::ListDataQualityResultsError) -> Self {
5808 match err {
5809 crate::operation::list_data_quality_results::ListDataQualityResultsError::InternalServiceException(inner) => {
5810 Error::InternalServiceException(inner)
5811 }
5812 crate::operation::list_data_quality_results::ListDataQualityResultsError::InvalidInputException(inner) => {
5813 Error::InvalidInputException(inner)
5814 }
5815 crate::operation::list_data_quality_results::ListDataQualityResultsError::OperationTimeoutException(inner) => {
5816 Error::OperationTimeoutException(inner)
5817 }
5818 crate::operation::list_data_quality_results::ListDataQualityResultsError::Unhandled(inner) => Error::Unhandled(inner),
5819 }
5820 }
5821}
5822impl<R>
5823 From<
5824 ::aws_smithy_runtime_api::client::result::SdkError<
5825 crate::operation::list_data_quality_rule_recommendation_runs::ListDataQualityRuleRecommendationRunsError,
5826 R,
5827 >,
5828 > for Error
5829where
5830 R: Send + Sync + std::fmt::Debug + 'static,
5831{
5832 fn from(
5833 err: ::aws_smithy_runtime_api::client::result::SdkError<
5834 crate::operation::list_data_quality_rule_recommendation_runs::ListDataQualityRuleRecommendationRunsError,
5835 R,
5836 >,
5837 ) -> Self {
5838 match err {
5839 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5840 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5841 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5842 source: err.into(),
5843 }),
5844 }
5845 }
5846}
5847impl From<crate::operation::list_data_quality_rule_recommendation_runs::ListDataQualityRuleRecommendationRunsError> for Error {
5848 fn from(err: crate::operation::list_data_quality_rule_recommendation_runs::ListDataQualityRuleRecommendationRunsError) -> Self {
5849 match err {
5850 crate::operation::list_data_quality_rule_recommendation_runs::ListDataQualityRuleRecommendationRunsError::InternalServiceException(
5851 inner,
5852 ) => Error::InternalServiceException(inner),
5853 crate::operation::list_data_quality_rule_recommendation_runs::ListDataQualityRuleRecommendationRunsError::InvalidInputException(
5854 inner,
5855 ) => Error::InvalidInputException(inner),
5856 crate::operation::list_data_quality_rule_recommendation_runs::ListDataQualityRuleRecommendationRunsError::OperationTimeoutException(
5857 inner,
5858 ) => Error::OperationTimeoutException(inner),
5859 crate::operation::list_data_quality_rule_recommendation_runs::ListDataQualityRuleRecommendationRunsError::Unhandled(inner) => {
5860 Error::Unhandled(inner)
5861 }
5862 }
5863 }
5864}
5865impl<R>
5866 From<
5867 ::aws_smithy_runtime_api::client::result::SdkError<
5868 crate::operation::list_data_quality_ruleset_evaluation_runs::ListDataQualityRulesetEvaluationRunsError,
5869 R,
5870 >,
5871 > for Error
5872where
5873 R: Send + Sync + std::fmt::Debug + 'static,
5874{
5875 fn from(
5876 err: ::aws_smithy_runtime_api::client::result::SdkError<
5877 crate::operation::list_data_quality_ruleset_evaluation_runs::ListDataQualityRulesetEvaluationRunsError,
5878 R,
5879 >,
5880 ) -> Self {
5881 match err {
5882 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5883 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5884 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5885 source: err.into(),
5886 }),
5887 }
5888 }
5889}
5890impl From<crate::operation::list_data_quality_ruleset_evaluation_runs::ListDataQualityRulesetEvaluationRunsError> for Error {
5891 fn from(err: crate::operation::list_data_quality_ruleset_evaluation_runs::ListDataQualityRulesetEvaluationRunsError) -> Self {
5892 match err {
5893 crate::operation::list_data_quality_ruleset_evaluation_runs::ListDataQualityRulesetEvaluationRunsError::InternalServiceException(
5894 inner,
5895 ) => Error::InternalServiceException(inner),
5896 crate::operation::list_data_quality_ruleset_evaluation_runs::ListDataQualityRulesetEvaluationRunsError::InvalidInputException(inner) => {
5897 Error::InvalidInputException(inner)
5898 }
5899 crate::operation::list_data_quality_ruleset_evaluation_runs::ListDataQualityRulesetEvaluationRunsError::OperationTimeoutException(
5900 inner,
5901 ) => Error::OperationTimeoutException(inner),
5902 crate::operation::list_data_quality_ruleset_evaluation_runs::ListDataQualityRulesetEvaluationRunsError::Unhandled(inner) => {
5903 Error::Unhandled(inner)
5904 }
5905 }
5906 }
5907}
5908impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_data_quality_rulesets::ListDataQualityRulesetsError, R>>
5909 for Error
5910where
5911 R: Send + Sync + std::fmt::Debug + 'static,
5912{
5913 fn from(
5914 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_data_quality_rulesets::ListDataQualityRulesetsError, R>,
5915 ) -> Self {
5916 match err {
5917 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5918 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5919 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5920 source: err.into(),
5921 }),
5922 }
5923 }
5924}
5925impl From<crate::operation::list_data_quality_rulesets::ListDataQualityRulesetsError> for Error {
5926 fn from(err: crate::operation::list_data_quality_rulesets::ListDataQualityRulesetsError) -> Self {
5927 match err {
5928 crate::operation::list_data_quality_rulesets::ListDataQualityRulesetsError::EntityNotFoundException(inner) => {
5929 Error::EntityNotFoundException(inner)
5930 }
5931 crate::operation::list_data_quality_rulesets::ListDataQualityRulesetsError::InternalServiceException(inner) => {
5932 Error::InternalServiceException(inner)
5933 }
5934 crate::operation::list_data_quality_rulesets::ListDataQualityRulesetsError::InvalidInputException(inner) => {
5935 Error::InvalidInputException(inner)
5936 }
5937 crate::operation::list_data_quality_rulesets::ListDataQualityRulesetsError::OperationTimeoutException(inner) => {
5938 Error::OperationTimeoutException(inner)
5939 }
5940 crate::operation::list_data_quality_rulesets::ListDataQualityRulesetsError::Unhandled(inner) => Error::Unhandled(inner),
5941 }
5942 }
5943}
5944impl<R>
5945 From<
5946 ::aws_smithy_runtime_api::client::result::SdkError<
5947 crate::operation::list_data_quality_statistic_annotations::ListDataQualityStatisticAnnotationsError,
5948 R,
5949 >,
5950 > for Error
5951where
5952 R: Send + Sync + std::fmt::Debug + 'static,
5953{
5954 fn from(
5955 err: ::aws_smithy_runtime_api::client::result::SdkError<
5956 crate::operation::list_data_quality_statistic_annotations::ListDataQualityStatisticAnnotationsError,
5957 R,
5958 >,
5959 ) -> 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::list_data_quality_statistic_annotations::ListDataQualityStatisticAnnotationsError> for Error {
5970 fn from(err: crate::operation::list_data_quality_statistic_annotations::ListDataQualityStatisticAnnotationsError) -> Self {
5971 match err {
5972 crate::operation::list_data_quality_statistic_annotations::ListDataQualityStatisticAnnotationsError::InternalServiceException(inner) => {
5973 Error::InternalServiceException(inner)
5974 }
5975 crate::operation::list_data_quality_statistic_annotations::ListDataQualityStatisticAnnotationsError::InvalidInputException(inner) => {
5976 Error::InvalidInputException(inner)
5977 }
5978 crate::operation::list_data_quality_statistic_annotations::ListDataQualityStatisticAnnotationsError::Unhandled(inner) => {
5979 Error::Unhandled(inner)
5980 }
5981 }
5982 }
5983}
5984impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_data_quality_statistics::ListDataQualityStatisticsError, R>>
5985 for Error
5986where
5987 R: Send + Sync + std::fmt::Debug + 'static,
5988{
5989 fn from(
5990 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_data_quality_statistics::ListDataQualityStatisticsError, R>,
5991 ) -> Self {
5992 match err {
5993 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5994 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5995 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5996 source: err.into(),
5997 }),
5998 }
5999 }
6000}
6001impl From<crate::operation::list_data_quality_statistics::ListDataQualityStatisticsError> for Error {
6002 fn from(err: crate::operation::list_data_quality_statistics::ListDataQualityStatisticsError) -> Self {
6003 match err {
6004 crate::operation::list_data_quality_statistics::ListDataQualityStatisticsError::EntityNotFoundException(inner) => {
6005 Error::EntityNotFoundException(inner)
6006 }
6007 crate::operation::list_data_quality_statistics::ListDataQualityStatisticsError::InternalServiceException(inner) => {
6008 Error::InternalServiceException(inner)
6009 }
6010 crate::operation::list_data_quality_statistics::ListDataQualityStatisticsError::InvalidInputException(inner) => {
6011 Error::InvalidInputException(inner)
6012 }
6013 crate::operation::list_data_quality_statistics::ListDataQualityStatisticsError::Unhandled(inner) => Error::Unhandled(inner),
6014 }
6015 }
6016}
6017impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_dev_endpoints::ListDevEndpointsError, 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::list_dev_endpoints::ListDevEndpointsError, 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::list_dev_endpoints::ListDevEndpointsError> for Error {
6032 fn from(err: crate::operation::list_dev_endpoints::ListDevEndpointsError) -> Self {
6033 match err {
6034 crate::operation::list_dev_endpoints::ListDevEndpointsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
6035 crate::operation::list_dev_endpoints::ListDevEndpointsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6036 crate::operation::list_dev_endpoints::ListDevEndpointsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6037 crate::operation::list_dev_endpoints::ListDevEndpointsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
6038 crate::operation::list_dev_endpoints::ListDevEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
6039 }
6040 }
6041}
6042impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_entities::ListEntitiesError, R>> for Error
6043where
6044 R: Send + Sync + std::fmt::Debug + 'static,
6045{
6046 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_entities::ListEntitiesError, R>) -> Self {
6047 match err {
6048 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6049 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6050 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6051 source: err.into(),
6052 }),
6053 }
6054 }
6055}
6056impl From<crate::operation::list_entities::ListEntitiesError> for Error {
6057 fn from(err: crate::operation::list_entities::ListEntitiesError) -> Self {
6058 match err {
6059 crate::operation::list_entities::ListEntitiesError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
6060 crate::operation::list_entities::ListEntitiesError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
6061 crate::operation::list_entities::ListEntitiesError::FederationSourceException(inner) => Error::FederationSourceException(inner),
6062 crate::operation::list_entities::ListEntitiesError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
6063 crate::operation::list_entities::ListEntitiesError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6064 crate::operation::list_entities::ListEntitiesError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
6065 crate::operation::list_entities::ListEntitiesError::ValidationException(inner) => Error::ValidationException(inner),
6066 crate::operation::list_entities::ListEntitiesError::Unhandled(inner) => Error::Unhandled(inner),
6067 }
6068 }
6069}
6070impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_jobs::ListJobsError, R>> for Error
6071where
6072 R: Send + Sync + std::fmt::Debug + 'static,
6073{
6074 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_jobs::ListJobsError, R>) -> Self {
6075 match err {
6076 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6077 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6078 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6079 source: err.into(),
6080 }),
6081 }
6082 }
6083}
6084impl From<crate::operation::list_jobs::ListJobsError> for Error {
6085 fn from(err: crate::operation::list_jobs::ListJobsError) -> Self {
6086 match err {
6087 crate::operation::list_jobs::ListJobsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
6088 crate::operation::list_jobs::ListJobsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6089 crate::operation::list_jobs::ListJobsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6090 crate::operation::list_jobs::ListJobsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
6091 crate::operation::list_jobs::ListJobsError::Unhandled(inner) => Error::Unhandled(inner),
6092 }
6093 }
6094}
6095impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_ml_transforms::ListMLTransformsError, R>> for Error
6096where
6097 R: Send + Sync + std::fmt::Debug + 'static,
6098{
6099 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_ml_transforms::ListMLTransformsError, R>) -> Self {
6100 match err {
6101 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6102 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6103 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6104 source: err.into(),
6105 }),
6106 }
6107 }
6108}
6109impl From<crate::operation::list_ml_transforms::ListMLTransformsError> for Error {
6110 fn from(err: crate::operation::list_ml_transforms::ListMLTransformsError) -> Self {
6111 match err {
6112 crate::operation::list_ml_transforms::ListMLTransformsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
6113 crate::operation::list_ml_transforms::ListMLTransformsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6114 crate::operation::list_ml_transforms::ListMLTransformsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6115 crate::operation::list_ml_transforms::ListMLTransformsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
6116 crate::operation::list_ml_transforms::ListMLTransformsError::Unhandled(inner) => Error::Unhandled(inner),
6117 }
6118 }
6119}
6120impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_registries::ListRegistriesError, R>> for Error
6121where
6122 R: Send + Sync + std::fmt::Debug + 'static,
6123{
6124 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_registries::ListRegistriesError, R>) -> Self {
6125 match err {
6126 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6127 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6128 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6129 source: err.into(),
6130 }),
6131 }
6132 }
6133}
6134impl From<crate::operation::list_registries::ListRegistriesError> for Error {
6135 fn from(err: crate::operation::list_registries::ListRegistriesError) -> Self {
6136 match err {
6137 crate::operation::list_registries::ListRegistriesError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
6138 crate::operation::list_registries::ListRegistriesError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6139 crate::operation::list_registries::ListRegistriesError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6140 crate::operation::list_registries::ListRegistriesError::Unhandled(inner) => Error::Unhandled(inner),
6141 }
6142 }
6143}
6144impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_schemas::ListSchemasError, R>> for Error
6145where
6146 R: Send + Sync + std::fmt::Debug + 'static,
6147{
6148 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_schemas::ListSchemasError, R>) -> Self {
6149 match err {
6150 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6151 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6152 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6153 source: err.into(),
6154 }),
6155 }
6156 }
6157}
6158impl From<crate::operation::list_schemas::ListSchemasError> for Error {
6159 fn from(err: crate::operation::list_schemas::ListSchemasError) -> Self {
6160 match err {
6161 crate::operation::list_schemas::ListSchemasError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
6162 crate::operation::list_schemas::ListSchemasError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
6163 crate::operation::list_schemas::ListSchemasError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6164 crate::operation::list_schemas::ListSchemasError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6165 crate::operation::list_schemas::ListSchemasError::Unhandled(inner) => Error::Unhandled(inner),
6166 }
6167 }
6168}
6169impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_schema_versions::ListSchemaVersionsError, R>> for Error
6170where
6171 R: Send + Sync + std::fmt::Debug + 'static,
6172{
6173 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_schema_versions::ListSchemaVersionsError, R>) -> Self {
6174 match err {
6175 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6176 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6177 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6178 source: err.into(),
6179 }),
6180 }
6181 }
6182}
6183impl From<crate::operation::list_schema_versions::ListSchemaVersionsError> for Error {
6184 fn from(err: crate::operation::list_schema_versions::ListSchemaVersionsError) -> Self {
6185 match err {
6186 crate::operation::list_schema_versions::ListSchemaVersionsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
6187 crate::operation::list_schema_versions::ListSchemaVersionsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
6188 crate::operation::list_schema_versions::ListSchemaVersionsError::InternalServiceException(inner) => {
6189 Error::InternalServiceException(inner)
6190 }
6191 crate::operation::list_schema_versions::ListSchemaVersionsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6192 crate::operation::list_schema_versions::ListSchemaVersionsError::Unhandled(inner) => Error::Unhandled(inner),
6193 }
6194 }
6195}
6196impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_sessions::ListSessionsError, R>> for Error
6197where
6198 R: Send + Sync + std::fmt::Debug + 'static,
6199{
6200 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_sessions::ListSessionsError, R>) -> Self {
6201 match err {
6202 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6203 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6204 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6205 source: err.into(),
6206 }),
6207 }
6208 }
6209}
6210impl From<crate::operation::list_sessions::ListSessionsError> for Error {
6211 fn from(err: crate::operation::list_sessions::ListSessionsError) -> Self {
6212 match err {
6213 crate::operation::list_sessions::ListSessionsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
6214 crate::operation::list_sessions::ListSessionsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6215 crate::operation::list_sessions::ListSessionsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6216 crate::operation::list_sessions::ListSessionsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
6217 crate::operation::list_sessions::ListSessionsError::Unhandled(inner) => Error::Unhandled(inner),
6218 }
6219 }
6220}
6221impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_statements::ListStatementsError, R>> for Error
6222where
6223 R: Send + Sync + std::fmt::Debug + 'static,
6224{
6225 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_statements::ListStatementsError, R>) -> Self {
6226 match err {
6227 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6228 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6229 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6230 source: err.into(),
6231 }),
6232 }
6233 }
6234}
6235impl From<crate::operation::list_statements::ListStatementsError> for Error {
6236 fn from(err: crate::operation::list_statements::ListStatementsError) -> Self {
6237 match err {
6238 crate::operation::list_statements::ListStatementsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
6239 crate::operation::list_statements::ListStatementsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
6240 crate::operation::list_statements::ListStatementsError::IllegalSessionStateException(inner) => Error::IllegalSessionStateException(inner),
6241 crate::operation::list_statements::ListStatementsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6242 crate::operation::list_statements::ListStatementsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6243 crate::operation::list_statements::ListStatementsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
6244 crate::operation::list_statements::ListStatementsError::Unhandled(inner) => Error::Unhandled(inner),
6245 }
6246 }
6247}
6248impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_table_optimizer_runs::ListTableOptimizerRunsError, R>>
6249 for Error
6250where
6251 R: Send + Sync + std::fmt::Debug + 'static,
6252{
6253 fn from(
6254 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_table_optimizer_runs::ListTableOptimizerRunsError, R>,
6255 ) -> Self {
6256 match err {
6257 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6258 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6259 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6260 source: err.into(),
6261 }),
6262 }
6263 }
6264}
6265impl From<crate::operation::list_table_optimizer_runs::ListTableOptimizerRunsError> for Error {
6266 fn from(err: crate::operation::list_table_optimizer_runs::ListTableOptimizerRunsError) -> Self {
6267 match err {
6268 crate::operation::list_table_optimizer_runs::ListTableOptimizerRunsError::AccessDeniedException(inner) => {
6269 Error::AccessDeniedException(inner)
6270 }
6271 crate::operation::list_table_optimizer_runs::ListTableOptimizerRunsError::EntityNotFoundException(inner) => {
6272 Error::EntityNotFoundException(inner)
6273 }
6274 crate::operation::list_table_optimizer_runs::ListTableOptimizerRunsError::InternalServiceException(inner) => {
6275 Error::InternalServiceException(inner)
6276 }
6277 crate::operation::list_table_optimizer_runs::ListTableOptimizerRunsError::InvalidInputException(inner) => {
6278 Error::InvalidInputException(inner)
6279 }
6280 crate::operation::list_table_optimizer_runs::ListTableOptimizerRunsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
6281 crate::operation::list_table_optimizer_runs::ListTableOptimizerRunsError::ValidationException(inner) => Error::ValidationException(inner),
6282 crate::operation::list_table_optimizer_runs::ListTableOptimizerRunsError::Unhandled(inner) => Error::Unhandled(inner),
6283 }
6284 }
6285}
6286impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_triggers::ListTriggersError, R>> for Error
6287where
6288 R: Send + Sync + std::fmt::Debug + 'static,
6289{
6290 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_triggers::ListTriggersError, R>) -> Self {
6291 match err {
6292 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6293 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6294 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6295 source: err.into(),
6296 }),
6297 }
6298 }
6299}
6300impl From<crate::operation::list_triggers::ListTriggersError> for Error {
6301 fn from(err: crate::operation::list_triggers::ListTriggersError) -> Self {
6302 match err {
6303 crate::operation::list_triggers::ListTriggersError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
6304 crate::operation::list_triggers::ListTriggersError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6305 crate::operation::list_triggers::ListTriggersError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6306 crate::operation::list_triggers::ListTriggersError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
6307 crate::operation::list_triggers::ListTriggersError::Unhandled(inner) => Error::Unhandled(inner),
6308 }
6309 }
6310}
6311impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_usage_profiles::ListUsageProfilesError, R>> for Error
6312where
6313 R: Send + Sync + std::fmt::Debug + 'static,
6314{
6315 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_usage_profiles::ListUsageProfilesError, R>) -> Self {
6316 match err {
6317 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6318 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6319 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6320 source: err.into(),
6321 }),
6322 }
6323 }
6324}
6325impl From<crate::operation::list_usage_profiles::ListUsageProfilesError> for Error {
6326 fn from(err: crate::operation::list_usage_profiles::ListUsageProfilesError) -> Self {
6327 match err {
6328 crate::operation::list_usage_profiles::ListUsageProfilesError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6329 crate::operation::list_usage_profiles::ListUsageProfilesError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6330 crate::operation::list_usage_profiles::ListUsageProfilesError::OperationNotSupportedException(inner) => {
6331 Error::OperationNotSupportedException(inner)
6332 }
6333 crate::operation::list_usage_profiles::ListUsageProfilesError::OperationTimeoutException(inner) => {
6334 Error::OperationTimeoutException(inner)
6335 }
6336 crate::operation::list_usage_profiles::ListUsageProfilesError::Unhandled(inner) => Error::Unhandled(inner),
6337 }
6338 }
6339}
6340impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_workflows::ListWorkflowsError, R>> for Error
6341where
6342 R: Send + Sync + std::fmt::Debug + 'static,
6343{
6344 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_workflows::ListWorkflowsError, R>) -> Self {
6345 match err {
6346 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6347 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6348 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6349 source: err.into(),
6350 }),
6351 }
6352 }
6353}
6354impl From<crate::operation::list_workflows::ListWorkflowsError> for Error {
6355 fn from(err: crate::operation::list_workflows::ListWorkflowsError) -> Self {
6356 match err {
6357 crate::operation::list_workflows::ListWorkflowsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6358 crate::operation::list_workflows::ListWorkflowsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6359 crate::operation::list_workflows::ListWorkflowsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
6360 crate::operation::list_workflows::ListWorkflowsError::Unhandled(inner) => Error::Unhandled(inner),
6361 }
6362 }
6363}
6364impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_integration::ModifyIntegrationError, R>> for Error
6365where
6366 R: Send + Sync + std::fmt::Debug + 'static,
6367{
6368 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_integration::ModifyIntegrationError, R>) -> Self {
6369 match err {
6370 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6371 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6372 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6373 source: err.into(),
6374 }),
6375 }
6376 }
6377}
6378impl From<crate::operation::modify_integration::ModifyIntegrationError> for Error {
6379 fn from(err: crate::operation::modify_integration::ModifyIntegrationError) -> Self {
6380 match err {
6381 crate::operation::modify_integration::ModifyIntegrationError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
6382 crate::operation::modify_integration::ModifyIntegrationError::ConflictException(inner) => Error::ConflictException(inner),
6383 crate::operation::modify_integration::ModifyIntegrationError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
6384 crate::operation::modify_integration::ModifyIntegrationError::IntegrationConflictOperationFault(inner) => {
6385 Error::IntegrationConflictOperationFault(inner)
6386 }
6387 crate::operation::modify_integration::ModifyIntegrationError::IntegrationNotFoundFault(inner) => Error::IntegrationNotFoundFault(inner),
6388 crate::operation::modify_integration::ModifyIntegrationError::InternalServerException(inner) => Error::InternalServerException(inner),
6389 crate::operation::modify_integration::ModifyIntegrationError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6390 crate::operation::modify_integration::ModifyIntegrationError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6391 crate::operation::modify_integration::ModifyIntegrationError::InvalidIntegrationStateFault(inner) => {
6392 Error::InvalidIntegrationStateFault(inner)
6393 }
6394 crate::operation::modify_integration::ModifyIntegrationError::InvalidStateException(inner) => Error::InvalidStateException(inner),
6395 crate::operation::modify_integration::ModifyIntegrationError::ValidationException(inner) => Error::ValidationException(inner),
6396 crate::operation::modify_integration::ModifyIntegrationError::Unhandled(inner) => Error::Unhandled(inner),
6397 }
6398 }
6399}
6400impl<R>
6401 From<
6402 ::aws_smithy_runtime_api::client::result::SdkError<
6403 crate::operation::put_data_catalog_encryption_settings::PutDataCatalogEncryptionSettingsError,
6404 R,
6405 >,
6406 > for Error
6407where
6408 R: Send + Sync + std::fmt::Debug + 'static,
6409{
6410 fn from(
6411 err: ::aws_smithy_runtime_api::client::result::SdkError<
6412 crate::operation::put_data_catalog_encryption_settings::PutDataCatalogEncryptionSettingsError,
6413 R,
6414 >,
6415 ) -> Self {
6416 match err {
6417 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6418 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6419 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6420 source: err.into(),
6421 }),
6422 }
6423 }
6424}
6425impl From<crate::operation::put_data_catalog_encryption_settings::PutDataCatalogEncryptionSettingsError> for Error {
6426 fn from(err: crate::operation::put_data_catalog_encryption_settings::PutDataCatalogEncryptionSettingsError) -> Self {
6427 match err {
6428 crate::operation::put_data_catalog_encryption_settings::PutDataCatalogEncryptionSettingsError::InternalServiceException(inner) => {
6429 Error::InternalServiceException(inner)
6430 }
6431 crate::operation::put_data_catalog_encryption_settings::PutDataCatalogEncryptionSettingsError::InvalidInputException(inner) => {
6432 Error::InvalidInputException(inner)
6433 }
6434 crate::operation::put_data_catalog_encryption_settings::PutDataCatalogEncryptionSettingsError::OperationTimeoutException(inner) => {
6435 Error::OperationTimeoutException(inner)
6436 }
6437 crate::operation::put_data_catalog_encryption_settings::PutDataCatalogEncryptionSettingsError::Unhandled(inner) => {
6438 Error::Unhandled(inner)
6439 }
6440 }
6441 }
6442}
6443impl<R>
6444 From<
6445 ::aws_smithy_runtime_api::client::result::SdkError<
6446 crate::operation::put_data_quality_profile_annotation::PutDataQualityProfileAnnotationError,
6447 R,
6448 >,
6449 > for Error
6450where
6451 R: Send + Sync + std::fmt::Debug + 'static,
6452{
6453 fn from(
6454 err: ::aws_smithy_runtime_api::client::result::SdkError<
6455 crate::operation::put_data_quality_profile_annotation::PutDataQualityProfileAnnotationError,
6456 R,
6457 >,
6458 ) -> Self {
6459 match err {
6460 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6461 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6462 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6463 source: err.into(),
6464 }),
6465 }
6466 }
6467}
6468impl From<crate::operation::put_data_quality_profile_annotation::PutDataQualityProfileAnnotationError> for Error {
6469 fn from(err: crate::operation::put_data_quality_profile_annotation::PutDataQualityProfileAnnotationError) -> Self {
6470 match err {
6471 crate::operation::put_data_quality_profile_annotation::PutDataQualityProfileAnnotationError::EntityNotFoundException(inner) => {
6472 Error::EntityNotFoundException(inner)
6473 }
6474 crate::operation::put_data_quality_profile_annotation::PutDataQualityProfileAnnotationError::InternalServiceException(inner) => {
6475 Error::InternalServiceException(inner)
6476 }
6477 crate::operation::put_data_quality_profile_annotation::PutDataQualityProfileAnnotationError::InvalidInputException(inner) => {
6478 Error::InvalidInputException(inner)
6479 }
6480 crate::operation::put_data_quality_profile_annotation::PutDataQualityProfileAnnotationError::Unhandled(inner) => Error::Unhandled(inner),
6481 }
6482 }
6483}
6484impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_resource_policy::PutResourcePolicyError, R>> for Error
6485where
6486 R: Send + Sync + std::fmt::Debug + 'static,
6487{
6488 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_resource_policy::PutResourcePolicyError, R>) -> Self {
6489 match err {
6490 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6491 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6492 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6493 source: err.into(),
6494 }),
6495 }
6496 }
6497}
6498impl From<crate::operation::put_resource_policy::PutResourcePolicyError> for Error {
6499 fn from(err: crate::operation::put_resource_policy::PutResourcePolicyError) -> Self {
6500 match err {
6501 crate::operation::put_resource_policy::PutResourcePolicyError::ConditionCheckFailureException(inner) => {
6502 Error::ConditionCheckFailureException(inner)
6503 }
6504 crate::operation::put_resource_policy::PutResourcePolicyError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
6505 crate::operation::put_resource_policy::PutResourcePolicyError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6506 crate::operation::put_resource_policy::PutResourcePolicyError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6507 crate::operation::put_resource_policy::PutResourcePolicyError::OperationTimeoutException(inner) => {
6508 Error::OperationTimeoutException(inner)
6509 }
6510 crate::operation::put_resource_policy::PutResourcePolicyError::Unhandled(inner) => Error::Unhandled(inner),
6511 }
6512 }
6513}
6514impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_schema_version_metadata::PutSchemaVersionMetadataError, R>>
6515 for Error
6516where
6517 R: Send + Sync + std::fmt::Debug + 'static,
6518{
6519 fn from(
6520 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_schema_version_metadata::PutSchemaVersionMetadataError, R>,
6521 ) -> Self {
6522 match err {
6523 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6524 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6525 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6526 source: err.into(),
6527 }),
6528 }
6529 }
6530}
6531impl From<crate::operation::put_schema_version_metadata::PutSchemaVersionMetadataError> for Error {
6532 fn from(err: crate::operation::put_schema_version_metadata::PutSchemaVersionMetadataError) -> Self {
6533 match err {
6534 crate::operation::put_schema_version_metadata::PutSchemaVersionMetadataError::AccessDeniedException(inner) => {
6535 Error::AccessDeniedException(inner)
6536 }
6537 crate::operation::put_schema_version_metadata::PutSchemaVersionMetadataError::AlreadyExistsException(inner) => {
6538 Error::AlreadyExistsException(inner)
6539 }
6540 crate::operation::put_schema_version_metadata::PutSchemaVersionMetadataError::EntityNotFoundException(inner) => {
6541 Error::EntityNotFoundException(inner)
6542 }
6543 crate::operation::put_schema_version_metadata::PutSchemaVersionMetadataError::InvalidInputException(inner) => {
6544 Error::InvalidInputException(inner)
6545 }
6546 crate::operation::put_schema_version_metadata::PutSchemaVersionMetadataError::ResourceNumberLimitExceededException(inner) => {
6547 Error::ResourceNumberLimitExceededException(inner)
6548 }
6549 crate::operation::put_schema_version_metadata::PutSchemaVersionMetadataError::Unhandled(inner) => Error::Unhandled(inner),
6550 }
6551 }
6552}
6553impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_workflow_run_properties::PutWorkflowRunPropertiesError, R>>
6554 for Error
6555where
6556 R: Send + Sync + std::fmt::Debug + 'static,
6557{
6558 fn from(
6559 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_workflow_run_properties::PutWorkflowRunPropertiesError, R>,
6560 ) -> Self {
6561 match err {
6562 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6563 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6564 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6565 source: err.into(),
6566 }),
6567 }
6568 }
6569}
6570impl From<crate::operation::put_workflow_run_properties::PutWorkflowRunPropertiesError> for Error {
6571 fn from(err: crate::operation::put_workflow_run_properties::PutWorkflowRunPropertiesError) -> Self {
6572 match err {
6573 crate::operation::put_workflow_run_properties::PutWorkflowRunPropertiesError::AlreadyExistsException(inner) => {
6574 Error::AlreadyExistsException(inner)
6575 }
6576 crate::operation::put_workflow_run_properties::PutWorkflowRunPropertiesError::ConcurrentModificationException(inner) => {
6577 Error::ConcurrentModificationException(inner)
6578 }
6579 crate::operation::put_workflow_run_properties::PutWorkflowRunPropertiesError::EntityNotFoundException(inner) => {
6580 Error::EntityNotFoundException(inner)
6581 }
6582 crate::operation::put_workflow_run_properties::PutWorkflowRunPropertiesError::InternalServiceException(inner) => {
6583 Error::InternalServiceException(inner)
6584 }
6585 crate::operation::put_workflow_run_properties::PutWorkflowRunPropertiesError::InvalidInputException(inner) => {
6586 Error::InvalidInputException(inner)
6587 }
6588 crate::operation::put_workflow_run_properties::PutWorkflowRunPropertiesError::OperationTimeoutException(inner) => {
6589 Error::OperationTimeoutException(inner)
6590 }
6591 crate::operation::put_workflow_run_properties::PutWorkflowRunPropertiesError::ResourceNumberLimitExceededException(inner) => {
6592 Error::ResourceNumberLimitExceededException(inner)
6593 }
6594 crate::operation::put_workflow_run_properties::PutWorkflowRunPropertiesError::Unhandled(inner) => Error::Unhandled(inner),
6595 }
6596 }
6597}
6598impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::query_schema_version_metadata::QuerySchemaVersionMetadataError, R>>
6599 for Error
6600where
6601 R: Send + Sync + std::fmt::Debug + 'static,
6602{
6603 fn from(
6604 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::query_schema_version_metadata::QuerySchemaVersionMetadataError, R>,
6605 ) -> Self {
6606 match err {
6607 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6608 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6609 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6610 source: err.into(),
6611 }),
6612 }
6613 }
6614}
6615impl From<crate::operation::query_schema_version_metadata::QuerySchemaVersionMetadataError> for Error {
6616 fn from(err: crate::operation::query_schema_version_metadata::QuerySchemaVersionMetadataError) -> Self {
6617 match err {
6618 crate::operation::query_schema_version_metadata::QuerySchemaVersionMetadataError::AccessDeniedException(inner) => {
6619 Error::AccessDeniedException(inner)
6620 }
6621 crate::operation::query_schema_version_metadata::QuerySchemaVersionMetadataError::EntityNotFoundException(inner) => {
6622 Error::EntityNotFoundException(inner)
6623 }
6624 crate::operation::query_schema_version_metadata::QuerySchemaVersionMetadataError::InvalidInputException(inner) => {
6625 Error::InvalidInputException(inner)
6626 }
6627 crate::operation::query_schema_version_metadata::QuerySchemaVersionMetadataError::Unhandled(inner) => Error::Unhandled(inner),
6628 }
6629 }
6630}
6631impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::register_schema_version::RegisterSchemaVersionError, R>> for Error
6632where
6633 R: Send + Sync + std::fmt::Debug + 'static,
6634{
6635 fn from(
6636 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::register_schema_version::RegisterSchemaVersionError, R>,
6637 ) -> Self {
6638 match err {
6639 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6640 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6641 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6642 source: err.into(),
6643 }),
6644 }
6645 }
6646}
6647impl From<crate::operation::register_schema_version::RegisterSchemaVersionError> for Error {
6648 fn from(err: crate::operation::register_schema_version::RegisterSchemaVersionError) -> Self {
6649 match err {
6650 crate::operation::register_schema_version::RegisterSchemaVersionError::AccessDeniedException(inner) => {
6651 Error::AccessDeniedException(inner)
6652 }
6653 crate::operation::register_schema_version::RegisterSchemaVersionError::ConcurrentModificationException(inner) => {
6654 Error::ConcurrentModificationException(inner)
6655 }
6656 crate::operation::register_schema_version::RegisterSchemaVersionError::EntityNotFoundException(inner) => {
6657 Error::EntityNotFoundException(inner)
6658 }
6659 crate::operation::register_schema_version::RegisterSchemaVersionError::InternalServiceException(inner) => {
6660 Error::InternalServiceException(inner)
6661 }
6662 crate::operation::register_schema_version::RegisterSchemaVersionError::InvalidInputException(inner) => {
6663 Error::InvalidInputException(inner)
6664 }
6665 crate::operation::register_schema_version::RegisterSchemaVersionError::ResourceNumberLimitExceededException(inner) => {
6666 Error::ResourceNumberLimitExceededException(inner)
6667 }
6668 crate::operation::register_schema_version::RegisterSchemaVersionError::Unhandled(inner) => Error::Unhandled(inner),
6669 }
6670 }
6671}
6672impl<R>
6673 From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::remove_schema_version_metadata::RemoveSchemaVersionMetadataError, R>>
6674 for Error
6675where
6676 R: Send + Sync + std::fmt::Debug + 'static,
6677{
6678 fn from(
6679 err: ::aws_smithy_runtime_api::client::result::SdkError<
6680 crate::operation::remove_schema_version_metadata::RemoveSchemaVersionMetadataError,
6681 R,
6682 >,
6683 ) -> Self {
6684 match err {
6685 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6686 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6687 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6688 source: err.into(),
6689 }),
6690 }
6691 }
6692}
6693impl From<crate::operation::remove_schema_version_metadata::RemoveSchemaVersionMetadataError> for Error {
6694 fn from(err: crate::operation::remove_schema_version_metadata::RemoveSchemaVersionMetadataError) -> Self {
6695 match err {
6696 crate::operation::remove_schema_version_metadata::RemoveSchemaVersionMetadataError::AccessDeniedException(inner) => {
6697 Error::AccessDeniedException(inner)
6698 }
6699 crate::operation::remove_schema_version_metadata::RemoveSchemaVersionMetadataError::EntityNotFoundException(inner) => {
6700 Error::EntityNotFoundException(inner)
6701 }
6702 crate::operation::remove_schema_version_metadata::RemoveSchemaVersionMetadataError::InvalidInputException(inner) => {
6703 Error::InvalidInputException(inner)
6704 }
6705 crate::operation::remove_schema_version_metadata::RemoveSchemaVersionMetadataError::Unhandled(inner) => Error::Unhandled(inner),
6706 }
6707 }
6708}
6709impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_job_bookmark::ResetJobBookmarkError, R>> for Error
6710where
6711 R: Send + Sync + std::fmt::Debug + 'static,
6712{
6713 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_job_bookmark::ResetJobBookmarkError, R>) -> Self {
6714 match err {
6715 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6716 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6717 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6718 source: err.into(),
6719 }),
6720 }
6721 }
6722}
6723impl From<crate::operation::reset_job_bookmark::ResetJobBookmarkError> for Error {
6724 fn from(err: crate::operation::reset_job_bookmark::ResetJobBookmarkError) -> Self {
6725 match err {
6726 crate::operation::reset_job_bookmark::ResetJobBookmarkError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
6727 crate::operation::reset_job_bookmark::ResetJobBookmarkError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6728 crate::operation::reset_job_bookmark::ResetJobBookmarkError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6729 crate::operation::reset_job_bookmark::ResetJobBookmarkError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
6730 crate::operation::reset_job_bookmark::ResetJobBookmarkError::Unhandled(inner) => Error::Unhandled(inner),
6731 }
6732 }
6733}
6734impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::resume_workflow_run::ResumeWorkflowRunError, R>> for Error
6735where
6736 R: Send + Sync + std::fmt::Debug + 'static,
6737{
6738 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::resume_workflow_run::ResumeWorkflowRunError, R>) -> Self {
6739 match err {
6740 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6741 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6742 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6743 source: err.into(),
6744 }),
6745 }
6746 }
6747}
6748impl From<crate::operation::resume_workflow_run::ResumeWorkflowRunError> for Error {
6749 fn from(err: crate::operation::resume_workflow_run::ResumeWorkflowRunError) -> Self {
6750 match err {
6751 crate::operation::resume_workflow_run::ResumeWorkflowRunError::ConcurrentRunsExceededException(inner) => {
6752 Error::ConcurrentRunsExceededException(inner)
6753 }
6754 crate::operation::resume_workflow_run::ResumeWorkflowRunError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
6755 crate::operation::resume_workflow_run::ResumeWorkflowRunError::IllegalWorkflowStateException(inner) => {
6756 Error::IllegalWorkflowStateException(inner)
6757 }
6758 crate::operation::resume_workflow_run::ResumeWorkflowRunError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6759 crate::operation::resume_workflow_run::ResumeWorkflowRunError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6760 crate::operation::resume_workflow_run::ResumeWorkflowRunError::OperationTimeoutException(inner) => {
6761 Error::OperationTimeoutException(inner)
6762 }
6763 crate::operation::resume_workflow_run::ResumeWorkflowRunError::Unhandled(inner) => Error::Unhandled(inner),
6764 }
6765 }
6766}
6767impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::run_statement::RunStatementError, R>> for Error
6768where
6769 R: Send + Sync + std::fmt::Debug + 'static,
6770{
6771 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::run_statement::RunStatementError, R>) -> Self {
6772 match err {
6773 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6774 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6775 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6776 source: err.into(),
6777 }),
6778 }
6779 }
6780}
6781impl From<crate::operation::run_statement::RunStatementError> for Error {
6782 fn from(err: crate::operation::run_statement::RunStatementError) -> Self {
6783 match err {
6784 crate::operation::run_statement::RunStatementError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
6785 crate::operation::run_statement::RunStatementError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
6786 crate::operation::run_statement::RunStatementError::IllegalSessionStateException(inner) => Error::IllegalSessionStateException(inner),
6787 crate::operation::run_statement::RunStatementError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6788 crate::operation::run_statement::RunStatementError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6789 crate::operation::run_statement::RunStatementError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
6790 crate::operation::run_statement::RunStatementError::ResourceNumberLimitExceededException(inner) => {
6791 Error::ResourceNumberLimitExceededException(inner)
6792 }
6793 crate::operation::run_statement::RunStatementError::ValidationException(inner) => Error::ValidationException(inner),
6794 crate::operation::run_statement::RunStatementError::Unhandled(inner) => Error::Unhandled(inner),
6795 }
6796 }
6797}
6798impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::search_tables::SearchTablesError, R>> for Error
6799where
6800 R: Send + Sync + std::fmt::Debug + 'static,
6801{
6802 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::search_tables::SearchTablesError, R>) -> Self {
6803 match err {
6804 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6805 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6806 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6807 source: err.into(),
6808 }),
6809 }
6810 }
6811}
6812impl From<crate::operation::search_tables::SearchTablesError> for Error {
6813 fn from(err: crate::operation::search_tables::SearchTablesError) -> Self {
6814 match err {
6815 crate::operation::search_tables::SearchTablesError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6816 crate::operation::search_tables::SearchTablesError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6817 crate::operation::search_tables::SearchTablesError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
6818 crate::operation::search_tables::SearchTablesError::Unhandled(inner) => Error::Unhandled(inner),
6819 }
6820 }
6821}
6822impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_blueprint_run::StartBlueprintRunError, R>> for Error
6823where
6824 R: Send + Sync + std::fmt::Debug + 'static,
6825{
6826 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_blueprint_run::StartBlueprintRunError, R>) -> Self {
6827 match err {
6828 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6829 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6830 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6831 source: err.into(),
6832 }),
6833 }
6834 }
6835}
6836impl From<crate::operation::start_blueprint_run::StartBlueprintRunError> for Error {
6837 fn from(err: crate::operation::start_blueprint_run::StartBlueprintRunError) -> Self {
6838 match err {
6839 crate::operation::start_blueprint_run::StartBlueprintRunError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
6840 crate::operation::start_blueprint_run::StartBlueprintRunError::IllegalBlueprintStateException(inner) => {
6841 Error::IllegalBlueprintStateException(inner)
6842 }
6843 crate::operation::start_blueprint_run::StartBlueprintRunError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6844 crate::operation::start_blueprint_run::StartBlueprintRunError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6845 crate::operation::start_blueprint_run::StartBlueprintRunError::OperationTimeoutException(inner) => {
6846 Error::OperationTimeoutException(inner)
6847 }
6848 crate::operation::start_blueprint_run::StartBlueprintRunError::ResourceNumberLimitExceededException(inner) => {
6849 Error::ResourceNumberLimitExceededException(inner)
6850 }
6851 crate::operation::start_blueprint_run::StartBlueprintRunError::Unhandled(inner) => Error::Unhandled(inner),
6852 }
6853 }
6854}
6855impl<R>
6856 From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_column_statistics_task_run::StartColumnStatisticsTaskRunError, R>>
6857 for Error
6858where
6859 R: Send + Sync + std::fmt::Debug + 'static,
6860{
6861 fn from(
6862 err: ::aws_smithy_runtime_api::client::result::SdkError<
6863 crate::operation::start_column_statistics_task_run::StartColumnStatisticsTaskRunError,
6864 R,
6865 >,
6866 ) -> 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::start_column_statistics_task_run::StartColumnStatisticsTaskRunError> for Error {
6877 fn from(err: crate::operation::start_column_statistics_task_run::StartColumnStatisticsTaskRunError) -> Self {
6878 match err {
6879 crate::operation::start_column_statistics_task_run::StartColumnStatisticsTaskRunError::AccessDeniedException(inner) => {
6880 Error::AccessDeniedException(inner)
6881 }
6882 crate::operation::start_column_statistics_task_run::StartColumnStatisticsTaskRunError::ColumnStatisticsTaskRunningException(inner) => {
6883 Error::ColumnStatisticsTaskRunningException(inner)
6884 }
6885 crate::operation::start_column_statistics_task_run::StartColumnStatisticsTaskRunError::EntityNotFoundException(inner) => {
6886 Error::EntityNotFoundException(inner)
6887 }
6888 crate::operation::start_column_statistics_task_run::StartColumnStatisticsTaskRunError::InvalidInputException(inner) => {
6889 Error::InvalidInputException(inner)
6890 }
6891 crate::operation::start_column_statistics_task_run::StartColumnStatisticsTaskRunError::OperationTimeoutException(inner) => {
6892 Error::OperationTimeoutException(inner)
6893 }
6894 crate::operation::start_column_statistics_task_run::StartColumnStatisticsTaskRunError::ResourceNumberLimitExceededException(inner) => {
6895 Error::ResourceNumberLimitExceededException(inner)
6896 }
6897 crate::operation::start_column_statistics_task_run::StartColumnStatisticsTaskRunError::Unhandled(inner) => Error::Unhandled(inner),
6898 }
6899 }
6900}
6901impl<R>
6902 From<
6903 ::aws_smithy_runtime_api::client::result::SdkError<
6904 crate::operation::start_column_statistics_task_run_schedule::StartColumnStatisticsTaskRunScheduleError,
6905 R,
6906 >,
6907 > for Error
6908where
6909 R: Send + Sync + std::fmt::Debug + 'static,
6910{
6911 fn from(
6912 err: ::aws_smithy_runtime_api::client::result::SdkError<
6913 crate::operation::start_column_statistics_task_run_schedule::StartColumnStatisticsTaskRunScheduleError,
6914 R,
6915 >,
6916 ) -> Self {
6917 match err {
6918 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6919 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6920 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6921 source: err.into(),
6922 }),
6923 }
6924 }
6925}
6926impl From<crate::operation::start_column_statistics_task_run_schedule::StartColumnStatisticsTaskRunScheduleError> for Error {
6927 fn from(err: crate::operation::start_column_statistics_task_run_schedule::StartColumnStatisticsTaskRunScheduleError) -> Self {
6928 match err {
6929 crate::operation::start_column_statistics_task_run_schedule::StartColumnStatisticsTaskRunScheduleError::AccessDeniedException(inner) => {
6930 Error::AccessDeniedException(inner)
6931 }
6932 crate::operation::start_column_statistics_task_run_schedule::StartColumnStatisticsTaskRunScheduleError::EntityNotFoundException(
6933 inner,
6934 ) => Error::EntityNotFoundException(inner),
6935 crate::operation::start_column_statistics_task_run_schedule::StartColumnStatisticsTaskRunScheduleError::InvalidInputException(inner) => {
6936 Error::InvalidInputException(inner)
6937 }
6938 crate::operation::start_column_statistics_task_run_schedule::StartColumnStatisticsTaskRunScheduleError::OperationTimeoutException(
6939 inner,
6940 ) => Error::OperationTimeoutException(inner),
6941 crate::operation::start_column_statistics_task_run_schedule::StartColumnStatisticsTaskRunScheduleError::Unhandled(inner) => {
6942 Error::Unhandled(inner)
6943 }
6944 }
6945 }
6946}
6947impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_crawler::StartCrawlerError, R>> for Error
6948where
6949 R: Send + Sync + std::fmt::Debug + 'static,
6950{
6951 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_crawler::StartCrawlerError, R>) -> Self {
6952 match err {
6953 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6954 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6955 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6956 source: err.into(),
6957 }),
6958 }
6959 }
6960}
6961impl From<crate::operation::start_crawler::StartCrawlerError> for Error {
6962 fn from(err: crate::operation::start_crawler::StartCrawlerError) -> Self {
6963 match err {
6964 crate::operation::start_crawler::StartCrawlerError::CrawlerRunningException(inner) => Error::CrawlerRunningException(inner),
6965 crate::operation::start_crawler::StartCrawlerError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
6966 crate::operation::start_crawler::StartCrawlerError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
6967 crate::operation::start_crawler::StartCrawlerError::Unhandled(inner) => Error::Unhandled(inner),
6968 }
6969 }
6970}
6971impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_crawler_schedule::StartCrawlerScheduleError, R>> for Error
6972where
6973 R: Send + Sync + std::fmt::Debug + 'static,
6974{
6975 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_crawler_schedule::StartCrawlerScheduleError, R>) -> Self {
6976 match err {
6977 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6978 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6979 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6980 source: err.into(),
6981 }),
6982 }
6983 }
6984}
6985impl From<crate::operation::start_crawler_schedule::StartCrawlerScheduleError> for Error {
6986 fn from(err: crate::operation::start_crawler_schedule::StartCrawlerScheduleError) -> Self {
6987 match err {
6988 crate::operation::start_crawler_schedule::StartCrawlerScheduleError::EntityNotFoundException(inner) => {
6989 Error::EntityNotFoundException(inner)
6990 }
6991 crate::operation::start_crawler_schedule::StartCrawlerScheduleError::NoScheduleException(inner) => Error::NoScheduleException(inner),
6992 crate::operation::start_crawler_schedule::StartCrawlerScheduleError::OperationTimeoutException(inner) => {
6993 Error::OperationTimeoutException(inner)
6994 }
6995 crate::operation::start_crawler_schedule::StartCrawlerScheduleError::SchedulerRunningException(inner) => {
6996 Error::SchedulerRunningException(inner)
6997 }
6998 crate::operation::start_crawler_schedule::StartCrawlerScheduleError::SchedulerTransitioningException(inner) => {
6999 Error::SchedulerTransitioningException(inner)
7000 }
7001 crate::operation::start_crawler_schedule::StartCrawlerScheduleError::Unhandled(inner) => Error::Unhandled(inner),
7002 }
7003 }
7004}
7005impl<R>
7006 From<
7007 ::aws_smithy_runtime_api::client::result::SdkError<
7008 crate::operation::start_data_quality_rule_recommendation_run::StartDataQualityRuleRecommendationRunError,
7009 R,
7010 >,
7011 > for Error
7012where
7013 R: Send + Sync + std::fmt::Debug + 'static,
7014{
7015 fn from(
7016 err: ::aws_smithy_runtime_api::client::result::SdkError<
7017 crate::operation::start_data_quality_rule_recommendation_run::StartDataQualityRuleRecommendationRunError,
7018 R,
7019 >,
7020 ) -> Self {
7021 match err {
7022 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7023 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7024 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7025 source: err.into(),
7026 }),
7027 }
7028 }
7029}
7030impl From<crate::operation::start_data_quality_rule_recommendation_run::StartDataQualityRuleRecommendationRunError> for Error {
7031 fn from(err: crate::operation::start_data_quality_rule_recommendation_run::StartDataQualityRuleRecommendationRunError) -> Self {
7032 match err {
7033 crate::operation::start_data_quality_rule_recommendation_run::StartDataQualityRuleRecommendationRunError::ConflictException(inner) => {
7034 Error::ConflictException(inner)
7035 }
7036 crate::operation::start_data_quality_rule_recommendation_run::StartDataQualityRuleRecommendationRunError::InternalServiceException(
7037 inner,
7038 ) => Error::InternalServiceException(inner),
7039 crate::operation::start_data_quality_rule_recommendation_run::StartDataQualityRuleRecommendationRunError::InvalidInputException(
7040 inner,
7041 ) => Error::InvalidInputException(inner),
7042 crate::operation::start_data_quality_rule_recommendation_run::StartDataQualityRuleRecommendationRunError::OperationTimeoutException(
7043 inner,
7044 ) => Error::OperationTimeoutException(inner),
7045 crate::operation::start_data_quality_rule_recommendation_run::StartDataQualityRuleRecommendationRunError::Unhandled(inner) => {
7046 Error::Unhandled(inner)
7047 }
7048 }
7049 }
7050}
7051impl<R>
7052 From<
7053 ::aws_smithy_runtime_api::client::result::SdkError<
7054 crate::operation::start_data_quality_ruleset_evaluation_run::StartDataQualityRulesetEvaluationRunError,
7055 R,
7056 >,
7057 > for Error
7058where
7059 R: Send + Sync + std::fmt::Debug + 'static,
7060{
7061 fn from(
7062 err: ::aws_smithy_runtime_api::client::result::SdkError<
7063 crate::operation::start_data_quality_ruleset_evaluation_run::StartDataQualityRulesetEvaluationRunError,
7064 R,
7065 >,
7066 ) -> Self {
7067 match err {
7068 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7069 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7070 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7071 source: err.into(),
7072 }),
7073 }
7074 }
7075}
7076impl From<crate::operation::start_data_quality_ruleset_evaluation_run::StartDataQualityRulesetEvaluationRunError> for Error {
7077 fn from(err: crate::operation::start_data_quality_ruleset_evaluation_run::StartDataQualityRulesetEvaluationRunError) -> Self {
7078 match err {
7079 crate::operation::start_data_quality_ruleset_evaluation_run::StartDataQualityRulesetEvaluationRunError::ConflictException(inner) => {
7080 Error::ConflictException(inner)
7081 }
7082 crate::operation::start_data_quality_ruleset_evaluation_run::StartDataQualityRulesetEvaluationRunError::EntityNotFoundException(
7083 inner,
7084 ) => Error::EntityNotFoundException(inner),
7085 crate::operation::start_data_quality_ruleset_evaluation_run::StartDataQualityRulesetEvaluationRunError::InternalServiceException(
7086 inner,
7087 ) => Error::InternalServiceException(inner),
7088 crate::operation::start_data_quality_ruleset_evaluation_run::StartDataQualityRulesetEvaluationRunError::InvalidInputException(inner) => {
7089 Error::InvalidInputException(inner)
7090 }
7091 crate::operation::start_data_quality_ruleset_evaluation_run::StartDataQualityRulesetEvaluationRunError::OperationTimeoutException(
7092 inner,
7093 ) => Error::OperationTimeoutException(inner),
7094 crate::operation::start_data_quality_ruleset_evaluation_run::StartDataQualityRulesetEvaluationRunError::Unhandled(inner) => {
7095 Error::Unhandled(inner)
7096 }
7097 }
7098 }
7099}
7100impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_export_labels_task_run::StartExportLabelsTaskRunError, R>>
7101 for Error
7102where
7103 R: Send + Sync + std::fmt::Debug + 'static,
7104{
7105 fn from(
7106 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_export_labels_task_run::StartExportLabelsTaskRunError, R>,
7107 ) -> Self {
7108 match err {
7109 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7110 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7111 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7112 source: err.into(),
7113 }),
7114 }
7115 }
7116}
7117impl From<crate::operation::start_export_labels_task_run::StartExportLabelsTaskRunError> for Error {
7118 fn from(err: crate::operation::start_export_labels_task_run::StartExportLabelsTaskRunError) -> Self {
7119 match err {
7120 crate::operation::start_export_labels_task_run::StartExportLabelsTaskRunError::EntityNotFoundException(inner) => {
7121 Error::EntityNotFoundException(inner)
7122 }
7123 crate::operation::start_export_labels_task_run::StartExportLabelsTaskRunError::InternalServiceException(inner) => {
7124 Error::InternalServiceException(inner)
7125 }
7126 crate::operation::start_export_labels_task_run::StartExportLabelsTaskRunError::InvalidInputException(inner) => {
7127 Error::InvalidInputException(inner)
7128 }
7129 crate::operation::start_export_labels_task_run::StartExportLabelsTaskRunError::OperationTimeoutException(inner) => {
7130 Error::OperationTimeoutException(inner)
7131 }
7132 crate::operation::start_export_labels_task_run::StartExportLabelsTaskRunError::Unhandled(inner) => Error::Unhandled(inner),
7133 }
7134 }
7135}
7136impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_import_labels_task_run::StartImportLabelsTaskRunError, R>>
7137 for Error
7138where
7139 R: Send + Sync + std::fmt::Debug + 'static,
7140{
7141 fn from(
7142 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_import_labels_task_run::StartImportLabelsTaskRunError, R>,
7143 ) -> Self {
7144 match err {
7145 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7146 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7147 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7148 source: err.into(),
7149 }),
7150 }
7151 }
7152}
7153impl From<crate::operation::start_import_labels_task_run::StartImportLabelsTaskRunError> for Error {
7154 fn from(err: crate::operation::start_import_labels_task_run::StartImportLabelsTaskRunError) -> Self {
7155 match err {
7156 crate::operation::start_import_labels_task_run::StartImportLabelsTaskRunError::EntityNotFoundException(inner) => {
7157 Error::EntityNotFoundException(inner)
7158 }
7159 crate::operation::start_import_labels_task_run::StartImportLabelsTaskRunError::InternalServiceException(inner) => {
7160 Error::InternalServiceException(inner)
7161 }
7162 crate::operation::start_import_labels_task_run::StartImportLabelsTaskRunError::InvalidInputException(inner) => {
7163 Error::InvalidInputException(inner)
7164 }
7165 crate::operation::start_import_labels_task_run::StartImportLabelsTaskRunError::OperationTimeoutException(inner) => {
7166 Error::OperationTimeoutException(inner)
7167 }
7168 crate::operation::start_import_labels_task_run::StartImportLabelsTaskRunError::ResourceNumberLimitExceededException(inner) => {
7169 Error::ResourceNumberLimitExceededException(inner)
7170 }
7171 crate::operation::start_import_labels_task_run::StartImportLabelsTaskRunError::Unhandled(inner) => Error::Unhandled(inner),
7172 }
7173 }
7174}
7175impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_job_run::StartJobRunError, R>> for Error
7176where
7177 R: Send + Sync + std::fmt::Debug + 'static,
7178{
7179 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_job_run::StartJobRunError, R>) -> Self {
7180 match err {
7181 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7182 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7183 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7184 source: err.into(),
7185 }),
7186 }
7187 }
7188}
7189impl From<crate::operation::start_job_run::StartJobRunError> for Error {
7190 fn from(err: crate::operation::start_job_run::StartJobRunError) -> Self {
7191 match err {
7192 crate::operation::start_job_run::StartJobRunError::ConcurrentRunsExceededException(inner) => {
7193 Error::ConcurrentRunsExceededException(inner)
7194 }
7195 crate::operation::start_job_run::StartJobRunError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7196 crate::operation::start_job_run::StartJobRunError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7197 crate::operation::start_job_run::StartJobRunError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7198 crate::operation::start_job_run::StartJobRunError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
7199 crate::operation::start_job_run::StartJobRunError::ResourceNumberLimitExceededException(inner) => {
7200 Error::ResourceNumberLimitExceededException(inner)
7201 }
7202 crate::operation::start_job_run::StartJobRunError::Unhandled(inner) => Error::Unhandled(inner),
7203 }
7204 }
7205}
7206impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_ml_evaluation_task_run::StartMLEvaluationTaskRunError, R>>
7207 for Error
7208where
7209 R: Send + Sync + std::fmt::Debug + 'static,
7210{
7211 fn from(
7212 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_ml_evaluation_task_run::StartMLEvaluationTaskRunError, R>,
7213 ) -> Self {
7214 match err {
7215 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7216 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7217 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7218 source: err.into(),
7219 }),
7220 }
7221 }
7222}
7223impl From<crate::operation::start_ml_evaluation_task_run::StartMLEvaluationTaskRunError> for Error {
7224 fn from(err: crate::operation::start_ml_evaluation_task_run::StartMLEvaluationTaskRunError) -> Self {
7225 match err {
7226 crate::operation::start_ml_evaluation_task_run::StartMLEvaluationTaskRunError::ConcurrentRunsExceededException(inner) => {
7227 Error::ConcurrentRunsExceededException(inner)
7228 }
7229 crate::operation::start_ml_evaluation_task_run::StartMLEvaluationTaskRunError::EntityNotFoundException(inner) => {
7230 Error::EntityNotFoundException(inner)
7231 }
7232 crate::operation::start_ml_evaluation_task_run::StartMLEvaluationTaskRunError::InternalServiceException(inner) => {
7233 Error::InternalServiceException(inner)
7234 }
7235 crate::operation::start_ml_evaluation_task_run::StartMLEvaluationTaskRunError::InvalidInputException(inner) => {
7236 Error::InvalidInputException(inner)
7237 }
7238 crate::operation::start_ml_evaluation_task_run::StartMLEvaluationTaskRunError::MlTransformNotReadyException(inner) => {
7239 Error::MlTransformNotReadyException(inner)
7240 }
7241 crate::operation::start_ml_evaluation_task_run::StartMLEvaluationTaskRunError::OperationTimeoutException(inner) => {
7242 Error::OperationTimeoutException(inner)
7243 }
7244 crate::operation::start_ml_evaluation_task_run::StartMLEvaluationTaskRunError::Unhandled(inner) => Error::Unhandled(inner),
7245 }
7246 }
7247}
7248impl<R>
7249 From<
7250 ::aws_smithy_runtime_api::client::result::SdkError<
7251 crate::operation::start_ml_labeling_set_generation_task_run::StartMLLabelingSetGenerationTaskRunError,
7252 R,
7253 >,
7254 > for Error
7255where
7256 R: Send + Sync + std::fmt::Debug + 'static,
7257{
7258 fn from(
7259 err: ::aws_smithy_runtime_api::client::result::SdkError<
7260 crate::operation::start_ml_labeling_set_generation_task_run::StartMLLabelingSetGenerationTaskRunError,
7261 R,
7262 >,
7263 ) -> Self {
7264 match err {
7265 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7266 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7267 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7268 source: err.into(),
7269 }),
7270 }
7271 }
7272}
7273impl From<crate::operation::start_ml_labeling_set_generation_task_run::StartMLLabelingSetGenerationTaskRunError> for Error {
7274 fn from(err: crate::operation::start_ml_labeling_set_generation_task_run::StartMLLabelingSetGenerationTaskRunError) -> Self {
7275 match err {
7276 crate::operation::start_ml_labeling_set_generation_task_run::StartMLLabelingSetGenerationTaskRunError::ConcurrentRunsExceededException(inner) => Error::ConcurrentRunsExceededException(inner),
7277 crate::operation::start_ml_labeling_set_generation_task_run::StartMLLabelingSetGenerationTaskRunError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7278 crate::operation::start_ml_labeling_set_generation_task_run::StartMLLabelingSetGenerationTaskRunError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7279 crate::operation::start_ml_labeling_set_generation_task_run::StartMLLabelingSetGenerationTaskRunError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7280 crate::operation::start_ml_labeling_set_generation_task_run::StartMLLabelingSetGenerationTaskRunError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
7281 crate::operation::start_ml_labeling_set_generation_task_run::StartMLLabelingSetGenerationTaskRunError::Unhandled(inner) => Error::Unhandled(inner),
7282 }
7283 }
7284}
7285impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_trigger::StartTriggerError, R>> for Error
7286where
7287 R: Send + Sync + std::fmt::Debug + 'static,
7288{
7289 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_trigger::StartTriggerError, R>) -> Self {
7290 match err {
7291 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7292 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7293 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7294 source: err.into(),
7295 }),
7296 }
7297 }
7298}
7299impl From<crate::operation::start_trigger::StartTriggerError> for Error {
7300 fn from(err: crate::operation::start_trigger::StartTriggerError) -> Self {
7301 match err {
7302 crate::operation::start_trigger::StartTriggerError::ConcurrentRunsExceededException(inner) => {
7303 Error::ConcurrentRunsExceededException(inner)
7304 }
7305 crate::operation::start_trigger::StartTriggerError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7306 crate::operation::start_trigger::StartTriggerError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7307 crate::operation::start_trigger::StartTriggerError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7308 crate::operation::start_trigger::StartTriggerError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
7309 crate::operation::start_trigger::StartTriggerError::ResourceNumberLimitExceededException(inner) => {
7310 Error::ResourceNumberLimitExceededException(inner)
7311 }
7312 crate::operation::start_trigger::StartTriggerError::Unhandled(inner) => Error::Unhandled(inner),
7313 }
7314 }
7315}
7316impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_workflow_run::StartWorkflowRunError, R>> for Error
7317where
7318 R: Send + Sync + std::fmt::Debug + 'static,
7319{
7320 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_workflow_run::StartWorkflowRunError, R>) -> Self {
7321 match err {
7322 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7323 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7324 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7325 source: err.into(),
7326 }),
7327 }
7328 }
7329}
7330impl From<crate::operation::start_workflow_run::StartWorkflowRunError> for Error {
7331 fn from(err: crate::operation::start_workflow_run::StartWorkflowRunError) -> Self {
7332 match err {
7333 crate::operation::start_workflow_run::StartWorkflowRunError::ConcurrentRunsExceededException(inner) => {
7334 Error::ConcurrentRunsExceededException(inner)
7335 }
7336 crate::operation::start_workflow_run::StartWorkflowRunError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7337 crate::operation::start_workflow_run::StartWorkflowRunError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7338 crate::operation::start_workflow_run::StartWorkflowRunError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7339 crate::operation::start_workflow_run::StartWorkflowRunError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
7340 crate::operation::start_workflow_run::StartWorkflowRunError::ResourceNumberLimitExceededException(inner) => {
7341 Error::ResourceNumberLimitExceededException(inner)
7342 }
7343 crate::operation::start_workflow_run::StartWorkflowRunError::Unhandled(inner) => Error::Unhandled(inner),
7344 }
7345 }
7346}
7347impl<R>
7348 From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_column_statistics_task_run::StopColumnStatisticsTaskRunError, R>>
7349 for Error
7350where
7351 R: Send + Sync + std::fmt::Debug + 'static,
7352{
7353 fn from(
7354 err: ::aws_smithy_runtime_api::client::result::SdkError<
7355 crate::operation::stop_column_statistics_task_run::StopColumnStatisticsTaskRunError,
7356 R,
7357 >,
7358 ) -> Self {
7359 match err {
7360 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7361 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7362 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7363 source: err.into(),
7364 }),
7365 }
7366 }
7367}
7368impl From<crate::operation::stop_column_statistics_task_run::StopColumnStatisticsTaskRunError> for Error {
7369 fn from(err: crate::operation::stop_column_statistics_task_run::StopColumnStatisticsTaskRunError) -> Self {
7370 match err {
7371 crate::operation::stop_column_statistics_task_run::StopColumnStatisticsTaskRunError::ColumnStatisticsTaskNotRunningException(inner) => {
7372 Error::ColumnStatisticsTaskNotRunningException(inner)
7373 }
7374 crate::operation::stop_column_statistics_task_run::StopColumnStatisticsTaskRunError::ColumnStatisticsTaskStoppingException(inner) => {
7375 Error::ColumnStatisticsTaskStoppingException(inner)
7376 }
7377 crate::operation::stop_column_statistics_task_run::StopColumnStatisticsTaskRunError::EntityNotFoundException(inner) => {
7378 Error::EntityNotFoundException(inner)
7379 }
7380 crate::operation::stop_column_statistics_task_run::StopColumnStatisticsTaskRunError::OperationTimeoutException(inner) => {
7381 Error::OperationTimeoutException(inner)
7382 }
7383 crate::operation::stop_column_statistics_task_run::StopColumnStatisticsTaskRunError::Unhandled(inner) => Error::Unhandled(inner),
7384 }
7385 }
7386}
7387impl<R>
7388 From<
7389 ::aws_smithy_runtime_api::client::result::SdkError<
7390 crate::operation::stop_column_statistics_task_run_schedule::StopColumnStatisticsTaskRunScheduleError,
7391 R,
7392 >,
7393 > for Error
7394where
7395 R: Send + Sync + std::fmt::Debug + 'static,
7396{
7397 fn from(
7398 err: ::aws_smithy_runtime_api::client::result::SdkError<
7399 crate::operation::stop_column_statistics_task_run_schedule::StopColumnStatisticsTaskRunScheduleError,
7400 R,
7401 >,
7402 ) -> Self {
7403 match err {
7404 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7405 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7406 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7407 source: err.into(),
7408 }),
7409 }
7410 }
7411}
7412impl From<crate::operation::stop_column_statistics_task_run_schedule::StopColumnStatisticsTaskRunScheduleError> for Error {
7413 fn from(err: crate::operation::stop_column_statistics_task_run_schedule::StopColumnStatisticsTaskRunScheduleError) -> Self {
7414 match err {
7415 crate::operation::stop_column_statistics_task_run_schedule::StopColumnStatisticsTaskRunScheduleError::EntityNotFoundException(inner) => {
7416 Error::EntityNotFoundException(inner)
7417 }
7418 crate::operation::stop_column_statistics_task_run_schedule::StopColumnStatisticsTaskRunScheduleError::InvalidInputException(inner) => {
7419 Error::InvalidInputException(inner)
7420 }
7421 crate::operation::stop_column_statistics_task_run_schedule::StopColumnStatisticsTaskRunScheduleError::OperationTimeoutException(
7422 inner,
7423 ) => Error::OperationTimeoutException(inner),
7424 crate::operation::stop_column_statistics_task_run_schedule::StopColumnStatisticsTaskRunScheduleError::Unhandled(inner) => {
7425 Error::Unhandled(inner)
7426 }
7427 }
7428 }
7429}
7430impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_crawler::StopCrawlerError, R>> for Error
7431where
7432 R: Send + Sync + std::fmt::Debug + 'static,
7433{
7434 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_crawler::StopCrawlerError, R>) -> Self {
7435 match err {
7436 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7437 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7438 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7439 source: err.into(),
7440 }),
7441 }
7442 }
7443}
7444impl From<crate::operation::stop_crawler::StopCrawlerError> for Error {
7445 fn from(err: crate::operation::stop_crawler::StopCrawlerError) -> Self {
7446 match err {
7447 crate::operation::stop_crawler::StopCrawlerError::CrawlerNotRunningException(inner) => Error::CrawlerNotRunningException(inner),
7448 crate::operation::stop_crawler::StopCrawlerError::CrawlerStoppingException(inner) => Error::CrawlerStoppingException(inner),
7449 crate::operation::stop_crawler::StopCrawlerError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7450 crate::operation::stop_crawler::StopCrawlerError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
7451 crate::operation::stop_crawler::StopCrawlerError::Unhandled(inner) => Error::Unhandled(inner),
7452 }
7453 }
7454}
7455impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_crawler_schedule::StopCrawlerScheduleError, R>> for Error
7456where
7457 R: Send + Sync + std::fmt::Debug + 'static,
7458{
7459 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_crawler_schedule::StopCrawlerScheduleError, R>) -> Self {
7460 match err {
7461 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7462 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7463 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7464 source: err.into(),
7465 }),
7466 }
7467 }
7468}
7469impl From<crate::operation::stop_crawler_schedule::StopCrawlerScheduleError> for Error {
7470 fn from(err: crate::operation::stop_crawler_schedule::StopCrawlerScheduleError) -> Self {
7471 match err {
7472 crate::operation::stop_crawler_schedule::StopCrawlerScheduleError::EntityNotFoundException(inner) => {
7473 Error::EntityNotFoundException(inner)
7474 }
7475 crate::operation::stop_crawler_schedule::StopCrawlerScheduleError::OperationTimeoutException(inner) => {
7476 Error::OperationTimeoutException(inner)
7477 }
7478 crate::operation::stop_crawler_schedule::StopCrawlerScheduleError::SchedulerNotRunningException(inner) => {
7479 Error::SchedulerNotRunningException(inner)
7480 }
7481 crate::operation::stop_crawler_schedule::StopCrawlerScheduleError::SchedulerTransitioningException(inner) => {
7482 Error::SchedulerTransitioningException(inner)
7483 }
7484 crate::operation::stop_crawler_schedule::StopCrawlerScheduleError::Unhandled(inner) => Error::Unhandled(inner),
7485 }
7486 }
7487}
7488impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_session::StopSessionError, R>> for Error
7489where
7490 R: Send + Sync + std::fmt::Debug + 'static,
7491{
7492 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_session::StopSessionError, R>) -> Self {
7493 match err {
7494 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7495 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7496 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7497 source: err.into(),
7498 }),
7499 }
7500 }
7501}
7502impl From<crate::operation::stop_session::StopSessionError> for Error {
7503 fn from(err: crate::operation::stop_session::StopSessionError) -> Self {
7504 match err {
7505 crate::operation::stop_session::StopSessionError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
7506 crate::operation::stop_session::StopSessionError::ConcurrentModificationException(inner) => Error::ConcurrentModificationException(inner),
7507 crate::operation::stop_session::StopSessionError::IllegalSessionStateException(inner) => Error::IllegalSessionStateException(inner),
7508 crate::operation::stop_session::StopSessionError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7509 crate::operation::stop_session::StopSessionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7510 crate::operation::stop_session::StopSessionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
7511 crate::operation::stop_session::StopSessionError::Unhandled(inner) => Error::Unhandled(inner),
7512 }
7513 }
7514}
7515impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_trigger::StopTriggerError, R>> for Error
7516where
7517 R: Send + Sync + std::fmt::Debug + 'static,
7518{
7519 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_trigger::StopTriggerError, R>) -> Self {
7520 match err {
7521 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7522 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7523 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7524 source: err.into(),
7525 }),
7526 }
7527 }
7528}
7529impl From<crate::operation::stop_trigger::StopTriggerError> for Error {
7530 fn from(err: crate::operation::stop_trigger::StopTriggerError) -> Self {
7531 match err {
7532 crate::operation::stop_trigger::StopTriggerError::ConcurrentModificationException(inner) => Error::ConcurrentModificationException(inner),
7533 crate::operation::stop_trigger::StopTriggerError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7534 crate::operation::stop_trigger::StopTriggerError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7535 crate::operation::stop_trigger::StopTriggerError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7536 crate::operation::stop_trigger::StopTriggerError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
7537 crate::operation::stop_trigger::StopTriggerError::Unhandled(inner) => Error::Unhandled(inner),
7538 }
7539 }
7540}
7541impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_workflow_run::StopWorkflowRunError, R>> for Error
7542where
7543 R: Send + Sync + std::fmt::Debug + 'static,
7544{
7545 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_workflow_run::StopWorkflowRunError, R>) -> Self {
7546 match err {
7547 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7548 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7549 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7550 source: err.into(),
7551 }),
7552 }
7553 }
7554}
7555impl From<crate::operation::stop_workflow_run::StopWorkflowRunError> for Error {
7556 fn from(err: crate::operation::stop_workflow_run::StopWorkflowRunError) -> Self {
7557 match err {
7558 crate::operation::stop_workflow_run::StopWorkflowRunError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7559 crate::operation::stop_workflow_run::StopWorkflowRunError::IllegalWorkflowStateException(inner) => {
7560 Error::IllegalWorkflowStateException(inner)
7561 }
7562 crate::operation::stop_workflow_run::StopWorkflowRunError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7563 crate::operation::stop_workflow_run::StopWorkflowRunError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7564 crate::operation::stop_workflow_run::StopWorkflowRunError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
7565 crate::operation::stop_workflow_run::StopWorkflowRunError::Unhandled(inner) => Error::Unhandled(inner),
7566 }
7567 }
7568}
7569impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::tag_resource::TagResourceError, R>> for Error
7570where
7571 R: Send + Sync + std::fmt::Debug + 'static,
7572{
7573 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::tag_resource::TagResourceError, R>) -> Self {
7574 match err {
7575 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7576 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7577 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7578 source: err.into(),
7579 }),
7580 }
7581 }
7582}
7583impl From<crate::operation::tag_resource::TagResourceError> for Error {
7584 fn from(err: crate::operation::tag_resource::TagResourceError) -> Self {
7585 match err {
7586 crate::operation::tag_resource::TagResourceError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7587 crate::operation::tag_resource::TagResourceError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7588 crate::operation::tag_resource::TagResourceError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7589 crate::operation::tag_resource::TagResourceError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
7590 crate::operation::tag_resource::TagResourceError::Unhandled(inner) => Error::Unhandled(inner),
7591 }
7592 }
7593}
7594impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::test_connection::TestConnectionError, R>> for Error
7595where
7596 R: Send + Sync + std::fmt::Debug + 'static,
7597{
7598 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::test_connection::TestConnectionError, R>) -> Self {
7599 match err {
7600 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7601 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7602 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7603 source: err.into(),
7604 }),
7605 }
7606 }
7607}
7608impl From<crate::operation::test_connection::TestConnectionError> for Error {
7609 fn from(err: crate::operation::test_connection::TestConnectionError) -> Self {
7610 match err {
7611 crate::operation::test_connection::TestConnectionError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
7612 crate::operation::test_connection::TestConnectionError::ConflictException(inner) => Error::ConflictException(inner),
7613 crate::operation::test_connection::TestConnectionError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7614 crate::operation::test_connection::TestConnectionError::FederationSourceException(inner) => Error::FederationSourceException(inner),
7615 crate::operation::test_connection::TestConnectionError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
7616 crate::operation::test_connection::TestConnectionError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7617 crate::operation::test_connection::TestConnectionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7618 crate::operation::test_connection::TestConnectionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
7619 crate::operation::test_connection::TestConnectionError::ResourceNumberLimitExceededException(inner) => {
7620 Error::ResourceNumberLimitExceededException(inner)
7621 }
7622 crate::operation::test_connection::TestConnectionError::Unhandled(inner) => Error::Unhandled(inner),
7623 }
7624 }
7625}
7626impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::untag_resource::UntagResourceError, R>> for Error
7627where
7628 R: Send + Sync + std::fmt::Debug + 'static,
7629{
7630 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::untag_resource::UntagResourceError, R>) -> Self {
7631 match err {
7632 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7633 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7634 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7635 source: err.into(),
7636 }),
7637 }
7638 }
7639}
7640impl From<crate::operation::untag_resource::UntagResourceError> for Error {
7641 fn from(err: crate::operation::untag_resource::UntagResourceError) -> Self {
7642 match err {
7643 crate::operation::untag_resource::UntagResourceError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7644 crate::operation::untag_resource::UntagResourceError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7645 crate::operation::untag_resource::UntagResourceError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7646 crate::operation::untag_resource::UntagResourceError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
7647 crate::operation::untag_resource::UntagResourceError::Unhandled(inner) => Error::Unhandled(inner),
7648 }
7649 }
7650}
7651impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_blueprint::UpdateBlueprintError, R>> for Error
7652where
7653 R: Send + Sync + std::fmt::Debug + 'static,
7654{
7655 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_blueprint::UpdateBlueprintError, R>) -> Self {
7656 match err {
7657 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7658 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7659 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7660 source: err.into(),
7661 }),
7662 }
7663 }
7664}
7665impl From<crate::operation::update_blueprint::UpdateBlueprintError> for Error {
7666 fn from(err: crate::operation::update_blueprint::UpdateBlueprintError) -> Self {
7667 match err {
7668 crate::operation::update_blueprint::UpdateBlueprintError::ConcurrentModificationException(inner) => {
7669 Error::ConcurrentModificationException(inner)
7670 }
7671 crate::operation::update_blueprint::UpdateBlueprintError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7672 crate::operation::update_blueprint::UpdateBlueprintError::IllegalBlueprintStateException(inner) => {
7673 Error::IllegalBlueprintStateException(inner)
7674 }
7675 crate::operation::update_blueprint::UpdateBlueprintError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7676 crate::operation::update_blueprint::UpdateBlueprintError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7677 crate::operation::update_blueprint::UpdateBlueprintError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
7678 crate::operation::update_blueprint::UpdateBlueprintError::Unhandled(inner) => Error::Unhandled(inner),
7679 }
7680 }
7681}
7682impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_catalog::UpdateCatalogError, R>> for Error
7683where
7684 R: Send + Sync + std::fmt::Debug + 'static,
7685{
7686 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_catalog::UpdateCatalogError, R>) -> Self {
7687 match err {
7688 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7689 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7690 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7691 source: err.into(),
7692 }),
7693 }
7694 }
7695}
7696impl From<crate::operation::update_catalog::UpdateCatalogError> for Error {
7697 fn from(err: crate::operation::update_catalog::UpdateCatalogError) -> Self {
7698 match err {
7699 crate::operation::update_catalog::UpdateCatalogError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
7700 crate::operation::update_catalog::UpdateCatalogError::ConcurrentModificationException(inner) => {
7701 Error::ConcurrentModificationException(inner)
7702 }
7703 crate::operation::update_catalog::UpdateCatalogError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7704 crate::operation::update_catalog::UpdateCatalogError::FederationSourceException(inner) => Error::FederationSourceException(inner),
7705 crate::operation::update_catalog::UpdateCatalogError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
7706 crate::operation::update_catalog::UpdateCatalogError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7707 crate::operation::update_catalog::UpdateCatalogError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7708 crate::operation::update_catalog::UpdateCatalogError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
7709 crate::operation::update_catalog::UpdateCatalogError::Unhandled(inner) => Error::Unhandled(inner),
7710 }
7711 }
7712}
7713impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_classifier::UpdateClassifierError, R>> for Error
7714where
7715 R: Send + Sync + std::fmt::Debug + 'static,
7716{
7717 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_classifier::UpdateClassifierError, R>) -> Self {
7718 match err {
7719 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7720 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7721 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7722 source: err.into(),
7723 }),
7724 }
7725 }
7726}
7727impl From<crate::operation::update_classifier::UpdateClassifierError> for Error {
7728 fn from(err: crate::operation::update_classifier::UpdateClassifierError) -> Self {
7729 match err {
7730 crate::operation::update_classifier::UpdateClassifierError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7731 crate::operation::update_classifier::UpdateClassifierError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7732 crate::operation::update_classifier::UpdateClassifierError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
7733 crate::operation::update_classifier::UpdateClassifierError::VersionMismatchException(inner) => Error::VersionMismatchException(inner),
7734 crate::operation::update_classifier::UpdateClassifierError::Unhandled(inner) => Error::Unhandled(inner),
7735 }
7736 }
7737}
7738impl<R>
7739 From<
7740 ::aws_smithy_runtime_api::client::result::SdkError<
7741 crate::operation::update_column_statistics_for_partition::UpdateColumnStatisticsForPartitionError,
7742 R,
7743 >,
7744 > for Error
7745where
7746 R: Send + Sync + std::fmt::Debug + 'static,
7747{
7748 fn from(
7749 err: ::aws_smithy_runtime_api::client::result::SdkError<
7750 crate::operation::update_column_statistics_for_partition::UpdateColumnStatisticsForPartitionError,
7751 R,
7752 >,
7753 ) -> Self {
7754 match err {
7755 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7756 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7757 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7758 source: err.into(),
7759 }),
7760 }
7761 }
7762}
7763impl From<crate::operation::update_column_statistics_for_partition::UpdateColumnStatisticsForPartitionError> for Error {
7764 fn from(err: crate::operation::update_column_statistics_for_partition::UpdateColumnStatisticsForPartitionError) -> Self {
7765 match err {
7766 crate::operation::update_column_statistics_for_partition::UpdateColumnStatisticsForPartitionError::EntityNotFoundException(inner) => {
7767 Error::EntityNotFoundException(inner)
7768 }
7769 crate::operation::update_column_statistics_for_partition::UpdateColumnStatisticsForPartitionError::GlueEncryptionException(inner) => {
7770 Error::GlueEncryptionException(inner)
7771 }
7772 crate::operation::update_column_statistics_for_partition::UpdateColumnStatisticsForPartitionError::InternalServiceException(inner) => {
7773 Error::InternalServiceException(inner)
7774 }
7775 crate::operation::update_column_statistics_for_partition::UpdateColumnStatisticsForPartitionError::InvalidInputException(inner) => {
7776 Error::InvalidInputException(inner)
7777 }
7778 crate::operation::update_column_statistics_for_partition::UpdateColumnStatisticsForPartitionError::OperationTimeoutException(inner) => {
7779 Error::OperationTimeoutException(inner)
7780 }
7781 crate::operation::update_column_statistics_for_partition::UpdateColumnStatisticsForPartitionError::Unhandled(inner) => {
7782 Error::Unhandled(inner)
7783 }
7784 }
7785 }
7786}
7787impl<R>
7788 From<
7789 ::aws_smithy_runtime_api::client::result::SdkError<
7790 crate::operation::update_column_statistics_for_table::UpdateColumnStatisticsForTableError,
7791 R,
7792 >,
7793 > for Error
7794where
7795 R: Send + Sync + std::fmt::Debug + 'static,
7796{
7797 fn from(
7798 err: ::aws_smithy_runtime_api::client::result::SdkError<
7799 crate::operation::update_column_statistics_for_table::UpdateColumnStatisticsForTableError,
7800 R,
7801 >,
7802 ) -> Self {
7803 match err {
7804 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7805 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7806 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7807 source: err.into(),
7808 }),
7809 }
7810 }
7811}
7812impl From<crate::operation::update_column_statistics_for_table::UpdateColumnStatisticsForTableError> for Error {
7813 fn from(err: crate::operation::update_column_statistics_for_table::UpdateColumnStatisticsForTableError) -> Self {
7814 match err {
7815 crate::operation::update_column_statistics_for_table::UpdateColumnStatisticsForTableError::EntityNotFoundException(inner) => {
7816 Error::EntityNotFoundException(inner)
7817 }
7818 crate::operation::update_column_statistics_for_table::UpdateColumnStatisticsForTableError::GlueEncryptionException(inner) => {
7819 Error::GlueEncryptionException(inner)
7820 }
7821 crate::operation::update_column_statistics_for_table::UpdateColumnStatisticsForTableError::InternalServiceException(inner) => {
7822 Error::InternalServiceException(inner)
7823 }
7824 crate::operation::update_column_statistics_for_table::UpdateColumnStatisticsForTableError::InvalidInputException(inner) => {
7825 Error::InvalidInputException(inner)
7826 }
7827 crate::operation::update_column_statistics_for_table::UpdateColumnStatisticsForTableError::OperationTimeoutException(inner) => {
7828 Error::OperationTimeoutException(inner)
7829 }
7830 crate::operation::update_column_statistics_for_table::UpdateColumnStatisticsForTableError::Unhandled(inner) => Error::Unhandled(inner),
7831 }
7832 }
7833}
7834impl<R>
7835 From<
7836 ::aws_smithy_runtime_api::client::result::SdkError<
7837 crate::operation::update_column_statistics_task_settings::UpdateColumnStatisticsTaskSettingsError,
7838 R,
7839 >,
7840 > for Error
7841where
7842 R: Send + Sync + std::fmt::Debug + 'static,
7843{
7844 fn from(
7845 err: ::aws_smithy_runtime_api::client::result::SdkError<
7846 crate::operation::update_column_statistics_task_settings::UpdateColumnStatisticsTaskSettingsError,
7847 R,
7848 >,
7849 ) -> Self {
7850 match err {
7851 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7852 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7853 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7854 source: err.into(),
7855 }),
7856 }
7857 }
7858}
7859impl From<crate::operation::update_column_statistics_task_settings::UpdateColumnStatisticsTaskSettingsError> for Error {
7860 fn from(err: crate::operation::update_column_statistics_task_settings::UpdateColumnStatisticsTaskSettingsError) -> Self {
7861 match err {
7862 crate::operation::update_column_statistics_task_settings::UpdateColumnStatisticsTaskSettingsError::AccessDeniedException(inner) => {
7863 Error::AccessDeniedException(inner)
7864 }
7865 crate::operation::update_column_statistics_task_settings::UpdateColumnStatisticsTaskSettingsError::EntityNotFoundException(inner) => {
7866 Error::EntityNotFoundException(inner)
7867 }
7868 crate::operation::update_column_statistics_task_settings::UpdateColumnStatisticsTaskSettingsError::InvalidInputException(inner) => {
7869 Error::InvalidInputException(inner)
7870 }
7871 crate::operation::update_column_statistics_task_settings::UpdateColumnStatisticsTaskSettingsError::OperationTimeoutException(inner) => {
7872 Error::OperationTimeoutException(inner)
7873 }
7874 crate::operation::update_column_statistics_task_settings::UpdateColumnStatisticsTaskSettingsError::VersionMismatchException(inner) => {
7875 Error::VersionMismatchException(inner)
7876 }
7877 crate::operation::update_column_statistics_task_settings::UpdateColumnStatisticsTaskSettingsError::Unhandled(inner) => {
7878 Error::Unhandled(inner)
7879 }
7880 }
7881 }
7882}
7883impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_connection::UpdateConnectionError, R>> for Error
7884where
7885 R: Send + Sync + std::fmt::Debug + 'static,
7886{
7887 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_connection::UpdateConnectionError, R>) -> Self {
7888 match err {
7889 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7890 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7891 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7892 source: err.into(),
7893 }),
7894 }
7895 }
7896}
7897impl From<crate::operation::update_connection::UpdateConnectionError> for Error {
7898 fn from(err: crate::operation::update_connection::UpdateConnectionError) -> Self {
7899 match err {
7900 crate::operation::update_connection::UpdateConnectionError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7901 crate::operation::update_connection::UpdateConnectionError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
7902 crate::operation::update_connection::UpdateConnectionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7903 crate::operation::update_connection::UpdateConnectionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
7904 crate::operation::update_connection::UpdateConnectionError::Unhandled(inner) => Error::Unhandled(inner),
7905 }
7906 }
7907}
7908impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_crawler::UpdateCrawlerError, R>> for Error
7909where
7910 R: Send + Sync + std::fmt::Debug + 'static,
7911{
7912 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_crawler::UpdateCrawlerError, R>) -> Self {
7913 match err {
7914 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7915 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7916 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7917 source: err.into(),
7918 }),
7919 }
7920 }
7921}
7922impl From<crate::operation::update_crawler::UpdateCrawlerError> for Error {
7923 fn from(err: crate::operation::update_crawler::UpdateCrawlerError) -> Self {
7924 match err {
7925 crate::operation::update_crawler::UpdateCrawlerError::CrawlerRunningException(inner) => Error::CrawlerRunningException(inner),
7926 crate::operation::update_crawler::UpdateCrawlerError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7927 crate::operation::update_crawler::UpdateCrawlerError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7928 crate::operation::update_crawler::UpdateCrawlerError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
7929 crate::operation::update_crawler::UpdateCrawlerError::VersionMismatchException(inner) => Error::VersionMismatchException(inner),
7930 crate::operation::update_crawler::UpdateCrawlerError::Unhandled(inner) => Error::Unhandled(inner),
7931 }
7932 }
7933}
7934impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_crawler_schedule::UpdateCrawlerScheduleError, R>> for Error
7935where
7936 R: Send + Sync + std::fmt::Debug + 'static,
7937{
7938 fn from(
7939 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_crawler_schedule::UpdateCrawlerScheduleError, R>,
7940 ) -> Self {
7941 match err {
7942 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7943 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7944 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7945 source: err.into(),
7946 }),
7947 }
7948 }
7949}
7950impl From<crate::operation::update_crawler_schedule::UpdateCrawlerScheduleError> for Error {
7951 fn from(err: crate::operation::update_crawler_schedule::UpdateCrawlerScheduleError) -> Self {
7952 match err {
7953 crate::operation::update_crawler_schedule::UpdateCrawlerScheduleError::EntityNotFoundException(inner) => {
7954 Error::EntityNotFoundException(inner)
7955 }
7956 crate::operation::update_crawler_schedule::UpdateCrawlerScheduleError::InvalidInputException(inner) => {
7957 Error::InvalidInputException(inner)
7958 }
7959 crate::operation::update_crawler_schedule::UpdateCrawlerScheduleError::OperationTimeoutException(inner) => {
7960 Error::OperationTimeoutException(inner)
7961 }
7962 crate::operation::update_crawler_schedule::UpdateCrawlerScheduleError::SchedulerTransitioningException(inner) => {
7963 Error::SchedulerTransitioningException(inner)
7964 }
7965 crate::operation::update_crawler_schedule::UpdateCrawlerScheduleError::VersionMismatchException(inner) => {
7966 Error::VersionMismatchException(inner)
7967 }
7968 crate::operation::update_crawler_schedule::UpdateCrawlerScheduleError::Unhandled(inner) => Error::Unhandled(inner),
7969 }
7970 }
7971}
7972impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_database::UpdateDatabaseError, R>> for Error
7973where
7974 R: Send + Sync + std::fmt::Debug + 'static,
7975{
7976 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_database::UpdateDatabaseError, R>) -> Self {
7977 match err {
7978 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7979 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7980 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7981 source: err.into(),
7982 }),
7983 }
7984 }
7985}
7986impl From<crate::operation::update_database::UpdateDatabaseError> for Error {
7987 fn from(err: crate::operation::update_database::UpdateDatabaseError) -> Self {
7988 match err {
7989 crate::operation::update_database::UpdateDatabaseError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
7990 crate::operation::update_database::UpdateDatabaseError::ConcurrentModificationException(inner) => {
7991 Error::ConcurrentModificationException(inner)
7992 }
7993 crate::operation::update_database::UpdateDatabaseError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7994 crate::operation::update_database::UpdateDatabaseError::FederationSourceException(inner) => Error::FederationSourceException(inner),
7995 crate::operation::update_database::UpdateDatabaseError::FederationSourceRetryableException(inner) => {
7996 Error::FederationSourceRetryableException(inner)
7997 }
7998 crate::operation::update_database::UpdateDatabaseError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
7999 crate::operation::update_database::UpdateDatabaseError::InternalServiceException(inner) => Error::InternalServiceException(inner),
8000 crate::operation::update_database::UpdateDatabaseError::InvalidInputException(inner) => Error::InvalidInputException(inner),
8001 crate::operation::update_database::UpdateDatabaseError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
8002 crate::operation::update_database::UpdateDatabaseError::Unhandled(inner) => Error::Unhandled(inner),
8003 }
8004 }
8005}
8006impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_data_quality_ruleset::UpdateDataQualityRulesetError, R>>
8007 for Error
8008where
8009 R: Send + Sync + std::fmt::Debug + 'static,
8010{
8011 fn from(
8012 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_data_quality_ruleset::UpdateDataQualityRulesetError, R>,
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::update_data_quality_ruleset::UpdateDataQualityRulesetError> for Error {
8024 fn from(err: crate::operation::update_data_quality_ruleset::UpdateDataQualityRulesetError) -> Self {
8025 match err {
8026 crate::operation::update_data_quality_ruleset::UpdateDataQualityRulesetError::AlreadyExistsException(inner) => {
8027 Error::AlreadyExistsException(inner)
8028 }
8029 crate::operation::update_data_quality_ruleset::UpdateDataQualityRulesetError::EntityNotFoundException(inner) => {
8030 Error::EntityNotFoundException(inner)
8031 }
8032 crate::operation::update_data_quality_ruleset::UpdateDataQualityRulesetError::IdempotentParameterMismatchException(inner) => {
8033 Error::IdempotentParameterMismatchException(inner)
8034 }
8035 crate::operation::update_data_quality_ruleset::UpdateDataQualityRulesetError::InternalServiceException(inner) => {
8036 Error::InternalServiceException(inner)
8037 }
8038 crate::operation::update_data_quality_ruleset::UpdateDataQualityRulesetError::InvalidInputException(inner) => {
8039 Error::InvalidInputException(inner)
8040 }
8041 crate::operation::update_data_quality_ruleset::UpdateDataQualityRulesetError::OperationTimeoutException(inner) => {
8042 Error::OperationTimeoutException(inner)
8043 }
8044 crate::operation::update_data_quality_ruleset::UpdateDataQualityRulesetError::ResourceNumberLimitExceededException(inner) => {
8045 Error::ResourceNumberLimitExceededException(inner)
8046 }
8047 crate::operation::update_data_quality_ruleset::UpdateDataQualityRulesetError::Unhandled(inner) => Error::Unhandled(inner),
8048 }
8049 }
8050}
8051impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_dev_endpoint::UpdateDevEndpointError, R>> for Error
8052where
8053 R: Send + Sync + std::fmt::Debug + 'static,
8054{
8055 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_dev_endpoint::UpdateDevEndpointError, R>) -> Self {
8056 match err {
8057 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8058 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8059 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8060 source: err.into(),
8061 }),
8062 }
8063 }
8064}
8065impl From<crate::operation::update_dev_endpoint::UpdateDevEndpointError> for Error {
8066 fn from(err: crate::operation::update_dev_endpoint::UpdateDevEndpointError) -> Self {
8067 match err {
8068 crate::operation::update_dev_endpoint::UpdateDevEndpointError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
8069 crate::operation::update_dev_endpoint::UpdateDevEndpointError::InternalServiceException(inner) => Error::InternalServiceException(inner),
8070 crate::operation::update_dev_endpoint::UpdateDevEndpointError::InvalidInputException(inner) => Error::InvalidInputException(inner),
8071 crate::operation::update_dev_endpoint::UpdateDevEndpointError::OperationTimeoutException(inner) => {
8072 Error::OperationTimeoutException(inner)
8073 }
8074 crate::operation::update_dev_endpoint::UpdateDevEndpointError::ValidationException(inner) => Error::ValidationException(inner),
8075 crate::operation::update_dev_endpoint::UpdateDevEndpointError::Unhandled(inner) => Error::Unhandled(inner),
8076 }
8077 }
8078}
8079impl<R>
8080 From<
8081 ::aws_smithy_runtime_api::client::result::SdkError<
8082 crate::operation::update_glue_identity_center_configuration::UpdateGlueIdentityCenterConfigurationError,
8083 R,
8084 >,
8085 > for Error
8086where
8087 R: Send + Sync + std::fmt::Debug + 'static,
8088{
8089 fn from(
8090 err: ::aws_smithy_runtime_api::client::result::SdkError<
8091 crate::operation::update_glue_identity_center_configuration::UpdateGlueIdentityCenterConfigurationError,
8092 R,
8093 >,
8094 ) -> Self {
8095 match err {
8096 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8097 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8098 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8099 source: err.into(),
8100 }),
8101 }
8102 }
8103}
8104impl From<crate::operation::update_glue_identity_center_configuration::UpdateGlueIdentityCenterConfigurationError> for Error {
8105 fn from(err: crate::operation::update_glue_identity_center_configuration::UpdateGlueIdentityCenterConfigurationError) -> Self {
8106 match err {
8107 crate::operation::update_glue_identity_center_configuration::UpdateGlueIdentityCenterConfigurationError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
8108 crate::operation::update_glue_identity_center_configuration::UpdateGlueIdentityCenterConfigurationError::ConcurrentModificationException(inner) => Error::ConcurrentModificationException(inner),
8109 crate::operation::update_glue_identity_center_configuration::UpdateGlueIdentityCenterConfigurationError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
8110 crate::operation::update_glue_identity_center_configuration::UpdateGlueIdentityCenterConfigurationError::InternalServiceException(inner) => Error::InternalServiceException(inner),
8111 crate::operation::update_glue_identity_center_configuration::UpdateGlueIdentityCenterConfigurationError::InvalidInputException(inner) => Error::InvalidInputException(inner),
8112 crate::operation::update_glue_identity_center_configuration::UpdateGlueIdentityCenterConfigurationError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
8113 crate::operation::update_glue_identity_center_configuration::UpdateGlueIdentityCenterConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
8114 }
8115 }
8116}
8117impl<R>
8118 From<
8119 ::aws_smithy_runtime_api::client::result::SdkError<
8120 crate::operation::update_integration_resource_property::UpdateIntegrationResourcePropertyError,
8121 R,
8122 >,
8123 > for Error
8124where
8125 R: Send + Sync + std::fmt::Debug + 'static,
8126{
8127 fn from(
8128 err: ::aws_smithy_runtime_api::client::result::SdkError<
8129 crate::operation::update_integration_resource_property::UpdateIntegrationResourcePropertyError,
8130 R,
8131 >,
8132 ) -> Self {
8133 match err {
8134 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8135 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8136 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8137 source: err.into(),
8138 }),
8139 }
8140 }
8141}
8142impl From<crate::operation::update_integration_resource_property::UpdateIntegrationResourcePropertyError> for Error {
8143 fn from(err: crate::operation::update_integration_resource_property::UpdateIntegrationResourcePropertyError) -> Self {
8144 match err {
8145 crate::operation::update_integration_resource_property::UpdateIntegrationResourcePropertyError::AccessDeniedException(inner) => {
8146 Error::AccessDeniedException(inner)
8147 }
8148 crate::operation::update_integration_resource_property::UpdateIntegrationResourcePropertyError::EntityNotFoundException(inner) => {
8149 Error::EntityNotFoundException(inner)
8150 }
8151 crate::operation::update_integration_resource_property::UpdateIntegrationResourcePropertyError::InternalServerException(inner) => {
8152 Error::InternalServerException(inner)
8153 }
8154 crate::operation::update_integration_resource_property::UpdateIntegrationResourcePropertyError::InternalServiceException(inner) => {
8155 Error::InternalServiceException(inner)
8156 }
8157 crate::operation::update_integration_resource_property::UpdateIntegrationResourcePropertyError::InvalidInputException(inner) => {
8158 Error::InvalidInputException(inner)
8159 }
8160 crate::operation::update_integration_resource_property::UpdateIntegrationResourcePropertyError::ResourceNotFoundException(inner) => {
8161 Error::ResourceNotFoundException(inner)
8162 }
8163 crate::operation::update_integration_resource_property::UpdateIntegrationResourcePropertyError::ValidationException(inner) => {
8164 Error::ValidationException(inner)
8165 }
8166 crate::operation::update_integration_resource_property::UpdateIntegrationResourcePropertyError::Unhandled(inner) => {
8167 Error::Unhandled(inner)
8168 }
8169 }
8170 }
8171}
8172impl<R>
8173 From<
8174 ::aws_smithy_runtime_api::client::result::SdkError<
8175 crate::operation::update_integration_table_properties::UpdateIntegrationTablePropertiesError,
8176 R,
8177 >,
8178 > for Error
8179where
8180 R: Send + Sync + std::fmt::Debug + 'static,
8181{
8182 fn from(
8183 err: ::aws_smithy_runtime_api::client::result::SdkError<
8184 crate::operation::update_integration_table_properties::UpdateIntegrationTablePropertiesError,
8185 R,
8186 >,
8187 ) -> Self {
8188 match err {
8189 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8190 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8191 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8192 source: err.into(),
8193 }),
8194 }
8195 }
8196}
8197impl From<crate::operation::update_integration_table_properties::UpdateIntegrationTablePropertiesError> for Error {
8198 fn from(err: crate::operation::update_integration_table_properties::UpdateIntegrationTablePropertiesError) -> Self {
8199 match err {
8200 crate::operation::update_integration_table_properties::UpdateIntegrationTablePropertiesError::AccessDeniedException(inner) => {
8201 Error::AccessDeniedException(inner)
8202 }
8203 crate::operation::update_integration_table_properties::UpdateIntegrationTablePropertiesError::EntityNotFoundException(inner) => {
8204 Error::EntityNotFoundException(inner)
8205 }
8206 crate::operation::update_integration_table_properties::UpdateIntegrationTablePropertiesError::InternalServerException(inner) => {
8207 Error::InternalServerException(inner)
8208 }
8209 crate::operation::update_integration_table_properties::UpdateIntegrationTablePropertiesError::InternalServiceException(inner) => {
8210 Error::InternalServiceException(inner)
8211 }
8212 crate::operation::update_integration_table_properties::UpdateIntegrationTablePropertiesError::InvalidInputException(inner) => {
8213 Error::InvalidInputException(inner)
8214 }
8215 crate::operation::update_integration_table_properties::UpdateIntegrationTablePropertiesError::ResourceNotFoundException(inner) => {
8216 Error::ResourceNotFoundException(inner)
8217 }
8218 crate::operation::update_integration_table_properties::UpdateIntegrationTablePropertiesError::ValidationException(inner) => {
8219 Error::ValidationException(inner)
8220 }
8221 crate::operation::update_integration_table_properties::UpdateIntegrationTablePropertiesError::Unhandled(inner) => Error::Unhandled(inner),
8222 }
8223 }
8224}
8225impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_job::UpdateJobError, R>> for Error
8226where
8227 R: Send + Sync + std::fmt::Debug + 'static,
8228{
8229 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_job::UpdateJobError, R>) -> Self {
8230 match err {
8231 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8232 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8233 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8234 source: err.into(),
8235 }),
8236 }
8237 }
8238}
8239impl From<crate::operation::update_job::UpdateJobError> for Error {
8240 fn from(err: crate::operation::update_job::UpdateJobError) -> Self {
8241 match err {
8242 crate::operation::update_job::UpdateJobError::ConcurrentModificationException(inner) => Error::ConcurrentModificationException(inner),
8243 crate::operation::update_job::UpdateJobError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
8244 crate::operation::update_job::UpdateJobError::InternalServiceException(inner) => Error::InternalServiceException(inner),
8245 crate::operation::update_job::UpdateJobError::InvalidInputException(inner) => Error::InvalidInputException(inner),
8246 crate::operation::update_job::UpdateJobError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
8247 crate::operation::update_job::UpdateJobError::Unhandled(inner) => Error::Unhandled(inner),
8248 }
8249 }
8250}
8251impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_job_from_source_control::UpdateJobFromSourceControlError, R>>
8252 for Error
8253where
8254 R: Send + Sync + std::fmt::Debug + 'static,
8255{
8256 fn from(
8257 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_job_from_source_control::UpdateJobFromSourceControlError, R>,
8258 ) -> Self {
8259 match err {
8260 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8261 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8262 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8263 source: err.into(),
8264 }),
8265 }
8266 }
8267}
8268impl From<crate::operation::update_job_from_source_control::UpdateJobFromSourceControlError> for Error {
8269 fn from(err: crate::operation::update_job_from_source_control::UpdateJobFromSourceControlError) -> Self {
8270 match err {
8271 crate::operation::update_job_from_source_control::UpdateJobFromSourceControlError::AccessDeniedException(inner) => {
8272 Error::AccessDeniedException(inner)
8273 }
8274 crate::operation::update_job_from_source_control::UpdateJobFromSourceControlError::AlreadyExistsException(inner) => {
8275 Error::AlreadyExistsException(inner)
8276 }
8277 crate::operation::update_job_from_source_control::UpdateJobFromSourceControlError::EntityNotFoundException(inner) => {
8278 Error::EntityNotFoundException(inner)
8279 }
8280 crate::operation::update_job_from_source_control::UpdateJobFromSourceControlError::InternalServiceException(inner) => {
8281 Error::InternalServiceException(inner)
8282 }
8283 crate::operation::update_job_from_source_control::UpdateJobFromSourceControlError::InvalidInputException(inner) => {
8284 Error::InvalidInputException(inner)
8285 }
8286 crate::operation::update_job_from_source_control::UpdateJobFromSourceControlError::OperationTimeoutException(inner) => {
8287 Error::OperationTimeoutException(inner)
8288 }
8289 crate::operation::update_job_from_source_control::UpdateJobFromSourceControlError::ValidationException(inner) => {
8290 Error::ValidationException(inner)
8291 }
8292 crate::operation::update_job_from_source_control::UpdateJobFromSourceControlError::Unhandled(inner) => Error::Unhandled(inner),
8293 }
8294 }
8295}
8296impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_ml_transform::UpdateMLTransformError, R>> for Error
8297where
8298 R: Send + Sync + std::fmt::Debug + 'static,
8299{
8300 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_ml_transform::UpdateMLTransformError, R>) -> Self {
8301 match err {
8302 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8303 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8304 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8305 source: err.into(),
8306 }),
8307 }
8308 }
8309}
8310impl From<crate::operation::update_ml_transform::UpdateMLTransformError> for Error {
8311 fn from(err: crate::operation::update_ml_transform::UpdateMLTransformError) -> Self {
8312 match err {
8313 crate::operation::update_ml_transform::UpdateMLTransformError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
8314 crate::operation::update_ml_transform::UpdateMLTransformError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
8315 crate::operation::update_ml_transform::UpdateMLTransformError::InternalServiceException(inner) => Error::InternalServiceException(inner),
8316 crate::operation::update_ml_transform::UpdateMLTransformError::InvalidInputException(inner) => Error::InvalidInputException(inner),
8317 crate::operation::update_ml_transform::UpdateMLTransformError::OperationTimeoutException(inner) => {
8318 Error::OperationTimeoutException(inner)
8319 }
8320 crate::operation::update_ml_transform::UpdateMLTransformError::Unhandled(inner) => Error::Unhandled(inner),
8321 }
8322 }
8323}
8324impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_partition::UpdatePartitionError, R>> for Error
8325where
8326 R: Send + Sync + std::fmt::Debug + 'static,
8327{
8328 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_partition::UpdatePartitionError, R>) -> Self {
8329 match err {
8330 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8331 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8332 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8333 source: err.into(),
8334 }),
8335 }
8336 }
8337}
8338impl From<crate::operation::update_partition::UpdatePartitionError> for Error {
8339 fn from(err: crate::operation::update_partition::UpdatePartitionError) -> Self {
8340 match err {
8341 crate::operation::update_partition::UpdatePartitionError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
8342 crate::operation::update_partition::UpdatePartitionError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
8343 crate::operation::update_partition::UpdatePartitionError::InternalServiceException(inner) => Error::InternalServiceException(inner),
8344 crate::operation::update_partition::UpdatePartitionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
8345 crate::operation::update_partition::UpdatePartitionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
8346 crate::operation::update_partition::UpdatePartitionError::Unhandled(inner) => Error::Unhandled(inner),
8347 }
8348 }
8349}
8350impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_registry::UpdateRegistryError, R>> for Error
8351where
8352 R: Send + Sync + std::fmt::Debug + 'static,
8353{
8354 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_registry::UpdateRegistryError, R>) -> 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::update_registry::UpdateRegistryError> for Error {
8365 fn from(err: crate::operation::update_registry::UpdateRegistryError) -> Self {
8366 match err {
8367 crate::operation::update_registry::UpdateRegistryError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
8368 crate::operation::update_registry::UpdateRegistryError::ConcurrentModificationException(inner) => {
8369 Error::ConcurrentModificationException(inner)
8370 }
8371 crate::operation::update_registry::UpdateRegistryError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
8372 crate::operation::update_registry::UpdateRegistryError::InternalServiceException(inner) => Error::InternalServiceException(inner),
8373 crate::operation::update_registry::UpdateRegistryError::InvalidInputException(inner) => Error::InvalidInputException(inner),
8374 crate::operation::update_registry::UpdateRegistryError::Unhandled(inner) => Error::Unhandled(inner),
8375 }
8376 }
8377}
8378impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_schema::UpdateSchemaError, R>> for Error
8379where
8380 R: Send + Sync + std::fmt::Debug + 'static,
8381{
8382 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_schema::UpdateSchemaError, R>) -> Self {
8383 match err {
8384 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8385 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8386 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8387 source: err.into(),
8388 }),
8389 }
8390 }
8391}
8392impl From<crate::operation::update_schema::UpdateSchemaError> for Error {
8393 fn from(err: crate::operation::update_schema::UpdateSchemaError) -> Self {
8394 match err {
8395 crate::operation::update_schema::UpdateSchemaError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
8396 crate::operation::update_schema::UpdateSchemaError::ConcurrentModificationException(inner) => {
8397 Error::ConcurrentModificationException(inner)
8398 }
8399 crate::operation::update_schema::UpdateSchemaError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
8400 crate::operation::update_schema::UpdateSchemaError::InternalServiceException(inner) => Error::InternalServiceException(inner),
8401 crate::operation::update_schema::UpdateSchemaError::InvalidInputException(inner) => Error::InvalidInputException(inner),
8402 crate::operation::update_schema::UpdateSchemaError::Unhandled(inner) => Error::Unhandled(inner),
8403 }
8404 }
8405}
8406impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_source_control_from_job::UpdateSourceControlFromJobError, R>>
8407 for Error
8408where
8409 R: Send + Sync + std::fmt::Debug + 'static,
8410{
8411 fn from(
8412 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_source_control_from_job::UpdateSourceControlFromJobError, R>,
8413 ) -> Self {
8414 match err {
8415 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8416 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8417 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8418 source: err.into(),
8419 }),
8420 }
8421 }
8422}
8423impl From<crate::operation::update_source_control_from_job::UpdateSourceControlFromJobError> for Error {
8424 fn from(err: crate::operation::update_source_control_from_job::UpdateSourceControlFromJobError) -> Self {
8425 match err {
8426 crate::operation::update_source_control_from_job::UpdateSourceControlFromJobError::AccessDeniedException(inner) => {
8427 Error::AccessDeniedException(inner)
8428 }
8429 crate::operation::update_source_control_from_job::UpdateSourceControlFromJobError::AlreadyExistsException(inner) => {
8430 Error::AlreadyExistsException(inner)
8431 }
8432 crate::operation::update_source_control_from_job::UpdateSourceControlFromJobError::EntityNotFoundException(inner) => {
8433 Error::EntityNotFoundException(inner)
8434 }
8435 crate::operation::update_source_control_from_job::UpdateSourceControlFromJobError::InternalServiceException(inner) => {
8436 Error::InternalServiceException(inner)
8437 }
8438 crate::operation::update_source_control_from_job::UpdateSourceControlFromJobError::InvalidInputException(inner) => {
8439 Error::InvalidInputException(inner)
8440 }
8441 crate::operation::update_source_control_from_job::UpdateSourceControlFromJobError::OperationTimeoutException(inner) => {
8442 Error::OperationTimeoutException(inner)
8443 }
8444 crate::operation::update_source_control_from_job::UpdateSourceControlFromJobError::ValidationException(inner) => {
8445 Error::ValidationException(inner)
8446 }
8447 crate::operation::update_source_control_from_job::UpdateSourceControlFromJobError::Unhandled(inner) => Error::Unhandled(inner),
8448 }
8449 }
8450}
8451impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_table::UpdateTableError, R>> for Error
8452where
8453 R: Send + Sync + std::fmt::Debug + 'static,
8454{
8455 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_table::UpdateTableError, R>) -> Self {
8456 match err {
8457 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8458 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8459 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8460 source: err.into(),
8461 }),
8462 }
8463 }
8464}
8465impl From<crate::operation::update_table::UpdateTableError> for Error {
8466 fn from(err: crate::operation::update_table::UpdateTableError) -> Self {
8467 match err {
8468 crate::operation::update_table::UpdateTableError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
8469 crate::operation::update_table::UpdateTableError::ConcurrentModificationException(inner) => Error::ConcurrentModificationException(inner),
8470 crate::operation::update_table::UpdateTableError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
8471 crate::operation::update_table::UpdateTableError::FederationSourceException(inner) => Error::FederationSourceException(inner),
8472 crate::operation::update_table::UpdateTableError::FederationSourceRetryableException(inner) => {
8473 Error::FederationSourceRetryableException(inner)
8474 }
8475 crate::operation::update_table::UpdateTableError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
8476 crate::operation::update_table::UpdateTableError::InternalServiceException(inner) => Error::InternalServiceException(inner),
8477 crate::operation::update_table::UpdateTableError::InvalidInputException(inner) => Error::InvalidInputException(inner),
8478 crate::operation::update_table::UpdateTableError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
8479 crate::operation::update_table::UpdateTableError::ResourceNotReadyException(inner) => Error::ResourceNotReadyException(inner),
8480 crate::operation::update_table::UpdateTableError::ResourceNumberLimitExceededException(inner) => {
8481 Error::ResourceNumberLimitExceededException(inner)
8482 }
8483 crate::operation::update_table::UpdateTableError::Unhandled(inner) => Error::Unhandled(inner),
8484 }
8485 }
8486}
8487impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_table_optimizer::UpdateTableOptimizerError, R>> for Error
8488where
8489 R: Send + Sync + std::fmt::Debug + 'static,
8490{
8491 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_table_optimizer::UpdateTableOptimizerError, R>) -> Self {
8492 match err {
8493 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8494 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8495 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8496 source: err.into(),
8497 }),
8498 }
8499 }
8500}
8501impl From<crate::operation::update_table_optimizer::UpdateTableOptimizerError> for Error {
8502 fn from(err: crate::operation::update_table_optimizer::UpdateTableOptimizerError) -> Self {
8503 match err {
8504 crate::operation::update_table_optimizer::UpdateTableOptimizerError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
8505 crate::operation::update_table_optimizer::UpdateTableOptimizerError::ConcurrentModificationException(inner) => {
8506 Error::ConcurrentModificationException(inner)
8507 }
8508 crate::operation::update_table_optimizer::UpdateTableOptimizerError::EntityNotFoundException(inner) => {
8509 Error::EntityNotFoundException(inner)
8510 }
8511 crate::operation::update_table_optimizer::UpdateTableOptimizerError::InternalServiceException(inner) => {
8512 Error::InternalServiceException(inner)
8513 }
8514 crate::operation::update_table_optimizer::UpdateTableOptimizerError::InvalidInputException(inner) => Error::InvalidInputException(inner),
8515 crate::operation::update_table_optimizer::UpdateTableOptimizerError::ThrottlingException(inner) => Error::ThrottlingException(inner),
8516 crate::operation::update_table_optimizer::UpdateTableOptimizerError::ValidationException(inner) => Error::ValidationException(inner),
8517 crate::operation::update_table_optimizer::UpdateTableOptimizerError::Unhandled(inner) => Error::Unhandled(inner),
8518 }
8519 }
8520}
8521impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_trigger::UpdateTriggerError, R>> for Error
8522where
8523 R: Send + Sync + std::fmt::Debug + 'static,
8524{
8525 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_trigger::UpdateTriggerError, R>) -> Self {
8526 match err {
8527 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8528 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8529 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8530 source: err.into(),
8531 }),
8532 }
8533 }
8534}
8535impl From<crate::operation::update_trigger::UpdateTriggerError> for Error {
8536 fn from(err: crate::operation::update_trigger::UpdateTriggerError) -> Self {
8537 match err {
8538 crate::operation::update_trigger::UpdateTriggerError::ConcurrentModificationException(inner) => {
8539 Error::ConcurrentModificationException(inner)
8540 }
8541 crate::operation::update_trigger::UpdateTriggerError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
8542 crate::operation::update_trigger::UpdateTriggerError::InternalServiceException(inner) => Error::InternalServiceException(inner),
8543 crate::operation::update_trigger::UpdateTriggerError::InvalidInputException(inner) => Error::InvalidInputException(inner),
8544 crate::operation::update_trigger::UpdateTriggerError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
8545 crate::operation::update_trigger::UpdateTriggerError::Unhandled(inner) => Error::Unhandled(inner),
8546 }
8547 }
8548}
8549impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_usage_profile::UpdateUsageProfileError, R>> for Error
8550where
8551 R: Send + Sync + std::fmt::Debug + 'static,
8552{
8553 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_usage_profile::UpdateUsageProfileError, R>) -> Self {
8554 match err {
8555 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8556 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8557 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8558 source: err.into(),
8559 }),
8560 }
8561 }
8562}
8563impl From<crate::operation::update_usage_profile::UpdateUsageProfileError> for Error {
8564 fn from(err: crate::operation::update_usage_profile::UpdateUsageProfileError) -> Self {
8565 match err {
8566 crate::operation::update_usage_profile::UpdateUsageProfileError::ConcurrentModificationException(inner) => {
8567 Error::ConcurrentModificationException(inner)
8568 }
8569 crate::operation::update_usage_profile::UpdateUsageProfileError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
8570 crate::operation::update_usage_profile::UpdateUsageProfileError::InternalServiceException(inner) => {
8571 Error::InternalServiceException(inner)
8572 }
8573 crate::operation::update_usage_profile::UpdateUsageProfileError::InvalidInputException(inner) => Error::InvalidInputException(inner),
8574 crate::operation::update_usage_profile::UpdateUsageProfileError::OperationNotSupportedException(inner) => {
8575 Error::OperationNotSupportedException(inner)
8576 }
8577 crate::operation::update_usage_profile::UpdateUsageProfileError::OperationTimeoutException(inner) => {
8578 Error::OperationTimeoutException(inner)
8579 }
8580 crate::operation::update_usage_profile::UpdateUsageProfileError::Unhandled(inner) => Error::Unhandled(inner),
8581 }
8582 }
8583}
8584impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_user_defined_function::UpdateUserDefinedFunctionError, R>>
8585 for Error
8586where
8587 R: Send + Sync + std::fmt::Debug + 'static,
8588{
8589 fn from(
8590 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_user_defined_function::UpdateUserDefinedFunctionError, R>,
8591 ) -> Self {
8592 match err {
8593 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8594 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8595 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8596 source: err.into(),
8597 }),
8598 }
8599 }
8600}
8601impl From<crate::operation::update_user_defined_function::UpdateUserDefinedFunctionError> for Error {
8602 fn from(err: crate::operation::update_user_defined_function::UpdateUserDefinedFunctionError) -> Self {
8603 match err {
8604 crate::operation::update_user_defined_function::UpdateUserDefinedFunctionError::EntityNotFoundException(inner) => {
8605 Error::EntityNotFoundException(inner)
8606 }
8607 crate::operation::update_user_defined_function::UpdateUserDefinedFunctionError::GlueEncryptionException(inner) => {
8608 Error::GlueEncryptionException(inner)
8609 }
8610 crate::operation::update_user_defined_function::UpdateUserDefinedFunctionError::InternalServiceException(inner) => {
8611 Error::InternalServiceException(inner)
8612 }
8613 crate::operation::update_user_defined_function::UpdateUserDefinedFunctionError::InvalidInputException(inner) => {
8614 Error::InvalidInputException(inner)
8615 }
8616 crate::operation::update_user_defined_function::UpdateUserDefinedFunctionError::OperationTimeoutException(inner) => {
8617 Error::OperationTimeoutException(inner)
8618 }
8619 crate::operation::update_user_defined_function::UpdateUserDefinedFunctionError::Unhandled(inner) => Error::Unhandled(inner),
8620 }
8621 }
8622}
8623impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_workflow::UpdateWorkflowError, R>> for Error
8624where
8625 R: Send + Sync + std::fmt::Debug + 'static,
8626{
8627 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_workflow::UpdateWorkflowError, R>) -> Self {
8628 match err {
8629 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8630 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8631 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8632 source: err.into(),
8633 }),
8634 }
8635 }
8636}
8637impl From<crate::operation::update_workflow::UpdateWorkflowError> for Error {
8638 fn from(err: crate::operation::update_workflow::UpdateWorkflowError) -> Self {
8639 match err {
8640 crate::operation::update_workflow::UpdateWorkflowError::ConcurrentModificationException(inner) => {
8641 Error::ConcurrentModificationException(inner)
8642 }
8643 crate::operation::update_workflow::UpdateWorkflowError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
8644 crate::operation::update_workflow::UpdateWorkflowError::InternalServiceException(inner) => Error::InternalServiceException(inner),
8645 crate::operation::update_workflow::UpdateWorkflowError::InvalidInputException(inner) => Error::InvalidInputException(inner),
8646 crate::operation::update_workflow::UpdateWorkflowError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
8647 crate::operation::update_workflow::UpdateWorkflowError::Unhandled(inner) => Error::Unhandled(inner),
8648 }
8649 }
8650}
8651impl ::std::error::Error for Error {
8652 fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
8653 match self {
8654 Error::AccessDeniedException(inner) => inner.source(),
8655 Error::AlreadyExistsException(inner) => inner.source(),
8656 Error::ColumnStatisticsTaskNotRunningException(inner) => inner.source(),
8657 Error::ColumnStatisticsTaskRunningException(inner) => inner.source(),
8658 Error::ColumnStatisticsTaskStoppingException(inner) => inner.source(),
8659 Error::ConcurrentModificationException(inner) => inner.source(),
8660 Error::ConcurrentRunsExceededException(inner) => inner.source(),
8661 Error::ConditionCheckFailureException(inner) => inner.source(),
8662 Error::ConflictException(inner) => inner.source(),
8663 Error::CrawlerNotRunningException(inner) => inner.source(),
8664 Error::CrawlerRunningException(inner) => inner.source(),
8665 Error::CrawlerStoppingException(inner) => inner.source(),
8666 Error::EntityNotFoundException(inner) => inner.source(),
8667 Error::FederatedResourceAlreadyExistsException(inner) => inner.source(),
8668 Error::FederationSourceException(inner) => inner.source(),
8669 Error::FederationSourceRetryableException(inner) => inner.source(),
8670 Error::GlueEncryptionException(inner) => inner.source(),
8671 Error::IdempotentParameterMismatchException(inner) => inner.source(),
8672 Error::IllegalBlueprintStateException(inner) => inner.source(),
8673 Error::IllegalSessionStateException(inner) => inner.source(),
8674 Error::IllegalWorkflowStateException(inner) => inner.source(),
8675 Error::IntegrationConflictOperationFault(inner) => inner.source(),
8676 Error::IntegrationNotFoundFault(inner) => inner.source(),
8677 Error::IntegrationQuotaExceededFault(inner) => inner.source(),
8678 Error::InternalServerException(inner) => inner.source(),
8679 Error::InternalServiceException(inner) => inner.source(),
8680 Error::InvalidInputException(inner) => inner.source(),
8681 Error::InvalidIntegrationStateFault(inner) => inner.source(),
8682 Error::InvalidStateException(inner) => inner.source(),
8683 Error::KmsKeyNotAccessibleFault(inner) => inner.source(),
8684 Error::MlTransformNotReadyException(inner) => inner.source(),
8685 Error::NoScheduleException(inner) => inner.source(),
8686 Error::OperationNotSupportedException(inner) => inner.source(),
8687 Error::OperationTimeoutException(inner) => inner.source(),
8688 Error::PermissionTypeMismatchException(inner) => inner.source(),
8689 Error::ResourceNotFoundException(inner) => inner.source(),
8690 Error::ResourceNotReadyException(inner) => inner.source(),
8691 Error::ResourceNumberLimitExceededException(inner) => inner.source(),
8692 Error::SchedulerNotRunningException(inner) => inner.source(),
8693 Error::SchedulerRunningException(inner) => inner.source(),
8694 Error::SchedulerTransitioningException(inner) => inner.source(),
8695 Error::TargetResourceNotFound(inner) => inner.source(),
8696 Error::ThrottlingException(inner) => inner.source(),
8697 Error::ValidationException(inner) => inner.source(),
8698 Error::VersionMismatchException(inner) => inner.source(),
8699 Error::Unhandled(inner) => ::std::option::Option::Some(&*inner.source),
8700 }
8701 }
8702}
8703impl ::aws_types::request_id::RequestId for Error {
8704 fn request_id(&self) -> Option<&str> {
8705 match self {
8706 Self::AccessDeniedException(e) => e.request_id(),
8707 Self::AlreadyExistsException(e) => e.request_id(),
8708 Self::ColumnStatisticsTaskNotRunningException(e) => e.request_id(),
8709 Self::ColumnStatisticsTaskRunningException(e) => e.request_id(),
8710 Self::ColumnStatisticsTaskStoppingException(e) => e.request_id(),
8711 Self::ConcurrentModificationException(e) => e.request_id(),
8712 Self::ConcurrentRunsExceededException(e) => e.request_id(),
8713 Self::ConditionCheckFailureException(e) => e.request_id(),
8714 Self::ConflictException(e) => e.request_id(),
8715 Self::CrawlerNotRunningException(e) => e.request_id(),
8716 Self::CrawlerRunningException(e) => e.request_id(),
8717 Self::CrawlerStoppingException(e) => e.request_id(),
8718 Self::EntityNotFoundException(e) => e.request_id(),
8719 Self::FederatedResourceAlreadyExistsException(e) => e.request_id(),
8720 Self::FederationSourceException(e) => e.request_id(),
8721 Self::FederationSourceRetryableException(e) => e.request_id(),
8722 Self::GlueEncryptionException(e) => e.request_id(),
8723 Self::IdempotentParameterMismatchException(e) => e.request_id(),
8724 Self::IllegalBlueprintStateException(e) => e.request_id(),
8725 Self::IllegalSessionStateException(e) => e.request_id(),
8726 Self::IllegalWorkflowStateException(e) => e.request_id(),
8727 Self::IntegrationConflictOperationFault(e) => e.request_id(),
8728 Self::IntegrationNotFoundFault(e) => e.request_id(),
8729 Self::IntegrationQuotaExceededFault(e) => e.request_id(),
8730 Self::InternalServerException(e) => e.request_id(),
8731 Self::InternalServiceException(e) => e.request_id(),
8732 Self::InvalidInputException(e) => e.request_id(),
8733 Self::InvalidIntegrationStateFault(e) => e.request_id(),
8734 Self::InvalidStateException(e) => e.request_id(),
8735 Self::KmsKeyNotAccessibleFault(e) => e.request_id(),
8736 Self::MlTransformNotReadyException(e) => e.request_id(),
8737 Self::NoScheduleException(e) => e.request_id(),
8738 Self::OperationNotSupportedException(e) => e.request_id(),
8739 Self::OperationTimeoutException(e) => e.request_id(),
8740 Self::PermissionTypeMismatchException(e) => e.request_id(),
8741 Self::ResourceNotFoundException(e) => e.request_id(),
8742 Self::ResourceNotReadyException(e) => e.request_id(),
8743 Self::ResourceNumberLimitExceededException(e) => e.request_id(),
8744 Self::SchedulerNotRunningException(e) => e.request_id(),
8745 Self::SchedulerRunningException(e) => e.request_id(),
8746 Self::SchedulerTransitioningException(e) => e.request_id(),
8747 Self::TargetResourceNotFound(e) => e.request_id(),
8748 Self::ThrottlingException(e) => e.request_id(),
8749 Self::ValidationException(e) => e.request_id(),
8750 Self::VersionMismatchException(e) => e.request_id(),
8751 Self::Unhandled(e) => e.meta.request_id(),
8752 }
8753 }
8754}